0x694aa534bdef8ed63244eb902e7914e527891f08
Solidity v0.8.24+commit.e11b9ed9
Fungible token following the ERC-20 standard.
管理與風險
誰能修改規則?
Detected mintable, pausable, freezable, and ownable controls from the verified ABI.
當前控制
- Paused
- false
- Owner
- 0x0000000000000000000000000000000000000000 (無)
概覽
讀取函式
Block #25,291,946 · just nowReturn the EIP-712 typehash used to validate cancelAuthorization signatures.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 EIP-712 typehash for the cancelAuthorization struct used in signature verification✨ AI |
Returns the current EIP-712 domain separator used to sign typed data for this token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The EIP-712 domain separator (bytes32) used in permit and other typed-data signatures for this token.✨ AI |
Returns the EIP-712 typehash used to encode receiveWithAuthorization authorization messages.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The keccak256 typehash (bytes32) for the receiveWithAuthorization struct used in signed authorizations.✨ AI |
Return the EIP-712 typehash used to build and verify transferWithAuthorization signatures.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP-712 typehash for the TransferWithAuthorization struct used to verify signatures.✨ AI |
Returns the remaining number of tokens that spender is allowed to transfer from owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address that owns the tokens.✨ AI |
| spender | address | Address authorized to spend tokens on behalf of the owner.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance expressed in the token's smallest unit (uint256).✨ AI |
Returns the state of an authorization
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| authorizer | address | Authorizer's address |
| nonce | bytes32 | Nonce of the authorization |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the nonce is used |
Returns the token balance of the given account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Account address whose token balance is being queried.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Current token balance of the account as an unsigned 256-bit integer.✨ AI |
Returns the number of decimals the token uses for user displays and calculations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | uint8 number of decimal places the token reports (e.g., 18).✨ AI |
Returns the EIP-712 domain fields used to sign and verify typed data.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| fields | bytes1 | Domain fields bitmap or type indicator encoded as a single byte (bytes1).✨ AI |
| name | string | Human-readable domain name (string).✨ AI |
| version | string | Domain version string (string).✨ AI |
| chainId | uint256 | Chain identifier where the domain is valid (uint256).✨ AI |
| verifyingContract | address | Address of the contract that verifies EIP-712 signatures (address).✨ AI |
| salt | bytes32 | Domain salt for additional uniqueness (bytes32).✨ AI |
| extensions | uint256[] | Array of extension field identifiers or values for the domain (uint256[]).✨ AI |
Checks whether the given account is frozen and prevented from transferring tokens.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the account is frozen and cannot transfer tokens; false otherwise.✨ AI |
Return the ERC-20 token name.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's human-readable name as a string.✨ AI |
Get the current permit nonce for an owner used to prevent replay of signed permits.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address whose permit nonce is returned.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The current uint256 nonce for the owner, incremented each time a permit signature is used.✨ AI |
Returns the address of the contract owner.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address of the owner account that holds administrative privileges.✨ AI |
Returns true when the contract is paused, disabling transfers and other restricted actions.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the contract is currently paused; false otherwise.✨ AI |
Returns the address designated to become the contract owner if they accept ownership.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address currently set as the pending owner who can accept ownership.✨ AI |
Call the disabled renounceOwnership function; it does not change contract ownership.✨ AI
Returns the token's short symbol used to identify the token in user interfaces.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token symbol string (e.g., "USDC").✨ AI |
Get the total supply of the token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total number of tokens in existence as a uint256 (total minted minus burned).✨ AI |
Returns the contract version number for client display and compatibility checks.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | Protocol version number as a uint8, where a larger value indicates a newer contract revision.✨ AI |
寫入函式
Finalize a pending ownership transfer by making the caller the contract owner.✨ AI
Set the allowance for an address to spend tokens on the caller's behalf.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend tokens from the caller's balance.✨ AI |
| amount | uint256 | Maximum token amount the spender is allowed to transfer, expressed in the token's smallest units.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully set.✨ AI |
Attempt to cancel multiple authorizations
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _authorizerList | address[] | Authorizer addresses |
| _nonceList | bytes32[] | Authorization nonces |
| _vList | uint8[] | v values of the signatures |
| _rList | bytes32[] | r values of the signatures |
| _sList | bytes32[] | s values of the signatures |
| _ignoreErrors | bool | True to continue past entries that fail the cancellability check without reverting |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| _didCancelList | bool[] | _didCancelList Boolean results indicating which authorizations were canceled by this call |
Destroy tokens from the caller's balance and reduce the total supply.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| amount | uint256 | Burn amount |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if successful Can only be called by the current owner. |
Attempt to cancel an authorization
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| authorizer | address | Authorizer's address |
| nonce | bytes32 | Nonce of the authorization |
| v | uint8 | v of the signature |
| r | bytes32 | r of the signature |
| s | bytes32 | s of the signature |
Decrease the caller's allowance for spender by subtractedValue and return true if successful.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address whose allowance will be decreased.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Moves the full token balance of a frozen account into owner custody.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _account | address | The frozen account to drain. |
Freeze an account to prevent it from transferring tokens.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address to mark as frozen; frozen accounts cannot transfer tokens.✨ AI |
Increases the caller's ERC-20 allowance for a spender by the specified amount.✨ 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.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | Boolean indicating whether the allowance increase succeeded.✨ AI |
Initializes the token, setting the owner, token name, and symbol and preparing the contract for use.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _initialOwner | address | Address that will be set as the contract owner and receive initial admin rights.✨ AI |
| _name | string | Token name used for display and ERC-20 metadata.✨ AI |
| _symbol | string | Token symbol used for display and ERC-20 metadata.✨ AI |
Initializes the contract to V2 state and enables upgraded features and settings for the StablecoinV2 token.✨ AI
Allows an authorized account to create the specified amount of new tokens and adds them to its balance.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| amount | uint256 | Mint amount |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if successful Can only be called by the current owner. |
Pauses all token transfers and other state-changing functions when invoked by an authorized account.✨ AI
Sets the allowance for spender on behalf of owner using an off-chain EIP-2612 signature and deadline.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address that signed the permit and grants the allowance.✨ AI |
| spender | address | Address being approved to spend the owner's tokens.✨ AI |
| value | uint256 | Allowance amount to set for the spender (uint256).✨ AI |
| deadline | uint256 | Unix timestamp after which the permit is invalid.✨ AI |
| v | uint8 | ECDSA signature recovery v component.✨ AI |
| r | bytes32 | ECDSA signature r component (32 bytes).✨ AI |
| s | bytes32 | ECDSA signature s component (32 bytes).✨ AI |
Reallocates tokens from a frozen source account into a replacement account.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _from | address | The frozen source account. |
| _to | address | The replacement account. |
| _amount | uint256 | The amount to move, in token base units. |
Receive a transfer with a signed authorization from the payer
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| from | address | Payer's address (Authorizer) |
| to | address | Payee's address |
| value | uint256 | Amount to be transferred |
| validAfter | uint256 | The time after which this is valid (unix time) |
| validBefore | uint256 | The time before which this is valid (unix time) |
| nonce | bytes32 | Unique nonce |
| v | uint8 | v of the signature |
| r | bytes32 | r of the signature |
| s | bytes32 | s of the signature |
Recovers ERC-20 balances held by the token contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _token | address | The token address to recover. |
| _recipient | address | The recipient of the recovered tokens. |
| _amount | uint256 | The amount to recover, in the token's base units. |
Transfer caller's tokens to a recipient, updating balances and emitting a Transfer event.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| to | address | Recipient address to receive tokens.✨ AI |
| amount | uint256 | Amount of tokens to transfer, as a uint256 in the token's smallest unit.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded; otherwise the call reverts.✨ AI |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newOwner | address |
Execute a transfer with a signed authorization
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| from | address | Payer's address (Authorizer) |
| to | address | Payee's address |
| value | uint256 | Amount to be transferred |
| validAfter | uint256 | The time after which this is valid (unix time) |
| validBefore | uint256 | The time before which this is valid (unix time) |
| nonce | bytes32 | Unique nonce |
| v | uint8 | v of the signature |
| r | bytes32 | r of the signature |
| s | bytes32 | s of the signature |
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| authorizer | address | ✓ | |
| nonce | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| authorizer | address | ✓ | |
| nonce | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| from | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| token | address | ✓ | |
| recipient | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| from | address | ✓ | |
| to | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| version | uint8 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| to | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| account | address |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| account | address |