@typemove/aptos 1.8.3 → 1.9.0
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/dist/cjs/builtin/0x1.d.ts +308 -308
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +2 -2
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +102 -102
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +2 -2
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/builtin/0x4.d.ts +22 -22
- package/dist/cjs/builtin/0x4.d.ts.map +1 -1
- package/dist/cjs/builtin/0x4.js +2 -2
- package/dist/cjs/builtin/0x4.js.map +1 -1
- package/dist/cjs/codegen/codegen.js +2 -2
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/coder-helpers.js +1 -2
- package/dist/cjs/coder-helpers.js.map +1 -1
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +3 -2
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +6 -6
- package/dist/cjs/to-internal.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +308 -308
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +102 -102
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x4.d.ts +22 -22
- package/dist/esm/builtin/0x4.d.ts.map +1 -1
- package/dist/esm/builtin/0x4.js.map +1 -1
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +1 -0
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/dist/esm/to-internal.js +2 -1
- package/dist/esm/to-internal.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +539 -579
- package/src/builtin/0x3.ts +177 -191
- package/src/builtin/0x4.ts +28 -31
- package/src/move-coder.ts +1 -0
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +55 -55
- package/src/tests/types/0x6b3720cd988adeaf721ed9d4730da4324d52364871a68eac62b46d21e4d2fa99.ts +32 -36
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +36 -42
- package/src/to-internal.ts +2 -1
|
@@ -11,10 +11,10 @@ export declare namespace token {
|
|
|
11
11
|
const TYPE_QNAME = "0x3::token::Deposit";
|
|
12
12
|
function type(): TypeDescriptor<Deposit>;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
type DepositInstance = TypedEventInstance<Deposit> & {
|
|
15
15
|
data_decoded: Deposit;
|
|
16
16
|
type_arguments: [];
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
interface DepositEvent {
|
|
19
19
|
id: token.TokenId;
|
|
20
20
|
amount: bigint;
|
|
@@ -23,10 +23,10 @@ export declare namespace token {
|
|
|
23
23
|
const TYPE_QNAME = "0x3::token::DepositEvent";
|
|
24
24
|
function type(): TypeDescriptor<DepositEvent>;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
type DepositEventInstance = TypedEventInstance<DepositEvent> & {
|
|
27
27
|
data_decoded: DepositEvent;
|
|
28
28
|
type_arguments: [];
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
30
|
interface Withdraw {
|
|
31
31
|
id: token.TokenId;
|
|
32
32
|
amount: bigint;
|
|
@@ -35,10 +35,10 @@ export declare namespace token {
|
|
|
35
35
|
const TYPE_QNAME = "0x3::token::Withdraw";
|
|
36
36
|
function type(): TypeDescriptor<Withdraw>;
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
type WithdrawInstance = TypedEventInstance<Withdraw> & {
|
|
39
39
|
data_decoded: Withdraw;
|
|
40
40
|
type_arguments: [];
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
42
|
interface WithdrawEvent {
|
|
43
43
|
id: token.TokenId;
|
|
44
44
|
amount: bigint;
|
|
@@ -47,10 +47,10 @@ export declare namespace token {
|
|
|
47
47
|
const TYPE_QNAME = "0x3::token::WithdrawEvent";
|
|
48
48
|
function type(): TypeDescriptor<WithdrawEvent>;
|
|
49
49
|
}
|
|
50
|
-
|
|
50
|
+
type WithdrawEventInstance = TypedEventInstance<WithdrawEvent> & {
|
|
51
51
|
data_decoded: WithdrawEvent;
|
|
52
52
|
type_arguments: [];
|
|
53
|
-
}
|
|
53
|
+
};
|
|
54
54
|
interface Burn {
|
|
55
55
|
account: MoveAddressType;
|
|
56
56
|
id: token.TokenId;
|
|
@@ -60,10 +60,10 @@ export declare namespace token {
|
|
|
60
60
|
const TYPE_QNAME = "0x3::token::Burn";
|
|
61
61
|
function type(): TypeDescriptor<Burn>;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
type BurnInstance = TypedEventInstance<Burn> & {
|
|
64
64
|
data_decoded: Burn;
|
|
65
65
|
type_arguments: [];
|
|
66
|
-
}
|
|
66
|
+
};
|
|
67
67
|
interface BurnToken {
|
|
68
68
|
id: token.TokenId;
|
|
69
69
|
amount: bigint;
|
|
@@ -72,10 +72,10 @@ export declare namespace token {
|
|
|
72
72
|
const TYPE_QNAME = "0x3::token::BurnToken";
|
|
73
73
|
function type(): TypeDescriptor<BurnToken>;
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
type BurnTokenInstance = TypedEventInstance<BurnToken> & {
|
|
76
76
|
data_decoded: BurnToken;
|
|
77
77
|
type_arguments: [];
|
|
78
|
-
}
|
|
78
|
+
};
|
|
79
79
|
interface BurnTokenEvent {
|
|
80
80
|
id: token.TokenId;
|
|
81
81
|
amount: bigint;
|
|
@@ -84,10 +84,10 @@ export declare namespace token {
|
|
|
84
84
|
const TYPE_QNAME = "0x3::token::BurnTokenEvent";
|
|
85
85
|
function type(): TypeDescriptor<BurnTokenEvent>;
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
type BurnTokenEventInstance = TypedEventInstance<BurnTokenEvent> & {
|
|
88
88
|
data_decoded: BurnTokenEvent;
|
|
89
89
|
type_arguments: [];
|
|
90
|
-
}
|
|
90
|
+
};
|
|
91
91
|
interface CollectionData {
|
|
92
92
|
description: string;
|
|
93
93
|
name: string;
|
|
@@ -131,10 +131,10 @@ export declare namespace token {
|
|
|
131
131
|
const TYPE_QNAME = "0x3::token::CreateCollection";
|
|
132
132
|
function type(): TypeDescriptor<CreateCollection>;
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
type CreateCollectionInstance = TypedEventInstance<CreateCollection> & {
|
|
135
135
|
data_decoded: CreateCollection;
|
|
136
136
|
type_arguments: [];
|
|
137
|
-
}
|
|
137
|
+
};
|
|
138
138
|
interface CreateCollectionEvent {
|
|
139
139
|
creator: MoveAddressType;
|
|
140
140
|
collection_name: string;
|
|
@@ -146,10 +146,10 @@ export declare namespace token {
|
|
|
146
146
|
const TYPE_QNAME = "0x3::token::CreateCollectionEvent";
|
|
147
147
|
function type(): TypeDescriptor<CreateCollectionEvent>;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
type CreateCollectionEventInstance = TypedEventInstance<CreateCollectionEvent> & {
|
|
150
150
|
data_decoded: CreateCollectionEvent;
|
|
151
151
|
type_arguments: [];
|
|
152
|
-
}
|
|
152
|
+
};
|
|
153
153
|
interface CreateTokenData {
|
|
154
154
|
id: token.TokenDataId;
|
|
155
155
|
description: string;
|
|
@@ -168,10 +168,10 @@ export declare namespace token {
|
|
|
168
168
|
const TYPE_QNAME = "0x3::token::CreateTokenData";
|
|
169
169
|
function type(): TypeDescriptor<CreateTokenData>;
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
type CreateTokenDataInstance = TypedEventInstance<CreateTokenData> & {
|
|
172
172
|
data_decoded: CreateTokenData;
|
|
173
173
|
type_arguments: [];
|
|
174
|
-
}
|
|
174
|
+
};
|
|
175
175
|
interface CreateTokenDataEvent {
|
|
176
176
|
id: token.TokenDataId;
|
|
177
177
|
description: string;
|
|
@@ -190,10 +190,10 @@ export declare namespace token {
|
|
|
190
190
|
const TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
|
|
191
191
|
function type(): TypeDescriptor<CreateTokenDataEvent>;
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
type CreateTokenDataEventInstance = TypedEventInstance<CreateTokenDataEvent> & {
|
|
194
194
|
data_decoded: CreateTokenDataEvent;
|
|
195
195
|
type_arguments: [];
|
|
196
|
-
}
|
|
196
|
+
};
|
|
197
197
|
interface Mint {
|
|
198
198
|
creator: MoveAddressType;
|
|
199
199
|
id: token.TokenDataId;
|
|
@@ -203,10 +203,10 @@ export declare namespace token {
|
|
|
203
203
|
const TYPE_QNAME = "0x3::token::Mint";
|
|
204
204
|
function type(): TypeDescriptor<Mint>;
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
type MintInstance = TypedEventInstance<Mint> & {
|
|
207
207
|
data_decoded: Mint;
|
|
208
208
|
type_arguments: [];
|
|
209
|
-
}
|
|
209
|
+
};
|
|
210
210
|
interface MintToken {
|
|
211
211
|
id: token.TokenDataId;
|
|
212
212
|
amount: bigint;
|
|
@@ -215,10 +215,10 @@ export declare namespace token {
|
|
|
215
215
|
const TYPE_QNAME = "0x3::token::MintToken";
|
|
216
216
|
function type(): TypeDescriptor<MintToken>;
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
type MintTokenInstance = TypedEventInstance<MintToken> & {
|
|
219
219
|
data_decoded: MintToken;
|
|
220
220
|
type_arguments: [];
|
|
221
|
-
}
|
|
221
|
+
};
|
|
222
222
|
interface MintTokenEvent {
|
|
223
223
|
id: token.TokenDataId;
|
|
224
224
|
amount: bigint;
|
|
@@ -227,10 +227,10 @@ export declare namespace token {
|
|
|
227
227
|
const TYPE_QNAME = "0x3::token::MintTokenEvent";
|
|
228
228
|
function type(): TypeDescriptor<MintTokenEvent>;
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
type MintTokenEventInstance = TypedEventInstance<MintTokenEvent> & {
|
|
231
231
|
data_decoded: MintTokenEvent;
|
|
232
232
|
type_arguments: [];
|
|
233
|
-
}
|
|
233
|
+
};
|
|
234
234
|
interface MutatePropertyMap {
|
|
235
235
|
account: MoveAddressType;
|
|
236
236
|
old_id: token.TokenId;
|
|
@@ -243,10 +243,10 @@ export declare namespace token {
|
|
|
243
243
|
const TYPE_QNAME = "0x3::token::MutatePropertyMap";
|
|
244
244
|
function type(): TypeDescriptor<MutatePropertyMap>;
|
|
245
245
|
}
|
|
246
|
-
|
|
246
|
+
type MutatePropertyMapInstance = TypedEventInstance<MutatePropertyMap> & {
|
|
247
247
|
data_decoded: MutatePropertyMap;
|
|
248
248
|
type_arguments: [];
|
|
249
|
-
}
|
|
249
|
+
};
|
|
250
250
|
interface MutateTokenPropertyMap {
|
|
251
251
|
old_id: token.TokenId;
|
|
252
252
|
new_id: token.TokenId;
|
|
@@ -258,10 +258,10 @@ export declare namespace token {
|
|
|
258
258
|
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMap";
|
|
259
259
|
function type(): TypeDescriptor<MutateTokenPropertyMap>;
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
type MutateTokenPropertyMapInstance = TypedEventInstance<MutateTokenPropertyMap> & {
|
|
262
262
|
data_decoded: MutateTokenPropertyMap;
|
|
263
263
|
type_arguments: [];
|
|
264
|
-
}
|
|
264
|
+
};
|
|
265
265
|
interface MutateTokenPropertyMapEvent {
|
|
266
266
|
old_id: token.TokenId;
|
|
267
267
|
new_id: token.TokenId;
|
|
@@ -273,10 +273,10 @@ export declare namespace token {
|
|
|
273
273
|
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
|
|
274
274
|
function type(): TypeDescriptor<MutateTokenPropertyMapEvent>;
|
|
275
275
|
}
|
|
276
|
-
|
|
276
|
+
type MutateTokenPropertyMapEventInstance = TypedEventInstance<MutateTokenPropertyMapEvent> & {
|
|
277
277
|
data_decoded: MutateTokenPropertyMapEvent;
|
|
278
278
|
type_arguments: [];
|
|
279
|
-
}
|
|
279
|
+
};
|
|
280
280
|
interface Royalty {
|
|
281
281
|
royalty_points_numerator: bigint;
|
|
282
282
|
royalty_points_denominator: bigint;
|
|
@@ -329,10 +329,10 @@ export declare namespace token {
|
|
|
329
329
|
const TYPE_QNAME = "0x3::token::TokenDataCreation";
|
|
330
330
|
function type(): TypeDescriptor<TokenDataCreation>;
|
|
331
331
|
}
|
|
332
|
-
|
|
332
|
+
type TokenDataCreationInstance = TypedEventInstance<TokenDataCreation> & {
|
|
333
333
|
data_decoded: TokenDataCreation;
|
|
334
334
|
type_arguments: [];
|
|
335
|
-
}
|
|
335
|
+
};
|
|
336
336
|
interface TokenDataId {
|
|
337
337
|
creator: MoveAddressType;
|
|
338
338
|
collection: string;
|
|
@@ -351,10 +351,10 @@ export declare namespace token {
|
|
|
351
351
|
const TYPE_QNAME = "0x3::token::TokenDeposit";
|
|
352
352
|
function type(): TypeDescriptor<TokenDeposit>;
|
|
353
353
|
}
|
|
354
|
-
|
|
354
|
+
type TokenDepositInstance = TypedEventInstance<TokenDeposit> & {
|
|
355
355
|
data_decoded: TokenDeposit;
|
|
356
356
|
type_arguments: [];
|
|
357
|
-
}
|
|
357
|
+
};
|
|
358
358
|
interface TokenId {
|
|
359
359
|
token_data_id: token.TokenDataId;
|
|
360
360
|
property_version: bigint;
|
|
@@ -395,10 +395,10 @@ export declare namespace token {
|
|
|
395
395
|
const TYPE_QNAME = "0x3::token::TokenWithdraw";
|
|
396
396
|
function type(): TypeDescriptor<TokenWithdraw>;
|
|
397
397
|
}
|
|
398
|
-
|
|
398
|
+
type TokenWithdrawInstance = TypedEventInstance<TokenWithdraw> & {
|
|
399
399
|
data_decoded: TokenWithdraw;
|
|
400
400
|
type_arguments: [];
|
|
401
|
-
}
|
|
401
|
+
};
|
|
402
402
|
interface WithdrawCapability {
|
|
403
403
|
token_owner: MoveAddressType;
|
|
404
404
|
token_id: token.TokenId;
|
|
@@ -542,10 +542,10 @@ export declare namespace token_coin_swap {
|
|
|
542
542
|
const TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
|
|
543
543
|
function type(): TypeDescriptor<TokenListingEvent>;
|
|
544
544
|
}
|
|
545
|
-
|
|
545
|
+
type TokenListingEventInstance = TypedEventInstance<TokenListingEvent> & {
|
|
546
546
|
data_decoded: TokenListingEvent;
|
|
547
547
|
type_arguments: [];
|
|
548
|
-
}
|
|
548
|
+
};
|
|
549
549
|
interface TokenListings<T0> {
|
|
550
550
|
listings: _0x1.table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
|
|
551
551
|
listing_events: _0x1.event.EventHandle<token_coin_swap.TokenListingEvent>;
|
|
@@ -573,10 +573,10 @@ export declare namespace token_coin_swap {
|
|
|
573
573
|
const TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
|
|
574
574
|
function type(): TypeDescriptor<TokenSwapEvent>;
|
|
575
575
|
}
|
|
576
|
-
|
|
576
|
+
type TokenSwapEventInstance = TypedEventInstance<TokenSwapEvent> & {
|
|
577
577
|
data_decoded: TokenSwapEvent;
|
|
578
578
|
type_arguments: [];
|
|
579
|
-
}
|
|
579
|
+
};
|
|
580
580
|
namespace entry {
|
|
581
581
|
function listTokenForSwap<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
582
582
|
typeArguments: [MoveStructId];
|
|
@@ -604,10 +604,10 @@ export declare namespace token_transfers {
|
|
|
604
604
|
const TYPE_QNAME = "0x3::token_transfers::CancelOffer";
|
|
605
605
|
function type(): TypeDescriptor<CancelOffer>;
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
type CancelOfferInstance = TypedEventInstance<CancelOffer> & {
|
|
608
608
|
data_decoded: CancelOffer;
|
|
609
609
|
type_arguments: [];
|
|
610
|
-
}
|
|
610
|
+
};
|
|
611
611
|
interface Claim {
|
|
612
612
|
account: MoveAddressType;
|
|
613
613
|
to_address: MoveAddressType;
|
|
@@ -618,10 +618,10 @@ export declare namespace token_transfers {
|
|
|
618
618
|
const TYPE_QNAME = "0x3::token_transfers::Claim";
|
|
619
619
|
function type(): TypeDescriptor<Claim>;
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
type ClaimInstance = TypedEventInstance<Claim> & {
|
|
622
622
|
data_decoded: Claim;
|
|
623
623
|
type_arguments: [];
|
|
624
|
-
}
|
|
624
|
+
};
|
|
625
625
|
interface Offer {
|
|
626
626
|
account: MoveAddressType;
|
|
627
627
|
to_address: MoveAddressType;
|
|
@@ -632,10 +632,10 @@ export declare namespace token_transfers {
|
|
|
632
632
|
const TYPE_QNAME = "0x3::token_transfers::Offer";
|
|
633
633
|
function type(): TypeDescriptor<Offer>;
|
|
634
634
|
}
|
|
635
|
-
|
|
635
|
+
type OfferInstance = TypedEventInstance<Offer> & {
|
|
636
636
|
data_decoded: Offer;
|
|
637
637
|
type_arguments: [];
|
|
638
|
-
}
|
|
638
|
+
};
|
|
639
639
|
interface PendingClaims {
|
|
640
640
|
pending_claims: _0x1.table.Table<token_transfers.TokenOfferId, token.Token>;
|
|
641
641
|
offer_events: _0x1.event.EventHandle<token_transfers.TokenOfferEvent>;
|
|
@@ -655,10 +655,10 @@ export declare namespace token_transfers {
|
|
|
655
655
|
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOffer";
|
|
656
656
|
function type(): TypeDescriptor<TokenCancelOffer>;
|
|
657
657
|
}
|
|
658
|
-
|
|
658
|
+
type TokenCancelOfferInstance = TypedEventInstance<TokenCancelOffer> & {
|
|
659
659
|
data_decoded: TokenCancelOffer;
|
|
660
660
|
type_arguments: [];
|
|
661
|
-
}
|
|
661
|
+
};
|
|
662
662
|
interface TokenCancelOfferEvent {
|
|
663
663
|
to_address: MoveAddressType;
|
|
664
664
|
token_id: token.TokenId;
|
|
@@ -668,10 +668,10 @@ export declare namespace token_transfers {
|
|
|
668
668
|
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
|
|
669
669
|
function type(): TypeDescriptor<TokenCancelOfferEvent>;
|
|
670
670
|
}
|
|
671
|
-
|
|
671
|
+
type TokenCancelOfferEventInstance = TypedEventInstance<TokenCancelOfferEvent> & {
|
|
672
672
|
data_decoded: TokenCancelOfferEvent;
|
|
673
673
|
type_arguments: [];
|
|
674
|
-
}
|
|
674
|
+
};
|
|
675
675
|
interface TokenClaim {
|
|
676
676
|
to_address: MoveAddressType;
|
|
677
677
|
token_id: token.TokenId;
|
|
@@ -681,10 +681,10 @@ export declare namespace token_transfers {
|
|
|
681
681
|
const TYPE_QNAME = "0x3::token_transfers::TokenClaim";
|
|
682
682
|
function type(): TypeDescriptor<TokenClaim>;
|
|
683
683
|
}
|
|
684
|
-
|
|
684
|
+
type TokenClaimInstance = TypedEventInstance<TokenClaim> & {
|
|
685
685
|
data_decoded: TokenClaim;
|
|
686
686
|
type_arguments: [];
|
|
687
|
-
}
|
|
687
|
+
};
|
|
688
688
|
interface TokenClaimEvent {
|
|
689
689
|
to_address: MoveAddressType;
|
|
690
690
|
token_id: token.TokenId;
|
|
@@ -694,10 +694,10 @@ export declare namespace token_transfers {
|
|
|
694
694
|
const TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
|
|
695
695
|
function type(): TypeDescriptor<TokenClaimEvent>;
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
type TokenClaimEventInstance = TypedEventInstance<TokenClaimEvent> & {
|
|
698
698
|
data_decoded: TokenClaimEvent;
|
|
699
699
|
type_arguments: [];
|
|
700
|
-
}
|
|
700
|
+
};
|
|
701
701
|
interface TokenOffer {
|
|
702
702
|
to_address: MoveAddressType;
|
|
703
703
|
token_id: token.TokenId;
|
|
@@ -707,10 +707,10 @@ export declare namespace token_transfers {
|
|
|
707
707
|
const TYPE_QNAME = "0x3::token_transfers::TokenOffer";
|
|
708
708
|
function type(): TypeDescriptor<TokenOffer>;
|
|
709
709
|
}
|
|
710
|
-
|
|
710
|
+
type TokenOfferInstance = TypedEventInstance<TokenOffer> & {
|
|
711
711
|
data_decoded: TokenOffer;
|
|
712
712
|
type_arguments: [];
|
|
713
|
-
}
|
|
713
|
+
};
|
|
714
714
|
interface TokenOfferEvent {
|
|
715
715
|
to_address: MoveAddressType;
|
|
716
716
|
token_id: token.TokenId;
|
|
@@ -720,10 +720,10 @@ export declare namespace token_transfers {
|
|
|
720
720
|
const TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
|
|
721
721
|
function type(): TypeDescriptor<TokenOfferEvent>;
|
|
722
722
|
}
|
|
723
|
-
|
|
723
|
+
type TokenOfferEventInstance = TypedEventInstance<TokenOfferEvent> & {
|
|
724
724
|
data_decoded: TokenOfferEvent;
|
|
725
725
|
type_arguments: [];
|
|
726
|
-
}
|
|
726
|
+
};
|
|
727
727
|
interface TokenOfferId {
|
|
728
728
|
to_addr: MoveAddressType;
|
|
729
729
|
token_id: token.TokenId;
|
|
@@ -732,10 +732,10 @@ export declare namespace token_transfers {
|
|
|
732
732
|
const TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
|
|
733
733
|
function type(): TypeDescriptor<TokenOfferId>;
|
|
734
734
|
}
|
|
735
|
-
|
|
735
|
+
type TokenOfferIdInstance = TypedEventInstance<TokenOfferId> & {
|
|
736
736
|
data_decoded: TokenOfferId;
|
|
737
737
|
type_arguments: [];
|
|
738
|
-
}
|
|
738
|
+
};
|
|
739
739
|
namespace entry {
|
|
740
740
|
function cancelOfferScript(client: Aptos, account: AptosAccount, request: {
|
|
741
741
|
typeArguments: [];
|
|
@@ -785,10 +785,10 @@ export declare namespace token_event_store {
|
|
|
785
785
|
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutate";
|
|
786
786
|
function type(): TypeDescriptor<CollectionDescriptionMutate>;
|
|
787
787
|
}
|
|
788
|
-
|
|
788
|
+
type CollectionDescriptionMutateInstance = TypedEventInstance<CollectionDescriptionMutate> & {
|
|
789
789
|
data_decoded: CollectionDescriptionMutate;
|
|
790
790
|
type_arguments: [];
|
|
791
|
-
}
|
|
791
|
+
};
|
|
792
792
|
interface CollectionDescriptionMutateEvent {
|
|
793
793
|
creator_addr: MoveAddressType;
|
|
794
794
|
collection_name: string;
|
|
@@ -799,10 +799,10 @@ export declare namespace token_event_store {
|
|
|
799
799
|
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutateEvent";
|
|
800
800
|
function type(): TypeDescriptor<CollectionDescriptionMutateEvent>;
|
|
801
801
|
}
|
|
802
|
-
|
|
802
|
+
type CollectionDescriptionMutateEventInstance = TypedEventInstance<CollectionDescriptionMutateEvent> & {
|
|
803
803
|
data_decoded: CollectionDescriptionMutateEvent;
|
|
804
804
|
type_arguments: [];
|
|
805
|
-
}
|
|
805
|
+
};
|
|
806
806
|
interface CollectionMaximumMutate {
|
|
807
807
|
creator_addr: MoveAddressType;
|
|
808
808
|
collection_name: string;
|
|
@@ -813,10 +813,10 @@ export declare namespace token_event_store {
|
|
|
813
813
|
const TYPE_QNAME = "0x3::token_event_store::CollectionMaximumMutate";
|
|
814
814
|
function type(): TypeDescriptor<CollectionMaximumMutate>;
|
|
815
815
|
}
|
|
816
|
-
|
|
816
|
+
type CollectionMaximumMutateInstance = TypedEventInstance<CollectionMaximumMutate> & {
|
|
817
817
|
data_decoded: CollectionMaximumMutate;
|
|
818
818
|
type_arguments: [];
|
|
819
|
-
}
|
|
819
|
+
};
|
|
820
820
|
interface CollectionMaxiumMutate {
|
|
821
821
|
creator_addr: MoveAddressType;
|
|
822
822
|
collection_name: string;
|
|
@@ -827,10 +827,10 @@ export declare namespace token_event_store {
|
|
|
827
827
|
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutate";
|
|
828
828
|
function type(): TypeDescriptor<CollectionMaxiumMutate>;
|
|
829
829
|
}
|
|
830
|
-
|
|
830
|
+
type CollectionMaxiumMutateInstance = TypedEventInstance<CollectionMaxiumMutate> & {
|
|
831
831
|
data_decoded: CollectionMaxiumMutate;
|
|
832
832
|
type_arguments: [];
|
|
833
|
-
}
|
|
833
|
+
};
|
|
834
834
|
interface CollectionMaxiumMutateEvent {
|
|
835
835
|
creator_addr: MoveAddressType;
|
|
836
836
|
collection_name: string;
|
|
@@ -841,10 +841,10 @@ export declare namespace token_event_store {
|
|
|
841
841
|
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutateEvent";
|
|
842
842
|
function type(): TypeDescriptor<CollectionMaxiumMutateEvent>;
|
|
843
843
|
}
|
|
844
|
-
|
|
844
|
+
type CollectionMaxiumMutateEventInstance = TypedEventInstance<CollectionMaxiumMutateEvent> & {
|
|
845
845
|
data_decoded: CollectionMaxiumMutateEvent;
|
|
846
846
|
type_arguments: [];
|
|
847
|
-
}
|
|
847
|
+
};
|
|
848
848
|
interface CollectionUriMutate {
|
|
849
849
|
creator_addr: MoveAddressType;
|
|
850
850
|
collection_name: string;
|
|
@@ -855,10 +855,10 @@ export declare namespace token_event_store {
|
|
|
855
855
|
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutate";
|
|
856
856
|
function type(): TypeDescriptor<CollectionUriMutate>;
|
|
857
857
|
}
|
|
858
|
-
|
|
858
|
+
type CollectionUriMutateInstance = TypedEventInstance<CollectionUriMutate> & {
|
|
859
859
|
data_decoded: CollectionUriMutate;
|
|
860
860
|
type_arguments: [];
|
|
861
|
-
}
|
|
861
|
+
};
|
|
862
862
|
interface CollectionUriMutateEvent {
|
|
863
863
|
creator_addr: MoveAddressType;
|
|
864
864
|
collection_name: string;
|
|
@@ -869,10 +869,10 @@ export declare namespace token_event_store {
|
|
|
869
869
|
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutateEvent";
|
|
870
870
|
function type(): TypeDescriptor<CollectionUriMutateEvent>;
|
|
871
871
|
}
|
|
872
|
-
|
|
872
|
+
type CollectionUriMutateEventInstance = TypedEventInstance<CollectionUriMutateEvent> & {
|
|
873
873
|
data_decoded: CollectionUriMutateEvent;
|
|
874
874
|
type_arguments: [];
|
|
875
|
-
}
|
|
875
|
+
};
|
|
876
876
|
interface DefaultPropertyMutate {
|
|
877
877
|
creator: MoveAddressType;
|
|
878
878
|
collection: string;
|
|
@@ -885,10 +885,10 @@ export declare namespace token_event_store {
|
|
|
885
885
|
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutate";
|
|
886
886
|
function type(): TypeDescriptor<DefaultPropertyMutate>;
|
|
887
887
|
}
|
|
888
|
-
|
|
888
|
+
type DefaultPropertyMutateInstance = TypedEventInstance<DefaultPropertyMutate> & {
|
|
889
889
|
data_decoded: DefaultPropertyMutate;
|
|
890
890
|
type_arguments: [];
|
|
891
|
-
}
|
|
891
|
+
};
|
|
892
892
|
interface DefaultPropertyMutateEvent {
|
|
893
893
|
creator: MoveAddressType;
|
|
894
894
|
collection: string;
|
|
@@ -901,10 +901,10 @@ export declare namespace token_event_store {
|
|
|
901
901
|
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutateEvent";
|
|
902
902
|
function type(): TypeDescriptor<DefaultPropertyMutateEvent>;
|
|
903
903
|
}
|
|
904
|
-
|
|
904
|
+
type DefaultPropertyMutateEventInstance = TypedEventInstance<DefaultPropertyMutateEvent> & {
|
|
905
905
|
data_decoded: DefaultPropertyMutateEvent;
|
|
906
906
|
type_arguments: [];
|
|
907
|
-
}
|
|
907
|
+
};
|
|
908
908
|
interface DescriptionMutate {
|
|
909
909
|
creator: MoveAddressType;
|
|
910
910
|
collection: string;
|
|
@@ -916,10 +916,10 @@ export declare namespace token_event_store {
|
|
|
916
916
|
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutate";
|
|
917
917
|
function type(): TypeDescriptor<DescriptionMutate>;
|
|
918
918
|
}
|
|
919
|
-
|
|
919
|
+
type DescriptionMutateInstance = TypedEventInstance<DescriptionMutate> & {
|
|
920
920
|
data_decoded: DescriptionMutate;
|
|
921
921
|
type_arguments: [];
|
|
922
|
-
}
|
|
922
|
+
};
|
|
923
923
|
interface DescriptionMutateEvent {
|
|
924
924
|
creator: MoveAddressType;
|
|
925
925
|
collection: string;
|
|
@@ -931,10 +931,10 @@ export declare namespace token_event_store {
|
|
|
931
931
|
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
|
|
932
932
|
function type(): TypeDescriptor<DescriptionMutateEvent>;
|
|
933
933
|
}
|
|
934
|
-
|
|
934
|
+
type DescriptionMutateEventInstance = TypedEventInstance<DescriptionMutateEvent> & {
|
|
935
935
|
data_decoded: DescriptionMutateEvent;
|
|
936
936
|
type_arguments: [];
|
|
937
|
-
}
|
|
937
|
+
};
|
|
938
938
|
interface MaximumMutate {
|
|
939
939
|
creator: MoveAddressType;
|
|
940
940
|
collection: string;
|
|
@@ -946,10 +946,10 @@ export declare namespace token_event_store {
|
|
|
946
946
|
const TYPE_QNAME = "0x3::token_event_store::MaximumMutate";
|
|
947
947
|
function type(): TypeDescriptor<MaximumMutate>;
|
|
948
948
|
}
|
|
949
|
-
|
|
949
|
+
type MaximumMutateInstance = TypedEventInstance<MaximumMutate> & {
|
|
950
950
|
data_decoded: MaximumMutate;
|
|
951
951
|
type_arguments: [];
|
|
952
|
-
}
|
|
952
|
+
};
|
|
953
953
|
interface MaxiumMutateEvent {
|
|
954
954
|
creator: MoveAddressType;
|
|
955
955
|
collection: string;
|
|
@@ -961,10 +961,10 @@ export declare namespace token_event_store {
|
|
|
961
961
|
const TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
|
|
962
962
|
function type(): TypeDescriptor<MaxiumMutateEvent>;
|
|
963
963
|
}
|
|
964
|
-
|
|
964
|
+
type MaxiumMutateEventInstance = TypedEventInstance<MaxiumMutateEvent> & {
|
|
965
965
|
data_decoded: MaxiumMutateEvent;
|
|
966
966
|
type_arguments: [];
|
|
967
|
-
}
|
|
967
|
+
};
|
|
968
968
|
interface OptInTransfer {
|
|
969
969
|
account_address: MoveAddressType;
|
|
970
970
|
opt_in: boolean;
|
|
@@ -973,10 +973,10 @@ export declare namespace token_event_store {
|
|
|
973
973
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
|
|
974
974
|
function type(): TypeDescriptor<OptInTransfer>;
|
|
975
975
|
}
|
|
976
|
-
|
|
976
|
+
type OptInTransferInstance = TypedEventInstance<OptInTransfer> & {
|
|
977
977
|
data_decoded: OptInTransfer;
|
|
978
978
|
type_arguments: [];
|
|
979
|
-
}
|
|
979
|
+
};
|
|
980
980
|
interface OptInTransferEvent {
|
|
981
981
|
opt_in: boolean;
|
|
982
982
|
}
|
|
@@ -984,10 +984,10 @@ export declare namespace token_event_store {
|
|
|
984
984
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
|
|
985
985
|
function type(): TypeDescriptor<OptInTransferEvent>;
|
|
986
986
|
}
|
|
987
|
-
|
|
987
|
+
type OptInTransferEventInstance = TypedEventInstance<OptInTransferEvent> & {
|
|
988
988
|
data_decoded: OptInTransferEvent;
|
|
989
989
|
type_arguments: [];
|
|
990
|
-
}
|
|
990
|
+
};
|
|
991
991
|
interface RoyaltyMutate {
|
|
992
992
|
creator: MoveAddressType;
|
|
993
993
|
collection: string;
|
|
@@ -1003,10 +1003,10 @@ export declare namespace token_event_store {
|
|
|
1003
1003
|
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutate";
|
|
1004
1004
|
function type(): TypeDescriptor<RoyaltyMutate>;
|
|
1005
1005
|
}
|
|
1006
|
-
|
|
1006
|
+
type RoyaltyMutateInstance = TypedEventInstance<RoyaltyMutate> & {
|
|
1007
1007
|
data_decoded: RoyaltyMutate;
|
|
1008
1008
|
type_arguments: [];
|
|
1009
|
-
}
|
|
1009
|
+
};
|
|
1010
1010
|
interface RoyaltyMutateEvent {
|
|
1011
1011
|
creator: MoveAddressType;
|
|
1012
1012
|
collection: string;
|
|
@@ -1022,10 +1022,10 @@ export declare namespace token_event_store {
|
|
|
1022
1022
|
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
|
|
1023
1023
|
function type(): TypeDescriptor<RoyaltyMutateEvent>;
|
|
1024
1024
|
}
|
|
1025
|
-
|
|
1025
|
+
type RoyaltyMutateEventInstance = TypedEventInstance<RoyaltyMutateEvent> & {
|
|
1026
1026
|
data_decoded: RoyaltyMutateEvent;
|
|
1027
1027
|
type_arguments: [];
|
|
1028
|
-
}
|
|
1028
|
+
};
|
|
1029
1029
|
interface TokenEventStoreV1 {
|
|
1030
1030
|
collection_uri_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionUriMutateEvent>;
|
|
1031
1031
|
collection_maximum_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionMaxiumMutateEvent>;
|
|
@@ -1053,10 +1053,10 @@ export declare namespace token_event_store {
|
|
|
1053
1053
|
const TYPE_QNAME = "0x3::token_event_store::UriMutation";
|
|
1054
1054
|
function type(): TypeDescriptor<UriMutation>;
|
|
1055
1055
|
}
|
|
1056
|
-
|
|
1056
|
+
type UriMutationInstance = TypedEventInstance<UriMutation> & {
|
|
1057
1057
|
data_decoded: UriMutation;
|
|
1058
1058
|
type_arguments: [];
|
|
1059
|
-
}
|
|
1059
|
+
};
|
|
1060
1060
|
interface UriMutationEvent {
|
|
1061
1061
|
creator: MoveAddressType;
|
|
1062
1062
|
collection: string;
|
|
@@ -1068,10 +1068,10 @@ export declare namespace token_event_store {
|
|
|
1068
1068
|
const TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
|
|
1069
1069
|
function type(): TypeDescriptor<UriMutationEvent>;
|
|
1070
1070
|
}
|
|
1071
|
-
|
|
1071
|
+
type UriMutationEventInstance = TypedEventInstance<UriMutationEvent> & {
|
|
1072
1072
|
data_decoded: UriMutationEvent;
|
|
1073
1073
|
type_arguments: [];
|
|
1074
|
-
}
|
|
1074
|
+
};
|
|
1075
1075
|
namespace entry { }
|
|
1076
1076
|
namespace view { }
|
|
1077
1077
|
}
|