WBNB
BNB Smart Chain ERC-20 Token0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Solidity v0.4.18+commit.9cf6e910
Fungible token following the ERC-20 standard.
Admin & Risk
Who can change the rules?
No admin risk controls detected from the verified ABI.
Overview
Read Functions
Block #100,267,369 · just nowReturns 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 |
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 |
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 |
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 |
Returns the token's short symbol string (e.g., "WBNB").✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token symbol as a string.✨ AI |
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
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 |
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 |
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 |
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 |
Wrap BNB by sending native BNB to the contract and receive WBNB tokens credited to your balance.✨ AI
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| src | address | ✓ | |
| guy | address | ✓ | |
| wad | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| src | address | ✓ | |
| dst | address | ✓ | |
| wad | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| dst | address | ✓ | |
| wad | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| src | address | ✓ | |
| wad | uint256 |