Skip to main content

Interface: KioskExtensionLike

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

Methods​

isEnabled()​

isEnabled(): boolean;

Whether the extension is currently allowed to call protected actions.

Returns​

boolean


permissions()​

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).

Returns​

string


storageId()​

storageId(): ObjectIdLike;

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

Returns​

ObjectIdLike