ThUSD.sol

ThUSD.sol extends ERC20Burnable with overrides listed below.

Permissioned Methods

mint

function mint(address _to, uint256 _amount) external

Mints thUSD to the specified address. Only callable by ThUSDMinter.

Name
Type
Description

_to

address

Recipient of minted thUSD

_amount

uint256

Amount to mint (in wei)

Admin Methods

setMinter

function setMinter(address minter_) external

Sets or updates the approved minter address. Only callable by the contract owner.

Name
Type
Description

minter_

address

Address to set as minter

renounceOwnership

function renounceOwnership() public

Renounces contract ownership. After this, setMinter can no longer be used.

Last updated