IRioLRT
Inherits: IERC20
Functions
initialize
Initializes the contract.
Parameters
Name
Type
Description
initialOwner
address
The initial owner of the contract.
name
string
The name of the token.
symbol
string
The symbol of the token.
mint
Mint amount
tokens to the specified address.
Parameters
Name
Type
Description
to
address
The address to mint tokens to.
amount
uint256
The amount of tokens to mint.
burn
Burn amount
tokens from the msg.sender
.
Parameters
Name
Type
Description
amount
uint256
The amount of tokens to burn.
Errors
ONLY_ISSUER
Thrown when the initializer is not the LRT issuer.
ONLY_COORDINATOR
Thrown when the caller is not the LRT coordinator.
ONLY_WITHDRAWAL_QUEUE
Thrown when the caller is not the LRT withdrawal queue.
Last updated