0x5a98fcbea516cf06857215779fd812ca3bef1b32
Solidity v0.4.24+commit.e67f0147
Fungible token following the ERC-20 standard.
管理與風險
誰能修改規則?
No admin risk controls detected from the verified ABI.
概覽
讀取函式
Block #25,493,710 · just nowGet the token's name.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's user-friendly name string.✨ AI |
Return the block number when this token contract was created.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The block number at which the token contract was created (uint256).✨ AI |
Returns the current total number of tokens in circulation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The total number of tokens |
Returns the number of decimal places used by the token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | The number of decimal places the token uses (uint8).✨ AI |
Returns the token balance of an address at a specific block number.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _owner | address | The address from which the balance will be retrieved |
| _blockNumber | uint256 | The block number when the balance is queried |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The balance at `_blockNumber` |
Return the token contract's version string.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token contract's version identifier as a string.✨ AI |
Return the current token balance for a specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _owner | address | The address that's balance is being requested |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| balance | uint256 | The balance of `_owner` at the current block |
Returns the address of the token from which this token was cloned.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The parent token contract address (the token this MiniMe was cloned from).✨ AI |
Return the token's short symbol used in user interfaces.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (e.g., "ABC").✨ AI |
Total amount of tokens at a specific `_blockNumber`.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _blockNumber | uint256 | The block number when the totalSupply is queried |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The total amount of tokens at `_blockNumber` |
Returns true when token transfers are enabled.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | Boolean indicating whether token transfers are enabled (true) or disabled (false).✨ AI |
Returns the block number at which this token recorded the parent token's snapshot.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Block number of the parent token snapshot associated with this token (uint256).✨ AI |
Returns the remaining number of tokens that _spender is allowed to spend on behalf of _owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _owner | address | The address of the account that owns the token |
| _spender | address | The address of the account able to transfer the tokens |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| remaining | uint256 | Amount of remaining tokens of _owner that _spender is allowed to spend |
Return the address of the token factory that created this token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address of the MiniMe token factory contract that created this token.✨ AI |
Returns the address of the token controller.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address authorized to perform controller actions for the token (zero address if no controller set).✨ AI |
寫入函式
`msg.sender` approves `_spender` to spend `_amount` tokens on its behalf. This is a modified version of the ERC20 approve function to be a little bit safer
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _spender | address | The address of the account able to transfer the tokens |
| _amount | uint256 | The amount of tokens to be approved for transfer |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| success | bool | True if the approval was successful |
Send `_amount` tokens to `_to` from `_from` on the condition it is approved by `_from`
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _from | address | The address holding the tokens being transferred |
| _to | address | The address of the recipient |
| _amount | uint256 | The amount of tokens to be transferred |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| success | bool | True if the transfer was successful |
Changes the controller of the contract
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _newController | address | The new controller of the contract |
Creates a new clone token with the initial distribution being this token at `_snapshotBlock`
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _cloneTokenName | string | Name of the clone token |
| _cloneDecimalUnits | uint8 | Number of decimals of the smallest unit |
| _cloneTokenSymbol | string | Symbol of the clone token |
| _snapshotBlock | uint256 | Block when the distribution of the parent token is copied to set the initial distribution of the new clone token; if the block is zero than the actual block, the current block is used |
| _transfersEnabled | bool | True if transfers are allowed in the clone |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address of the new MiniMeToken Contract |
Generates `_amount` tokens that are assigned to `_owner`
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _owner | address | The address that will be assigned the new tokens |
| _amount | uint256 | The quantity of tokens generated |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the tokens are generated correctly |
Send `_amount` tokens to `_to` from `msg.sender`
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _to | address | The address of the recipient |
| _amount | uint256 | The amount of tokens to be transferred |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| success | bool | Whether the transfer was successful or not |
`msg.sender` approves `_spender` to send `_amount` tokens on its behalf, and then a function is triggered in the contract that is being approved, `_spender`. This allows users to use their tokens to interact with contracts in one function call instead of two
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _spender | address | The address of the contract able to transfer the tokens |
| _amount | uint256 | The amount of tokens to be approved for transfer |
| _extraData | bytes |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| success | bool | True if the function call was successful |
Burns `_amount` tokens from `_owner`
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _owner | address | The address that will lose the tokens |
| _amount | uint256 | The quantity of tokens to burn |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the tokens are burned correctly |
This method can be used by the controller to extract mistakenly sent tokens to this contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _token | address | The address of the token contract that you want to recover set to 0 in case you want to extract ether. |
Enables token holders to transfer their tokens freely if true
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _transfersEnabled | bool | True if transfers are allowed in the clone |
事件
/////////////
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _token | address | ✓ | |
| _controller | address | ✓ | |
| _amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _from | address | ✓ | |
| _to | address | ✓ | |
| _amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _cloneToken | address | ✓ | |
| _snapshotBlock | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _owner | address | ✓ | |
| _spender | address | ✓ | |
| _amount | uint256 |