USDT

Git Source

Inherits: ERC20, Ownable, IERC20MintableBurnable

Functions

constructor

constructor() ERC20("Tether USD", "USDT") Ownable(msg.sender);

decimals

function decimals() public pure override returns (uint8);

mintTo

Mints a specified amount of tokens and assigns them to the specified account.

function mintTo(address receiver, uint256 amount) public onlyOwner;

Parameters

NameTypeDescription
receiveraddressThe address to which the tokens will be minted.
amountuint256The amount of tokens to be minted.

burnFrom

*Destroys a value amount of tokens from account, deducting from the caller's allowance. See ERC20-_burn and {ERC20-allowance}. Requirements:

  • the caller must have allowance for accounts's tokens of at least value.*
function burnFrom(address account, uint256 value) public virtual onlyOwner;