BridgedTaikoToken
Taiko ERC-20 Token0xa9d23408b9ba935c230493c40c73824df71a0975
Proxy implementation: 0x71583f1ba66f292f6c626f37e25c438b152dd917
Solidity v0.8.24+commit.e11b9ed9
Fungible token following the ERC-20 standard.
Overview
Read Functions
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Gets the canonical token's address and chain ID.
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The canonical token's address. |
| — | uint256 | The canonical token's chain ID. |
Starts or stops migration to/from a specified contract.
Parameters
| Name | Type | Description |
|---|---|---|
| — | address | |
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| pos | uint32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | tuple |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint48 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| fields | bytes1 | |
| name | string | |
| version | string | |
| chainId | uint256 | |
| verifyingContract | address | |
| salt | bytes32 | |
| extensions | uint256[] |
Parameters
| Name | Type | Description |
|---|---|---|
| timepoint | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| timepoint | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint64 |
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns true if the contract is paused, and false otherwise.
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | true if paused, false otherwise. |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
Resolves a name to its address deployed on this chain.
Parameters
| Name | Type | Description |
|---|---|---|
| _chainId | uint64 | |
| _name | bytes32 | Name whose address is to be resolved. |
| _allowZeroAddress | bool | If set to true, does not throw if the resolved address is `address(0)`. |
Returns
| Name | Type | Description |
|---|---|---|
| — | address | Address associated with the given name. |
Resolves a name to its address deployed on this chain.
Parameters
| Name | Type | Description |
|---|---|---|
| _name | bytes32 | Name whose address is to be resolved. |
| _allowZeroAddress | bool | If set to true, does not throw if the resolved address is `address(0)`. |
Returns
| Name | Type | Description |
|---|---|---|
| — | address | Address associated with the given name. |
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Write Functions
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Burns tokens from msg.sender. This is only allowed if: - 1) tokens are migrating out to a new bridged token - 2) The token is burned by ERC20Vault to bridge back to the canonical chain.
Parameters
| Name | Type | Description |
|---|---|---|
| _amount | uint256 | The amount of tokens to burn. |
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| subtractedValue | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| delegatee | address |
Parameters
| Name | Type | Description |
|---|---|---|
| delegatee | address | |
| nonce | uint256 | |
| expiry | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| addedValue | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Initializes the contract.
Parameters
| Name | Type | Description |
|---|---|---|
| _owner | address | The owner of this contract. msg.sender will be used if this value is zero. |
| _addressManager | address | The address manager address. |
Mints `amount` tokens and assigns them to the `account` address.
Parameters
| Name | Type | Description |
|---|---|---|
| _account | address | The account to receive the minted tokens. |
| _amount | uint256 | The amount of tokens to mint. |
Pauses the contract.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address | |
| value | uint256 | |
| deadline | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
Parameters
| Name | Type | Description |
|---|---|---|
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address |
Unpauses the contract.
Parameters
| Name | Type | Description |
|---|---|---|
| newImplementation | address |
Parameters
| Name | Type | Description |
|---|---|---|
| newImplementation | address | |
| data | bytes |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousAdmin | address | ||
| newAdmin | address |
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| beacon | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| delegator | address | ✓ | |
| fromDelegate | address | ✓ | |
| toDelegate | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| delegate | address | ✓ | |
| previousBalance | uint256 | ||
| newBalance | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| version | uint8 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
Emitted when the contract is paused.
| Name | Type | Indexed | Description |
|---|---|---|---|
| account | address | The account that paused the contract. |
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
Emitted when the contract is unpaused.
| Name | Type | Indexed | Description |
|---|---|---|---|
| account | address | The account that unpaused the contract. |
| Name | Type | Indexed | Description |
|---|---|---|---|
| implementation | address | ✓ |