ISABT
The interface defines the functions and their signatures for the ISABT
contract.
Functions
mint
mint
Mints a new ABT (Asset-Backed Token) and assigns it to the specified owner.
Parameters
Name | Type | Description |
---|---|---|
| address | The address of the recipient |
| uint32 | The ID of the ABT to mint |
balanceOf
balanceOf
Gets the balance of the ABT for a specific owner and ID.
Parameters
Name | Type | Description |
---|---|---|
| address | The owner's address |
| uint256 | The ID of the ABT |
Returns
The balance of the ABT for the specified owner and ID.
setRegistered
setRegistered
Sets the registration status of an ABT.
Parameters
Name | Type | Description |
---|---|---|
| uint256 | The ID of the ABT |
| bool | The registration status |
Last updated