0xd533a949740bb3306d119cc777fa900ba034cd52
Solidity vyper:0.2.4
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected upgradeable and mintable controls from the verified ABI.
当前控制
- Admin
- 0x40907540d8a6c65c637785e8f8b742ae6b0b9968 ↗ Etherscan → smarts
- Upgradeability inferred from ABI/events; proxy storage resolution may be incomplete.
概览
读取函数
Block #25,493,687 · 38s agoReturns the amount of tokens currently available for immediate use.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Available token supply as a uint256, representing the number of tokens currently available for use✨ AI |
Return the amount of tokens that can be minted in the given timeframe.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| start | uint256 | Start timestamp of the timeframe.✨ AI |
| end | uint256 | End timestamp of the timeframe.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Amount of tokens (uint256) that can be minted between start and end.✨ AI |
Returns the total number of tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The total token supply as a uint256 (total number of tokens currently in existence).✨ AI |
Returns the remaining token allowance that _spender may transfer from _owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _owner | address | Address that owns the tokens.✨ AI |
| _spender | address | Address authorized to spend tokens on the owner's behalf.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining token allowance (uint256) that _spender may spend from _owner.✨ AI |
Returns the token's name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token's name as a human-readable string.✨ AI |
Returns the token's short symbol used to identify the token to users.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (for example, "ABC").✨ AI |
Returns the number of decimal places used to display token balances.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The token's decimals as an unsigned integer (commonly 18), determining display precision.✨ AI |
Returns the token balance for a given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| arg0 | address | Address to check the token balance for.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The token balance of the given address, expressed in the token's smallest unit (uint256).✨ AI |
Returns the address currently assigned the minter role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address authorized to mint new tokens.✨ AI |
Returns the current contract administrator address.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address that currently holds administrative privileges for this contract.✨ AI |
Return the current mining epoch index.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | int128 | Current mining epoch number as int128.✨ AI |
Returns the Unix timestamp when the current epoch started.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Unix timestamp (seconds since Unix epoch) marking the start of the current epoch.✨ AI |
Get the current rate used for token conversions or pricing.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current rate as a uint256; interpretation depends on contract context (e.g., exchange rate or scaling factor).✨ AI |
写入函数
Update the token's mining parameters according to the contract's emission schedule.✨ AI
Records the current block timestamp as the epoch start time and returns it.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The epoch start timestamp as a uint256 (seconds since the Unix epoch).✨ AI |
Write and return the timestamp for the next epoch.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The next epoch timestamp as a uint256 UNIX time (seconds) after it is written to contract storage.✨ AI |
Sets the account allowed to mint new tokens.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _minter | address | Address to grant minting permission.✨ AI |
Set the contract admin address to a new account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _admin | address | The address to assign as the new admin.✨ AI |
Transfer tokens from the caller's account to a recipient address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _to | address | Recipient address to receive the tokens.✨ AI |
| _value | uint256 | Amount of tokens to transfer (in token smallest units).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded, otherwise false.✨ AI |
Transfer tokens from a permitted address to another address 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, expressed in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded; the function reverts on failure.✨ AI |
Authorize _spender to transfer up to _value tokens from your account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _spender | address | Address that will be allowed to spend tokens.✨ AI |
| _value | uint256 | Maximum number of tokens the spender is permitted to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the approval operation succeeded.✨ AI |
Mints new tokens and assigns them to the specified address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _to | address | Recipient address that will receive the newly minted tokens.✨ AI |
| _value | uint256 | Amount of tokens to mint, expressed in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the mint succeeded, false otherwise.✨ AI |
Burns _value tokens from the caller's balance and decreases the token total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _value | uint256 | Amount of tokens to remove from the caller's balance.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the burn operation succeeded and the contract state was updated.✨ AI |
Set the token's name and symbol.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _name | string | New token name.✨ AI |
| _symbol | string | New token symbol.✨ AI |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _from | address | ✓ | |
| _to | address | ✓ | |
| _value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| _owner | address | ✓ | |
| _spender | address | ✓ | |
| _value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| time | uint256 | ||
| rate | uint256 | ||
| supply | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| minter | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| admin | address |