Tether USD
ERC20
This contract is an ERC20 token.
Name
Tether USD
Symbol
USDT
Decimals
6
Total Supply
6,877,479,172 USDT
About link description
Tether (USDT) is a cryptocurrency launched in 2015and operates on the Ethereum platform. Tether has a current supply of 64,469,767,616.826355 with 62,019,248,695.48168 in circulation. The last known price of Tether is 1.0002193 USD and is up 0.03 over the last 24 hours. It is currently trading on 14455 active market(s) with $46,171,067,305.95 traded over the last 24 hours. More information can be found at https://tether.to.
Stats
Public Functions
18
Event Types
11
Code Size
14,888 bytes
Events (11) keyboard_arrow_up
Constants (1) keyboard_arrow_up
State Variables (13) keyboard_arrow_up
Functions
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
Source Code
function balanceOf(address who) public constant returns (uint256) {
if (deprecated) {
return UpgradedStandardToken(upgradedAddress).balanceOf(who);
} else {
return super.balanceOf(who);
}
}
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address _to, uint256 _value) public whenNotPaused {
require(!isBlackListed[msg.sender]);
if (deprecated) {
return
UpgradedStandardToken(upgradedAddress).transferByLegacy(
msg.sender,
_to,
_value
);
} else {
return super.transfer(_to, _value);
}
}
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
if (newOwner != address(0)) {
owner = newOwner;
}
}
getBlackListStatus keyboard_arrow_up
getOwner keyboard_arrow_up
addBlackList keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function addBlackList(address _evilUser) public onlyOwner {
isBlackListed[_evilUser] = true;
AddedBlackList(_evilUser);
}
removeBlackList keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function removeBlackList(address _clearedUser) public onlyOwner {
isBlackListed[_clearedUser] = false;
RemovedBlackList(_clearedUser);
}
destroyBlackFunds keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function destroyBlackFunds(address _blackListedUser) public onlyOwner {
require(isBlackListed[_blackListedUser]);
uint256 dirtyFunds = balanceOf(_blackListedUser);
balances[_blackListedUser] = 0;
_totalSupply -= dirtyFunds;
DestroyedBlackFunds(_blackListedUser, dirtyFunds);
}
allowance keyboard_arrow_up
Source Code
function allowance(address _owner, address _spender)
public
constant
returns (uint256 remaining)
{
if (deprecated) {
return StandardToken(upgradedAddress).allowance(_owner, _spender);
} else {
return super.allowance(_owner, _spender);
}
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public whenNotPaused {
require(!isBlackListed[_from]);
if (deprecated) {
return
UpgradedStandardToken(upgradedAddress).transferFromByLegacy(
msg.sender,
_from,
_to,
_value
);
} else {
return super.transferFrom(_from, _to, _value);
}
}
approve keyboard_arrow_up
Modifiers help
onlyPayloadSize checks for the following:
UNKNOWN VALUE must not be true
Source Code
function approve(address _spender, uint256 _value)
public
onlyPayloadSize(2 * 32)
{
if (deprecated) {
return
UpgradedStandardToken(upgradedAddress).approveByLegacy(
msg.sender,
_spender,
_value
);
} else {
return super.approve(_spender, _value);
}
}
pause keyboard_arrow_up
unpause keyboard_arrow_up
deprecate keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function deprecate(address _upgradedAddress) public onlyOwner {
deprecated = true;
upgradedAddress = _upgradedAddress;
Deprecate(_upgradedAddress);
}
issue keyboard_arrow_up
redeem keyboard_arrow_up
setParams keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function setParams(uint256 newBasisPoints, uint256 newMaxFee) public onlyOwner {
// Ensure transparency by hardcoding limit beyond which fees can never be added
require(newBasisPoints < 20);
require(newMaxFee < 50);
basisPointsRate = newBasisPoints;
maximumFee = newMaxFee.mul(10**decimals);
Params(basisPointsRate, maximumFee);
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.