@sentio/sdk 1.26.2 → 1.26.3
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.
- package/lib/aptos/types.d.ts +2 -2
- package/lib/aptos/types.js +6 -6
- package/lib/aptos/types.js.map +1 -1
- package/lib/aptos-codegen/codegen.js +1 -1
- package/lib/aptos-codegen/codegen.js.map +1 -1
- package/lib/builtin/aptos/0x1.d.ts +171 -171
- package/lib/builtin/aptos/0x1.js +171 -171
- package/lib/builtin/aptos/0x1.js.map +1 -1
- package/lib/builtin/aptos/0x3.d.ts +31 -31
- package/lib/builtin/aptos/0x3.js +31 -31
- package/lib/builtin/aptos/0x3.js.map +1 -1
- package/lib/tests/types/aptos/souffle.d.ts +14 -14
- package/lib/tests/types/aptos/souffle.js +14 -14
- package/lib/tests/types/aptos/souffle.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/types.ts +6 -6
- package/src/aptos-codegen/codegen.ts +1 -1
- package/src/builtin/aptos/0x1.ts +171 -171
- package/src/builtin/aptos/0x3.ts +31 -31
- package/src/tests/types/aptos/souffle.ts +14 -14
package/src/builtin/aptos/0x3.ts
CHANGED
|
@@ -218,7 +218,7 @@ export class token extends aptos.AptosBaseProcessor {
|
|
|
218
218
|
|
|
219
219
|
export namespace token {
|
|
220
220
|
export class BurnTokenEvent {
|
|
221
|
-
static
|
|
221
|
+
static TYPE_QNAME = "0x3::token::BurnTokenEvent";
|
|
222
222
|
id: token.TokenId;
|
|
223
223
|
amount: bigint;
|
|
224
224
|
}
|
|
@@ -230,7 +230,7 @@ export namespace token {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
export class CollectionData {
|
|
233
|
-
static
|
|
233
|
+
static TYPE_QNAME = "0x3::token::CollectionData";
|
|
234
234
|
description: string;
|
|
235
235
|
name: string;
|
|
236
236
|
uri: string;
|
|
@@ -240,14 +240,14 @@ export namespace token {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
export class CollectionMutabilityConfig {
|
|
243
|
-
static
|
|
243
|
+
static TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
|
|
244
244
|
description: Boolean;
|
|
245
245
|
uri: Boolean;
|
|
246
246
|
maximum: Boolean;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
export class Collections {
|
|
250
|
-
static
|
|
250
|
+
static TYPE_QNAME = "0x3::token::Collections";
|
|
251
251
|
collection_data: table.Table<string, token.CollectionData>;
|
|
252
252
|
token_data: table.Table<token.TokenDataId, token.TokenData>;
|
|
253
253
|
create_collection_events: event.EventHandle<token.CreateCollectionEvent>;
|
|
@@ -256,7 +256,7 @@ export namespace token {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
export class CreateCollectionEvent {
|
|
259
|
-
static
|
|
259
|
+
static TYPE_QNAME = "0x3::token::CreateCollectionEvent";
|
|
260
260
|
creator: Address;
|
|
261
261
|
collection_name: string;
|
|
262
262
|
uri: string;
|
|
@@ -271,7 +271,7 @@ export namespace token {
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
export class CreateTokenDataEvent {
|
|
274
|
-
static
|
|
274
|
+
static TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
|
|
275
275
|
id: token.TokenDataId;
|
|
276
276
|
description: string;
|
|
277
277
|
maximum: bigint;
|
|
@@ -293,7 +293,7 @@ export namespace token {
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
export class DepositEvent {
|
|
296
|
-
static
|
|
296
|
+
static TYPE_QNAME = "0x3::token::DepositEvent";
|
|
297
297
|
id: token.TokenId;
|
|
298
298
|
amount: bigint;
|
|
299
299
|
}
|
|
@@ -305,7 +305,7 @@ export namespace token {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
export class MintTokenEvent {
|
|
308
|
-
static
|
|
308
|
+
static TYPE_QNAME = "0x3::token::MintTokenEvent";
|
|
309
309
|
id: token.TokenDataId;
|
|
310
310
|
amount: bigint;
|
|
311
311
|
}
|
|
@@ -317,7 +317,7 @@ export namespace token {
|
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
export class MutateTokenPropertyMapEvent {
|
|
320
|
-
static
|
|
320
|
+
static TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
|
|
321
321
|
old_id: token.TokenId;
|
|
322
322
|
new_id: token.TokenId;
|
|
323
323
|
keys: string[];
|
|
@@ -332,21 +332,21 @@ export namespace token {
|
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
export class Royalty {
|
|
335
|
-
static
|
|
335
|
+
static TYPE_QNAME = "0x3::token::Royalty";
|
|
336
336
|
royalty_points_numerator: bigint;
|
|
337
337
|
royalty_points_denominator: bigint;
|
|
338
338
|
payee_address: Address;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
export class Token {
|
|
342
|
-
static
|
|
342
|
+
static TYPE_QNAME = "0x3::token::Token";
|
|
343
343
|
id: token.TokenId;
|
|
344
344
|
amount: bigint;
|
|
345
345
|
token_properties: property_map.PropertyMap;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
export class TokenData {
|
|
349
|
-
static
|
|
349
|
+
static TYPE_QNAME = "0x3::token::TokenData";
|
|
350
350
|
maximum: bigint;
|
|
351
351
|
largest_property_version: bigint;
|
|
352
352
|
supply: bigint;
|
|
@@ -359,20 +359,20 @@ export namespace token {
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
export class TokenDataId {
|
|
362
|
-
static
|
|
362
|
+
static TYPE_QNAME = "0x3::token::TokenDataId";
|
|
363
363
|
creator: Address;
|
|
364
364
|
collection: string;
|
|
365
365
|
name: string;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
export class TokenId {
|
|
369
|
-
static
|
|
369
|
+
static TYPE_QNAME = "0x3::token::TokenId";
|
|
370
370
|
token_data_id: token.TokenDataId;
|
|
371
371
|
property_version: bigint;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
export class TokenMutabilityConfig {
|
|
375
|
-
static
|
|
375
|
+
static TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
|
|
376
376
|
maximum: Boolean;
|
|
377
377
|
uri: Boolean;
|
|
378
378
|
royalty: Boolean;
|
|
@@ -381,7 +381,7 @@ export namespace token {
|
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
export class TokenStore {
|
|
384
|
-
static
|
|
384
|
+
static TYPE_QNAME = "0x3::token::TokenStore";
|
|
385
385
|
tokens: table.Table<token.TokenId, token.Token>;
|
|
386
386
|
direct_transfer: Boolean;
|
|
387
387
|
deposit_events: event.EventHandle<token.DepositEvent>;
|
|
@@ -391,7 +391,7 @@ export namespace token {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
export class WithdrawCapability {
|
|
394
|
-
static
|
|
394
|
+
static TYPE_QNAME = "0x3::token::WithdrawCapability";
|
|
395
395
|
token_owner: Address;
|
|
396
396
|
token_id: token.TokenId;
|
|
397
397
|
amount: bigint;
|
|
@@ -399,7 +399,7 @@ export namespace token {
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
export class WithdrawEvent {
|
|
402
|
-
static
|
|
402
|
+
static TYPE_QNAME = "0x3::token::WithdrawEvent";
|
|
403
403
|
id: token.TokenId;
|
|
404
404
|
amount: bigint;
|
|
405
405
|
}
|
|
@@ -534,12 +534,12 @@ export namespace token {
|
|
|
534
534
|
|
|
535
535
|
export namespace property_map {
|
|
536
536
|
export class PropertyMap {
|
|
537
|
-
static
|
|
537
|
+
static TYPE_QNAME = "0x3::property_map::PropertyMap";
|
|
538
538
|
map: simple_map.SimpleMap<string, property_map.PropertyValue>;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
export class PropertyValue {
|
|
542
|
-
static
|
|
542
|
+
static TYPE_QNAME = "0x3::property_map::PropertyValue";
|
|
543
543
|
value: string;
|
|
544
544
|
type: string;
|
|
545
545
|
}
|
|
@@ -613,19 +613,19 @@ export class token_coin_swap extends aptos.AptosBaseProcessor {
|
|
|
613
613
|
|
|
614
614
|
export namespace token_coin_swap {
|
|
615
615
|
export class TokenCoinSwap<T0> {
|
|
616
|
-
static
|
|
616
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
|
|
617
617
|
token_amount: bigint;
|
|
618
618
|
min_price_per_token: bigint;
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
export class TokenEscrow {
|
|
622
|
-
static
|
|
622
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
|
|
623
623
|
token: token.Token;
|
|
624
624
|
locked_until_secs: bigint;
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
export class TokenListingEvent {
|
|
628
|
-
static
|
|
628
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
|
|
629
629
|
token_id: token.TokenId;
|
|
630
630
|
amount: bigint;
|
|
631
631
|
min_price: bigint;
|
|
@@ -640,19 +640,19 @@ export namespace token_coin_swap {
|
|
|
640
640
|
}
|
|
641
641
|
|
|
642
642
|
export class TokenListings<T0> {
|
|
643
|
-
static
|
|
643
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
|
|
644
644
|
listings: table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
|
|
645
645
|
listing_events: event.EventHandle<token_coin_swap.TokenListingEvent>;
|
|
646
646
|
swap_events: event.EventHandle<token_coin_swap.TokenSwapEvent>;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
export class TokenStoreEscrow {
|
|
650
|
-
static
|
|
650
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
|
|
651
651
|
token_escrows: table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
export class TokenSwapEvent {
|
|
655
|
-
static
|
|
655
|
+
static TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
|
|
656
656
|
token_id: token.TokenId;
|
|
657
657
|
token_buyer: Address;
|
|
658
658
|
token_amount: bigint;
|
|
@@ -783,7 +783,7 @@ export class token_transfers extends aptos.AptosBaseProcessor {
|
|
|
783
783
|
|
|
784
784
|
export namespace token_transfers {
|
|
785
785
|
export class PendingClaims {
|
|
786
|
-
static
|
|
786
|
+
static TYPE_QNAME = "0x3::token_transfers::PendingClaims";
|
|
787
787
|
pending_claims: table.Table<token_transfers.TokenOfferId, token.Token>;
|
|
788
788
|
offer_events: event.EventHandle<token_transfers.TokenOfferEvent>;
|
|
789
789
|
cancel_offer_events: event.EventHandle<token_transfers.TokenCancelOfferEvent>;
|
|
@@ -791,7 +791,7 @@ export namespace token_transfers {
|
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
export class TokenCancelOfferEvent {
|
|
794
|
-
static
|
|
794
|
+
static TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
|
|
795
795
|
to_address: Address;
|
|
796
796
|
token_id: token.TokenId;
|
|
797
797
|
amount: bigint;
|
|
@@ -804,7 +804,7 @@ export namespace token_transfers {
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
export class TokenClaimEvent {
|
|
807
|
-
static
|
|
807
|
+
static TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
|
|
808
808
|
to_address: Address;
|
|
809
809
|
token_id: token.TokenId;
|
|
810
810
|
amount: bigint;
|
|
@@ -817,7 +817,7 @@ export namespace token_transfers {
|
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
export class TokenOfferEvent {
|
|
820
|
-
static
|
|
820
|
+
static TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
|
|
821
821
|
to_address: Address;
|
|
822
822
|
token_id: token.TokenId;
|
|
823
823
|
amount: bigint;
|
|
@@ -830,7 +830,7 @@ export namespace token_transfers {
|
|
|
830
830
|
}
|
|
831
831
|
|
|
832
832
|
export class TokenOfferId {
|
|
833
|
-
static
|
|
833
|
+
static TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
|
|
834
834
|
to_addr: Address;
|
|
835
835
|
token_id: token.TokenId;
|
|
836
836
|
}
|
|
@@ -98,19 +98,19 @@ export class CandyMachine extends aptos.AptosBaseProcessor {
|
|
|
98
98
|
|
|
99
99
|
export namespace CandyMachine {
|
|
100
100
|
export class ACLBox<T0> {
|
|
101
|
-
static
|
|
101
|
+
static TYPE_QNAME =
|
|
102
102
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::CandyMachine::ACLBox";
|
|
103
103
|
box: acl.ACL;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export class Counter<T0> {
|
|
107
|
-
static
|
|
107
|
+
static TYPE_QNAME =
|
|
108
108
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::CandyMachine::Counter";
|
|
109
109
|
counter: bigint;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export class Property<T0> {
|
|
113
|
-
static
|
|
113
|
+
static TYPE_QNAME =
|
|
114
114
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::CandyMachine::Property";
|
|
115
115
|
payee: Address;
|
|
116
116
|
collection: string;
|
|
@@ -133,7 +133,7 @@ export namespace CandyMachine {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
export class ResourceAccountCap<T0> {
|
|
136
|
-
static
|
|
136
|
+
static TYPE_QNAME =
|
|
137
137
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::CandyMachine::ResourceAccountCap";
|
|
138
138
|
cap: account.SignerCapability;
|
|
139
139
|
}
|
|
@@ -442,13 +442,13 @@ export class SouffleChefCampaign extends aptos.AptosBaseProcessor {
|
|
|
442
442
|
|
|
443
443
|
export namespace SouffleChefCampaign {
|
|
444
444
|
export class ACLBox<T0> {
|
|
445
|
-
static
|
|
445
|
+
static TYPE_QNAME =
|
|
446
446
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::ACLBox";
|
|
447
447
|
box: acl.ACL;
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
export class BurnEnjoyEvent {
|
|
451
|
-
static
|
|
451
|
+
static TYPE_QNAME =
|
|
452
452
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::BurnEnjoyEvent";
|
|
453
453
|
owner: Address;
|
|
454
454
|
}
|
|
@@ -460,7 +460,7 @@ export namespace SouffleChefCampaign {
|
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
export class BurnRule {
|
|
463
|
-
static
|
|
463
|
+
static TYPE_QNAME =
|
|
464
464
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::BurnRule";
|
|
465
465
|
token_ids: SouffleChefCampaign.CollectionId[];
|
|
466
466
|
burn_amount: table.Table<SouffleChefCampaign.CollectionId, bigint>;
|
|
@@ -470,26 +470,26 @@ export namespace SouffleChefCampaign {
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
export class CollectionId {
|
|
473
|
-
static
|
|
473
|
+
static TYPE_QNAME =
|
|
474
474
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::CollectionId";
|
|
475
475
|
creator: Address;
|
|
476
476
|
collection_name: string;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
export class Counter<T0> {
|
|
480
|
-
static
|
|
480
|
+
static TYPE_QNAME =
|
|
481
481
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::Counter";
|
|
482
482
|
counter: bigint;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
export class OfferRecords {
|
|
486
|
-
static
|
|
486
|
+
static TYPE_QNAME =
|
|
487
487
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::OfferRecords";
|
|
488
488
|
records: table.Table<Address, token.TokenId[]>;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
export class Property<T0> {
|
|
492
|
-
static
|
|
492
|
+
static TYPE_QNAME =
|
|
493
493
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::Property";
|
|
494
494
|
payee: Address;
|
|
495
495
|
collection: string;
|
|
@@ -513,7 +513,7 @@ export namespace SouffleChefCampaign {
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
export class PropertyContainer<T0> {
|
|
516
|
-
static
|
|
516
|
+
static TYPE_QNAME =
|
|
517
517
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::PropertyContainer";
|
|
518
518
|
container: table.Table<
|
|
519
519
|
SouffleChefCampaign.CollectionId,
|
|
@@ -522,7 +522,7 @@ export namespace SouffleChefCampaign {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
export class PullTokenEvent {
|
|
525
|
-
static
|
|
525
|
+
static TYPE_QNAME =
|
|
526
526
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::PullTokenEvent";
|
|
527
527
|
receiver: Address;
|
|
528
528
|
}
|
|
@@ -534,7 +534,7 @@ export namespace SouffleChefCampaign {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
export class ResourceAccountCap<T0> {
|
|
537
|
-
static
|
|
537
|
+
static TYPE_QNAME =
|
|
538
538
|
"0x4188c8694687e844677c2aa87171019e23d61cac60de5082a278a8aa47e9d807::SouffleChefCampaign::ResourceAccountCap";
|
|
539
539
|
cap: account.SignerCapability;
|
|
540
540
|
}
|