IReceivable
Inherits: IReceivableEvent
Functions
initialize
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the admin |
createReceivable
Only the buyer can call this function
The event faceAmount is converted to decimal with 6 decimals
Mint a new receivable
Parameters
Name | Type | Description |
---|---|---|
|
| The struct containing the information of the receivable to be created |
Returns
Name | Type | Description |
---|---|---|
|
| The id of the newly created receivable |
getReceivableInfoById
Get the information of a receivable
Parameters
Name | Type | Description |
---|---|---|
|
| The id of the receivable |
Returns
Name | Type | Description |
---|---|---|
|
| The struct containing the information of the receivable |
burnReceivable
Last updated