Skip to main content

TokenPolicyInterface

interface TokenPolicyInterface

A typed view of an on-chain 0x2::token::TokenPolicy<T> object.

Inheritors

TokenPolicy

Functions

NameSummary
idabstract fun id(): ObjectId
The object's ID.
rulesabstract fun rules(): Map<String, List<String>>
Fully-qualified type names of the rules attached to each action, keyed by action name.
spentBalanceabstract fun spentBalance(): ULong
Balance spent on the spend action, in base units.