AERO
Base ERC-20 Token0x940181a94a35a4569e4529a3cdfb74e38fd98631
Solidity v0.8.19+commit.7dd6d404
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected mintable controls from the verified ABI.
概览
读取函数
Block #46,493,016 · 13s agoReturns the EIP-712 domain separator used to sign and verify typed structured data for this token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The 32-byte EIP-712 domain separator used for typed data hashing and signature verification.✨ AI |
Return the remaining number of tokens that spender is allowed to transfer from owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token holder address whose allowance is being queried.✨ AI |
| spender | address | Address approved to spend tokens on behalf of the owner.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance (uint256) in token smallest units that spender may transfer from owner.✨ AI |
Return the token balance of the given account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address whose token balance will be returned.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Token balance of the account as a uint256.✨ AI |
Returns the number of decimal places used by the token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimal precision as a uint8 (number of decimal places).✨ AI |
Return the EIP-712 domain parameters used for signing typed data.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| fields | bytes1 | Domain fields bitmap (bytes1) indicating which optional EIP-712 domain fields are present.✨ AI |
| name | string | Domain name (string) used for EIP-712 signing, typically the token's name.✨ AI |
| version | string | Domain version string used for EIP-712 signing to indicate schema version.✨ AI |
| chainId | uint256 | Chain identifier (uint256) used to prevent cross-chain signature replay.✨ AI |
| verifyingContract | address | Address of the contract that verifies EIP-712 signatures (verifyingContract).✨ AI |
| salt | bytes32 | Cryptographic salt (bytes32) for domain separation or extra entropy.✨ AI |
| extensions | uint256[] | Array of uint256 extension values for optional domain extensions or metadata.✨ AI |
Address of Minter.sol
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
Returns the token's name as a human-readable string.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token name as a string.✨ AI |
Returns the current nonce for an owner used to authorize off-chain signatures.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address whose nonce is being queried.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The current uint256 nonce associated with the owner, incremented each time a signature-based approval is used.✨ AI |
Returns the token's short symbol used by wallets and interfaces.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string, e.g., "AERO".✨ AI |
Return the total number of Aero tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as a uint256 expressed in the token's smallest unit (no decimals applied).✨ AI |
写入函数
Set the allowance for spender to spend up to amount of your Aero tokens.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address authorized to spend tokens on your behalf.✨ AI |
| amount | uint256 | Maximum number of Aero tokens the spender is allowed to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the approval succeeded and the allowance was updated.✨ AI |
Decrease the caller's allowance for a spender by a given amount.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address whose allowance will be decreased.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance (in token smallest units).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Increase the allowance granted to spender by addedValue for the caller's tokens.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend the caller's tokens.✨ AI |
| addedValue | uint256 | Amount of tokens to add to the existing allowance.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully increased.✨ AI |
Mint an amount of tokens to an account Only callable by Minter.sol
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | |
| amount | uint256 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if success |
Sets spender's allowance over owner's tokens using an off-chain EIP-2612 signature.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token holder whose signature authorizes the allowance.✨ AI |
| spender | address | Address approved to spend the owner's tokens.✨ AI |
| value | uint256 | Amount of tokens to approve as allowance.✨ AI |
| deadline | uint256 | Unix timestamp after which the provided signature is invalid.✨ AI |
| v | uint8 | Recovery byte (27/28) of the owner's signature.✨ AI |
| r | bytes32 | First 32 bytes of the owner's ECDSA signature.✨ AI |
| s | bytes32 | Second 32 bytes of the owner's ECDSA signature.✨ AI |
Assigns the minter role to the given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _minter | address | Address to receive the minter role.✨ AI |
Transfer tokens from the caller to a specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Recipient address to receive the tokens.✨ AI |
| amount | uint256 | Amount of tokens to transfer, denominated in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeds.✨ AI |
Transfers amount tokens from the owner (from) to the recipient (to) using the caller's allowance and updates balances and allowance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Address to debit tokens from (owner).✨ AI |
| to | address | Address to credit tokens to (recipient).✨ AI |
| amount | uint256 | Number of tokens to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded; otherwise false.✨ AI |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |