Skip to main content

IMachineShare

Git Source

Inherits: IERC20Metadata

Functions

minter

Address of the authorized minter and burner.

function minter() external view returns (address);

mint

Mints new shares to the specified address.

function mint(address to, uint256 amount) external;

Parameters

NameTypeDescription
toaddressThe recipient of the minted shares.
amountuint256The amount of shares to mint.

burn

Burns shares from the specified address.

function burn(address from, uint256 amount) external;

Parameters

NameTypeDescription
fromaddressThe owner of the shares to burn.
amountuint256The amount of shares to burn.