WBERA
Berachain ERC-20 Token0x6969696969696969696969696969696969696969
Solidity v0.8.26+commit.8a97fa7a
Fungible token following the ERC-20 standard.
🤖
Query this contract from your AI
Reference:
0x6969696969696969696969696969696969696969
Sample prompt:
"Tell me the current state of berachain/0x6969696969696969696969696969696969696969"
No AI wired up yet? →
mcp.smarts.md
Berachain is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.
Overview
Read Functions
8
Write Functions
6
Events
2
Read Functions
DOMAIN_SEPARATOR()
view
dev: Returns the EIP-712 domain separator for the EIP-2612 permit.
Returns
| Name | Type | Description |
|---|---|---|
| result | bytes32 |
allowance(owner: address, spender: address)
view
dev: Returns the amount of tokens that `spender` can spend on behalf of `owner`.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | |
| spender | address |
Returns
| Name | Type | Description |
|---|---|---|
| result | uint256 |
balanceOf(owner: address)
view
dev: Returns the amount of tokens owned by `owner`.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address |
Returns
| Name | Type | Description |
|---|---|---|
| result | uint256 |
decimals()
view
dev: Returns the decimals places of the token.
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 |
name()
pure
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 is used to compute the signature for EIP-2612 permit.
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address |
Returns
| Name | Type | Description |
|---|---|---|
| result | uint256 |
symbol()
pure
dev: Returns the symbol of the token.
Returns
| Name | Type | Description |
|---|---|---|
| — | string |
totalSupply()
view
dev: Returns the amount of tokens in existence.
Returns
| Name | Type | Description |
|---|---|---|
| result | uint256 |
Write Functions
approve(spender: address, amount: uint256)
nonpayable
dev: Sets `amount` as the allowance of `spender` over the caller's tokens. Emits a {Approval} event.
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
deposit()
payable
dev: Deposits `amount` ETH of the caller and mints `amount` WETH to the caller.
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 the tokens of `owner`, authorized by a signed approval by `owner`. Emits a {Approval} event.
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: Transfer `amount` tokens from the caller to `to`. Requirements: - `from` must at least have `amount`. Emits a {Transfer} event.
Parameters
| Name | Type | Description |
|---|---|---|
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
transferFrom(from: address, to: address, amount: uint256)
nonpayable
dev: Transfers `amount` tokens from `from` to `to`. Note: Does not update the allowance if it is the maximum uint256 value. Requirements: - `from` must at least have `amount`. - The caller must have at least `amount` of allowance to transfer the tokens of `from`. Emits a {Transfer} event.
Parameters
| Name | Type | Description |
|---|---|---|
| from | address | |
| to | address | |
| amount | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
withdraw(amount: uint256)
nonpayable
dev: Burns `amount` WETH of the caller and sends `amount` ETH to the caller.
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 |
Events
Approval(owner: address, spender: address, amount: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| amount | uint256 |
Transfer(from: address, to: address, amount: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| amount | uint256 |