WETH

Robinhood Chain ERC-20 Token Browse chains

0x0bd7d308f8e1639fab988df18a8011f41eacad73

Proxy implementation: 0xc6b81b429797e0f555440b70cd99e032d7ae947e

Solidity v0.8.16+commit.07a7930e

Fungible token following the ERC-20 standard.

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

Admin & Risk

Who can change the rules?

Detected upgradeable controls from the verified ABI.

Upgradeable

Current controls

Implementation
0xc6b81b429797e0f555440b70cd99e032d7ae947e → smarts proxy

Overview

Read Functions
10
Write Functions
14
Events
4

Read Functions

Block #25,988,668 · just now
DOMAIN_SEPARATOR() view → 0x6d5ee3df05221eead531fac263fd104122d2f2e4949c6dcd77842d29eb394916

Returns

Name Type Description
bytes32
allowance(owner: address, spender: address) view
dev: Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.

Parameters

Name Type Description
owner address
spender address

Returns

Name Type Description
uint256
balanceOf(account: address) view
dev: Returns the amount of tokens owned by `account`.

Parameters

Name Type Description
account address

Returns

Name Type Description
uint256
decimals() view → 18
dev: Returns the decimals places of the token.

Returns

Name Type Description
uint8
l1Address() view → 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Returns

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

Returns

Name Type Description
address
name() view → WETH
dev: Returns the name of the token.

Returns

Name Type Description
string
nonces(owner: address) view
dev: Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.

Parameters

Name Type Description
owner address

Returns

Name Type Description
uint256
symbol() view → WETH
dev: Returns the symbol of the token.

Returns

Name Type Description
string
totalSupply() view → 45,270.80 WETH
dev: Returns the amount of tokens in existence.

Returns

Name Type Description
uint256

Write Functions

approve(spender: address, amount: uint256) nonpayable
dev: Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.

Parameters

Name Type Description
spender address
amount uint256

Returns

Name Type Description
bool
bridgeBurn(account: address, amount: uint256) nonpayable

should decrease token supply by amount, and should (probably) only be callable by the L1 bridge.

Parameters

Name Type Description
account address
amount uint256
bridgeMint(address, uint256) nonpayable

should increase token supply by amount, and should (probably) only be callable by the L1 bridge.

Parameters

Name Type Description
address
uint256
decreaseAllowance(spender: address, subtractedValue: uint256) nonpayable
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
subtractedValue uint256

Returns

Name Type Description
bool
deposit() payable
depositTo(account: address) payable

Parameters

Name Type Description
account address
increaseAllowance(spender: address, addedValue: uint256) nonpayable
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
addedValue uint256

Returns

Name Type Description
bool
initialize(name_: string, symbol_: string, decimals_: uint8, l2Gateway_: address, l1Address_: address) nonpayable

Parameters

Name Type Description
name_ string
symbol_ string
decimals_ uint8
l2Gateway_ address
l1Address_ address
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32) nonpayable
dev: Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section].

Parameters

Name Type Description
owner address
spender address
value uint256
deadline uint256
v uint8
r bytes32
s bytes32
transfer(to: address, amount: uint256) nonpayable
dev: Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.

Parameters

Name Type Description
to address
amount uint256

Returns

Name Type Description
bool
transferAndCall(_to: address, _value: uint256, _data: bytes) nonpayable
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
transferFrom(from: address, to: address, amount: uint256) nonpayable
dev: Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.

Parameters

Name Type Description
from address
to address
amount uint256

Returns

Name Type Description
bool
withdraw(amount: uint256) nonpayable

Parameters

Name Type Description
amount uint256
withdrawTo(account: address, amount: uint256) nonpayable

Parameters

Name Type Description
account address
amount uint256

Events

Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256
Initialized(version: uint8)
Name Type Indexed Description
version uint8
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