IRioLRT

IRioLRT

Inherits: IERC20

Functions

initialize

Initializes the contract.

function initialize(address initialOwner, string memory name, string memory symbol) external;

Parameters

NameTypeDescription

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.

function mint(address to, uint256 amount) external;

Parameters

NameTypeDescription

to

address

The address to mint tokens to.

amount

uint256

The amount of tokens to mint.

burn

Burn amount tokens from the msg.sender.

function burn(uint256 amount) external;

Parameters

NameTypeDescription

amount

uint256

The amount of tokens to burn.

Errors

ONLY_ISSUER

Thrown when the initializer is not the LRT issuer.

error ONLY_ISSUER();

ONLY_COORDINATOR

Thrown when the caller is not the LRT coordinator.

error ONLY_COORDINATOR();

Last updated