ARB
Arbitrum One ERC-20 Token0x912ce59144191c1204e64559fe8253a0e49e6548
Proxy 实现合约: 0xd47d14a315394ddf063174f2286ab4eb7c507fa0
Solidity v0.8.16+commit.07a7930e
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
Detected upgradeable, mintable, and ownable controls from the verified ABI.
当前控制
- Implementation
- 0xd47d14a315394ddf063174f2286ab4eb7c507fa0 ↗ Arbiscan → smarts proxy
- Owner
- 0xcf57572261c7c2bcf21ffd220ea7d1a27d40a827 ↗ Arbiscan → smarts
近期治理
130 privileged events loaded. 最新: DelegateVotesChanged at block #466,768,449.
概览
读取函数
Block #25,177,568 · 53s agoReturn the EIP-712 domain separator used to build typed-data hashes for signatures.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | EIP-712 domain separator (bytes32) used with permit and other typed-data signature schemes.✨ AI |
Returns the denominator used to compute the token mint cap fraction.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Denominator value used to compute the maximum mint cap fraction (used with the MINT_CAP numerator).✨ AI |
Returns the numerator used in the contract's mint cap calculation.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Numerator of the mint cap fraction used to limit token minting.✨ AI |
Shows the minimum time interval, in seconds, required between consecutive mint operations.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The minimum time interval in seconds that must elapse between successive mint calls.✨ AI |
Return the remaining number of tokens that spender is allowed to spend on behalf of owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address that owns the tokens.✨ AI |
| spender | address | Address approved to spend the tokens.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining allowance in token units that spender can spend from owner.✨ AI |
Returns the token balance of the specified account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | The account address to query the token balance for.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The account's token balance as a uint256.✨ AI |
Return the checkpoint at a given index for an account's voting power history.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address whose checkpoint is being queried.✨ AI |
| pos | uint32 | Zero-based index of the checkpoint to return.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | tuple | Checkpoint block number when the votes were recorded (uint32).✨ AI |
Returns the token's number of decimal places.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimals as an unsigned 8-bit integer, indicating how many decimal places the token uses.✨ AI |
Returns the address to which an account has delegated its voting power.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | The account whose delegate is being queried.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The delegatee address receiving the account's delegated voting power; zero address if none.✨ AI |
Return the token total supply as of the specified block.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| blockNumber | uint256 | Block number to read the historical total supply for.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as recorded at the specified block via contract checkpoints.✨ AI |
Return the voting power that account held at the specified block.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address whose past votes to query.✨ AI |
| blockNumber | uint256 | Block number at which to read votes (must be <= current block).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The uint256 vote count that account had at the end of the specified block.✨ AI |
Get the current total delegation
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The current total delegation |
Get the total delegation at a specific block number If the blockNumber is prior to the first checkpoint, returns 0
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| blockNumber | uint256 | The block number to get the total delegation at |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The total delegation at the given block number |
Return the current voting power for a specified account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address to query current votes for.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current number of votes held by the account (uint256).✨ AI |
Returns the L1 token contract address that this L2 Arbitrum ERC-20 token represents.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Address of the corresponding L1 ERC-20 token contract.✨ AI |
Returns the token's name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token name as a string.✨ AI |
Returns the number of tokens scheduled to be minted in the next mint operation.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Number of tokens that will be minted by the next mint call, expressed in the token's smallest unit.✨ AI |
Provide the current replay-protection nonce for an owner used by permit signatures.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address whose permit nonce is returned.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current uint256 nonce for the owner; increments after each successful permit to prevent replay.✨ AI |
Get the number of voting checkpoints recorded for an account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Account address to query the stored number of voting checkpoints.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint32 | The count of checkpoints for the account (uint32), i.e., how many historical vote records exist.✨ AI |
Returns the address of the contract owner.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address that currently owns the contract and has administrative privileges.✨ AI |
Returns the token's short symbol used to identify the token (e.g., "ABC").✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol string, a short identifier such as "ABC".✨ AI |
Returns the total number of tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Total token supply as a uint256, representing tokens currently in circulation.✨ AI |
写入函数
Adjusts total delegation value by the given amount
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| adjustment | int256 | The amount that the total delegation is off by, negated. This is added to the current total delegation. |
Grants spender permission to transfer up to amount of your tokens from your account.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend tokens on caller's behalf.✨ AI |
| amount | uint256 | Maximum number of tokens the spender is permitted to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the approval succeeded, false otherwise.✨ AI |
Burns a specified amount of tokens from the caller's balance and reduces the total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| amount | uint256 | Amount to burn from the caller's balance, specified in the token's smallest unit.✨ AI |
Burns a specific amount of tokens from the given account using the caller's allowance, decreasing total supply.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address from which tokens will be burned.✨ AI |
| amount | uint256 | Number of tokens to burn (in smallest unit).✨ AI |
Decrease the caller's allowance for a spender by a specified amount.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address allowed 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.✨ AI |
Delegate your voting power to another address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| delegatee | address | Address that will receive your delegated voting power.✨ AI |
Delegate voting power to an address using an off-chain EIP-712 signature.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| delegatee | address | Address that will receive the delegated voting power.✨ AI |
| nonce | uint256 | Unique nonce used to prevent replay of the signature.✨ AI |
| expiry | uint256 | Unix timestamp after which the signature is no longer valid.✨ AI |
| v | uint8 | ECDSA recovery id component of the signature.✨ AI |
| r | bytes32 | First 32-byte word of the ECDSA signature.✨ AI |
| s | bytes32 | Second 32-byte word of the ECDSA signature.✨ AI |
Increase the caller's allowance for spender by addedValue and return true on success.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| spender | address | Address allowed to spend tokens.✨ AI |
| addedValue | uint256 | Amount to add to the current allowance.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | Boolean indicating whether the allowance was successfully increased.✨ AI |
Initialise the L2 token
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _l1TokenAddress | address | The address of the counterparty L1 token |
| _initialSupply | uint256 | The amount of initial supply to mint |
| _owner | address | The owner of this contract - controls minting, not upgradeability |
Allows the owner to mint new tokens
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| recipient | address | |
| amount | uint256 |
Allow an owner to set a spender allowance by presenting an off-chain signature.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address that signed the permit and whose allowance will be set.✨ AI |
| spender | address | Address that is being approved to spend the owner's tokens.✨ AI |
| value | uint256 | Amount of tokens to approve as the allowance.✨ AI |
| deadline | uint256 | Unix timestamp after which the permit signature is invalid.✨ AI |
| v | uint8 | ECDSA signature recovery byte used to reconstruct the signer.✨ AI |
| r | bytes32 | First 32 bytes of the ECDSA signature.✨ AI |
| s | bytes32 | Second 32 bytes of the ECDSA signature.✨ AI |
Called after upgrade to set the initial total delegation estimate The initial estimate may be manipulable with artificial delegation/undelegation prior to the upgrade. Since this value is only used for quorum calculation, and the quroum is clamped by the governors to an acceptable range, the risk/impact of manipulation is low.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| initialTotalDelegation | uint256 | The initial total delegation at the time of upgrade proposal creation. This is an estimate since it is chosen at proposal creation time and not effective until the proposal is executed. |
Renounce ownership of the contract, permanently removing the owner role.✨ AI
Transfer the specified amount of tokens from the caller to the recipient.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Recipient address that will receive the tokens.✨ AI |
| amount | uint256 | Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer completed successfully.✨ AI |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _to | address | The address to transfer to. |
| _value | uint256 | The amount to be transferred. |
| _data | bytes | The extra data to be passed to the receiving contract. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| success | bool |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newOwner | address |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| delegator | address | ✓ | |
| fromDelegate | address | ✓ | |
| toDelegate | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| delegate | address | ✓ | |
| previousBalance | uint256 | ||
| newBalance | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| version | uint8 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| previousTotalDelegation | uint256 | ||
| newTotalDelegation | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 | ||
| data | bytes |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |