@sentio/sdk 2.13.2-rc.3 → 2.13.2-rc.5

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.
@@ -15,7 +15,11 @@ export declare namespace bag {
15
15
  }
16
16
  }
17
17
  export declare namespace balance {
18
- type Balance<T> = string;
18
+ type Balance<T> = bigint;
19
+ namespace Balance {
20
+ const TYPE_QNAME = "0x2::balance::Balance";
21
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Balance<T0>>;
22
+ }
19
23
  interface Supply<T0> {
20
24
  value: bigint;
21
25
  }
@@ -87,6 +91,10 @@ export declare class coin extends SuiBaseProcessor {
87
91
  }
88
92
  export declare namespace coin {
89
93
  type Coin<T> = string;
94
+ namespace Coin {
95
+ const TYPE_QNAME = "0x2::coin::Coin";
96
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Coin<T0>>;
97
+ }
90
98
  interface CoinMetadata<T0> {
91
99
  id: object_.UID;
92
100
  decimals: number;
@@ -449,6 +457,10 @@ export declare namespace linked_table {
449
457
  export declare namespace math { }
450
458
  export declare namespace object_ {
451
459
  type ID = string;
460
+ namespace ID {
461
+ const TYPE_QNAME = "0x2::object::ID";
462
+ function type(): TypeDescriptor<ID>;
463
+ }
452
464
  interface UID {
453
465
  id: object_.ID;
454
466
  }
@@ -19,6 +19,15 @@ export var bag;
19
19
  })(bag || (bag = {}));
20
20
  export var balance;
21
21
  (function (balance) {
22
+ let Balance;
23
+ (function (Balance) {
24
+ Balance.TYPE_QNAME = "0x2::balance::Balance";
25
+ const TYPE = new TypeDescriptor(Balance.TYPE_QNAME);
26
+ function type(arg0 = ANY_TYPE) {
27
+ return TYPE.apply(arg0);
28
+ }
29
+ Balance.type = type;
30
+ })(Balance = balance.Balance || (balance.Balance = {}));
22
31
  let Supply;
23
32
  (function (Supply) {
24
33
  Supply.TYPE_QNAME = "0x2::balance::Supply";
@@ -161,6 +170,15 @@ class coin extends SuiBaseProcessor {
161
170
  }
162
171
  export { coin };
163
172
  (function (coin) {
173
+ let Coin;
174
+ (function (Coin) {
175
+ Coin.TYPE_QNAME = "0x2::coin::Coin";
176
+ const TYPE = new TypeDescriptor(Coin.TYPE_QNAME);
177
+ function type(arg0 = ANY_TYPE) {
178
+ return TYPE.apply(arg0);
179
+ }
180
+ Coin.type = type;
181
+ })(Coin = coin.Coin || (coin.Coin = {}));
164
182
  let CoinMetadata;
165
183
  (function (CoinMetadata) {
166
184
  CoinMetadata.TYPE_QNAME = "0x2::coin::CoinMetadata";
@@ -530,6 +548,15 @@ export var linked_table;
530
548
  })(linked_table || (linked_table = {}));
531
549
  export var object_;
532
550
  (function (object_) {
551
+ let ID;
552
+ (function (ID) {
553
+ ID.TYPE_QNAME = "0x2::object::ID";
554
+ const TYPE = new TypeDescriptor(ID.TYPE_QNAME);
555
+ function type() {
556
+ return TYPE.apply();
557
+ }
558
+ ID.type = type;
559
+ })(ID = object_.ID || (object_.ID = {}));
533
560
  let UID;
534
561
  (function (UID) {
535
562
  UID.TYPE_QNAME = "0x2::object::UID";