0x9c118268a9bf6328b62ebf7d2be035fbc01d4444
Solidity v0.8.20+commit.a1b79de6
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected ownable controls from the verified ABI.
当前控制
- Owner
- 0x0000000000000000000000000000000000000000 (无)
概览
读取函数
Block #108,655,041 · just nowReturns the numeric code representing the token's normal operation mode.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | uint256 code identifying the contract's normal operation mode.✨ AI |
Get the numeric identifier for the MODE_TRANSFER_CONTROLLED transfer mode.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | uint256 numeric identifier for the MODE_TRANSFER_CONTROLLED mode.✨ AI |
Returns the numeric code representing the transfer-restricted mode.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | A uint256 constant identifying the transfer-restricted mode (mode flag value).✨ AI |
Return the token's current operational mode as an unsigned integer.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | uint256 representing the contract's current mode or state identifier.✨ AI |
Return the remaining number of tokens that spender is allowed to transfer from owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token holder address.✨ AI |
| spender | address | Address approved to spend tokens on owner's behalf.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The remaining allowance as a uint256 (number of token units).✨ AI |
Returns the token balance of the specified account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address whose token balance will be returned.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The account's token balance as an unsigned 256-bit integer.✨ AI |
Return the number of decimal places the token uses for user balances.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | The number of decimal places (uint8) the token uses to format balances; commonly 18 for ERC-20 tokens.✨ AI |
Returns the token's user-facing name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token name as a human-readable string, for example MyToken.✨ AI |
Returns the address of the token contract owner.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The Ethereum address that holds ownership privileges for this contract.✨ AI |
Returns the token's symbol.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (for example: ETH).✨ AI |
Returns the total number of tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as a uint256 measured in the token's smallest unit (includes all minted tokens).✨ AI |
写入函数
Allows spender to transfer up to amount tokens from the caller's account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address authorized to spend tokens on behalf of the caller.✨ AI |
| amount | uint256 | Maximum number of tokens the spender is allowed to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the approval was successful, otherwise false.✨ AI |
Decrease the caller's allowance for a spender by a specified amount.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address authorized to spend the caller's tokens.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was decreased successfully, false otherwise.✨ AI |
Increases the caller's ERC-20 allowance for spender by addedValue and emits an Approval event.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address approved to spend tokens on behalf of the caller.✨ AI |
| addedValue | uint256 | Amount of tokens to add to the current allowance (in token smallest units).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the allowance was successfully increased.✨ AI |
Initializes the token by setting its name, symbol, and total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| name | string | Human-readable token name.✨ AI |
| symbol | string | Token ticker symbol (short).✨ AI |
| totalSupply | uint256 | Initial total supply in smallest indivisible units (uint256).✨ AI |
Permanently renounce ownership, leaving the contract without an owner.✨ AI
Set the token's operating mode to the given numeric value.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| v | uint256 | Numeric identifier for the new operating mode; contract defines mode behavior.✨ AI |
Transfers a specified amount of tokens from the caller to the recipient address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Recipient address.✨ AI |
| amount | uint256 | Amount of tokens to transfer (in the token's smallest unit).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeds.✨ AI |
Transfer tokens from one account to another using an approved allowance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Account to debit tokens from.✨ AI |
| to | address | Account to credit tokens to.✨ AI |
| amount | uint256 | Number of tokens to transfer, in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded.✨ AI |
Transfer contract ownership to a new owner address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newOwner | address | Address that will be set as the new contract owner.✨ AI |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |