L2ArbitrumToken
Arbitrum One ERC-20 Token0xd47d14a315394ddf063174f2286ab4eb7c507fa0
Solidity v0.8.16+commit.07a7930e
Fungible token following the ERC-20 standard.
Admin & Risk
Who can change the rules?
Detected mintable and ownable controls from the verified ABI.
Current controls
- Owner
- 0x0000000000000000000000000000000000000000 (none)
Overview
Read Functions
Block #25,170,033 · just nowReturns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| pos | uint32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | tuple |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Parameters
| Name | Type | Description |
|---|---|---|
| blockNumber | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| blockNumber | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Get the current total delegation
Returns
| Name | Type | Description |
|---|---|---|
| — | 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
Parameters
| Name | Type | Description |
|---|---|---|
| blockNumber | uint256 | The block number to get the total delegation at |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The total delegation at the given block number |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint32 |
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Write Functions
Adjusts total delegation value by the given amount
Parameters
| Name | Type | Description |
|---|---|---|
| adjustment | int256 | The amount that the total delegation is off by, negated. This is added to the current total delegation. |
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | |
| amount | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| subtractedValue | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| delegatee | address |
Parameters
| Name | Type | Description |
|---|---|---|
| delegatee | address | |
| nonce | uint256 | |
| expiry | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| addedValue | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Initialise the L2 token
Parameters
| Name | Type | Description |
|---|---|---|
| _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
Parameters
| Name | Type | Description |
|---|---|---|
| recipient | address | |
| amount | uint256 |
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address | |
| value | uint256 | |
| deadline | uint256 | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
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.
Parameters
| Name | Type | Description |
|---|---|---|
| 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. |
Parameters
| Name | Type | Description |
|---|---|---|
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| _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. |
Returns
| Name | Type | Description |
|---|---|---|
| success | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| delegator | address | ✓ | |
| fromDelegate | address | ✓ | |
| toDelegate | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| delegate | address | ✓ | |
| previousBalance | uint256 | ||
| newBalance | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| version | uint8 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousTotalDelegation | uint256 | ||
| newTotalDelegation | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 | ||
| data | bytes |
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |