IAccountant

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

Functions

isSubscribed

Checks if a given UID is subscribed.

Parameters

Returns

  • true if the UID is subscribed, otherwise false.

decimals

Gets the number of decimals of the token.

Returns

  • The number of decimals.

balanceOf

Gets the balance of the token for a given owner and ID.

Parameters

Returns

  • The balance of the token for the owner and ID.

subtractMP

Subtracts membership points from an account for a specific era.

Parameters

pointOf

Gets the membership points of an account for a specific era.

Parameters

Returns

  • The membership points of the account for the specific era.

Last updated