BridgedTaikoToken
Taiko ERC-20 Token0xa9d23408b9ba935c230493c40c73824df71a0975
Proxy 實作合約: 0x71583f1ba66f292f6c626f37e25c438b152dd917
Solidity v0.8.24+commit.e11b9ed9
Fungible token following the ERC-20 standard.
概覽
讀取函式
Return the clock mode identifier string used by the contract.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | Clock mode identifier string that specifies how the contract interprets time.✨ AI |
Returns the EIP-712 domain separator used for permit and typed-data signatures.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The EIP-712 domain separator (bytes32) used to compute permit signatures and typed-data hashes.✨ AI |
Returns the address of the AddressManager contract used by this token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The AddressManager contract address used for resolving system component addresses.✨ AI |
Returns the remaining number of tokens that spender is allowed to transfer from owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address which owns the tokens.✨ AI |
| spender | address | Address authorized to spend tokens on owner's behalf.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance as uint256: how many token base units spender may still spend from owner.✨ AI |
Returns the token balance for the specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose token balance will be returned.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The account's token balance as a uint256.✨ AI |
Gets the canonical token's address and chain ID.
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The canonical token's address. |
| — | uint256 | The canonical token's chain ID. |
Starts or stops migration to/from a specified contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | |
| — | bool |
Returns the checkpoint at index pos for account, showing when it was recorded and the votes at that time.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose checkpoint to read.✨ AI |
| pos | uint32 | Index of the checkpoint to return (0-based).✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | tuple | fromBlock: Block number when this checkpoint was created.✨ AI |
Return the token contract's current internal clock value.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint48 | The contract's current internal clock value as a uint48 integer representing its internal time or epoch.✨ AI |
Returns the token's number of decimals used for display and arithmetic.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimals as a uint8, indicating how many decimal places define the smallest unit.✨ AI |
Return the delegatee address to which an account has delegated its voting power.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address of the token holder whose delegatee you want to look up.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address that currently receives the account's delegated votes, or the zero address if not delegated.✨ AI |
Return the EIP-712 domain parameters the token uses for typed-data signing.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| fields | bytes1 | EIP-712 domain field type identifier (bytes1) used in domain encoding.✨ AI |
| name | string | Human-readable token name included in the EIP-712 domain.✨ AI |
| version | string | Version string included in the EIP-712 domain.✨ AI |
| chainId | uint256 | Chain ID used in the domain to prevent signature replay across chains.✨ AI |
| verifyingContract | address | Verifying contract address used in the EIP-712 typed-data domain.✨ AI |
| salt | bytes32 | 32-byte salt value used as a domain separator parameter.✨ AI |
| extensions | uint256[] | Array of optional extension identifiers included in the domain (may be empty).✨ AI |
Return the total token supply as of the specified past timepoint.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| timepoint | uint256 | The historical timepoint (for example a block number or snapshot id) to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply at the given timepoint.✨ AI |
Get an account's voting power at a specified past timepoint.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose historical vote balance to query.✨ AI |
| timepoint | uint256 | Block number or snapshot identifier at which to read the vote balance.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The number of votes the account held at the given timepoint.✨ AI |
Returns the current voting power (number of votes) assigned to the given account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose delegated voting balance is being queried.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Current number of votes (voting power) held by the account as a uint256.✨ AI |
Returns the address of the current implementation contract.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address of the implementation contract to which the proxy delegates calls.✨ AI |
Checks whether the contract is currently in a non-reentrant state.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the contract is in a non-reentrant state, false if a reentrant call is in progress.✨ AI |
Shows when the token was last unpaused as a Unix timestamp.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint64 | The Unix timestamp (seconds) when the contract was most recently unpaused; zero if never unpaused.✨ AI |
Returns the token's name as a human-readable string.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's human-readable name (e.g., "Bridged Taiko Token").✨ AI |
Returns the current permit nonce for the specified owner address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address whose permit nonce is being returned.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The current nonce for the owner, used to prevent replay of signed permits.✨ AI |
Returns the number of voting checkpoints recorded for an account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address to query for the number of recorded checkpoints.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint32 | The uint32 count of voting checkpoints stored for the account.✨ AI |
Returns the address of the current contract owner.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address of the current contract owner with administrative privileges.✨ AI |
Returns true if the contract is paused, and false otherwise.
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | true if paused, false otherwise. |
Returns the address nominated to become the contract owner.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address nominated to become owner; zero address if there is no pending owner.✨ AI |
Returns the UUID that identifies the storage slot used by UUPS proxies for this implementation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The 32-byte UUID (bytes32) that identifies the proxiable implementation storage slot.✨ AI |
Resolves a name to its address deployed on this chain.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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)`. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address associated with the given name. |
Resolves a name to its address deployed on this chain.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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)`. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address associated with the given name. |
Returns the token's short symbol used by wallets and user interfaces.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token symbol string used for display in wallets and user interfaces.✨ AI |
Returns the total number of tokens in circulation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as a uint256 in the token's smallest unit (includes all minted tokens).✨ AI |
寫入函式
Finalize a pending ownership transfer and set the pending owner as the contract owner.✨ AI
Approve lets you authorize spender to transfer up to amount of your tokens.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address authorized to spend tokens on caller's behalf.✨ AI |
| amount | uint256 | Maximum number of tokens the spender is allowed to transfer.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the approval succeeded.✨ AI |
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.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _amount | uint256 | The amount of tokens to burn. |
Decrease the caller's allowance for spender by subtractedValue.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend the caller's tokens.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance (in token smallest units).✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Delegate the caller's voting power to the specified delegatee.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| delegatee | address | Address to receive the caller's delegated voting power.✨ AI |
Delegate voting power using an off-chain EIP-712 signature so the signer need not submit a transaction.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| delegatee | address | Address to receive delegated voting power.✨ AI |
| nonce | uint256 | Signer nonce used to prevent replay attacks.✨ AI |
| expiry | uint256 | Unix timestamp after which the signature is invalid.✨ AI |
| v | uint8 | ECDSA signature parameter v.✨ AI |
| r | bytes32 | ECDSA signature parameter r.✨ AI |
| s | bytes32 | ECDSA signature parameter s.✨ AI |
Increase the ERC-20 allowance granted to a spender by the caller.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend additional tokens.✨ AI |
| addedValue | uint256 | Amount of tokens to add to the current allowance.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully increased, false otherwise.✨ AI |
Initializes the contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _account | address | The account to receive the minted tokens. |
| _amount | uint256 | The amount of tokens to mint. |
Pauses the contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | |
| spender | address | |
| value | uint256 | |
| deadline | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| to | address | |
| amount | uint256 |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newOwner | address |
Unpauses the contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newImplementation | address |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newImplementation | address | |
| data | bytes |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousAdmin | address | ||
| newAdmin | address |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| beacon | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| delegator | address | ✓ | |
| fromDelegate | address | ✓ | |
| toDelegate | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| delegate | address | ✓ | |
| previousBalance | uint256 | ||
| newBalance | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| version | uint8 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
Emitted when the contract is paused.
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| account | address | The account that paused the contract. |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
Emitted when the contract is unpaused.
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| account | address | The account that unpaused the contract. |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| implementation | address | ✓ |