Skip to main content

KioskExtensionProtocol

KioskExtensionProtocol Objects​

class KioskExtensionProtocol(typing.Protocol)

A typed view of a 0x2::kiosk_extension::Extension held in a dynamic field of a [Kiosk] object.

is_enabled​

def is_enabled() -> bool

Whether the extension is currently allowed to call protected actions.

permissions​

def permissions() -> str

Bitmap of the permissions granted to the extension, as a decimal string: bit 0 is place, bit 1 is lock (which also grants place).

storage_id​

def storage_id() -> ObjectId

Object ID of the Bag holding the extension's own storage.