@sentio/sdk 2.45.1 → 2.45.2-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.
- package/lib/aptos/builtin/0x1.d.ts +101 -101
- package/lib/aptos/builtin/0x3.d.ts +17 -17
- package/lib/aptos/builtin/0x4.d.ts +26 -26
- package/lib/sui/builtin/0x1.d.ts +1 -1
- package/lib/sui/builtin/0x2.d.ts +15 -15
- package/lib/sui/builtin/0x3.d.ts +4 -4
- package/package.json +8 -8
- package/src/aptos/builtin/0x1.ts +101 -101
- package/src/aptos/builtin/0x3.ts +17 -17
- package/src/aptos/builtin/0x4.ts +26 -26
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +15 -15
- package/src/sui/builtin/0x3.ts +4 -4
@@ -77,9 +77,9 @@ export declare namespace token {
|
|
77
77
|
function type(): TypeDescriptor<CollectionData>;
|
78
78
|
}
|
79
79
|
interface CollectionMutabilityConfig {
|
80
|
-
description:
|
81
|
-
uri:
|
82
|
-
maximum:
|
80
|
+
description: boolean;
|
81
|
+
uri: boolean;
|
82
|
+
maximum: boolean;
|
83
83
|
}
|
84
84
|
namespace CollectionMutabilityConfig {
|
85
85
|
const TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
|
@@ -315,11 +315,11 @@ export declare namespace token {
|
|
315
315
|
type_arguments: [];
|
316
316
|
}
|
317
317
|
interface TokenMutabilityConfig {
|
318
|
-
maximum:
|
319
|
-
uri:
|
320
|
-
royalty:
|
321
|
-
description:
|
322
|
-
properties:
|
318
|
+
maximum: boolean;
|
319
|
+
uri: boolean;
|
320
|
+
royalty: boolean;
|
321
|
+
description: boolean;
|
322
|
+
properties: boolean;
|
323
323
|
}
|
324
324
|
namespace TokenMutabilityConfig {
|
325
325
|
const TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
|
@@ -331,7 +331,7 @@ export declare namespace token {
|
|
331
331
|
}
|
332
332
|
interface TokenStore {
|
333
333
|
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
334
|
-
direct_transfer:
|
334
|
+
direct_transfer: boolean;
|
335
335
|
deposit_events: _0x1.event.EventHandle<token.DepositEvent>;
|
336
336
|
withdraw_events: _0x1.event.EventHandle<token.WithdrawEvent>;
|
337
337
|
burn_events: _0x1.event.EventHandle<token.BurnTokenEvent>;
|
@@ -399,8 +399,8 @@ export declare namespace token {
|
|
399
399
|
arguments_decoded: [MoveAddressType, string, string, bigint, bigint];
|
400
400
|
type_arguments: [];
|
401
401
|
}
|
402
|
-
interface CreateCollectionScriptPayload extends TypedFunctionPayload<[string, string, string, bigint,
|
403
|
-
arguments_decoded: [string, string, string, bigint,
|
402
|
+
interface CreateCollectionScriptPayload extends TypedFunctionPayload<[string, string, string, bigint, boolean[]]> {
|
403
|
+
arguments_decoded: [string, string, string, bigint, boolean[]];
|
404
404
|
type_arguments: [];
|
405
405
|
}
|
406
406
|
interface CreateTokenScriptPayload extends TypedFunctionPayload<[
|
@@ -413,7 +413,7 @@ export declare namespace token {
|
|
413
413
|
MoveAddressType,
|
414
414
|
bigint,
|
415
415
|
bigint,
|
416
|
-
|
416
|
+
boolean[],
|
417
417
|
string[],
|
418
418
|
string[],
|
419
419
|
string[]
|
@@ -428,7 +428,7 @@ export declare namespace token {
|
|
428
428
|
MoveAddressType,
|
429
429
|
bigint,
|
430
430
|
bigint,
|
431
|
-
|
431
|
+
boolean[],
|
432
432
|
string[],
|
433
433
|
string[],
|
434
434
|
string[]
|
@@ -485,8 +485,8 @@ export declare namespace token {
|
|
485
485
|
];
|
486
486
|
type_arguments: [];
|
487
487
|
}
|
488
|
-
interface OptInDirectTransferPayload extends TypedFunctionPayload<[
|
489
|
-
arguments_decoded: [
|
488
|
+
interface OptInDirectTransferPayload extends TypedFunctionPayload<[boolean]> {
|
489
|
+
arguments_decoded: [boolean];
|
490
490
|
type_arguments: [];
|
491
491
|
}
|
492
492
|
interface TransferWithOptInPayload extends TypedFunctionPayload<[
|
@@ -1012,7 +1012,7 @@ export declare namespace token_event_store {
|
|
1012
1012
|
}
|
1013
1013
|
interface OptInTransfer {
|
1014
1014
|
account_address: MoveAddressType;
|
1015
|
-
opt_in:
|
1015
|
+
opt_in: boolean;
|
1016
1016
|
}
|
1017
1017
|
namespace OptInTransfer {
|
1018
1018
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
|
@@ -1023,7 +1023,7 @@ export declare namespace token_event_store {
|
|
1023
1023
|
type_arguments: [];
|
1024
1024
|
}
|
1025
1025
|
interface OptInTransferEvent {
|
1026
|
-
opt_in:
|
1026
|
+
opt_in: boolean;
|
1027
1027
|
}
|
1028
1028
|
namespace OptInTransferEvent {
|
1029
1029
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
|
@@ -330,14 +330,14 @@ export declare namespace aptos_token {
|
|
330
330
|
interface AptosCollection {
|
331
331
|
mutator_ref: _0x1.option.Option<collection.MutatorRef>;
|
332
332
|
royalty_mutator_ref: _0x1.option.Option<royalty.MutatorRef>;
|
333
|
-
mutable_description:
|
334
|
-
mutable_uri:
|
335
|
-
mutable_token_description:
|
336
|
-
mutable_token_name:
|
337
|
-
mutable_token_properties:
|
338
|
-
mutable_token_uri:
|
339
|
-
tokens_burnable_by_creator:
|
340
|
-
tokens_freezable_by_creator:
|
333
|
+
mutable_description: boolean;
|
334
|
+
mutable_uri: boolean;
|
335
|
+
mutable_token_description: boolean;
|
336
|
+
mutable_token_name: boolean;
|
337
|
+
mutable_token_properties: boolean;
|
338
|
+
mutable_token_uri: boolean;
|
339
|
+
tokens_burnable_by_creator: boolean;
|
340
|
+
tokens_freezable_by_creator: boolean;
|
341
341
|
}
|
342
342
|
namespace AptosCollection {
|
343
343
|
const TYPE_QNAME = "0x4::aptos_token::AptosCollection";
|
@@ -375,15 +375,15 @@ export declare namespace aptos_token {
|
|
375
375
|
bigint,
|
376
376
|
string,
|
377
377
|
string,
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
378
|
+
boolean,
|
379
|
+
boolean,
|
380
|
+
boolean,
|
381
|
+
boolean,
|
382
|
+
boolean,
|
383
|
+
boolean,
|
384
|
+
boolean,
|
385
|
+
boolean,
|
386
|
+
boolean,
|
387
387
|
bigint,
|
388
388
|
bigint
|
389
389
|
]> {
|
@@ -392,15 +392,15 @@ export declare namespace aptos_token {
|
|
392
392
|
bigint,
|
393
393
|
string,
|
394
394
|
string,
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
395
|
+
boolean,
|
396
|
+
boolean,
|
397
|
+
boolean,
|
398
|
+
boolean,
|
399
|
+
boolean,
|
400
|
+
boolean,
|
401
|
+
boolean,
|
402
|
+
boolean,
|
403
|
+
boolean,
|
404
404
|
bigint,
|
405
405
|
bigint
|
406
406
|
];
|
package/lib/sui/builtin/0x1.d.ts
CHANGED
@@ -25,7 +25,7 @@ export declare class bit_vector extends SuiBaseProcessor {
|
|
25
25
|
export declare namespace bit_vector {
|
26
26
|
interface BitVector {
|
27
27
|
length: bigint;
|
28
|
-
bit_field:
|
28
|
+
bit_field: boolean[];
|
29
29
|
}
|
30
30
|
namespace BitVector {
|
31
31
|
const TYPE_QNAME = "0x1::bit_vector::BitVector";
|
package/lib/sui/builtin/0x2.d.ts
CHANGED
@@ -114,28 +114,28 @@ export declare namespace bcs {
|
|
114
114
|
}
|
115
115
|
export declare namespace bls12381 {
|
116
116
|
interface G1 {
|
117
|
-
dummy_field:
|
117
|
+
dummy_field: boolean;
|
118
118
|
}
|
119
119
|
namespace G1 {
|
120
120
|
const TYPE_QNAME = "0x2::bls12381::G1";
|
121
121
|
function type(): TypeDescriptor<G1>;
|
122
122
|
}
|
123
123
|
interface G2 {
|
124
|
-
dummy_field:
|
124
|
+
dummy_field: boolean;
|
125
125
|
}
|
126
126
|
namespace G2 {
|
127
127
|
const TYPE_QNAME = "0x2::bls12381::G2";
|
128
128
|
function type(): TypeDescriptor<G2>;
|
129
129
|
}
|
130
130
|
interface GT {
|
131
|
-
dummy_field:
|
131
|
+
dummy_field: boolean;
|
132
132
|
}
|
133
133
|
namespace GT {
|
134
134
|
const TYPE_QNAME = "0x2::bls12381::GT";
|
135
135
|
function type(): TypeDescriptor<GT>;
|
136
136
|
}
|
137
137
|
interface Scalar {
|
138
|
-
dummy_field:
|
138
|
+
dummy_field: boolean;
|
139
139
|
}
|
140
140
|
namespace Scalar {
|
141
141
|
const TYPE_QNAME = "0x2::bls12381::Scalar";
|
@@ -221,7 +221,7 @@ export declare namespace coin {
|
|
221
221
|
}
|
222
222
|
interface DenyCapV2<T0> {
|
223
223
|
id: object_.UID;
|
224
|
-
allow_global_pause:
|
224
|
+
allow_global_pause: boolean;
|
225
225
|
}
|
226
226
|
namespace DenyCapV2 {
|
227
227
|
const TYPE_QNAME = "0x2::coin::DenyCapV2";
|
@@ -332,7 +332,7 @@ export declare namespace deny_list {
|
|
332
332
|
type_arguments: [];
|
333
333
|
}
|
334
334
|
interface ConfigWriteCap {
|
335
|
-
dummy_field:
|
335
|
+
dummy_field: boolean;
|
336
336
|
}
|
337
337
|
namespace ConfigWriteCap {
|
338
338
|
const TYPE_QNAME = "0x2::deny_list::ConfigWriteCap";
|
@@ -347,7 +347,7 @@ export declare namespace deny_list {
|
|
347
347
|
function type(): TypeDescriptor<DenyList>;
|
348
348
|
}
|
349
349
|
interface GlobalPauseKey {
|
350
|
-
dummy_field:
|
350
|
+
dummy_field: boolean;
|
351
351
|
}
|
352
352
|
namespace GlobalPauseKey {
|
353
353
|
const TYPE_QNAME = "0x2::deny_list::GlobalPauseKey";
|
@@ -641,7 +641,7 @@ export declare namespace kiosk {
|
|
641
641
|
profits: balance.Balance<sui.SUI>;
|
642
642
|
owner: string;
|
643
643
|
item_count: number;
|
644
|
-
allow_extensions:
|
644
|
+
allow_extensions: boolean;
|
645
645
|
}
|
646
646
|
namespace Kiosk {
|
647
647
|
const TYPE_QNAME = "0x2::kiosk::Kiosk";
|
@@ -657,7 +657,7 @@ export declare namespace kiosk {
|
|
657
657
|
}
|
658
658
|
interface Listing {
|
659
659
|
id: object_.ID;
|
660
|
-
is_exclusive:
|
660
|
+
is_exclusive: boolean;
|
661
661
|
}
|
662
662
|
namespace Listing {
|
663
663
|
const TYPE_QNAME = "0x2::kiosk::Listing";
|
@@ -703,14 +703,14 @@ export declare namespace kiosk_extension {
|
|
703
703
|
interface Extension {
|
704
704
|
storage: bag.Bag;
|
705
705
|
permissions: bigint;
|
706
|
-
is_enabled:
|
706
|
+
is_enabled: boolean;
|
707
707
|
}
|
708
708
|
namespace Extension {
|
709
709
|
const TYPE_QNAME = "0x2::kiosk_extension::Extension";
|
710
710
|
function type(): TypeDescriptor<Extension>;
|
711
711
|
}
|
712
712
|
interface ExtensionKey<T0> {
|
713
|
-
dummy_field:
|
713
|
+
dummy_field: boolean;
|
714
714
|
}
|
715
715
|
namespace ExtensionKey {
|
716
716
|
const TYPE_QNAME = "0x2::kiosk_extension::ExtensionKey";
|
@@ -934,7 +934,7 @@ export declare class sui extends SuiBaseProcessor {
|
|
934
934
|
}
|
935
935
|
export declare namespace sui {
|
936
936
|
interface SUI {
|
937
|
-
dummy_field:
|
937
|
+
dummy_field: boolean;
|
938
938
|
}
|
939
939
|
namespace SUI {
|
940
940
|
const TYPE_QNAME = "0x2::sui::SUI";
|
@@ -985,7 +985,7 @@ export declare namespace token {
|
|
985
985
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ActionRequest<T0>>;
|
986
986
|
}
|
987
987
|
interface RuleKey<T0> {
|
988
|
-
is_protected:
|
988
|
+
is_protected: boolean;
|
989
989
|
}
|
990
990
|
namespace RuleKey {
|
991
991
|
const TYPE_QNAME = "0x2::token::RuleKey";
|
@@ -1022,7 +1022,7 @@ export declare namespace token {
|
|
1022
1022
|
}
|
1023
1023
|
interface TokenPolicyCreated<T0> {
|
1024
1024
|
id: object_.ID;
|
1025
|
-
is_mutable:
|
1025
|
+
is_mutable: boolean;
|
1026
1026
|
}
|
1027
1027
|
namespace TokenPolicyCreated {
|
1028
1028
|
const TYPE_QNAME = "0x2::token::TokenPolicyCreated";
|
@@ -1054,7 +1054,7 @@ export declare class transfer_policy extends SuiBaseProcessor {
|
|
1054
1054
|
}
|
1055
1055
|
export declare namespace transfer_policy {
|
1056
1056
|
interface RuleKey<T0> {
|
1057
|
-
dummy_field:
|
1057
|
+
dummy_field: boolean;
|
1058
1058
|
}
|
1059
1059
|
namespace RuleKey {
|
1060
1060
|
const TYPE_QNAME = "0x2::transfer_policy::RuleKey";
|
package/lib/sui/builtin/0x3.d.ts
CHANGED
@@ -120,7 +120,7 @@ export declare namespace staking_pool {
|
|
120
120
|
function type(): TypeDescriptor<FungibleStakedSuiData>;
|
121
121
|
}
|
122
122
|
interface FungibleStakedSuiDataKey {
|
123
|
-
dummy_field:
|
123
|
+
dummy_field: boolean;
|
124
124
|
}
|
125
125
|
namespace FungibleStakedSuiDataKey {
|
126
126
|
const TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiDataKey";
|
@@ -431,7 +431,7 @@ export declare namespace sui_system_state_inner {
|
|
431
431
|
reference_gas_price: bigint;
|
432
432
|
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
433
433
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
434
|
-
safe_mode:
|
434
|
+
safe_mode: boolean;
|
435
435
|
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
436
436
|
safe_mode_computation_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
437
437
|
safe_mode_storage_rebates: bigint;
|
@@ -453,7 +453,7 @@ export declare namespace sui_system_state_inner {
|
|
453
453
|
reference_gas_price: bigint;
|
454
454
|
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
455
455
|
stake_subsidy: stake_subsidy.StakeSubsidy;
|
456
|
-
safe_mode:
|
456
|
+
safe_mode: boolean;
|
457
457
|
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
458
458
|
safe_mode_computation_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
459
459
|
safe_mode_storage_rebates: bigint;
|
@@ -716,7 +716,7 @@ export declare namespace validator_set {
|
|
716
716
|
epoch: bigint;
|
717
717
|
validator_address: string;
|
718
718
|
staking_pool_id: _0x2.object_.ID;
|
719
|
-
is_voluntary:
|
719
|
+
is_voluntary: boolean;
|
720
720
|
}
|
721
721
|
namespace ValidatorLeaveEvent {
|
722
722
|
const TYPE_QNAME = "0x3::validator_set::ValidatorLeaveEvent";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentio/sdk",
|
3
|
-
"version": "2.45.1",
|
3
|
+
"version": "2.45.2-rc.1",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"!{lib,src}/*/tests"
|
49
49
|
],
|
50
50
|
"dependencies": {
|
51
|
-
"@aptos-labs/ts-sdk": "~1.
|
51
|
+
"@aptos-labs/ts-sdk": "~1.32.0",
|
52
52
|
"@coral-xyz/borsh": "^0.30.0",
|
53
53
|
"@fuel-ts/program": "^0.96.1",
|
54
54
|
"@mysten/sui": "~1.14.0",
|
@@ -57,12 +57,12 @@
|
|
57
57
|
"@sentio/abi-wan-kanabi": "2.2.2-1",
|
58
58
|
"@sentio/api": "1.0.2-rc.11",
|
59
59
|
"@sentio/bigdecimal": "9.1.1-patch.3",
|
60
|
-
"@sentio/chain": "^2.1.
|
60
|
+
"@sentio/chain": "^2.1.14",
|
61
61
|
"@sentio/ethers-v6": "^1.0.29",
|
62
62
|
"@solana/web3.js": "1.91.8",
|
63
|
-
"@typemove/aptos": "~1.6.
|
64
|
-
"@typemove/move": "~1.6.
|
65
|
-
"@typemove/sui": "~1.6.
|
63
|
+
"@typemove/aptos": "~1.6.8",
|
64
|
+
"@typemove/move": "~1.6.8",
|
65
|
+
"@typemove/sui": "~1.6.8",
|
66
66
|
"bs58": "^5.0.0",
|
67
67
|
"chalk": "^5.3.0",
|
68
68
|
"csv-parse": "^5.5.3",
|
@@ -84,8 +84,8 @@
|
|
84
84
|
"typechain": "^8.3.2",
|
85
85
|
"utility-types": "^3.11.0",
|
86
86
|
"yaml": "^2.3.4",
|
87
|
-
"@sentio/
|
88
|
-
"@sentio/
|
87
|
+
"@sentio/protos": "2.45.2-rc.1",
|
88
|
+
"@sentio/runtime": "^2.45.2-rc.1"
|
89
89
|
},
|
90
90
|
"peerDependencies": {
|
91
91
|
"tsup": "npm:@sentio/tsup@^6.7.6"
|