TokenPolicyInterface
interface TokenPolicyInterface
A typed view of an on-chain 0x2::token::TokenPolicy<T> object.
Inheritors
| TokenPolicy |
Functions
| Name | Summary |
|---|---|
| id | abstract fun id(): ObjectId The object's ID. |
| rules | abstract fun rules(): Map<String, List<String>> Fully-qualified type names of the rules attached to each action, keyed by action name. |
| spentBalance | abstract fun spentBalance(): ULong Balance spent on the spend action, in base units. |