IReceivable
Last updated
Last updated
Inherits:
Initializes the Receivable.
Parameters
initialGovernor_
address
The address of the governor.
Mint a new receivable.
The event faceAmount is converted to decimal with 6 decimals.
Parameters
create_
Receivable.Create
The struct containing the information of the receivable to be created.
Returns
tokenId_
uint256
The id of the newly created receivable.
Get the information of a receivable.
Parameters
tokenId_
uint256
The id of the receivable.
Returns
info_
Receivable.Info
The struct containing the information of the receivable.
Burn a receivable.
Parameters
tokenId_
uint256
The id of the receivable.
Returns the addres of the governor.
Returns
governor_
address
The address of the governor.