IRioLRT
Inherits: IERC20
Functions
initialize
Initializes the contract.
Parameters
Name | Type | Description |
---|---|---|
|
| The initial owner of the contract. |
|
| The name of the token. |
|
| The symbol of the token. |
mint
Mint amount
tokens to the specified address.
Parameters
Name | Type | Description |
---|---|---|
|
| The address to mint tokens to. |
|
| The amount of tokens to mint. |
burn
Burn amount
tokens from the msg.sender
.
Parameters
Name | Type | Description |
---|---|---|
|
| 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