0x3600000000000000000000000000000000000000
Proxy 实现合约: 0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6
Solidity v0.6.12+commit.27d51765
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected upgradeable, mintable, pausable, blacklistable, and ownable controls from the verified ABI.
当前控制
- Implementation
- 0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6 ↗ ArcScan → smarts proxy
- Paused
- false
- Owner
- 0xf5a5658b55983e2aa037cac7a8431b510e8a97f4 ↗ ArcScan → smarts
- Master minter
- 0x5a6e6899ad7387ee1aae23041e3eb29ba11140e3 ↗ ArcScan → smarts
- Pauser
- 0x51fa31e029abf0ce307bca9ee6bf48aed6345212 ↗ ArcScan → smarts
- Blacklister
- 0x2a2b7ff330f15f9a8c52af5fec27d775f5138467 ↗ ArcScan → smarts
- Rescuer
- 0x0000000000000000000000000000000000000000 (无)
概览
读取函数
Block #32,890,750 · just nowReturn the EIP-712 typehash used to build cancelAuthorization signatures.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | EIP-712 keccak256 hash of the CancelAuthorization type string used for signature hashing.✨ AI |
Return the token's decimals scaling factor used to convert between displayed units and smallest units.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Scaling factor (10**decimals) as a uint256 for converting displayed token amounts to base units.✨ AI |
Get the EIP712 Domain Separator.
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 EIP712 domain separator. |
Returns the address that holds native coin authority for this token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address with permission to act as the native coin authority.✨ AI |
Returns the contract address that controls native coin settings for this token.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address that has authority to manage or configure native coin behavior for this token.✨ AI |
Returns the EIP-2612 permit typehash used to construct and verify permit signatures.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 keccak256 typehash for the permit struct (EIP-2612).✨ AI |
Return the EIP-712 typehash used to verify receive-with-authorization signatures.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 EIP-712 typehash for the ReceiveWithAuthorization struct used to validate signatures.✨ AI |
Return the EIP-712 type hash used for transferWithAuthorization authorization structs.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | EIP-712 type hash (bytes32) identifying the transferWithAuthorization struct used in signed authorizations.✨ AI |
Gets the remaining amount of fiat tokens a spender is allowed to transfer on behalf of the token owner.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | The token owner's address. |
| spender | address | The spender's address. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The remaining allowance. |
Returns the state of an authorization
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| authorizer | address | Authorizer's address |
| nonce | bytes32 | Nonce of the authorization |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the nonce is used |
Gets the fiat token balance of an account.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | The address to check. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | balance The fiat token balance of the account. |
Returns the address designated as the contract's blacklister.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address currently assigned the role that can blacklist accounts.✨ AI |
Return the token's configured fiat currency identifier.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The fiat currency identifier string assigned to the token (e.g., "USD").✨ AI |
Return the number of decimal places the token uses.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | Number of decimals used to display token amounts (uint8).✨ 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. |
Retrieve the address of the current master minter.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address of the account holding master minter privileges that can manage minters and mint tokens.✨ AI |
Gets the minter allowance for an account.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| minter | address | The address to check. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The remaining minter allowance for the account. |
Returns the token's human-readable name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token's human-readable name string.✨ AI |
Nonces for permit
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Token owner's address (Authorizer) |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Next nonce |
Return the contract owner's address.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | the address of the owner |
Shows whether the token contract is currently paused.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the contract is paused (restricted operations disabled); false if normal operations are allowed.✨ AI |
Returns the address currently assigned the pauser role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Address that holds the pauser role and can pause or unpause token transfers.✨ AI |
Returns current rescuer
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Rescuer's address |
Returns the token's short symbol used to identify the token in wallets and UIs.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (short identifier shown in wallets and interfaces).✨ AI |
Gets the total supply of tokens in circulation.
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The total supply in 6 decimals (token precision). |
Version string for the EIP712 domain separator
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | Version string |
写入函数
Sets a fiat token allowance for a spender to spend on behalf of the caller.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | The spender's address. |
| value | uint256 | The allowance amount. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Adds account to blacklist.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _account | address | The address to blacklist. |
Allows a minter to burn their 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 | |
| r | bytes32 | |
| s | bytes32 |
Attempt to cancel an authorization
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| authorizer | address | Authorizer's address |
| nonce | bytes32 | Nonce of the authorization |
| signature | bytes | Signature bytes signed by an EOA wallet or a contract wallet |
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 tokens to a specified address.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _to | address | The address that will receive the minted tokens. |
| _amount | uint256 | The amount of tokens to mint. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Pauses the contract, disabling transfers, approvals and other actions guarded by the pause modifier.✨ 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 | Signature bytes signed by an EOA wallet or a contract wallet |
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 | |
| r | bytes32 | |
| s | bytes32 |
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 | Signature bytes signed by an EOA wallet or a contract wallet |
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 | |
| r | bytes32 | |
| s | bytes32 |
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 |
Transfers tokens from the caller.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Payee's address. |
| value | uint256 | Transfer amount. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Transfers tokens from an address to another by spending the caller's allowance.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Payer's address. |
| to | address | Payee's address. |
| value | uint256 | Transfer amount. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the operation was successful. |
Transfer ownership of the contract to the 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 | Signature bytes signed by an EOA wallet or a contract wallet |
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 | |
| r | bytes32 | |
| s | bytes32 |
Removes account from blacklist.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _account | address | The address to remove from the blacklist. |
Unpauses token transfers and restores normal contract operations.✨ 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 | ✓ |