USDT
Ethereum ERC-20 Token0xdac17f958d2ee523a2206206994597c13d831ec7
Solidity v0.4.18+commit.9cf6e910
Fungible token following the ERC-20 standard.
Admin & Risk
Who can change the rules?
Detected pausable and ownable controls from the verified ABI.
Current controls
- Paused
- false
- Deprecated
- false
- Owner
- 0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828 ↗ Etherscan → smarts
- Upgraded to
- 0x0000000000000000000000000000000000000000 (none)
Overview
Read Functions
Block #25,169,815 · just nowReturns the token's name.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token name as a string.✨ AI |
Returns whether this token contract has been deprecated.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the token contract is deprecated, false otherwise.✨ AI |
Returns the total number of tokens in existence.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | Total number of tokens in existence as a uint256 expressed in the token's smallest unit.✨ AI |
Returns the address of the upgraded token contract.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the upgraded token contract; zero address if no upgrade is set.✨ AI |
Return the token balance of the specified account.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The token balance of the account in the token's smallest units.✨ AI |
Return the number of decimal places used by the token.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The number of decimal places (uint256) that define how token amounts are displayed to users.✨ AI |
Returns the maximum fee amount that can be charged on transfers.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The maximum fee amount payable on a transfer, expressed in the token's smallest unit (uint256).✨ AI |
Returns the total number of tokens in existence.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | Total token supply expressed in the token's smallest unit (uint256).✨ AI |
//// Getters to allow the same blacklist to be used also by other contracts (including upgraded Tether) ///////
Parameters
| Name | Type | Description |
|---|---|---|
| _maker | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
Return the remaining number of tokens that a spender is allowed to transfer from an owner.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| — | address | |
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The remaining allowance in the token's smallest units that spender may transfer from owner.✨ AI |
Indicates whether the token contract is currently paused.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the contract is paused (transfers and approvals disabled); otherwise false.✨ AI |
Return the token balance for the specified address.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| who | address | Address to query the balance for.✨ AI |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | An uint representing the amount owned by the passed address. |
Get the address of the token contract owner.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the current owner of the token contract.✨ AI |
Returns the address of the contract owner.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address currently set as the contract owner.✨ AI |
Returns the token's symbol.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | string | The token symbol as a string (for example: "USDT").✨ AI |
Returns the remaining token amount that _spender is allowed to transfer from _owner.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _owner | address | address The address which owns the funds. |
| _spender | address | address The address which will spend the funds. |
Returns
| Name | Type | Description |
|---|---|---|
| remaining | uint256 | A uint specifying the amount of tokens still available for the spender. |
Returns the current fee rate expressed in basis points.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The current fee rate in basis points (uint256). 1 basis point = 0.01%.✨ AI |
Check whether an address is blacklisted.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| — | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool | True if the address is blacklisted, otherwise false.✨ AI |
Returns the maximum uint256 constant used by the contract.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The maximum possible uint256 value (2^256 - 1).✨ AI |
Write Functions
Deprecates this token contract and assigns an upgraded contract address for future token operations.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _upgradedAddress | address | Address of the upgraded contract to which future token calls will be forwarded.✨ AI |
Approve a spender to transfer up to a specified amount of your tokens.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _spender | address | The address which will spend the funds. |
| _value | uint256 | The amount of tokens to be spent. |
Add an address to the token blacklist to prevent it from transferring tokens.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _evilUser | address | Address to add to the blacklist, preventing it from transferring tokens.✨ AI |
Transfer tokens from _from to _to using the caller's approved allowance.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _from | address | address The address which you want to send tokens from |
| _to | address | address The address which you want to transfer to |
| _value | uint256 | uint the amount of tokens to be transferred |
Unpauses token transfers and other paused contract actions.✨ AI
Pauses all token transfers and related operations until the contract is unpaused.✨ AI
Transfer tokens from your account to another address.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _to | address | The address to transfer to. |
| _value | uint256 | The amount to be transferred. |
Set the token fee parameters for transfers by updating the basis points and maximum fee.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| newBasisPoints | uint256 | Fee rate in basis points (parts per 10,000) applied to transfers.✨ AI |
| newMaxFee | uint256 | Maximum fee in smallest token units that can be charged per transfer.✨ AI |
Issue new tokens, increasing total supply and crediting the caller's balance.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | Amount of tokens to create, specified in the token's smallest unit.✨ AI |
Redeem a specified amount of tokens from the caller, burn them, and release the corresponding underlying assets.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | Amount of tokens to redeem (in the token's smallest unit).✨ AI |
Remove an address from the contract blacklist, restoring its ability to transfer tokens.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| _clearedUser | address | Address to remove from the blacklist.✨ AI |
Transfers ownership of the contract to the specified address.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address | The address to transfer ownership to. |
Parameters
| Name | Type | Description |
|---|---|---|
| _blackListedUser | address |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| amount | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| amount | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| newAddress | address |
| Name | Type | Indexed | Description |
|---|---|---|---|
| feeBasisPoints | uint256 | ||
| maxFee | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| _blackListedUser | address | ||
| _balance | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| _user | address |
| Name | Type | Indexed | Description |
|---|---|---|---|
| _user | address |
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |