WXDAI

Gnosis ERC-20 Token Browse chains

0xe91d153e0b41518a2ce8dd3d7944fa863463a97d

Solidity v0.4.26+commit.4563c3fc

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: 0xe91d153e0b41518a2ce8dd3d7944fa863463a97d
Sample prompt: "Tell me the current state of gnosis/0xe91d153e0b41518a2ce8dd3d7944fa863463a97d"
No AI wired up yet? → mcp.smarts.md · Browse chains
Gnosis 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
6
Write Functions
5
Events
4

Read Functions

name() view

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

Returns

Name Type Description
string The token's name (for example Wrapped BNB) as a human-readable string.✨ AI
totalSupply() view

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

Returns

Name Type Description
uint256 The total token supply as a uint256, expressed in the token's smallest unit (wei, 10^-18 of a token).✨ AI
decimals() view

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

Returns

Name Type Description
uint8 The token's decimals as an unsigned 8-bit integer indicating display precision.✨ AI
balanceOf(address) view

Returns the WBNB token balance of the given address.✨ AI

Parameters

Name Type Description
address

Returns

Name Type Description
uint256 The token balance of the address as a uint256.✨ AI
symbol() view

Returns the token's short symbol string (e.g., "WBNB").✨ AI

Returns

Name Type Description
string The token symbol as a string.✨ AI
allowance(address, address) view

Returns the remaining token allowance the owner has granted to the spender.✨ AI

Parameters

Name Type Description
address
address

Returns

Name Type Description
uint256 Remaining number of tokens the spender is allowed to transfer from the owner.✨ AI

Write Functions

approve(guy: address, wad: uint256) nonpayable

Allow guy to transfer up to wad tokens from the caller's balance.✨ AI

Parameters

Name Type Description
guy address Address granted permission to transfer tokens.✨ AI
wad uint256 Maximum token amount the spender may transfer (in token smallest unit).✨ AI

Returns

Name Type Description
bool True if the allowance was successfully set, otherwise false.✨ AI
transferFrom(src: address, dst: address, wad: uint256) nonpayable

Transfers wad tokens from src to dst using the caller's allowance and returns true on success.✨ AI

Parameters

Name Type Description
src address Address to deduct tokens from.✨ AI
dst address Address to receive tokens.✨ AI
wad uint256 Amount of tokens to transfer, expressed in token base units (wei).✨ AI

Returns

Name Type Description
bool True if the transfer succeeded, otherwise false.✨ AI
withdraw(wad: uint256) nonpayable

Unwrap specified amount of WBNB into native BNB and send it to your address.✨ AI

Parameters

Name Type Description
wad uint256 Amount of WBNB to withdraw (in wei).✨ AI
transfer(dst: address, wad: uint256) nonpayable

Transfers wad tokens from the caller to dst address.✨ AI

Parameters

Name Type Description
dst address Recipient address receiving the tokens.✨ AI
wad uint256 Amount of tokens to transfer, in the token's smallest unit.✨ AI

Returns

Name Type Description
bool Boolean true if the transfer succeeded, otherwise false.✨ AI
deposit() payable

Wrap BNB by sending native BNB to the contract and receive WBNB tokens credited to your balance.✨ AI

Events

Approval(src: address, guy: address, wad: uint256)
Name Type Indexed Description
src address
guy address
wad uint256
Transfer(src: address, dst: address, wad: uint256)
Name Type Indexed Description
src address
dst address
wad uint256
Deposit(dst: address, wad: uint256)
Name Type Indexed Description
dst address
wad uint256
Withdrawal(src: address, wad: uint256)
Name Type Indexed Description
src address
wad uint256