USDT
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
Name | Type | Description |
---|---|---|
receiver | address | The address to which the tokens will be minted. |
amount | uint256 | The 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 leastvalue
.*
function burnFrom(address account, uint256 value) public virtual onlyOwner;