@sentio/sdk 1.26.2 → 1.26.4

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.
@@ -14,18 +14,18 @@ export declare class token extends aptos.AptosBaseProcessor {
14
14
  onEntryMintScript(func: (call: token.MintScriptPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token;
15
15
  onEntryMutateTokenProperties(func: (call: token.MutateTokenPropertiesPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token;
16
16
  onEntryOptInDirectTransfer(func: (call: token.OptInDirectTransferPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token;
17
- onEventBurnTokenEvent(func: (event: token.BurnTokenEventInstance, ctx: aptos.AptosContext) => void): token;
18
17
  onEventCreateCollectionEvent(func: (event: token.CreateCollectionEventInstance, ctx: aptos.AptosContext) => void): token;
19
18
  onEventCreateTokenDataEvent(func: (event: token.CreateTokenDataEventInstance, ctx: aptos.AptosContext) => void): token;
20
- onEventDepositEvent(func: (event: token.DepositEventInstance, ctx: aptos.AptosContext) => void): token;
21
19
  onEventMintTokenEvent(func: (event: token.MintTokenEventInstance, ctx: aptos.AptosContext) => void): token;
22
- onEventMutateTokenPropertyMapEvent(func: (event: token.MutateTokenPropertyMapEventInstance, ctx: aptos.AptosContext) => void): token;
20
+ onEventDepositEvent(func: (event: token.DepositEventInstance, ctx: aptos.AptosContext) => void): token;
23
21
  onEventWithdrawEvent(func: (event: token.WithdrawEventInstance, ctx: aptos.AptosContext) => void): token;
22
+ onEventBurnTokenEvent(func: (event: token.BurnTokenEventInstance, ctx: aptos.AptosContext) => void): token;
23
+ onEventMutateTokenPropertyMapEvent(func: (event: token.MutateTokenPropertyMapEventInstance, ctx: aptos.AptosContext) => void): token;
24
24
  loadTypesInternal(registry: aptos.TypeRegistry): void;
25
25
  }
26
26
  export declare namespace token {
27
27
  class BurnTokenEvent {
28
- static TYPE_NAME: string;
28
+ static TYPE_QNAME: string;
29
29
  id: token.TokenId;
30
30
  amount: bigint;
31
31
  }
@@ -34,7 +34,7 @@ export declare namespace token {
34
34
  type_arguments: [];
35
35
  }
36
36
  class CollectionData {
37
- static TYPE_NAME: string;
37
+ static TYPE_QNAME: string;
38
38
  description: string;
39
39
  name: string;
40
40
  uri: string;
@@ -43,13 +43,13 @@ export declare namespace token {
43
43
  mutability_config: token.CollectionMutabilityConfig;
44
44
  }
45
45
  class CollectionMutabilityConfig {
46
- static TYPE_NAME: string;
46
+ static TYPE_QNAME: string;
47
47
  description: Boolean;
48
48
  uri: Boolean;
49
49
  maximum: Boolean;
50
50
  }
51
51
  class Collections {
52
- static TYPE_NAME: string;
52
+ static TYPE_QNAME: string;
53
53
  collection_data: table.Table<string, token.CollectionData>;
54
54
  token_data: table.Table<token.TokenDataId, token.TokenData>;
55
55
  create_collection_events: event.EventHandle<token.CreateCollectionEvent>;
@@ -57,7 +57,7 @@ export declare namespace token {
57
57
  mint_token_events: event.EventHandle<token.MintTokenEvent>;
58
58
  }
59
59
  class CreateCollectionEvent {
60
- static TYPE_NAME: string;
60
+ static TYPE_QNAME: string;
61
61
  creator: Address;
62
62
  collection_name: string;
63
63
  uri: string;
@@ -69,7 +69,7 @@ export declare namespace token {
69
69
  type_arguments: [];
70
70
  }
71
71
  class CreateTokenDataEvent {
72
- static TYPE_NAME: string;
72
+ static TYPE_QNAME: string;
73
73
  id: token.TokenDataId;
74
74
  description: string;
75
75
  maximum: bigint;
@@ -88,7 +88,7 @@ export declare namespace token {
88
88
  type_arguments: [];
89
89
  }
90
90
  class DepositEvent {
91
- static TYPE_NAME: string;
91
+ static TYPE_QNAME: string;
92
92
  id: token.TokenId;
93
93
  amount: bigint;
94
94
  }
@@ -97,7 +97,7 @@ export declare namespace token {
97
97
  type_arguments: [];
98
98
  }
99
99
  class MintTokenEvent {
100
- static TYPE_NAME: string;
100
+ static TYPE_QNAME: string;
101
101
  id: token.TokenDataId;
102
102
  amount: bigint;
103
103
  }
@@ -106,7 +106,7 @@ export declare namespace token {
106
106
  type_arguments: [];
107
107
  }
108
108
  class MutateTokenPropertyMapEvent {
109
- static TYPE_NAME: string;
109
+ static TYPE_QNAME: string;
110
110
  old_id: token.TokenId;
111
111
  new_id: token.TokenId;
112
112
  keys: string[];
@@ -118,19 +118,19 @@ export declare namespace token {
118
118
  type_arguments: [];
119
119
  }
120
120
  class Royalty {
121
- static TYPE_NAME: string;
121
+ static TYPE_QNAME: string;
122
122
  royalty_points_numerator: bigint;
123
123
  royalty_points_denominator: bigint;
124
124
  payee_address: Address;
125
125
  }
126
126
  class Token {
127
- static TYPE_NAME: string;
127
+ static TYPE_QNAME: string;
128
128
  id: token.TokenId;
129
129
  amount: bigint;
130
130
  token_properties: property_map.PropertyMap;
131
131
  }
132
132
  class TokenData {
133
- static TYPE_NAME: string;
133
+ static TYPE_QNAME: string;
134
134
  maximum: bigint;
135
135
  largest_property_version: bigint;
136
136
  supply: bigint;
@@ -142,18 +142,18 @@ export declare namespace token {
142
142
  mutability_config: token.TokenMutabilityConfig;
143
143
  }
144
144
  class TokenDataId {
145
- static TYPE_NAME: string;
145
+ static TYPE_QNAME: string;
146
146
  creator: Address;
147
147
  collection: string;
148
148
  name: string;
149
149
  }
150
150
  class TokenId {
151
- static TYPE_NAME: string;
151
+ static TYPE_QNAME: string;
152
152
  token_data_id: token.TokenDataId;
153
153
  property_version: bigint;
154
154
  }
155
155
  class TokenMutabilityConfig {
156
- static TYPE_NAME: string;
156
+ static TYPE_QNAME: string;
157
157
  maximum: Boolean;
158
158
  uri: Boolean;
159
159
  royalty: Boolean;
@@ -161,7 +161,7 @@ export declare namespace token {
161
161
  properties: Boolean;
162
162
  }
163
163
  class TokenStore {
164
- static TYPE_NAME: string;
164
+ static TYPE_QNAME: string;
165
165
  tokens: table.Table<token.TokenId, token.Token>;
166
166
  direct_transfer: Boolean;
167
167
  deposit_events: event.EventHandle<token.DepositEvent>;
@@ -170,14 +170,14 @@ export declare namespace token {
170
170
  mutate_token_property_events: event.EventHandle<token.MutateTokenPropertyMapEvent>;
171
171
  }
172
172
  class WithdrawCapability {
173
- static TYPE_NAME: string;
173
+ static TYPE_QNAME: string;
174
174
  token_owner: Address;
175
175
  token_id: token.TokenId;
176
176
  amount: bigint;
177
177
  expiration_sec: bigint;
178
178
  }
179
179
  class WithdrawEvent {
180
- static TYPE_NAME: string;
180
+ static TYPE_QNAME: string;
181
181
  id: token.TokenId;
182
182
  amount: bigint;
183
183
  }
@@ -294,20 +294,20 @@ export declare namespace token {
294
294
  arguments_typed: [Boolean];
295
295
  type_arguments: [];
296
296
  }
297
- function loadTypes(registry: aptos.TypeRegistry): void;
297
+ function loadTypes(_r: aptos.TypeRegistry): void;
298
298
  const ABI: MoveModule;
299
299
  }
300
300
  export declare namespace property_map {
301
301
  class PropertyMap {
302
- static TYPE_NAME: string;
302
+ static TYPE_QNAME: string;
303
303
  map: simple_map.SimpleMap<string, property_map.PropertyValue>;
304
304
  }
305
305
  class PropertyValue {
306
- static TYPE_NAME: string;
306
+ static TYPE_QNAME: string;
307
307
  value: string;
308
308
  type: string;
309
309
  }
310
- function loadTypes(registry: aptos.TypeRegistry): void;
310
+ function loadTypes(_r: aptos.TypeRegistry): void;
311
311
  const ABI: MoveModule;
312
312
  }
313
313
  export declare class token_coin_swap extends aptos.AptosBaseProcessor {
@@ -321,17 +321,17 @@ export declare class token_coin_swap extends aptos.AptosBaseProcessor {
321
321
  }
322
322
  export declare namespace token_coin_swap {
323
323
  class TokenCoinSwap<T0> {
324
- static TYPE_NAME: string;
324
+ static TYPE_QNAME: string;
325
325
  token_amount: bigint;
326
326
  min_price_per_token: bigint;
327
327
  }
328
328
  class TokenEscrow {
329
- static TYPE_NAME: string;
329
+ static TYPE_QNAME: string;
330
330
  token: token.Token;
331
331
  locked_until_secs: bigint;
332
332
  }
333
333
  class TokenListingEvent {
334
- static TYPE_NAME: string;
334
+ static TYPE_QNAME: string;
335
335
  token_id: token.TokenId;
336
336
  amount: bigint;
337
337
  min_price: bigint;
@@ -343,17 +343,17 @@ export declare namespace token_coin_swap {
343
343
  type_arguments: [];
344
344
  }
345
345
  class TokenListings<T0> {
346
- static TYPE_NAME: string;
346
+ static TYPE_QNAME: string;
347
347
  listings: table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
348
348
  listing_events: event.EventHandle<token_coin_swap.TokenListingEvent>;
349
349
  swap_events: event.EventHandle<token_coin_swap.TokenSwapEvent>;
350
350
  }
351
351
  class TokenStoreEscrow {
352
- static TYPE_NAME: string;
352
+ static TYPE_QNAME: string;
353
353
  token_escrows: table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
354
354
  }
355
355
  class TokenSwapEvent {
356
- static TYPE_NAME: string;
356
+ static TYPE_QNAME: string;
357
357
  token_id: token.TokenId;
358
358
  token_buyer: Address;
359
359
  token_amount: bigint;
@@ -376,7 +376,7 @@ export declare namespace token_coin_swap {
376
376
  arguments_typed: [Address, string, string, bigint, bigint, bigint, bigint];
377
377
  type_arguments: [string];
378
378
  }
379
- function loadTypes(registry: aptos.TypeRegistry): void;
379
+ function loadTypes(_r: aptos.TypeRegistry): void;
380
380
  const ABI: MoveModule;
381
381
  }
382
382
  export declare class token_transfers extends aptos.AptosBaseProcessor {
@@ -386,21 +386,21 @@ export declare class token_transfers extends aptos.AptosBaseProcessor {
386
386
  onEntryCancelOfferScript(func: (call: token_transfers.CancelOfferScriptPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token_transfers;
387
387
  onEntryClaimScript(func: (call: token_transfers.ClaimScriptPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token_transfers;
388
388
  onEntryOfferScript(func: (call: token_transfers.OfferScriptPayload, ctx: aptos.AptosContext) => void, filter?: aptos.CallFilter): token_transfers;
389
+ onEventTokenOfferEvent(func: (event: token_transfers.TokenOfferEventInstance, ctx: aptos.AptosContext) => void): token_transfers;
389
390
  onEventTokenCancelOfferEvent(func: (event: token_transfers.TokenCancelOfferEventInstance, ctx: aptos.AptosContext) => void): token_transfers;
390
391
  onEventTokenClaimEvent(func: (event: token_transfers.TokenClaimEventInstance, ctx: aptos.AptosContext) => void): token_transfers;
391
- onEventTokenOfferEvent(func: (event: token_transfers.TokenOfferEventInstance, ctx: aptos.AptosContext) => void): token_transfers;
392
392
  loadTypesInternal(registry: aptos.TypeRegistry): void;
393
393
  }
394
394
  export declare namespace token_transfers {
395
395
  class PendingClaims {
396
- static TYPE_NAME: string;
396
+ static TYPE_QNAME: string;
397
397
  pending_claims: table.Table<token_transfers.TokenOfferId, token.Token>;
398
398
  offer_events: event.EventHandle<token_transfers.TokenOfferEvent>;
399
399
  cancel_offer_events: event.EventHandle<token_transfers.TokenCancelOfferEvent>;
400
400
  claim_events: event.EventHandle<token_transfers.TokenClaimEvent>;
401
401
  }
402
402
  class TokenCancelOfferEvent {
403
- static TYPE_NAME: string;
403
+ static TYPE_QNAME: string;
404
404
  to_address: Address;
405
405
  token_id: token.TokenId;
406
406
  amount: bigint;
@@ -410,7 +410,7 @@ export declare namespace token_transfers {
410
410
  type_arguments: [];
411
411
  }
412
412
  class TokenClaimEvent {
413
- static TYPE_NAME: string;
413
+ static TYPE_QNAME: string;
414
414
  to_address: Address;
415
415
  token_id: token.TokenId;
416
416
  amount: bigint;
@@ -420,7 +420,7 @@ export declare namespace token_transfers {
420
420
  type_arguments: [];
421
421
  }
422
422
  class TokenOfferEvent {
423
- static TYPE_NAME: string;
423
+ static TYPE_QNAME: string;
424
424
  to_address: Address;
425
425
  token_id: token.TokenId;
426
426
  amount: bigint;
@@ -430,7 +430,7 @@ export declare namespace token_transfers {
430
430
  type_arguments: [];
431
431
  }
432
432
  class TokenOfferId {
433
- static TYPE_NAME: string;
433
+ static TYPE_QNAME: string;
434
434
  to_addr: Address;
435
435
  token_id: token.TokenId;
436
436
  }
@@ -465,6 +465,6 @@ export declare namespace token_transfers {
465
465
  arguments_typed: [Address, Address, string, string, bigint, bigint];
466
466
  type_arguments: [];
467
467
  }
468
- function loadTypes(registry: aptos.TypeRegistry): void;
468
+ function loadTypes(_r: aptos.TypeRegistry): void;
469
469
  const ABI: MoveModule;
470
470
  }