ERC20ExPPOMWrapped
Fraxtal ERC-20 Token0xfc00000000000000000000000000000000000002
Proxy implementation: 0x1af97083ddb4fb40aad9644bacc8ef9edcf595d4
Solidity v0.8.29+commit.ab55807c
Fungible token following the ERC-20 standard.
🤖
Query this contract from your AI
Reference:
0xfc00000000000000000000000000000000000002
Sample prompt:
"Tell me the current state of fraxtal/0xfc00000000000000000000000000000000000002"
No AI wired up yet? →
mcp.smarts.md
Fraxtal is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.
Overview
Read Functions
10
Write Functions
9
Events
6
Read Functions
DOMAIN_SEPARATOR()
view
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
allowance(owner: address, spender: address)
view
dev: See {IERC20-allowance}.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
balanceOf(account: address)
view
dev: See {IERC20-balanceOf}.
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
decimals()
view
dev: Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 |
eip712Domain()
view
dev: See {EIP-5267}. _Available since v4.9._
Returns
| Name | Type | Description |
|---|---|---|
| fields | bytes1 | |
| name | string | |
| version | string | |
| chainId | uint256 | |
| verifyingContract | address | |
| salt | bytes32 | |
| extensions | uint256[] |
name()
view
dev: Returns the name of the token.
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
nonces(owner: address)
view
dev: Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
symbol()
view
dev: Returns the symbol of the token, usually a shorter version of the name.
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
totalSupply()
view
dev: See {IERC20-totalSupply}.
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
version()
view
Getter for the semantic version of the contract. This is not meant to be used onchain but instead meant to be used by offchain tooling.
Returns
| Name | Type | Description |
|---|---|---|
| — | string | Semver contract version as a string. |
Write Functions
approve(spender: address, value: uint256)
nonpayable
dev: See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| value | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
burn(_value: uint256)
nonpayable
Backwards compatibility function for burn. Calls withdraw
Parameters
| Name | Type | Description |
|---|---|---|
| _value | uint256 | Amount of tokens to burn / withdraw |
deposit()
payable
Deposit gas token for wrapped ERC20. Uses msg.value
donate()
payable
Donate ETH for nothing in return
initialize(_nameIn: string, _symbolIn: string, _versionIn: string)
nonpayable
Initializer.
Parameters
| Name | Type | Description |
|---|---|---|
| _nameIn | string | ERC20 name |
| _symbolIn | string | ERC20 symbol |
| _versionIn | string | Version |
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32)
nonpayable
dev: Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address | |
| value | uint256 | |
| deadline | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
transfer(to: address, value: uint256)
nonpayable
dev: See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.
Parameters
| Name | Type | Description |
|---|---|---|
| to | address | |
| value | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
transferFrom(from: address, to: address, value: uint256)
nonpayable
dev: See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.
Parameters
| Name | Type | Description |
|---|---|---|
| from | address | |
| to | address | |
| value | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
withdraw(wad: uint256)
nonpayable
Withdraw ERC20 for gas token.
Parameters
| Name | Type | Description |
|---|---|---|
| wad | uint256 | Amount of gas token to receive / wrapped ERC20 to burn. |
Events
Approval(owner: address, spender: address, value: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
Deposit(dst: address, wad: uint256)
Emitted when the gas token is wrapped
| Name | Type | Indexed | Description |
|---|---|---|---|
| dst | address | ✓ | Sender/depositor |
| wad | uint256 | Amount of tokens wrapped |
EIP712DomainChanged()
Initialized(version: uint64)
| Name | Type | Indexed | Description |
|---|---|---|---|
| version | uint64 |
Transfer(from: address, to: address, value: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
Withdrawal(src: address, wad: uint256)
Emitted when the gas token is unwrapped
| Name | Type | Indexed | Description |
|---|---|---|---|
| src | address | ✓ | Sender / withdrawer |
| wad | uint256 | Amount of tokens unwrapped |