0x56072c95faa701256059aa122697b133aded9279
Solidity v0.8.21+commit.d9974bed
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected mintable controls from the verified ABI.
概览
读取函数
Block #25,493,681 · 36s agoReturns the EIP-712 domain separator used for typed data signing.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The EIP-712 domain separator (bytes32) for this contract, used in permit and typed-data signatures.✨ AI |
Returns the EIP-2612 Permit typehash used for permit signature verification.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP-712 typehash for Permit, used when constructing and verifying permit signatures.✨ AI |
Return the remaining number of tokens that a spender is allowed to transfer from an owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | |
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance as a uint256, denominated in the token's smallest units.✨ AI |
Return the token balance for the given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The account's token balance as an unsigned integer (in the token's smallest unit).✨ AI |
Returns the number of decimal places the token uses for its user representation.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | The number of decimal places (uint8) used by the token for display and value conversions.✨ AI |
Returns the chain ID where the contract was deployed.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The uint256 chain identifier (chainId) of the network where this contract was deployed.✨ AI |
Returns the token's name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token's name as a string, intended for user interfaces and display.✨ AI |
Return the current nonce for a given address used to prevent replay of signed messages.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current nonce value for the address as a uint256, incremented after each permit or meta-transaction.✨ AI |
Returns the token's short symbol used by wallets and exchanges.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol string (e.g., "SKY"), a short human-readable identifier.✨ AI |
Returns the total number of Sky tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Total supply of Sky tokens as a uint256 expressed in the token's smallest unit.✨ AI |
Return the Sky token contract version string.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The contract version identifier (e.g., semantic version) as a string.✨ AI |
Get the authorization status of an address used for privileged contract operations.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Unsigned integer flag: 1 means address is a ward (authorized), 0 means not authorized.✨ AI |
写入函数
Sets the allowance for spender to transfer up to value tokens from caller's balance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address that will be allowed to spend the tokens.✨ AI |
| value | uint256 | Maximum amount of tokens the spender is allowed to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully set.✨ AI |
Burns tokens from a specified address, reducing that address's balance and the total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Address whose tokens will be burned.✨ AI |
| value | uint256 | Amount of tokens to burn, expressed in the token's smallest unit.✨ AI |
Revoke the Sky contract's administrative permission for the specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| usr | address | Address to revoke authorization for.✨ AI |
Mints new tokens and assigns them to the specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Address receiving the newly minted tokens.✨ AI |
| value | uint256 | Amount of tokens to mint, expressed in the token's smallest units.✨ AI |
Approve spender to spend owner's tokens using an off-chain signature.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token holder address whose approval is being set.✨ AI |
| spender | address | Address permitted to spend the owner's tokens.✨ AI |
| value | uint256 | Amount of tokens to approve (uint256).✨ AI |
| deadline | uint256 | Unix timestamp after which the signature is invalid.✨ AI |
| signature | bytes |
Approve spender to spend owner's tokens using an off-chain signature.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token holder address whose approval is being set.✨ AI |
| spender | address | Address permitted to spend the owner's tokens.✨ AI |
| value | uint256 | Amount of tokens to approve (uint256).✨ AI |
| deadline | uint256 | Unix timestamp after which the signature is invalid.✨ AI |
| v | uint8 | Recovery byte of the owner's signature.✨ AI |
| r | bytes32 | First 32 bytes of the owner's signature.✨ AI |
| s | bytes32 | Second 32 bytes of the owner's signature.✨ AI |
Grant administrative authorization to the specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| usr | address | Address to grant administrative authorization for privileged actions.✨ AI |
Transfer tokens from the caller's account to the specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Recipient address to receive the tokens.✨ AI |
| value | uint256 | Number of tokens to transfer, expressed in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeds.✨ AI |
Transfer tokens from one account to another using the caller's allowance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Address to debit tokens from.✨ AI |
| to | address | Address to credit tokens to.✨ AI |
| value | uint256 | Amount of tokens to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeds.✨ AI |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| usr | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| usr | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |