RKA

Arbitrum One ERC-20 Token Browse chains

0x8b194beae1d3e0788a1a35173978001acdfba668

Solidity v0.6.11+commit.5ef660b1

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: 0x8b194beae1d3e0788a1a35173978001acdfba668
Sample prompt: "Tell me the current state of arbitrum/0x8b194beae1d3e0788a1a35173978001acdfba668"
No AI wired up yet? → mcp.smarts.md · Browse chains

Admin & Risk

Who can change the rules?

No admin risk controls detected from the verified ABI.

Overview

Read Functions
10
Write Functions
14
Events
3

Read Functions

Block #25,287,499 · just now
DOMAIN_SEPARATOR() view → 0x4e4fe710b9b512c332ff5e8b5d0413b1ace79b662b91fa3ea0ee4ec2c730d046

Return the EIP-712 domain separator used for signing typed data.✨ AI

Returns

Name Type Description
bytes32 The EIP-712 domain separator (bytes32) for this contract, used in permit and typed-data signatures.✨ AI
allowance(owner: address, spender: address) view

Returns the remaining number of tokens that spender is allowed to spend on behalf of owner.✨ AI

dev: See {IERC20-allowance}.

Parameters

Name Type Description
owner address Address of the token owner whose allowance is being queried.✨ AI
spender address Address of the spender allowed to transfer tokens from the owner.✨ AI

Returns

Name Type Description
uint256 The remaining allowance as a uint256 in the token's smallest unit (wei) that spender may transfer.✨ AI
balanceOf(account: address) view

Returns the aeWETH token balance for a given address.✨ AI

dev: See {IERC20-balanceOf}.

Parameters

Name Type Description
account address Address whose aeWETH balance will be returned.✨ AI

Returns

Name Type Description
uint256 The account's aeWETH token balance as a uint256 in the token's smallest unit.✨ AI
decimals() view → 18

Returns the number of decimal places used by the token.✨ AI

dev: Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5,05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is called. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.

Returns

Name Type Description
uint8 The token's decimals as a uint8, indicating how many decimal places balances and amounts use.✨ AI
l1Address() view → 0x0000000000000000000000000000000000000001

Returns the Layer 1 token contract address associated with this aeWETH token.✨ AI

Returns

Name Type Description
address address of layer 1 token
l2Gateway() view → 0x0000000000000000000000000000000000000001

Return the Layer 2 gateway contract address used to bridge aeWETH.✨ AI

Returns

Name Type Description
address The address of the L2 gateway contract that handles bridging for this token.✨ AI
name() view → dQw4w9WgXcQ

Returns the token's human-readable name.✨ AI

dev: Returns the name of the token.

Returns

Name Type Description
string The token name as a string.✨ AI
nonces(owner: address) view

Returns the current nonce for an account used to validate off-chain signatures like permit.✨ AI

dev: See {IERC20Permit-nonces}.

Parameters

Name Type Description
owner address The address whose nonce is being queried.✨ AI

Returns

Name Type Description
uint256 The current uint256 nonce for the owner; increments each time a signature-based permission is used.✨ AI
symbol() view → RKA

Returns the token symbol used to identify the aeWETH ERC-20 token.✨ AI

dev: Returns the symbol of the token, usually a shorter version of the name.

Returns

Name Type Description
string Token symbol string (short ticker), e.g. aeWETH.✨ AI
totalSupply() view → 0.03 RKA

Returns the total number of aeWETH tokens in existence.✨ AI

dev: See {IERC20-totalSupply}.

Returns

Name Type Description
uint256 Total supply of aeWETH tokens as a uint256 in token base units.✨ AI

Write Functions

approve(spender: address, amount: uint256) nonpayable

Allow spender to transfer up to amount of your tokens on your behalf.✨ AI

dev: See {IERC20-approve}. Requirements: - `spender` cannot be the zero address.

Parameters

Name Type Description
spender address Address allowed to spend tokens.✨ AI
amount uint256 Maximum number of tokens the spender is allowed to transfer.✨ AI

Returns

Name Type Description
bool True if the approval operation succeeded, false otherwise.✨ AI
bridgeBurn(account: address, amount: uint256) nonpayable

Burn tokens on L2.

dev: only the token bridge can call this

Parameters

Name Type Description
account address owner of tokens
amount uint256 amount of tokens burnt
bridgeMint(account: address, amount: uint256) nonpayable

Mint tokens on L2. Callable path is L1Gateway depositToken (which handles L1 escrow), which triggers L2Gateway, which calls this

Parameters

Name Type Description
account address recipient of tokens
amount uint256 amount of tokens minted
decreaseAllowance(spender: address, subtractedValue: uint256) nonpayable

Decrease the caller's token allowance for spender by subtractedValue and return true on success.✨ AI

dev: Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.

Parameters

Name Type Description
spender address Address that will have its allowance decreased.✨ AI
subtractedValue uint256 Amount to subtract from the existing allowance.✨ AI

Returns

Name Type Description
bool Boolean indicating whether the allowance was decreased successfully.✨ AI
deposit() payable

Deposit native Ether to receive aeWETH tokens minted to your account.✨ AI

depositTo(account: address) payable

Deposit Ether and mint aeWETH tokens to the specified account.✨ AI

Parameters

Name Type Description
account address Address that will receive the minted aeWETH tokens.✨ AI
increaseAllowance(spender: address, addedValue: uint256) nonpayable

Increase the caller's ERC-20 token allowance for a spender by a specified amount.✨ AI

dev: Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.

Parameters

Name Type Description
spender address Address that will be allowed to spend the caller's tokens.✨ AI
addedValue uint256 Amount to add to the spender's existing allowance (token base units).✨ AI

Returns

Name Type Description
bool True if the allowance was successfully increased.✨ AI
initialize(_name: string, _symbol: string, _decimals: uint8, _l2Gateway: address, _l1Address: address) nonpayable

Initialize the aeWETH token and set its metadata and linked L1/L2 gateway addresses.✨ AI

Parameters

Name Type Description
_name string Token name stored in ERC-20 metadata.✨ AI
_symbol string Token symbol stored in ERC-20 metadata.✨ AI
_decimals uint8 Number of decimals used by the token.✨ AI
_l2Gateway address Address of the Layer 2 gateway contract that handles bridging.✨ AI
_l1Address address Address of the corresponding token contract on Layer 1.✨ AI
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32) nonpayable

Approve a spender to transfer the owner's tokens using an off-chain signature (gasless permit) before the deadline.✨ AI

dev: See {IERC20Permit-permit}.

Parameters

Name Type Description
owner address Token holder address who generated the signature.✨ AI
spender address Address approved to spend the owner's tokens.✨ AI
value uint256 Amount of tokens to approve, in the token's smallest unit.✨ AI
deadline uint256 Unix timestamp after which the signature is invalid.✨ AI
v uint8 ECDSA signature recovery identifier (v byte).✨ AI
r bytes32 First 32 bytes of the ECDSA signature.✨ AI
s bytes32 Second 32 bytes of the ECDSA signature.✨ AI
transfer(recipient: address, amount: uint256) nonpayable

Transfer tokens from caller to recipient.✨ AI

dev: See {IERC20-transfer}. Requirements: - `recipient` cannot be the zero address. - the caller must have a balance of at least `amount`.

Parameters

Name Type Description
recipient address Address receiving the tokens.✨ AI
amount uint256 Amount of tokens to transfer (in the token's smallest unit).✨ AI

Returns

Name Type Description
bool True if the transfer succeeded.✨ AI
transferAndCall(_to: address, _value: uint256, _data: bytes) nonpayable

Transfer tokens to _to and call the recipient contract with _data after the transfer.✨ AI

dev: transfer token to a contract address with additional data if the recipient is a contact.

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 success: true if the token transfer and the subsequent call both succeeded; false otherwise.✨ AI
transferFrom(sender: address, recipient: address, amount: uint256) nonpayable

Move tokens from one account to another using an approved allowance.✨ AI

dev: See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. Requirements: - `sender` and `recipient` cannot be the zero address. - `sender` must have a balance of at least `amount`. - the caller must have allowance for ``sender``'s tokens of at least `amount`.

Parameters

Name Type Description
sender address Address providing the tokens.✨ AI
recipient address Address receiving the tokens.✨ AI
amount uint256 Number of tokens to transfer (in the token's smallest units).✨ AI

Returns

Name Type Description
bool True if the transfer succeeded.✨ AI
withdraw(amount: uint256) nonpayable

Burns the specified amount of aeWETH and transfers the equivalent underlying Ether to the caller.✨ AI

Parameters

Name Type Description
amount uint256 Amount of aeWETH to withdraw, specified in wei.✨ AI
withdrawTo(account: address, amount: uint256) nonpayable

Withdraws the specified amount of underlying WETH and sends it to the provided account.✨ AI

Parameters

Name Type Description
account address Recipient address that will receive the withdrawn underlying asset.✨ AI
amount uint256 Amount to withdraw, expressed in the token's smallest unit (wei).✨ AI

Events

Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256
Transfer(from: address, to: address, value: uint256, data: bytes)
Name Type Indexed Description
from address
to address
value uint256
data bytes
Transfer(from: address, to: address, value: uint256)
Name Type Indexed Description
from address
to address
value uint256