WBNB

BNB Smart Chain ERC-20 Token

0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c

Solidity v0.4.18+commit.9cf6e910

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: wbnb-bnb 0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Sample prompt: “Tell me the current state of wbnb-bnb”
No AI wired up yet? → mcp.smarts.md

Admin & Risk

Who can change the rules?

No admin risk controls detected from the verified ABI.

Overview

Read Functions
6
Write Functions
5
Events
4

Read Functions

Block #100,267,369 · just now
name() view → Wrapped BNB

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 → 1,748,876.41 WBNB

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 → 18

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 → WBNB

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