0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6
Solidity v0.6.12+commit.27d51765
Fungible token following the ERC-20 standard.
管理與風險
誰能修改規則?
Detected mintable, pausable, blacklistable, and ownable controls from the verified ABI.
當前控制
- Paused
- false
- Owner
- 0x0000000000000000000000000000000000000000 (無)
- Master minter
- 0x0000000000000000000000000000000000000000 (無)
- Pauser
- 0x0000000000000000000000000000000000000000 (無)
- Blacklister
- 0x0000000000000000000000000000000000000000 (無)
- Rescuer
- 0x0000000000000000000000000000000000000000 (無)
概覽
讀取函式
Block #32,892,427 · just nowReturn the EIP-712 type hash used to cancel authorizations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP-712 type hash for the 'CancelAuthorization' struct used in signature verification.✨ AI |
Returns the scaling factor used to convert token amounts according to the token's decimals.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The scaling factor as a uint256 used to scale token amounts by the token decimals.✨ AI |
Get the EIP712 Domain Separator.
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP712 domain separator. |
Returns the address authorized to manage native-coin operations for this token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address that holds authority over native-coin related functions and permissions.✨ AI |
Return the address that controls native coin behavior for this token.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The controller address responsible for managing native-coin-related operations for this token.✨ AI |
Return the EIP-2612 permit typehash used for off-chain signature verification.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 permit typehash used in EIP-2612 permit signature hashing.✨ AI |
Returns the EIP-712 type hash used to authorize token receives via off-chain signatures.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | EIP-712 type hash (bytes32) for RECEIVE_WITH_AUTHORIZATION messages used to verify off-chain authorizations.✨ AI |
Returns the EIP-712 type hash used by transferWithAuthorization.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP-712 type hash for the TransferWithAuthorization struct used in signatures.✨ AI |
Returns the remaining number of tokens that spender is allowed to transfer from owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Address of the token holder.✨ AI |
| spender | address | Address authorized to spend tokens on behalf of the owner.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance as a uint256 (token smallest units) that spender may transfer from owner.✨ 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 specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | Address whose token balance will be returned.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The account's token balance as a uint256 in the token's smallest unit.✨ AI |
Returns the address assigned as the contract's blacklister.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address that has the permission to blacklist accounts.✨ AI |
Return the token's fiat currency identifier.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's currency identifier string, typically an ISO 4217 code such as "USD" or a custom label.✨ AI |
Return the number of decimal places the token uses for UIs and calculations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimals as a uint8: the number of decimal places used for balances and amounts.✨ AI |
Checks if account is blacklisted.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _account | address | The address to check. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the account is blacklisted, false if the account is not blacklisted. |
Checks if an account is a minter.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| account | address | The address to check. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the account is a minter, false if the account is not a minter. |
Get the address of the current master minter.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address of the master minter authorized to add or remove minter roles.✨ AI |
Gets the minter allowance for an account.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| minter | address | The address to check. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | The remaining minter allowance for the account. |
Return the token's user-facing name.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The ERC-20 token name string, suitable for display in user interfaces.✨ AI |
Nonces for permit
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Token owner's address (Authorizer) |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Next nonce |
Returns the current contract owner's address.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | the address of the owner |
Return true when the token contract is paused, disabling transfers and other mutative actions.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the contract is paused and transfers or other state-changing operations are disabled.✨ AI |
Returns the address currently authorized to pause and unpause the token contract.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Address with the pauser role that can call the contract's pause and unpause functions.✨ AI |
Returns current rescuer
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | Rescuer's address |
Returns the token's symbol for display in wallets and user interfaces.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (for example "ETH"), used by wallets and UIs.✨ AI |
Return the total number of tokens in circulation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as a uint256 representing all tokens in existence.✨ AI |
Version string for the EIP712 domain separator
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | Version string |
寫入函式
Set the allowance for spender to spend tokens from the caller's balance.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Address allowed to transfer tokens on behalf of the caller.✨ AI |
| value | uint256 | Maximum token amount the spender is allowed to transfer.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | true if the approval was successful.✨ AI |
Adds account to blacklist.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _account | address | The address to blacklist. |
Allows a minter to burn some of its own tokens.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _amount | uint256 | the amount of tokens to be burned. |
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 |
Attempt to cancel an authorization
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| authorizer | address | Authorizer's address |
| nonce | bytes32 | Nonce of the authorization |
| signature | bytes |
Adds or updates a new minter with a mint allowance.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| minter | address | The address of the minter. |
| minterAllowedAmount | uint256 | The minting amount allowed for the minter. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Decrease the allowance by a given decrement
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Spender's address |
| decrement | uint256 | Amount of decrease in allowance |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if successful |
Increase the allowance by a given increment
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| spender | address | Spender's address |
| increment | uint256 | Amount of increase in allowance |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if successful |
Initializes the fiat token contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| tokenName | string | The name of the fiat token. |
| tokenSymbol | string | The symbol of the fiat token. |
| tokenCurrency | string | The fiat currency that the token represents. |
| tokenDecimals | uint8 | The number of decimals that the token uses. |
| newMasterMinter | address | The masterMinter address for the fiat token. |
| newPauser | address | The pauser address for the fiat token. |
| newBlacklister | address | The blacklister address for the fiat token. |
| newOwner | address | The owner of the fiat token. |
Initialize v2
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newName | string | New token name |
Initialize v2.1
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| lostAndFound | address | The address to which the locked funds are sent |
Initialize v2.2
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| accountsToBlacklist | address[] | A list of accounts to migrate from the old blacklist |
| newSymbol | string | New token symbol data structure to the new blacklist data structure. |
Mints fiat tokens to an address.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _to | address | The address that will receive the minted tokens. |
| _amount | uint256 | The amount of tokens to mint. Must be less than or equal to the minterAllowance of the caller. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Pauses the token contract, disabling transfers and other functions that require the contract to be unpaused.✨ AI
Update allowance with a signed permit
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Token owner's address (Authorizer) |
| spender | address | Spender's address |
| value | uint256 | Amount of allowance |
| deadline | uint256 | The time at which the signature expires (unix time), or max uint256 value to signal no expiration |
| signature | bytes |
Update allowance with a signed permit
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| owner | address | Token owner's address (Authorizer) |
| spender | address | Spender's address |
| value | uint256 | Amount of allowance |
| deadline | uint256 | The time at which the signature expires (unix time), or max uint256 value to signal no expiration |
| v | uint8 | v of the signature |
| r | bytes32 | r of the signature |
| s | bytes32 | s of the signature |
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 |
| signature | bytes |
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 |
Removes a minter.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| minter | address | The address of the minter to remove. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Rescue ERC20 tokens locked up in this contract.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| tokenContract | address | ERC20 token contract address |
| to | address | Recipient address |
| amount | uint256 | Amount to withdraw |
Transfer tokens from your account to another address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| to | address | Recipient address that will receive the tokens.✨ AI |
| value | uint256 | Amount of tokens to transfer, denominated in the token's smallest unit.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded.✨ AI |
Transfers 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 |
| value | uint256 | Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded.✨ AI |
Transfers contract ownership to a specified new owner address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newOwner | address | The address to transfer ownership to. |
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 |
| signature | bytes |
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 |
Removes account from blacklist.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _account | address | The address to remove from the blacklist. |
Unpauses the contract to resume token operations that were disabled while paused.✨ AI
Updates the blacklister address.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _newBlacklister | address | The address of the new blacklister. |
Updates the master minter address.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _newMasterMinter | address | The address of the new master minter. |
Updates the pauser address.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _newPauser | address | The address of the new pauser. |
Updates the rescuer address.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newRescuer | address | The address of the new rescuer. |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| authorizer | address | ✓ | |
| nonce | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| authorizer | address | ✓ | |
| nonce | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _account | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| newBlacklister | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| burner | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| newMasterMinter | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| minter | address | ✓ | |
| to | address | ✓ | |
| amount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| minter | address | ✓ | |
| minterAllowedAmount | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| oldMinter | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | representing the address of the previous owner | |
| newOwner | address | representing the address of the new owner |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| newAddress | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| newRescuer | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| _account | address | ✓ |