@sentio/sdk 2.15.6 → 2.15.7-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -402,11 +402,21 @@ export declare class kiosk extends SuiBaseProcessor {
402
402
  static DEFAULT_OPTIONS: SuiBindOptions;
403
403
  static bind(options?: Partial<SuiBindOptions>): kiosk;
404
404
  onEventItem(func: (event: kiosk.ItemInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
405
+ onEventItemDelisted(func: (event: kiosk.ItemDelistedInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
405
406
  onEventItemListed(func: (event: kiosk.ItemListedInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
407
+ onEventItemPurchased(func: (event: kiosk.ItemPurchasedInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
406
408
  onEventListing(func: (event: kiosk.ListingInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
407
409
  onEventLock(func: (event: kiosk.LockInstance, ctx: SuiContext) => void, fetchConfig?: Partial<MoveFetchConfig>): kiosk;
408
410
  }
409
411
  export declare namespace kiosk {
412
+ interface Borrow {
413
+ kiosk_id: object_.ID;
414
+ item_id: object_.ID;
415
+ }
416
+ namespace Borrow {
417
+ const TYPE_QNAME = "0x2::kiosk::Borrow";
418
+ function type(): TypeDescriptor<Borrow>;
419
+ }
410
420
  interface Item {
411
421
  id: object_.ID;
412
422
  }
@@ -418,6 +428,18 @@ export declare namespace kiosk {
418
428
  data_decoded: Item;
419
429
  type_arguments: [];
420
430
  }
431
+ interface ItemDelisted<T0> {
432
+ kiosk: object_.ID;
433
+ id: object_.ID;
434
+ }
435
+ namespace ItemDelisted {
436
+ const TYPE_QNAME = "0x2::kiosk::ItemDelisted";
437
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemDelisted<T0>>;
438
+ }
439
+ interface ItemDelistedInstance extends TypedEventInstance<ItemDelisted<any>> {
440
+ data_decoded: ItemDelisted<any>;
441
+ type_arguments: [string];
442
+ }
421
443
  interface ItemListed<T0> {
422
444
  kiosk: object_.ID;
423
445
  id: object_.ID;
@@ -431,6 +453,19 @@ export declare namespace kiosk {
431
453
  data_decoded: ItemListed<any>;
432
454
  type_arguments: [string];
433
455
  }
456
+ interface ItemPurchased<T0> {
457
+ kiosk: object_.ID;
458
+ id: object_.ID;
459
+ price: bigint;
460
+ }
461
+ namespace ItemPurchased {
462
+ const TYPE_QNAME = "0x2::kiosk::ItemPurchased";
463
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemPurchased<T0>>;
464
+ }
465
+ interface ItemPurchasedInstance extends TypedEventInstance<ItemPurchased<any>> {
466
+ data_decoded: ItemPurchased<any>;
467
+ type_arguments: [string];
468
+ }
434
469
  interface Kiosk {
435
470
  id: object_.UID;
436
471
  profits: balance.Balance<sui.SUI>;