WBNB
BNB Smart Chain ERC-20 Token0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
Solidity v0.4.18+commit.9cf6e910
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
No admin risk controls detected from the verified ABI.
概览
读取函数
Block #100,488,483 · 28s agoReturns the token's name as a human-readable string.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | 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
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | 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
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | 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
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The token balance of the address as a uint256.✨ AI |
Returns the token's short symbol string (e.g., "WBNB").✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string.✨ AI |
Returns the remaining token allowance the owner has granted to the spender.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | |
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining number of tokens the spender is allowed to transfer from the owner.✨ AI |
写入函数
Allow guy to transfer up to wad tokens from the caller's balance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| guy | address | Address granted permission to transfer tokens.✨ AI |
| wad | uint256 | Maximum token amount the spender may transfer (in token smallest unit).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | 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
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| 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 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded, otherwise false.✨ AI |
Unwrap specified amount of WBNB into native BNB and send it to your address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| wad | uint256 | Amount of WBNB to withdraw (in wei).✨ AI |
Transfers wad tokens from the caller to dst address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dst | address | Recipient address receiving the tokens.✨ AI |
| wad | uint256 | Amount of tokens to transfer, in the token's smallest unit.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | 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
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| guy | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| dst | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| dst | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| wad | uint256 |