USDT
BNB Smart Chain ERC-20 Token0x55d398326f99059ff775485246999027b3197955
Solidity v0.5.16+commit.9c3226ce
Fungible token following the ERC-20 standard.
Overview
Read Functions
Block #100,280,835 · just nowReturns the token's decimal precision for user-facing amounts.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 | The token's decimal precision (uint8) used to format and scale token amounts.✨ AI |
Returns the token's name.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token name string.✨ AI |
Returns the token's symbol string.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | Token symbol (ticker), e.g. "USDT".✨ AI |
Returns the remaining number of tokens that spender is allowed to spend from the owner's balance.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | The token holder address.✨ AI |
| spender | address | The address permitted to transfer tokens on the owner's behalf.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | Remaining allowance (uint256) in the token's smallest unit that spender may spend from owner.✨ AI |
Returns the token balance of the specified account.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| account | address | Address whose token balance will be returned.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The token balance of the given account as a uint256.✨ AI |
Returns the number of decimal places used by the token.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint8 | uint8: number of decimals used to display and calculate token amounts.✨ AI |
Return the contract owner address.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address currently recorded as the contract owner.✨ AI |
Returns the token's name as a human-readable string.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token's name as a string.✨ AI |
Returns the address of the contract owner.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the account that owns and administers the contract.✨ AI |
Return the token's symbol used to identify this ERC-20 token.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token symbol string, for example USDT.✨ AI |
Returns the current total token supply.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | Total number of tokens in circulation as a uint256, expressed in the token's smallest unit.✨ AI |
Write Functions
Set an allowance authorizing spender to transfer up to amount tokens from your account.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | Address that will be allowed to spend tokens on your behalf.✨ AI |
| amount | uint256 | Maximum number of tokens the spender may transfer (in token smallest units).✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the approval succeeded.✨ AI |
Burns a specified amount of the caller's tokens, reducing the total supply.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | Amount of tokens to burn, expressed in the token's smallest unit (uint256).✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the burn completed successfully, otherwise false.✨ AI |
Decrease the caller's allowance for a spender by a specified amount.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | Address that is allowed to spend the caller's tokens.✨ AI |
| subtractedValue | uint256 | Amount to subtract from the current allowance.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the allowance was decreased successfully.✨ AI |
Increases the caller's allowance for spender by addedValue.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| spender | address | Address that will be allowed to spend the tokens.✨ AI |
| addedValue | uint256 | Number of tokens to add to the current allowance.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the allowance was successfully increased, otherwise false.✨ AI |
Mint the specified amount of tokens and credit them to the caller's account.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | Amount of tokens to mint to the caller's balance.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the mint operation succeeded.✨ AI |
Renounces ownership of the contract, leaving no owner and disabling owner-only functions.✨ AI
Transfers tokens from the caller to recipient.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| recipient | address | Address that will receive the tokens.✨ AI |
| amount | uint256 | Number of tokens to transfer, expressed in the token's smallest unit.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the transfer succeeds, false otherwise.✨ AI |
Transfer tokens from sender to recipient using the caller's approved allowance.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| sender | address | Address that currently holds the tokens and approved the allowance.✨ AI |
| recipient | address | Address that will receive the transferred tokens.✨ AI |
| amount | uint256 | Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | Bool indicating success: true if the transfer and allowance update succeeded, false otherwise.✨ AI |
Transfers ownership of the contract to the specified address, making that address the new owner.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address | Address to receive ownership; should be a valid non-zero address controlled by the new owner.✨ AI |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |