KioskExtension
type KioskExtension
A typed view of a `0x2::kiosk_extension::Extension` held in a dynamic field of a [`Kiosk`] object.
type KioskExtension struct {
// contains filtered or unexported fields
}
func KioskExtensionTryFromBcs
func KioskExtensionTryFromBcs(bytes []byte) (*KioskExtension, error)
Decode an `Extension` from raw BCS bytes.
There is no object-based constructor: an extension is stored as a dynamic field of the kiosk, not as a top-level object with its own type tag.
func LiftFromExternalKioskExtension
func LiftFromExternalKioskExtension(handle uint64) *KioskExtension
func (*KioskExtension) DebugString
func (_self *KioskExtension) DebugString() string
func (*KioskExtension) Destroy
func (object *KioskExtension) Destroy()
func (*KioskExtension) IsEnabled
func (_self *KioskExtension) IsEnabled() bool
Whether the extension is currently allowed to call protected actions.
func (*KioskExtension) Permissions
func (_self *KioskExtension) Permissions() string
Bitmap of the permissions granted to the extension, as a decimal string: bit 0 is `place`, bit 1 is `lock` (which also grants `place`).
func (*KioskExtension) StorageId
func (_self *KioskExtension) StorageId() *ObjectId
Object ID of the `Bag` holding the extension's own storage.