0xc18360217d8f7ab5e7c516566761ea12ce7f9d72
Solidity v0.8.7+commit.e28d00a7
Fungible token following the ERC-20 standard.
管理與風險
誰能修改規則?
Detected mintable and ownable controls from the verified ABI.
當前控制
- Owner
- 0xfe89cc7abb2c4183683ab71653c4cdc9b02d44b7 wallet.ensdao.eth ↗ Etherscan → smarts
近期治理
1569 privileged events loaded. 最新: DelegateVotesChanged at block #25,492,704.
概覽
讀取函式
Block #25,493,709 · just nowReturns the EIP-712 domain separator used to sign and verify typed data for off-chain signatures.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The 32-byte EIP-712 domain separator for this contract, used when hashing and verifying typed data signatures.✨ AI |
Returns the remaining number of tokens that spender is allowed to spend on behalf of owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address that owns the tokens.✨ AI |
| spender | address | Address allowed to spend the owner's tokens.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Remaining number of tokens spender is allowed to transfer from owner.✨ AI |
Returns the ENSToken balance for the specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address to query the ENSToken balance for.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The token balance of the account as a uint256.✨ AI |
Return the checkpoint for an account at the given index.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose checkpoints are queried.✨ AI |
| pos | uint32 | Zero-based index of the checkpoint to retrieve.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | tuple | Block number (uint32) when the checkpoint was recorded.✨ AI |
Get the Unix timestamp when the current token claim period ends.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Unix timestamp (seconds) marking the end of the current claim period.✨ AI |
Return the number of decimal places the token uses.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | The number of decimal places used to display token balances (uint8).✨ AI |
Return the current delegate address for the given account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address of the token holder whose delegate you want to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address currently authorized to vote on behalf of the account, or the zero address if no delegate is set.✨ AI |
Get the total token supply at a past block.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| blockNumber | uint256 | Block number to query the total supply for.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply at the specified past block.✨ AI |
Return the number of votes held by account at the end of blockNumber.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose prior voting power to retrieve.✨ AI |
| blockNumber | uint256 | Block number at which to read the voting power.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Voting power (number of votes) account had at the end of the given block.✨ AI |
Return the current voting power for the specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose delegated voting power is being queried.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The current number of votes (uint256) assigned to the account.✨ AI |
Checks whether the claim at the given index has already been made.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| index | uint256 | The index into the merkle tree. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the claim at the index was already claimed; otherwise false.✨ AI |
Return the current Merkle root used to validate claim or allocation proofs.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The stored bytes32 Merkle root used by the contract to verify Merkle proofs for claims or allocations.✨ AI |
Return the minimum required time interval between successive mint operations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Minimum time interval in seconds that must elapse between two mint calls.✨ AI |
Returns the maximum number of tokens that can be minted by the contract.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The mint cap as a uint256 representing the maximum total supply allowed to be minted.✨ AI |
Returns the token's name.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token name as a string.✨ AI |
Return the amount of tokens scheduled for the next mint operation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Number of tokens that will be minted by the next mint call, expressed in the token's smallest unit.✨ AI |
Returns the current nonce for an address used to prevent replay of permit or meta-transaction signatures.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address whose nonce is returned; used to validate and prevent replay of signatures.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The current nonce for the owner address; increments each time a signature-consuming operation is performed.✨ AI |
Return the number of voting checkpoints recorded for an account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Account to query for checkpoint count.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint32 | Number of checkpoints (uint32) recorded for the account.✨ AI |
Returns the contract owner's address.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address of the contract owner who holds administrative privileges.✨ AI |
Returns the token's symbol.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's short, human-readable symbol (for example: "ENS").✨ AI |
Returns the total number of ENSToken units in existence.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total supply of tokens as a uint256, expressed in the token's smallest indivisible unit.✨ AI |
寫入函式
Approve spender to transfer up to amount tokens from the caller's account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend the caller's tokens.✨ AI |
| amount | uint256 | Maximum number of tokens the spender may transfer.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the approval was successful.✨ AI |
Claim allocated ENS tokens by proving entitlement with a Merkle proof and optionally set a delegate.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| amount | uint256 | The amount of the claim being made. |
| delegate | address | The address the tokenholder wants to delegate their votes to. |
| merkleProof | bytes32[] | A merkle proof proving the claim is valid. |
Decrease the ERC-20 allowance for spender by subtractedValue.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address approved to spend tokens on behalf of the caller.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the spender's current allowance.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Delegate the caller's voting power to the specified address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| delegatee | address | Address that will receive the caller's delegated voting power.✨ AI |
Allow an account to set a delegate for its voting power via an off-chain signature.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| delegatee | address | Address to receive delegated voting power.✨ AI |
| nonce | uint256 | Unique number to prevent signature replay for the signer.✨ AI |
| expiry | uint256 | Timestamp after which the signature is invalid.✨ AI |
| v | uint8 | ECDSA recovery byte v from the signer's signature.✨ AI |
| r | bytes32 | ECDSA signature r value.✨ AI |
| s | bytes32 | ECDSA signature s value.✨ AI |
Increase the caller's ERC-20 allowance for a spender by addedValue.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address that will be allowed to spend the caller's tokens.✨ AI |
| addedValue | uint256 | Amount of tokens to add to the existing allowance for spender.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was increased successfully.✨ AI |
Mints new tokens to the specified address, increasing the total supply.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| dest | address | The address to mint the new tokens to. |
| amount | uint256 | The quantity of tokens to mint. |
Allow spender to spend tokens on behalf of owner using an off-chain EIP-2612 signature before the deadline.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Token holder address that signed the permit.✨ AI |
| spender | address | Address being approved to spend the tokens.✨ AI |
| value | uint256 | Number of tokens to approve.✨ AI |
| deadline | uint256 | Unix timestamp when the permit expires.✨ AI |
| v | uint8 | Signature recovery id (part of the ECDSA signature).✨ AI |
| r | bytes32 | First 32 bytes of the ECDSA signature.✨ AI |
| s | bytes32 | Second 32 bytes of the ECDSA signature.✨ AI |
Relinquish ownership of the contract by setting the owner to the zero address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _merkleRoot | bytes32 | The merkle root to set. |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| dest | address | The address to sweep the tokens to. |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| recipient | address | |
| amount | uint256 |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| sender | address | |
| recipient | address | |
| amount | uint256 |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newOwner | address |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| claimant | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| delegator | address | ✓ | |
| fromDelegate | address | ✓ | |
| toDelegate | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| delegate | address | ✓ | |
| previousBalance | uint256 | ||
| newBalance | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| merkleRoot | bytes32 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |