TokenPolicyInterface
type TokenPolicyInterface
A typed view of an on-chain `0x2::token::TokenPolicy<T>` object.
type TokenPolicyInterface interface {
// The object's ID.
Id() *ObjectId
// Fully-qualified type names of the rules attached to each action,
// keyed by action name.
Rules() map[string][]string
// Balance spent on the `spend` action, in base units.
SpentBalance() uint64
}