USDT

Ethereum ERC-20 Token

0xdac17f958d2ee523a2206206994597c13d831ec7

Solidity v0.4.18+commit.9cf6e910

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: usdt-eth 0xdac17f958d2ee523a2206206994597c13d831ec7
Sample prompt: “Tell me the current state of usdt-eth”
No AI wired up yet? → mcp.smarts.md

Admin & Risk

Who can change the rules?

Block #25,169,815

Detected pausable and ownable controls from the verified ABI.

Pausable Ownable

Current controls

Paused
false
Deprecated
false
Owner
0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828 ↗ Etherscan → smarts
Upgraded to
0x0000000000000000000000000000000000000000 (none)

Overview

Read Functions
19
Write Functions
13
Events
11

Read Functions

Block #25,169,815 · just now
name() view → Tether USD

Returns the token's name.✨ AI

Returns

Name Type Description
string The token name as a string.✨ AI
deprecated() view → false

Returns whether this token contract has been deprecated.✨ AI

Returns

Name Type Description
bool True if the token contract is deprecated, false otherwise.✨ AI
totalSupply() view → 97,071,875,962.55 USDT

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
upgradedAddress() view → 0x0000000000000000000000000000000000000000

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
balances(address) view

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
decimals() view → 6

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
maximumFee() view → 0

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
_totalSupply() view → 97,071,875,962,553,520

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
getBlackListStatus(_maker: address) view

//// 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
allowed(address, address) view

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
paused() view → false

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
balanceOf(who: address) view

Return the token balance for the specified address.✨ AI

dev: Gets the balance of the specified address.

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.
getOwner() view → 0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828

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
owner() view → 0xc6cde7c39eb2f0f0095f41570af89efc2c1ea828

Returns the address of the contract owner.✨ AI

Returns

Name Type Description
address The address currently set as the contract owner.✨ AI
symbol() view → USDT

Returns the token's symbol.✨ AI

Returns

Name Type Description
string The token symbol as a string (for example: "USDT").✨ AI
allowance(_owner: address, _spender: address) view

Returns the remaining token amount that _spender is allowed to transfer from _owner.✨ AI

dev: Function to check the amount of tokens than an owner allowed to a spender.

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.
basisPointsRate() view → 0

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
isBlackListed(address) view

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
MAX_UINT() view → 115,792,089,237,316,195,423,570,985,008,687,907,853,269,984,665,640,564,039,457,584,007,913,129,639,935

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

deprecate(_upgradedAddress: address) nonpayable

Deprecates this token contract and assigns an upgraded contract address for future token operations.✨ AI

dev: Callable only by the owner; sets deprecated flag and upgraded address; operation is irreversible.✨ AI

Parameters

Name Type Description
_upgradedAddress address Address of the upgraded contract to which future token calls will be forwarded.✨ AI
approve(_spender: address, _value: uint256) nonpayable

Approve a spender to transfer up to a specified amount of your tokens.✨ AI

dev: Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.

Parameters

Name Type Description
_spender address The address which will spend the funds.
_value uint256 The amount of tokens to be spent.
addBlackList(_evilUser: address) nonpayable

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
transferFrom(_from: address, _to: address, _value: uint256) nonpayable

Transfer tokens from _from to _to using the caller's approved allowance.✨ AI

dev: Transfer tokens from one address to another

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
unpause() nonpayable

Unpauses token transfers and other paused contract actions.✨ AI

dev: called by the owner to unpause, returns to normal state
pause() nonpayable

Pauses all token transfers and related operations until the contract is unpaused.✨ AI

dev: called by the owner to pause, triggers stopped state
transfer(_to: address, _value: uint256) nonpayable

Transfer tokens from your account to another address.✨ AI

dev: transfer token for a specified address

Parameters

Name Type Description
_to address The address to transfer to.
_value uint256 The amount to be transferred.
setParams(newBasisPoints: uint256, newMaxFee: uint256) nonpayable

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(amount: uint256) nonpayable

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(amount: uint256) nonpayable

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
removeBlackList(_clearedUser: address) nonpayable

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
transferOwnership(newOwner: address) nonpayable

Transfers ownership of the contract to the specified address.✨ AI

dev: Allows the current owner to transfer control of the contract to a newOwner.

Parameters

Name Type Description
newOwner address The address to transfer ownership to.
destroyBlackFunds(_blackListedUser: address) nonpayable

Parameters

Name Type Description
_blackListedUser address

Events

Issue(amount: uint256)
Name Type Indexed Description
amount uint256
Redeem(amount: uint256)
Name Type Indexed Description
amount uint256
Deprecate(newAddress: address)
Name Type Indexed Description
newAddress address
Params(feeBasisPoints: uint256, maxFee: uint256)
Name Type Indexed Description
feeBasisPoints uint256
maxFee uint256
DestroyedBlackFunds(_blackListedUser: address, _balance: uint256)
Name Type Indexed Description
_blackListedUser address
_balance uint256
AddedBlackList(_user: address)
Name Type Indexed Description
_user address
RemovedBlackList(_user: address)
Name Type Indexed Description
_user address
Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256
Transfer(from: address, to: address, value: uint256)
Name Type Indexed Description
from address
to address
value uint256
Pause()
Unpause()