ISABT

The interface defines the functions and their signatures for the ISABT contract.

Functions

mint

Mints a new ABT (Asset-Backed Token) and assigns it to the specified owner.

Parameters

NameTypeDescription

to_

address

The address of the recipient

id_

uint32

The ID of the ABT to mint

balanceOf

Gets the balance of the ABT for a specific owner and ID.

Parameters

NameTypeDescription

owner_

address

The owner's address

id_

uint256

The ID of the ABT

Returns

  • The balance of the ABT for the specified owner and ID.

setRegistered

Sets the registration status of an ABT.

Parameters

NameTypeDescription

id_

uint256

The ID of the ABT

yesOrNo

bool

The registration status

Last updated