WPOL
Polygon PoS ERC-20 Token0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Solidity v0.4.26+commit.4563c3fc
Fungible token following the ERC-20 standard.
管理与风险
谁能修改规则?
No admin risk controls detected from the verified ABI.
概览
读取函数
Block #87,444,173 · just nowReturns the token name.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token name as a string, for example Wrapped Ether.✨ AI |
Returns the total number of WETH tokens in existence.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The total supply of WETH tokens as a uint256, denominated in the token's smallest unit (wei).✨ AI |
Return the number of decimal places used to display token balances.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimals (uint8) used to format and display balances.✨ AI |
Returns the token balance of a given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The token balance (uint256) of the specified address, denominated in the token's base unit.✨ AI |
Get the token's symbol for display in wallets and interfaces.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string (e.g., "WETH").✨ AI |
Return the remaining WETH token allowance that a spender can transfer from an owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | |
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Remaining number of tokens the spender is allowed to transfer from the owner.✨ AI |
写入函数
Allow an address to spend up to a specified amount of your tokens.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| guy | address | Address approved to spend tokens.✨ AI |
| wad | uint256 | Maximum token amount the approved address may spend.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the approval succeeded, otherwise false.✨ AI |
Transfers wad tokens from src to dst using the caller's allowance.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| src | address | Address to transfer tokens from.✨ AI |
| dst | address | Address to transfer tokens to.✨ AI |
| wad | uint256 | Amount of tokens to transfer, in wei.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded.✨ AI |
Withdraw the specified amount of WETH and receive the corresponding ETH to the caller.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| wad | uint256 | Amount of WETH to unwrap, denominated in wei.✨ AI |
Transfer wad tokens from the caller to the specified destination address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dst | address | Recipient address that receives the tokens.✨ AI |
| wad | uint256 | Amount of tokens (in wei) to transfer.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the transfer succeeded, otherwise false.✨ AI |
Accepts ETH and credits the caller with an equivalent amount of WETH tokens.✨ AI
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| guy | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| dst | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| dst | address | ✓ | |
| wad | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| src | address | ✓ | |
| wad | uint256 |