@typemove/aptos 1.13.4-rc.1 → 1.13.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.
- package/dist/esm/coder-helpers.d.ts +2 -2
- package/dist/esm/coder-helpers.d.ts.map +1 -1
- package/package.json +11 -32
- package/src/coder-helpers.ts +2 -2
- package/builtin/0x1/package.json +0 -5
- package/builtin/0x3/package.json +0 -5
- package/builtin/0x4/package.json +0 -5
- package/builtin/package.json +0 -5
- package/codegen/package.json +0 -5
- package/dist/cjs/account-resource-client.d.ts +0 -28
- package/dist/cjs/account-resource-client.d.ts.map +0 -1
- package/dist/cjs/account-resource-client.js +0 -51
- package/dist/cjs/account-resource-client.js.map +0 -1
- package/dist/cjs/account-resource-client.test.d.ts +0 -2
- package/dist/cjs/account-resource-client.test.d.ts.map +0 -1
- package/dist/cjs/account-resource-client.test.js.map +0 -1
- package/dist/cjs/aptos-chain-adapter.d.ts +0 -16
- package/dist/cjs/aptos-chain-adapter.d.ts.map +0 -1
- package/dist/cjs/aptos-chain-adapter.js +0 -100
- package/dist/cjs/aptos-chain-adapter.js.map +0 -1
- package/dist/cjs/builtin/0x1.d.ts +0 -6795
- package/dist/cjs/builtin/0x1.d.ts.map +0 -1
- package/dist/cjs/builtin/0x1.js +0 -10573
- package/dist/cjs/builtin/0x1.js.map +0 -1
- package/dist/cjs/builtin/0x3.d.ts +0 -1087
- package/dist/cjs/builtin/0x3.d.ts.map +0 -1
- package/dist/cjs/builtin/0x3.js +0 -931
- package/dist/cjs/builtin/0x3.js.map +0 -1
- package/dist/cjs/builtin/0x4.d.ts +0 -535
- package/dist/cjs/builtin/0x4.d.ts.map +0 -1
- package/dist/cjs/builtin/0x4.js +0 -889
- package/dist/cjs/builtin/0x4.js.map +0 -1
- package/dist/cjs/builtin/index.d.ts +0 -4
- package/dist/cjs/builtin/index.d.ts.map +0 -1
- package/dist/cjs/builtin/index.js +0 -11
- package/dist/cjs/builtin/index.js.map +0 -1
- package/dist/cjs/client.test.d.ts +0 -2
- package/dist/cjs/client.test.d.ts.map +0 -1
- package/dist/cjs/client.test.js.map +0 -1
- package/dist/cjs/codegen/codegen.d.ts +0 -18
- package/dist/cjs/codegen/codegen.d.ts.map +0 -1
- package/dist/cjs/codegen/codegen.js +0 -167
- package/dist/cjs/codegen/codegen.js.map +0 -1
- package/dist/cjs/codegen/index.d.ts +0 -2
- package/dist/cjs/codegen/index.d.ts.map +0 -1
- package/dist/cjs/codegen/index.js +0 -5
- package/dist/cjs/codegen/index.js.map +0 -1
- package/dist/cjs/codegen/types.test.d.ts +0 -2
- package/dist/cjs/codegen/types.test.d.ts.map +0 -1
- package/dist/cjs/codegen/types.test.js.map +0 -1
- package/dist/cjs/coder-helpers.d.ts +0 -6
- package/dist/cjs/coder-helpers.d.ts.map +0 -1
- package/dist/cjs/coder-helpers.js +0 -11
- package/dist/cjs/coder-helpers.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -5
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -12
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models.d.ts +0 -12
- package/dist/cjs/models.d.ts.map +0 -1
- package/dist/cjs/models.js +0 -3
- package/dist/cjs/models.js.map +0 -1
- package/dist/cjs/move-coder.d.ts +0 -17
- package/dist/cjs/move-coder.d.ts.map +0 -1
- package/dist/cjs/move-coder.js +0 -102
- package/dist/cjs/move-coder.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/to-internal.d.ts +0 -7
- package/dist/cjs/to-internal.d.ts.map +0 -1
- package/dist/cjs/to-internal.js +0 -61
- package/dist/cjs/to-internal.js.map +0 -1
|
@@ -1,1087 +0,0 @@
|
|
|
1
|
-
import { TypeDescriptor } from "@typemove/move";
|
|
2
|
-
import { MoveCoder, TypedEventInstance } from "@typemove/aptos";
|
|
3
|
-
import { Aptos, Account as AptosAccount, MoveAddressType, PendingTransactionResponse, InputGenerateTransactionOptions, MoveStructId } from "@aptos-labs/ts-sdk";
|
|
4
|
-
import * as _0x1 from "./0x1.js";
|
|
5
|
-
export declare namespace token {
|
|
6
|
-
interface Deposit {
|
|
7
|
-
id: token.TokenId;
|
|
8
|
-
amount: bigint;
|
|
9
|
-
}
|
|
10
|
-
namespace Deposit {
|
|
11
|
-
const TYPE_QNAME = "0x3::token::Deposit";
|
|
12
|
-
function type(): TypeDescriptor<Deposit>;
|
|
13
|
-
}
|
|
14
|
-
type DepositInstance = TypedEventInstance<Deposit> & {
|
|
15
|
-
data_decoded: Deposit;
|
|
16
|
-
type_arguments: [];
|
|
17
|
-
};
|
|
18
|
-
interface DepositEvent {
|
|
19
|
-
id: token.TokenId;
|
|
20
|
-
amount: bigint;
|
|
21
|
-
}
|
|
22
|
-
namespace DepositEvent {
|
|
23
|
-
const TYPE_QNAME = "0x3::token::DepositEvent";
|
|
24
|
-
function type(): TypeDescriptor<DepositEvent>;
|
|
25
|
-
}
|
|
26
|
-
type DepositEventInstance = TypedEventInstance<DepositEvent> & {
|
|
27
|
-
data_decoded: DepositEvent;
|
|
28
|
-
type_arguments: [];
|
|
29
|
-
};
|
|
30
|
-
interface Withdraw {
|
|
31
|
-
id: token.TokenId;
|
|
32
|
-
amount: bigint;
|
|
33
|
-
}
|
|
34
|
-
namespace Withdraw {
|
|
35
|
-
const TYPE_QNAME = "0x3::token::Withdraw";
|
|
36
|
-
function type(): TypeDescriptor<Withdraw>;
|
|
37
|
-
}
|
|
38
|
-
type WithdrawInstance = TypedEventInstance<Withdraw> & {
|
|
39
|
-
data_decoded: Withdraw;
|
|
40
|
-
type_arguments: [];
|
|
41
|
-
};
|
|
42
|
-
interface WithdrawEvent {
|
|
43
|
-
id: token.TokenId;
|
|
44
|
-
amount: bigint;
|
|
45
|
-
}
|
|
46
|
-
namespace WithdrawEvent {
|
|
47
|
-
const TYPE_QNAME = "0x3::token::WithdrawEvent";
|
|
48
|
-
function type(): TypeDescriptor<WithdrawEvent>;
|
|
49
|
-
}
|
|
50
|
-
type WithdrawEventInstance = TypedEventInstance<WithdrawEvent> & {
|
|
51
|
-
data_decoded: WithdrawEvent;
|
|
52
|
-
type_arguments: [];
|
|
53
|
-
};
|
|
54
|
-
interface Burn {
|
|
55
|
-
account: MoveAddressType;
|
|
56
|
-
id: token.TokenId;
|
|
57
|
-
amount: bigint;
|
|
58
|
-
}
|
|
59
|
-
namespace Burn {
|
|
60
|
-
const TYPE_QNAME = "0x3::token::Burn";
|
|
61
|
-
function type(): TypeDescriptor<Burn>;
|
|
62
|
-
}
|
|
63
|
-
type BurnInstance = TypedEventInstance<Burn> & {
|
|
64
|
-
data_decoded: Burn;
|
|
65
|
-
type_arguments: [];
|
|
66
|
-
};
|
|
67
|
-
interface BurnToken {
|
|
68
|
-
id: token.TokenId;
|
|
69
|
-
amount: bigint;
|
|
70
|
-
}
|
|
71
|
-
namespace BurnToken {
|
|
72
|
-
const TYPE_QNAME = "0x3::token::BurnToken";
|
|
73
|
-
function type(): TypeDescriptor<BurnToken>;
|
|
74
|
-
}
|
|
75
|
-
type BurnTokenInstance = TypedEventInstance<BurnToken> & {
|
|
76
|
-
data_decoded: BurnToken;
|
|
77
|
-
type_arguments: [];
|
|
78
|
-
};
|
|
79
|
-
interface BurnTokenEvent {
|
|
80
|
-
id: token.TokenId;
|
|
81
|
-
amount: bigint;
|
|
82
|
-
}
|
|
83
|
-
namespace BurnTokenEvent {
|
|
84
|
-
const TYPE_QNAME = "0x3::token::BurnTokenEvent";
|
|
85
|
-
function type(): TypeDescriptor<BurnTokenEvent>;
|
|
86
|
-
}
|
|
87
|
-
type BurnTokenEventInstance = TypedEventInstance<BurnTokenEvent> & {
|
|
88
|
-
data_decoded: BurnTokenEvent;
|
|
89
|
-
type_arguments: [];
|
|
90
|
-
};
|
|
91
|
-
interface CollectionData {
|
|
92
|
-
description: string;
|
|
93
|
-
name: string;
|
|
94
|
-
uri: string;
|
|
95
|
-
supply: bigint;
|
|
96
|
-
maximum: bigint;
|
|
97
|
-
mutability_config: token.CollectionMutabilityConfig;
|
|
98
|
-
}
|
|
99
|
-
namespace CollectionData {
|
|
100
|
-
const TYPE_QNAME = "0x3::token::CollectionData";
|
|
101
|
-
function type(): TypeDescriptor<CollectionData>;
|
|
102
|
-
}
|
|
103
|
-
interface CollectionMutabilityConfig {
|
|
104
|
-
description: boolean;
|
|
105
|
-
uri: boolean;
|
|
106
|
-
maximum: boolean;
|
|
107
|
-
}
|
|
108
|
-
namespace CollectionMutabilityConfig {
|
|
109
|
-
const TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
|
|
110
|
-
function type(): TypeDescriptor<CollectionMutabilityConfig>;
|
|
111
|
-
}
|
|
112
|
-
interface Collections {
|
|
113
|
-
collection_data: _0x1.table.Table<string, token.CollectionData>;
|
|
114
|
-
token_data: _0x1.table.Table<token.TokenDataId, token.TokenData>;
|
|
115
|
-
create_collection_events: _0x1.event.EventHandle<token.CreateCollectionEvent>;
|
|
116
|
-
create_token_data_events: _0x1.event.EventHandle<token.CreateTokenDataEvent>;
|
|
117
|
-
mint_token_events: _0x1.event.EventHandle<token.MintTokenEvent>;
|
|
118
|
-
}
|
|
119
|
-
namespace Collections {
|
|
120
|
-
const TYPE_QNAME = "0x3::token::Collections";
|
|
121
|
-
function type(): TypeDescriptor<Collections>;
|
|
122
|
-
}
|
|
123
|
-
interface CreateCollection {
|
|
124
|
-
creator: MoveAddressType;
|
|
125
|
-
collection_name: string;
|
|
126
|
-
uri: string;
|
|
127
|
-
description: string;
|
|
128
|
-
maximum: bigint;
|
|
129
|
-
}
|
|
130
|
-
namespace CreateCollection {
|
|
131
|
-
const TYPE_QNAME = "0x3::token::CreateCollection";
|
|
132
|
-
function type(): TypeDescriptor<CreateCollection>;
|
|
133
|
-
}
|
|
134
|
-
type CreateCollectionInstance = TypedEventInstance<CreateCollection> & {
|
|
135
|
-
data_decoded: CreateCollection;
|
|
136
|
-
type_arguments: [];
|
|
137
|
-
};
|
|
138
|
-
interface CreateCollectionEvent {
|
|
139
|
-
creator: MoveAddressType;
|
|
140
|
-
collection_name: string;
|
|
141
|
-
uri: string;
|
|
142
|
-
description: string;
|
|
143
|
-
maximum: bigint;
|
|
144
|
-
}
|
|
145
|
-
namespace CreateCollectionEvent {
|
|
146
|
-
const TYPE_QNAME = "0x3::token::CreateCollectionEvent";
|
|
147
|
-
function type(): TypeDescriptor<CreateCollectionEvent>;
|
|
148
|
-
}
|
|
149
|
-
type CreateCollectionEventInstance = TypedEventInstance<CreateCollectionEvent> & {
|
|
150
|
-
data_decoded: CreateCollectionEvent;
|
|
151
|
-
type_arguments: [];
|
|
152
|
-
};
|
|
153
|
-
interface CreateTokenData {
|
|
154
|
-
id: token.TokenDataId;
|
|
155
|
-
description: string;
|
|
156
|
-
maximum: bigint;
|
|
157
|
-
uri: string;
|
|
158
|
-
royalty_payee_address: MoveAddressType;
|
|
159
|
-
royalty_points_denominator: bigint;
|
|
160
|
-
royalty_points_numerator: bigint;
|
|
161
|
-
name: string;
|
|
162
|
-
mutability_config: token.TokenMutabilityConfig;
|
|
163
|
-
property_keys: string[];
|
|
164
|
-
property_values: string[];
|
|
165
|
-
property_types: string[];
|
|
166
|
-
}
|
|
167
|
-
namespace CreateTokenData {
|
|
168
|
-
const TYPE_QNAME = "0x3::token::CreateTokenData";
|
|
169
|
-
function type(): TypeDescriptor<CreateTokenData>;
|
|
170
|
-
}
|
|
171
|
-
type CreateTokenDataInstance = TypedEventInstance<CreateTokenData> & {
|
|
172
|
-
data_decoded: CreateTokenData;
|
|
173
|
-
type_arguments: [];
|
|
174
|
-
};
|
|
175
|
-
interface CreateTokenDataEvent {
|
|
176
|
-
id: token.TokenDataId;
|
|
177
|
-
description: string;
|
|
178
|
-
maximum: bigint;
|
|
179
|
-
uri: string;
|
|
180
|
-
royalty_payee_address: MoveAddressType;
|
|
181
|
-
royalty_points_denominator: bigint;
|
|
182
|
-
royalty_points_numerator: bigint;
|
|
183
|
-
name: string;
|
|
184
|
-
mutability_config: token.TokenMutabilityConfig;
|
|
185
|
-
property_keys: string[];
|
|
186
|
-
property_values: string[];
|
|
187
|
-
property_types: string[];
|
|
188
|
-
}
|
|
189
|
-
namespace CreateTokenDataEvent {
|
|
190
|
-
const TYPE_QNAME = "0x3::token::CreateTokenDataEvent";
|
|
191
|
-
function type(): TypeDescriptor<CreateTokenDataEvent>;
|
|
192
|
-
}
|
|
193
|
-
type CreateTokenDataEventInstance = TypedEventInstance<CreateTokenDataEvent> & {
|
|
194
|
-
data_decoded: CreateTokenDataEvent;
|
|
195
|
-
type_arguments: [];
|
|
196
|
-
};
|
|
197
|
-
interface Mint {
|
|
198
|
-
creator: MoveAddressType;
|
|
199
|
-
id: token.TokenDataId;
|
|
200
|
-
amount: bigint;
|
|
201
|
-
}
|
|
202
|
-
namespace Mint {
|
|
203
|
-
const TYPE_QNAME = "0x3::token::Mint";
|
|
204
|
-
function type(): TypeDescriptor<Mint>;
|
|
205
|
-
}
|
|
206
|
-
type MintInstance = TypedEventInstance<Mint> & {
|
|
207
|
-
data_decoded: Mint;
|
|
208
|
-
type_arguments: [];
|
|
209
|
-
};
|
|
210
|
-
interface MintToken {
|
|
211
|
-
id: token.TokenDataId;
|
|
212
|
-
amount: bigint;
|
|
213
|
-
}
|
|
214
|
-
namespace MintToken {
|
|
215
|
-
const TYPE_QNAME = "0x3::token::MintToken";
|
|
216
|
-
function type(): TypeDescriptor<MintToken>;
|
|
217
|
-
}
|
|
218
|
-
type MintTokenInstance = TypedEventInstance<MintToken> & {
|
|
219
|
-
data_decoded: MintToken;
|
|
220
|
-
type_arguments: [];
|
|
221
|
-
};
|
|
222
|
-
interface MintTokenEvent {
|
|
223
|
-
id: token.TokenDataId;
|
|
224
|
-
amount: bigint;
|
|
225
|
-
}
|
|
226
|
-
namespace MintTokenEvent {
|
|
227
|
-
const TYPE_QNAME = "0x3::token::MintTokenEvent";
|
|
228
|
-
function type(): TypeDescriptor<MintTokenEvent>;
|
|
229
|
-
}
|
|
230
|
-
type MintTokenEventInstance = TypedEventInstance<MintTokenEvent> & {
|
|
231
|
-
data_decoded: MintTokenEvent;
|
|
232
|
-
type_arguments: [];
|
|
233
|
-
};
|
|
234
|
-
interface MutatePropertyMap {
|
|
235
|
-
account: MoveAddressType;
|
|
236
|
-
old_id: token.TokenId;
|
|
237
|
-
new_id: token.TokenId;
|
|
238
|
-
keys: string[];
|
|
239
|
-
values: string[];
|
|
240
|
-
types: string[];
|
|
241
|
-
}
|
|
242
|
-
namespace MutatePropertyMap {
|
|
243
|
-
const TYPE_QNAME = "0x3::token::MutatePropertyMap";
|
|
244
|
-
function type(): TypeDescriptor<MutatePropertyMap>;
|
|
245
|
-
}
|
|
246
|
-
type MutatePropertyMapInstance = TypedEventInstance<MutatePropertyMap> & {
|
|
247
|
-
data_decoded: MutatePropertyMap;
|
|
248
|
-
type_arguments: [];
|
|
249
|
-
};
|
|
250
|
-
interface MutateTokenPropertyMap {
|
|
251
|
-
old_id: token.TokenId;
|
|
252
|
-
new_id: token.TokenId;
|
|
253
|
-
keys: string[];
|
|
254
|
-
values: string[];
|
|
255
|
-
types: string[];
|
|
256
|
-
}
|
|
257
|
-
namespace MutateTokenPropertyMap {
|
|
258
|
-
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMap";
|
|
259
|
-
function type(): TypeDescriptor<MutateTokenPropertyMap>;
|
|
260
|
-
}
|
|
261
|
-
type MutateTokenPropertyMapInstance = TypedEventInstance<MutateTokenPropertyMap> & {
|
|
262
|
-
data_decoded: MutateTokenPropertyMap;
|
|
263
|
-
type_arguments: [];
|
|
264
|
-
};
|
|
265
|
-
interface MutateTokenPropertyMapEvent {
|
|
266
|
-
old_id: token.TokenId;
|
|
267
|
-
new_id: token.TokenId;
|
|
268
|
-
keys: string[];
|
|
269
|
-
values: string[];
|
|
270
|
-
types: string[];
|
|
271
|
-
}
|
|
272
|
-
namespace MutateTokenPropertyMapEvent {
|
|
273
|
-
const TYPE_QNAME = "0x3::token::MutateTokenPropertyMapEvent";
|
|
274
|
-
function type(): TypeDescriptor<MutateTokenPropertyMapEvent>;
|
|
275
|
-
}
|
|
276
|
-
type MutateTokenPropertyMapEventInstance = TypedEventInstance<MutateTokenPropertyMapEvent> & {
|
|
277
|
-
data_decoded: MutateTokenPropertyMapEvent;
|
|
278
|
-
type_arguments: [];
|
|
279
|
-
};
|
|
280
|
-
interface Royalty {
|
|
281
|
-
royalty_points_numerator: bigint;
|
|
282
|
-
royalty_points_denominator: bigint;
|
|
283
|
-
payee_address: MoveAddressType;
|
|
284
|
-
}
|
|
285
|
-
namespace Royalty {
|
|
286
|
-
const TYPE_QNAME = "0x3::token::Royalty";
|
|
287
|
-
function type(): TypeDescriptor<Royalty>;
|
|
288
|
-
}
|
|
289
|
-
interface Token {
|
|
290
|
-
id: token.TokenId;
|
|
291
|
-
amount: bigint;
|
|
292
|
-
token_properties: property_map.PropertyMap;
|
|
293
|
-
}
|
|
294
|
-
namespace Token {
|
|
295
|
-
const TYPE_QNAME = "0x3::token::Token";
|
|
296
|
-
function type(): TypeDescriptor<Token>;
|
|
297
|
-
}
|
|
298
|
-
interface TokenData {
|
|
299
|
-
maximum: bigint;
|
|
300
|
-
largest_property_version: bigint;
|
|
301
|
-
supply: bigint;
|
|
302
|
-
uri: string;
|
|
303
|
-
royalty: token.Royalty;
|
|
304
|
-
name: string;
|
|
305
|
-
description: string;
|
|
306
|
-
default_properties: property_map.PropertyMap;
|
|
307
|
-
mutability_config: token.TokenMutabilityConfig;
|
|
308
|
-
}
|
|
309
|
-
namespace TokenData {
|
|
310
|
-
const TYPE_QNAME = "0x3::token::TokenData";
|
|
311
|
-
function type(): TypeDescriptor<TokenData>;
|
|
312
|
-
}
|
|
313
|
-
interface TokenDataCreation {
|
|
314
|
-
creator: MoveAddressType;
|
|
315
|
-
id: token.TokenDataId;
|
|
316
|
-
description: string;
|
|
317
|
-
maximum: bigint;
|
|
318
|
-
uri: string;
|
|
319
|
-
royalty_payee_address: MoveAddressType;
|
|
320
|
-
royalty_points_denominator: bigint;
|
|
321
|
-
royalty_points_numerator: bigint;
|
|
322
|
-
name: string;
|
|
323
|
-
mutability_config: token.TokenMutabilityConfig;
|
|
324
|
-
property_keys: string[];
|
|
325
|
-
property_values: string[];
|
|
326
|
-
property_types: string[];
|
|
327
|
-
}
|
|
328
|
-
namespace TokenDataCreation {
|
|
329
|
-
const TYPE_QNAME = "0x3::token::TokenDataCreation";
|
|
330
|
-
function type(): TypeDescriptor<TokenDataCreation>;
|
|
331
|
-
}
|
|
332
|
-
type TokenDataCreationInstance = TypedEventInstance<TokenDataCreation> & {
|
|
333
|
-
data_decoded: TokenDataCreation;
|
|
334
|
-
type_arguments: [];
|
|
335
|
-
};
|
|
336
|
-
interface TokenDataId {
|
|
337
|
-
creator: MoveAddressType;
|
|
338
|
-
collection: string;
|
|
339
|
-
name: string;
|
|
340
|
-
}
|
|
341
|
-
namespace TokenDataId {
|
|
342
|
-
const TYPE_QNAME = "0x3::token::TokenDataId";
|
|
343
|
-
function type(): TypeDescriptor<TokenDataId>;
|
|
344
|
-
}
|
|
345
|
-
interface TokenDeposit {
|
|
346
|
-
account: MoveAddressType;
|
|
347
|
-
id: token.TokenId;
|
|
348
|
-
amount: bigint;
|
|
349
|
-
}
|
|
350
|
-
namespace TokenDeposit {
|
|
351
|
-
const TYPE_QNAME = "0x3::token::TokenDeposit";
|
|
352
|
-
function type(): TypeDescriptor<TokenDeposit>;
|
|
353
|
-
}
|
|
354
|
-
type TokenDepositInstance = TypedEventInstance<TokenDeposit> & {
|
|
355
|
-
data_decoded: TokenDeposit;
|
|
356
|
-
type_arguments: [];
|
|
357
|
-
};
|
|
358
|
-
interface TokenId {
|
|
359
|
-
token_data_id: token.TokenDataId;
|
|
360
|
-
property_version: bigint;
|
|
361
|
-
}
|
|
362
|
-
namespace TokenId {
|
|
363
|
-
const TYPE_QNAME = "0x3::token::TokenId";
|
|
364
|
-
function type(): TypeDescriptor<TokenId>;
|
|
365
|
-
}
|
|
366
|
-
interface TokenMutabilityConfig {
|
|
367
|
-
maximum: boolean;
|
|
368
|
-
uri: boolean;
|
|
369
|
-
royalty: boolean;
|
|
370
|
-
description: boolean;
|
|
371
|
-
properties: boolean;
|
|
372
|
-
}
|
|
373
|
-
namespace TokenMutabilityConfig {
|
|
374
|
-
const TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
|
|
375
|
-
function type(): TypeDescriptor<TokenMutabilityConfig>;
|
|
376
|
-
}
|
|
377
|
-
interface TokenStore {
|
|
378
|
-
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
|
379
|
-
direct_transfer: boolean;
|
|
380
|
-
deposit_events: _0x1.event.EventHandle<token.DepositEvent>;
|
|
381
|
-
withdraw_events: _0x1.event.EventHandle<token.WithdrawEvent>;
|
|
382
|
-
burn_events: _0x1.event.EventHandle<token.BurnTokenEvent>;
|
|
383
|
-
mutate_token_property_events: _0x1.event.EventHandle<token.MutateTokenPropertyMapEvent>;
|
|
384
|
-
}
|
|
385
|
-
namespace TokenStore {
|
|
386
|
-
const TYPE_QNAME = "0x3::token::TokenStore";
|
|
387
|
-
function type(): TypeDescriptor<TokenStore>;
|
|
388
|
-
}
|
|
389
|
-
interface TokenWithdraw {
|
|
390
|
-
account: MoveAddressType;
|
|
391
|
-
id: token.TokenId;
|
|
392
|
-
amount: bigint;
|
|
393
|
-
}
|
|
394
|
-
namespace TokenWithdraw {
|
|
395
|
-
const TYPE_QNAME = "0x3::token::TokenWithdraw";
|
|
396
|
-
function type(): TypeDescriptor<TokenWithdraw>;
|
|
397
|
-
}
|
|
398
|
-
type TokenWithdrawInstance = TypedEventInstance<TokenWithdraw> & {
|
|
399
|
-
data_decoded: TokenWithdraw;
|
|
400
|
-
type_arguments: [];
|
|
401
|
-
};
|
|
402
|
-
interface WithdrawCapability {
|
|
403
|
-
token_owner: MoveAddressType;
|
|
404
|
-
token_id: token.TokenId;
|
|
405
|
-
amount: bigint;
|
|
406
|
-
expiration_sec: bigint;
|
|
407
|
-
}
|
|
408
|
-
namespace WithdrawCapability {
|
|
409
|
-
const TYPE_QNAME = "0x3::token::WithdrawCapability";
|
|
410
|
-
function type(): TypeDescriptor<WithdrawCapability>;
|
|
411
|
-
}
|
|
412
|
-
type WithdrawCapabilityInstance = TypedEventInstance<WithdrawCapability> & {
|
|
413
|
-
data_decoded: WithdrawCapability;
|
|
414
|
-
type_arguments: [];
|
|
415
|
-
};
|
|
416
|
-
namespace entry {
|
|
417
|
-
function burn(client: Aptos, account: AptosAccount, request: {
|
|
418
|
-
typeArguments: [];
|
|
419
|
-
functionArguments: [MoveAddressType, string, string, bigint, bigint];
|
|
420
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
421
|
-
function burnByCreator(client: Aptos, account: AptosAccount, request: {
|
|
422
|
-
typeArguments: [];
|
|
423
|
-
functionArguments: [MoveAddressType, string, string, bigint, bigint];
|
|
424
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
425
|
-
function createCollectionScript(client: Aptos, account: AptosAccount, request: {
|
|
426
|
-
typeArguments: [];
|
|
427
|
-
functionArguments: [string, string, string, bigint, boolean[]];
|
|
428
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
429
|
-
function createTokenScript(client: Aptos, account: AptosAccount, request: {
|
|
430
|
-
typeArguments: [];
|
|
431
|
-
functionArguments: [
|
|
432
|
-
string,
|
|
433
|
-
string,
|
|
434
|
-
string,
|
|
435
|
-
bigint,
|
|
436
|
-
bigint,
|
|
437
|
-
string,
|
|
438
|
-
MoveAddressType,
|
|
439
|
-
bigint,
|
|
440
|
-
bigint,
|
|
441
|
-
boolean[],
|
|
442
|
-
string[],
|
|
443
|
-
string[],
|
|
444
|
-
string[]
|
|
445
|
-
];
|
|
446
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
447
|
-
function directTransferScript(client: Aptos, account: AptosAccount, request: {
|
|
448
|
-
typeArguments: [];
|
|
449
|
-
functionArguments: [
|
|
450
|
-
MoveAddressType,
|
|
451
|
-
MoveAddressType,
|
|
452
|
-
string,
|
|
453
|
-
string,
|
|
454
|
-
bigint,
|
|
455
|
-
bigint
|
|
456
|
-
];
|
|
457
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
458
|
-
function initializeTokenScript(client: Aptos, account: AptosAccount, request: {
|
|
459
|
-
typeArguments: [];
|
|
460
|
-
functionArguments: [];
|
|
461
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
462
|
-
function mintScript(client: Aptos, account: AptosAccount, request: {
|
|
463
|
-
typeArguments: [];
|
|
464
|
-
functionArguments: [MoveAddressType, string, string, bigint];
|
|
465
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
466
|
-
function mutateTokenProperties(client: Aptos, account: AptosAccount, request: {
|
|
467
|
-
typeArguments: [];
|
|
468
|
-
functionArguments: [
|
|
469
|
-
MoveAddressType,
|
|
470
|
-
MoveAddressType,
|
|
471
|
-
string,
|
|
472
|
-
string,
|
|
473
|
-
bigint,
|
|
474
|
-
bigint,
|
|
475
|
-
string[],
|
|
476
|
-
string[],
|
|
477
|
-
string[]
|
|
478
|
-
];
|
|
479
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
480
|
-
function optInDirectTransfer(client: Aptos, account: AptosAccount, request: {
|
|
481
|
-
typeArguments: [];
|
|
482
|
-
functionArguments: [boolean];
|
|
483
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
484
|
-
function transferWithOptIn(client: Aptos, account: AptosAccount, request: {
|
|
485
|
-
typeArguments: [];
|
|
486
|
-
functionArguments: [
|
|
487
|
-
MoveAddressType,
|
|
488
|
-
string,
|
|
489
|
-
string,
|
|
490
|
-
bigint,
|
|
491
|
-
MoveAddressType,
|
|
492
|
-
bigint
|
|
493
|
-
];
|
|
494
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
495
|
-
}
|
|
496
|
-
namespace view {
|
|
497
|
-
function getCollectionMutabilityConfig(client: Aptos, request: {
|
|
498
|
-
functionArguments: [MoveAddressType, string];
|
|
499
|
-
}, version?: bigint): Promise<[token.CollectionMutabilityConfig]>;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
export declare namespace property_map {
|
|
503
|
-
interface PropertyMap {
|
|
504
|
-
map: _0x1.simple_map.SimpleMap<string, property_map.PropertyValue>;
|
|
505
|
-
}
|
|
506
|
-
namespace PropertyMap {
|
|
507
|
-
const TYPE_QNAME = "0x3::property_map::PropertyMap";
|
|
508
|
-
function type(): TypeDescriptor<PropertyMap>;
|
|
509
|
-
}
|
|
510
|
-
interface PropertyValue {
|
|
511
|
-
value: string;
|
|
512
|
-
type: string;
|
|
513
|
-
}
|
|
514
|
-
namespace PropertyValue {
|
|
515
|
-
const TYPE_QNAME = "0x3::property_map::PropertyValue";
|
|
516
|
-
function type(): TypeDescriptor<PropertyValue>;
|
|
517
|
-
}
|
|
518
|
-
namespace entry { }
|
|
519
|
-
namespace view { }
|
|
520
|
-
}
|
|
521
|
-
export declare namespace token_coin_swap {
|
|
522
|
-
interface TokenCoinSwap<T0> {
|
|
523
|
-
token_amount: bigint;
|
|
524
|
-
min_price_per_token: bigint;
|
|
525
|
-
}
|
|
526
|
-
namespace TokenCoinSwap {
|
|
527
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenCoinSwap";
|
|
528
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenCoinSwap<T0>>;
|
|
529
|
-
}
|
|
530
|
-
type TokenCoinSwapInstance = TypedEventInstance<TokenCoinSwap<any>> & {
|
|
531
|
-
data_decoded: TokenCoinSwap<any>;
|
|
532
|
-
type_arguments: [string];
|
|
533
|
-
};
|
|
534
|
-
interface TokenEscrow {
|
|
535
|
-
token: token.Token;
|
|
536
|
-
locked_until_secs: bigint;
|
|
537
|
-
}
|
|
538
|
-
namespace TokenEscrow {
|
|
539
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenEscrow";
|
|
540
|
-
function type(): TypeDescriptor<TokenEscrow>;
|
|
541
|
-
}
|
|
542
|
-
interface TokenListingEvent {
|
|
543
|
-
token_id: token.TokenId;
|
|
544
|
-
amount: bigint;
|
|
545
|
-
min_price: bigint;
|
|
546
|
-
locked_until_secs: bigint;
|
|
547
|
-
coin_type_info: _0x1.type_info.TypeInfo;
|
|
548
|
-
}
|
|
549
|
-
namespace TokenListingEvent {
|
|
550
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenListingEvent";
|
|
551
|
-
function type(): TypeDescriptor<TokenListingEvent>;
|
|
552
|
-
}
|
|
553
|
-
type TokenListingEventInstance = TypedEventInstance<TokenListingEvent> & {
|
|
554
|
-
data_decoded: TokenListingEvent;
|
|
555
|
-
type_arguments: [];
|
|
556
|
-
};
|
|
557
|
-
interface TokenListings<T0> {
|
|
558
|
-
listings: _0x1.table.Table<token.TokenId, token_coin_swap.TokenCoinSwap<T0>>;
|
|
559
|
-
listing_events: _0x1.event.EventHandle<token_coin_swap.TokenListingEvent>;
|
|
560
|
-
swap_events: _0x1.event.EventHandle<token_coin_swap.TokenSwapEvent>;
|
|
561
|
-
}
|
|
562
|
-
namespace TokenListings {
|
|
563
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenListings";
|
|
564
|
-
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenListings<T0>>;
|
|
565
|
-
}
|
|
566
|
-
interface TokenStoreEscrow {
|
|
567
|
-
token_escrows: _0x1.table.Table<token.TokenId, token_coin_swap.TokenEscrow>;
|
|
568
|
-
}
|
|
569
|
-
namespace TokenStoreEscrow {
|
|
570
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenStoreEscrow";
|
|
571
|
-
function type(): TypeDescriptor<TokenStoreEscrow>;
|
|
572
|
-
}
|
|
573
|
-
interface TokenSwapEvent {
|
|
574
|
-
token_id: token.TokenId;
|
|
575
|
-
token_buyer: MoveAddressType;
|
|
576
|
-
token_amount: bigint;
|
|
577
|
-
coin_amount: bigint;
|
|
578
|
-
coin_type_info: _0x1.type_info.TypeInfo;
|
|
579
|
-
}
|
|
580
|
-
namespace TokenSwapEvent {
|
|
581
|
-
const TYPE_QNAME = "0x3::token_coin_swap::TokenSwapEvent";
|
|
582
|
-
function type(): TypeDescriptor<TokenSwapEvent>;
|
|
583
|
-
}
|
|
584
|
-
type TokenSwapEventInstance = TypedEventInstance<TokenSwapEvent> & {
|
|
585
|
-
data_decoded: TokenSwapEvent;
|
|
586
|
-
type_arguments: [];
|
|
587
|
-
};
|
|
588
|
-
namespace entry {
|
|
589
|
-
function listTokenForSwap<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
590
|
-
typeArguments: [MoveStructId];
|
|
591
|
-
functionArguments: [
|
|
592
|
-
MoveAddressType,
|
|
593
|
-
string,
|
|
594
|
-
string,
|
|
595
|
-
bigint,
|
|
596
|
-
bigint,
|
|
597
|
-
bigint,
|
|
598
|
-
bigint
|
|
599
|
-
];
|
|
600
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
601
|
-
}
|
|
602
|
-
namespace view { }
|
|
603
|
-
}
|
|
604
|
-
export declare namespace token_transfers {
|
|
605
|
-
interface CancelOffer {
|
|
606
|
-
account: MoveAddressType;
|
|
607
|
-
to_address: MoveAddressType;
|
|
608
|
-
token_id: token.TokenId;
|
|
609
|
-
amount: bigint;
|
|
610
|
-
}
|
|
611
|
-
namespace CancelOffer {
|
|
612
|
-
const TYPE_QNAME = "0x3::token_transfers::CancelOffer";
|
|
613
|
-
function type(): TypeDescriptor<CancelOffer>;
|
|
614
|
-
}
|
|
615
|
-
type CancelOfferInstance = TypedEventInstance<CancelOffer> & {
|
|
616
|
-
data_decoded: CancelOffer;
|
|
617
|
-
type_arguments: [];
|
|
618
|
-
};
|
|
619
|
-
interface Claim {
|
|
620
|
-
account: MoveAddressType;
|
|
621
|
-
to_address: MoveAddressType;
|
|
622
|
-
token_id: token.TokenId;
|
|
623
|
-
amount: bigint;
|
|
624
|
-
}
|
|
625
|
-
namespace Claim {
|
|
626
|
-
const TYPE_QNAME = "0x3::token_transfers::Claim";
|
|
627
|
-
function type(): TypeDescriptor<Claim>;
|
|
628
|
-
}
|
|
629
|
-
type ClaimInstance = TypedEventInstance<Claim> & {
|
|
630
|
-
data_decoded: Claim;
|
|
631
|
-
type_arguments: [];
|
|
632
|
-
};
|
|
633
|
-
interface Offer {
|
|
634
|
-
account: MoveAddressType;
|
|
635
|
-
to_address: MoveAddressType;
|
|
636
|
-
token_id: token.TokenId;
|
|
637
|
-
amount: bigint;
|
|
638
|
-
}
|
|
639
|
-
namespace Offer {
|
|
640
|
-
const TYPE_QNAME = "0x3::token_transfers::Offer";
|
|
641
|
-
function type(): TypeDescriptor<Offer>;
|
|
642
|
-
}
|
|
643
|
-
type OfferInstance = TypedEventInstance<Offer> & {
|
|
644
|
-
data_decoded: Offer;
|
|
645
|
-
type_arguments: [];
|
|
646
|
-
};
|
|
647
|
-
interface PendingClaims {
|
|
648
|
-
pending_claims: _0x1.table.Table<token_transfers.TokenOfferId, token.Token>;
|
|
649
|
-
offer_events: _0x1.event.EventHandle<token_transfers.TokenOfferEvent>;
|
|
650
|
-
cancel_offer_events: _0x1.event.EventHandle<token_transfers.TokenCancelOfferEvent>;
|
|
651
|
-
claim_events: _0x1.event.EventHandle<token_transfers.TokenClaimEvent>;
|
|
652
|
-
}
|
|
653
|
-
namespace PendingClaims {
|
|
654
|
-
const TYPE_QNAME = "0x3::token_transfers::PendingClaims";
|
|
655
|
-
function type(): TypeDescriptor<PendingClaims>;
|
|
656
|
-
}
|
|
657
|
-
interface TokenCancelOffer {
|
|
658
|
-
to_address: MoveAddressType;
|
|
659
|
-
token_id: token.TokenId;
|
|
660
|
-
amount: bigint;
|
|
661
|
-
}
|
|
662
|
-
namespace TokenCancelOffer {
|
|
663
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOffer";
|
|
664
|
-
function type(): TypeDescriptor<TokenCancelOffer>;
|
|
665
|
-
}
|
|
666
|
-
type TokenCancelOfferInstance = TypedEventInstance<TokenCancelOffer> & {
|
|
667
|
-
data_decoded: TokenCancelOffer;
|
|
668
|
-
type_arguments: [];
|
|
669
|
-
};
|
|
670
|
-
interface TokenCancelOfferEvent {
|
|
671
|
-
to_address: MoveAddressType;
|
|
672
|
-
token_id: token.TokenId;
|
|
673
|
-
amount: bigint;
|
|
674
|
-
}
|
|
675
|
-
namespace TokenCancelOfferEvent {
|
|
676
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenCancelOfferEvent";
|
|
677
|
-
function type(): TypeDescriptor<TokenCancelOfferEvent>;
|
|
678
|
-
}
|
|
679
|
-
type TokenCancelOfferEventInstance = TypedEventInstance<TokenCancelOfferEvent> & {
|
|
680
|
-
data_decoded: TokenCancelOfferEvent;
|
|
681
|
-
type_arguments: [];
|
|
682
|
-
};
|
|
683
|
-
interface TokenClaim {
|
|
684
|
-
to_address: MoveAddressType;
|
|
685
|
-
token_id: token.TokenId;
|
|
686
|
-
amount: bigint;
|
|
687
|
-
}
|
|
688
|
-
namespace TokenClaim {
|
|
689
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenClaim";
|
|
690
|
-
function type(): TypeDescriptor<TokenClaim>;
|
|
691
|
-
}
|
|
692
|
-
type TokenClaimInstance = TypedEventInstance<TokenClaim> & {
|
|
693
|
-
data_decoded: TokenClaim;
|
|
694
|
-
type_arguments: [];
|
|
695
|
-
};
|
|
696
|
-
interface TokenClaimEvent {
|
|
697
|
-
to_address: MoveAddressType;
|
|
698
|
-
token_id: token.TokenId;
|
|
699
|
-
amount: bigint;
|
|
700
|
-
}
|
|
701
|
-
namespace TokenClaimEvent {
|
|
702
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenClaimEvent";
|
|
703
|
-
function type(): TypeDescriptor<TokenClaimEvent>;
|
|
704
|
-
}
|
|
705
|
-
type TokenClaimEventInstance = TypedEventInstance<TokenClaimEvent> & {
|
|
706
|
-
data_decoded: TokenClaimEvent;
|
|
707
|
-
type_arguments: [];
|
|
708
|
-
};
|
|
709
|
-
interface TokenOffer {
|
|
710
|
-
to_address: MoveAddressType;
|
|
711
|
-
token_id: token.TokenId;
|
|
712
|
-
amount: bigint;
|
|
713
|
-
}
|
|
714
|
-
namespace TokenOffer {
|
|
715
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenOffer";
|
|
716
|
-
function type(): TypeDescriptor<TokenOffer>;
|
|
717
|
-
}
|
|
718
|
-
type TokenOfferInstance = TypedEventInstance<TokenOffer> & {
|
|
719
|
-
data_decoded: TokenOffer;
|
|
720
|
-
type_arguments: [];
|
|
721
|
-
};
|
|
722
|
-
interface TokenOfferEvent {
|
|
723
|
-
to_address: MoveAddressType;
|
|
724
|
-
token_id: token.TokenId;
|
|
725
|
-
amount: bigint;
|
|
726
|
-
}
|
|
727
|
-
namespace TokenOfferEvent {
|
|
728
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenOfferEvent";
|
|
729
|
-
function type(): TypeDescriptor<TokenOfferEvent>;
|
|
730
|
-
}
|
|
731
|
-
type TokenOfferEventInstance = TypedEventInstance<TokenOfferEvent> & {
|
|
732
|
-
data_decoded: TokenOfferEvent;
|
|
733
|
-
type_arguments: [];
|
|
734
|
-
};
|
|
735
|
-
interface TokenOfferId {
|
|
736
|
-
to_addr: MoveAddressType;
|
|
737
|
-
token_id: token.TokenId;
|
|
738
|
-
}
|
|
739
|
-
namespace TokenOfferId {
|
|
740
|
-
const TYPE_QNAME = "0x3::token_transfers::TokenOfferId";
|
|
741
|
-
function type(): TypeDescriptor<TokenOfferId>;
|
|
742
|
-
}
|
|
743
|
-
type TokenOfferIdInstance = TypedEventInstance<TokenOfferId> & {
|
|
744
|
-
data_decoded: TokenOfferId;
|
|
745
|
-
type_arguments: [];
|
|
746
|
-
};
|
|
747
|
-
namespace entry {
|
|
748
|
-
function cancelOfferScript(client: Aptos, account: AptosAccount, request: {
|
|
749
|
-
typeArguments: [];
|
|
750
|
-
functionArguments: [
|
|
751
|
-
MoveAddressType,
|
|
752
|
-
MoveAddressType,
|
|
753
|
-
MoveAddressType,
|
|
754
|
-
string,
|
|
755
|
-
string,
|
|
756
|
-
bigint
|
|
757
|
-
];
|
|
758
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
759
|
-
function claimScript(client: Aptos, account: AptosAccount, request: {
|
|
760
|
-
typeArguments: [];
|
|
761
|
-
functionArguments: [
|
|
762
|
-
MoveAddressType,
|
|
763
|
-
MoveAddressType,
|
|
764
|
-
MoveAddressType,
|
|
765
|
-
string,
|
|
766
|
-
string,
|
|
767
|
-
bigint
|
|
768
|
-
];
|
|
769
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
770
|
-
function offerScript(client: Aptos, account: AptosAccount, request: {
|
|
771
|
-
typeArguments: [];
|
|
772
|
-
functionArguments: [
|
|
773
|
-
MoveAddressType,
|
|
774
|
-
MoveAddressType,
|
|
775
|
-
MoveAddressType,
|
|
776
|
-
string,
|
|
777
|
-
string,
|
|
778
|
-
bigint,
|
|
779
|
-
bigint
|
|
780
|
-
];
|
|
781
|
-
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
782
|
-
}
|
|
783
|
-
namespace view { }
|
|
784
|
-
}
|
|
785
|
-
export declare namespace token_event_store {
|
|
786
|
-
interface CollectionDescriptionMutate {
|
|
787
|
-
creator_addr: MoveAddressType;
|
|
788
|
-
collection_name: string;
|
|
789
|
-
old_description: string;
|
|
790
|
-
new_description: string;
|
|
791
|
-
}
|
|
792
|
-
namespace CollectionDescriptionMutate {
|
|
793
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutate";
|
|
794
|
-
function type(): TypeDescriptor<CollectionDescriptionMutate>;
|
|
795
|
-
}
|
|
796
|
-
type CollectionDescriptionMutateInstance = TypedEventInstance<CollectionDescriptionMutate> & {
|
|
797
|
-
data_decoded: CollectionDescriptionMutate;
|
|
798
|
-
type_arguments: [];
|
|
799
|
-
};
|
|
800
|
-
interface CollectionDescriptionMutateEvent {
|
|
801
|
-
creator_addr: MoveAddressType;
|
|
802
|
-
collection_name: string;
|
|
803
|
-
old_description: string;
|
|
804
|
-
new_description: string;
|
|
805
|
-
}
|
|
806
|
-
namespace CollectionDescriptionMutateEvent {
|
|
807
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionDescriptionMutateEvent";
|
|
808
|
-
function type(): TypeDescriptor<CollectionDescriptionMutateEvent>;
|
|
809
|
-
}
|
|
810
|
-
type CollectionDescriptionMutateEventInstance = TypedEventInstance<CollectionDescriptionMutateEvent> & {
|
|
811
|
-
data_decoded: CollectionDescriptionMutateEvent;
|
|
812
|
-
type_arguments: [];
|
|
813
|
-
};
|
|
814
|
-
interface CollectionMaximumMutate {
|
|
815
|
-
creator_addr: MoveAddressType;
|
|
816
|
-
collection_name: string;
|
|
817
|
-
old_maximum: bigint;
|
|
818
|
-
new_maximum: bigint;
|
|
819
|
-
}
|
|
820
|
-
namespace CollectionMaximumMutate {
|
|
821
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionMaximumMutate";
|
|
822
|
-
function type(): TypeDescriptor<CollectionMaximumMutate>;
|
|
823
|
-
}
|
|
824
|
-
type CollectionMaximumMutateInstance = TypedEventInstance<CollectionMaximumMutate> & {
|
|
825
|
-
data_decoded: CollectionMaximumMutate;
|
|
826
|
-
type_arguments: [];
|
|
827
|
-
};
|
|
828
|
-
interface CollectionMaxiumMutate {
|
|
829
|
-
creator_addr: MoveAddressType;
|
|
830
|
-
collection_name: string;
|
|
831
|
-
old_maximum: bigint;
|
|
832
|
-
new_maximum: bigint;
|
|
833
|
-
}
|
|
834
|
-
namespace CollectionMaxiumMutate {
|
|
835
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutate";
|
|
836
|
-
function type(): TypeDescriptor<CollectionMaxiumMutate>;
|
|
837
|
-
}
|
|
838
|
-
type CollectionMaxiumMutateInstance = TypedEventInstance<CollectionMaxiumMutate> & {
|
|
839
|
-
data_decoded: CollectionMaxiumMutate;
|
|
840
|
-
type_arguments: [];
|
|
841
|
-
};
|
|
842
|
-
interface CollectionMaxiumMutateEvent {
|
|
843
|
-
creator_addr: MoveAddressType;
|
|
844
|
-
collection_name: string;
|
|
845
|
-
old_maximum: bigint;
|
|
846
|
-
new_maximum: bigint;
|
|
847
|
-
}
|
|
848
|
-
namespace CollectionMaxiumMutateEvent {
|
|
849
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionMaxiumMutateEvent";
|
|
850
|
-
function type(): TypeDescriptor<CollectionMaxiumMutateEvent>;
|
|
851
|
-
}
|
|
852
|
-
type CollectionMaxiumMutateEventInstance = TypedEventInstance<CollectionMaxiumMutateEvent> & {
|
|
853
|
-
data_decoded: CollectionMaxiumMutateEvent;
|
|
854
|
-
type_arguments: [];
|
|
855
|
-
};
|
|
856
|
-
interface CollectionUriMutate {
|
|
857
|
-
creator_addr: MoveAddressType;
|
|
858
|
-
collection_name: string;
|
|
859
|
-
old_uri: string;
|
|
860
|
-
new_uri: string;
|
|
861
|
-
}
|
|
862
|
-
namespace CollectionUriMutate {
|
|
863
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutate";
|
|
864
|
-
function type(): TypeDescriptor<CollectionUriMutate>;
|
|
865
|
-
}
|
|
866
|
-
type CollectionUriMutateInstance = TypedEventInstance<CollectionUriMutate> & {
|
|
867
|
-
data_decoded: CollectionUriMutate;
|
|
868
|
-
type_arguments: [];
|
|
869
|
-
};
|
|
870
|
-
interface CollectionUriMutateEvent {
|
|
871
|
-
creator_addr: MoveAddressType;
|
|
872
|
-
collection_name: string;
|
|
873
|
-
old_uri: string;
|
|
874
|
-
new_uri: string;
|
|
875
|
-
}
|
|
876
|
-
namespace CollectionUriMutateEvent {
|
|
877
|
-
const TYPE_QNAME = "0x3::token_event_store::CollectionUriMutateEvent";
|
|
878
|
-
function type(): TypeDescriptor<CollectionUriMutateEvent>;
|
|
879
|
-
}
|
|
880
|
-
type CollectionUriMutateEventInstance = TypedEventInstance<CollectionUriMutateEvent> & {
|
|
881
|
-
data_decoded: CollectionUriMutateEvent;
|
|
882
|
-
type_arguments: [];
|
|
883
|
-
};
|
|
884
|
-
interface DefaultPropertyMutate {
|
|
885
|
-
creator: MoveAddressType;
|
|
886
|
-
collection: string;
|
|
887
|
-
token: string;
|
|
888
|
-
keys: string[];
|
|
889
|
-
old_values: _0x1.option.Option<property_map.PropertyValue>[];
|
|
890
|
-
new_values: property_map.PropertyValue[];
|
|
891
|
-
}
|
|
892
|
-
namespace DefaultPropertyMutate {
|
|
893
|
-
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutate";
|
|
894
|
-
function type(): TypeDescriptor<DefaultPropertyMutate>;
|
|
895
|
-
}
|
|
896
|
-
type DefaultPropertyMutateInstance = TypedEventInstance<DefaultPropertyMutate> & {
|
|
897
|
-
data_decoded: DefaultPropertyMutate;
|
|
898
|
-
type_arguments: [];
|
|
899
|
-
};
|
|
900
|
-
interface DefaultPropertyMutateEvent {
|
|
901
|
-
creator: MoveAddressType;
|
|
902
|
-
collection: string;
|
|
903
|
-
token: string;
|
|
904
|
-
keys: string[];
|
|
905
|
-
old_values: _0x1.option.Option<property_map.PropertyValue>[];
|
|
906
|
-
new_values: property_map.PropertyValue[];
|
|
907
|
-
}
|
|
908
|
-
namespace DefaultPropertyMutateEvent {
|
|
909
|
-
const TYPE_QNAME = "0x3::token_event_store::DefaultPropertyMutateEvent";
|
|
910
|
-
function type(): TypeDescriptor<DefaultPropertyMutateEvent>;
|
|
911
|
-
}
|
|
912
|
-
type DefaultPropertyMutateEventInstance = TypedEventInstance<DefaultPropertyMutateEvent> & {
|
|
913
|
-
data_decoded: DefaultPropertyMutateEvent;
|
|
914
|
-
type_arguments: [];
|
|
915
|
-
};
|
|
916
|
-
interface DescriptionMutate {
|
|
917
|
-
creator: MoveAddressType;
|
|
918
|
-
collection: string;
|
|
919
|
-
token: string;
|
|
920
|
-
old_description: string;
|
|
921
|
-
new_description: string;
|
|
922
|
-
}
|
|
923
|
-
namespace DescriptionMutate {
|
|
924
|
-
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutate";
|
|
925
|
-
function type(): TypeDescriptor<DescriptionMutate>;
|
|
926
|
-
}
|
|
927
|
-
type DescriptionMutateInstance = TypedEventInstance<DescriptionMutate> & {
|
|
928
|
-
data_decoded: DescriptionMutate;
|
|
929
|
-
type_arguments: [];
|
|
930
|
-
};
|
|
931
|
-
interface DescriptionMutateEvent {
|
|
932
|
-
creator: MoveAddressType;
|
|
933
|
-
collection: string;
|
|
934
|
-
token: string;
|
|
935
|
-
old_description: string;
|
|
936
|
-
new_description: string;
|
|
937
|
-
}
|
|
938
|
-
namespace DescriptionMutateEvent {
|
|
939
|
-
const TYPE_QNAME = "0x3::token_event_store::DescriptionMutateEvent";
|
|
940
|
-
function type(): TypeDescriptor<DescriptionMutateEvent>;
|
|
941
|
-
}
|
|
942
|
-
type DescriptionMutateEventInstance = TypedEventInstance<DescriptionMutateEvent> & {
|
|
943
|
-
data_decoded: DescriptionMutateEvent;
|
|
944
|
-
type_arguments: [];
|
|
945
|
-
};
|
|
946
|
-
interface MaximumMutate {
|
|
947
|
-
creator: MoveAddressType;
|
|
948
|
-
collection: string;
|
|
949
|
-
token: string;
|
|
950
|
-
old_maximum: bigint;
|
|
951
|
-
new_maximum: bigint;
|
|
952
|
-
}
|
|
953
|
-
namespace MaximumMutate {
|
|
954
|
-
const TYPE_QNAME = "0x3::token_event_store::MaximumMutate";
|
|
955
|
-
function type(): TypeDescriptor<MaximumMutate>;
|
|
956
|
-
}
|
|
957
|
-
type MaximumMutateInstance = TypedEventInstance<MaximumMutate> & {
|
|
958
|
-
data_decoded: MaximumMutate;
|
|
959
|
-
type_arguments: [];
|
|
960
|
-
};
|
|
961
|
-
interface MaxiumMutateEvent {
|
|
962
|
-
creator: MoveAddressType;
|
|
963
|
-
collection: string;
|
|
964
|
-
token: string;
|
|
965
|
-
old_maximum: bigint;
|
|
966
|
-
new_maximum: bigint;
|
|
967
|
-
}
|
|
968
|
-
namespace MaxiumMutateEvent {
|
|
969
|
-
const TYPE_QNAME = "0x3::token_event_store::MaxiumMutateEvent";
|
|
970
|
-
function type(): TypeDescriptor<MaxiumMutateEvent>;
|
|
971
|
-
}
|
|
972
|
-
type MaxiumMutateEventInstance = TypedEventInstance<MaxiumMutateEvent> & {
|
|
973
|
-
data_decoded: MaxiumMutateEvent;
|
|
974
|
-
type_arguments: [];
|
|
975
|
-
};
|
|
976
|
-
interface OptInTransfer {
|
|
977
|
-
account_address: MoveAddressType;
|
|
978
|
-
opt_in: boolean;
|
|
979
|
-
}
|
|
980
|
-
namespace OptInTransfer {
|
|
981
|
-
const TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
|
|
982
|
-
function type(): TypeDescriptor<OptInTransfer>;
|
|
983
|
-
}
|
|
984
|
-
type OptInTransferInstance = TypedEventInstance<OptInTransfer> & {
|
|
985
|
-
data_decoded: OptInTransfer;
|
|
986
|
-
type_arguments: [];
|
|
987
|
-
};
|
|
988
|
-
interface OptInTransferEvent {
|
|
989
|
-
opt_in: boolean;
|
|
990
|
-
}
|
|
991
|
-
namespace OptInTransferEvent {
|
|
992
|
-
const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
|
|
993
|
-
function type(): TypeDescriptor<OptInTransferEvent>;
|
|
994
|
-
}
|
|
995
|
-
type OptInTransferEventInstance = TypedEventInstance<OptInTransferEvent> & {
|
|
996
|
-
data_decoded: OptInTransferEvent;
|
|
997
|
-
type_arguments: [];
|
|
998
|
-
};
|
|
999
|
-
interface RoyaltyMutate {
|
|
1000
|
-
creator: MoveAddressType;
|
|
1001
|
-
collection: string;
|
|
1002
|
-
token: string;
|
|
1003
|
-
old_royalty_numerator: bigint;
|
|
1004
|
-
old_royalty_denominator: bigint;
|
|
1005
|
-
old_royalty_payee_addr: MoveAddressType;
|
|
1006
|
-
new_royalty_numerator: bigint;
|
|
1007
|
-
new_royalty_denominator: bigint;
|
|
1008
|
-
new_royalty_payee_addr: MoveAddressType;
|
|
1009
|
-
}
|
|
1010
|
-
namespace RoyaltyMutate {
|
|
1011
|
-
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutate";
|
|
1012
|
-
function type(): TypeDescriptor<RoyaltyMutate>;
|
|
1013
|
-
}
|
|
1014
|
-
type RoyaltyMutateInstance = TypedEventInstance<RoyaltyMutate> & {
|
|
1015
|
-
data_decoded: RoyaltyMutate;
|
|
1016
|
-
type_arguments: [];
|
|
1017
|
-
};
|
|
1018
|
-
interface RoyaltyMutateEvent {
|
|
1019
|
-
creator: MoveAddressType;
|
|
1020
|
-
collection: string;
|
|
1021
|
-
token: string;
|
|
1022
|
-
old_royalty_numerator: bigint;
|
|
1023
|
-
old_royalty_denominator: bigint;
|
|
1024
|
-
old_royalty_payee_addr: MoveAddressType;
|
|
1025
|
-
new_royalty_numerator: bigint;
|
|
1026
|
-
new_royalty_denominator: bigint;
|
|
1027
|
-
new_royalty_payee_addr: MoveAddressType;
|
|
1028
|
-
}
|
|
1029
|
-
namespace RoyaltyMutateEvent {
|
|
1030
|
-
const TYPE_QNAME = "0x3::token_event_store::RoyaltyMutateEvent";
|
|
1031
|
-
function type(): TypeDescriptor<RoyaltyMutateEvent>;
|
|
1032
|
-
}
|
|
1033
|
-
type RoyaltyMutateEventInstance = TypedEventInstance<RoyaltyMutateEvent> & {
|
|
1034
|
-
data_decoded: RoyaltyMutateEvent;
|
|
1035
|
-
type_arguments: [];
|
|
1036
|
-
};
|
|
1037
|
-
interface TokenEventStoreV1 {
|
|
1038
|
-
collection_uri_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionUriMutateEvent>;
|
|
1039
|
-
collection_maximum_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionMaxiumMutateEvent>;
|
|
1040
|
-
collection_description_mutate_events: _0x1.event.EventHandle<token_event_store.CollectionDescriptionMutateEvent>;
|
|
1041
|
-
opt_in_events: _0x1.event.EventHandle<token_event_store.OptInTransferEvent>;
|
|
1042
|
-
uri_mutate_events: _0x1.event.EventHandle<token_event_store.UriMutationEvent>;
|
|
1043
|
-
default_property_mutate_events: _0x1.event.EventHandle<token_event_store.DefaultPropertyMutateEvent>;
|
|
1044
|
-
description_mutate_events: _0x1.event.EventHandle<token_event_store.DescriptionMutateEvent>;
|
|
1045
|
-
royalty_mutate_events: _0x1.event.EventHandle<token_event_store.RoyaltyMutateEvent>;
|
|
1046
|
-
maximum_mutate_events: _0x1.event.EventHandle<token_event_store.MaxiumMutateEvent>;
|
|
1047
|
-
extension: _0x1.option.Option<_0x1.any$.Any>;
|
|
1048
|
-
}
|
|
1049
|
-
namespace TokenEventStoreV1 {
|
|
1050
|
-
const TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
|
|
1051
|
-
function type(): TypeDescriptor<TokenEventStoreV1>;
|
|
1052
|
-
}
|
|
1053
|
-
interface UriMutation {
|
|
1054
|
-
creator: MoveAddressType;
|
|
1055
|
-
collection: string;
|
|
1056
|
-
token: string;
|
|
1057
|
-
old_uri: string;
|
|
1058
|
-
new_uri: string;
|
|
1059
|
-
}
|
|
1060
|
-
namespace UriMutation {
|
|
1061
|
-
const TYPE_QNAME = "0x3::token_event_store::UriMutation";
|
|
1062
|
-
function type(): TypeDescriptor<UriMutation>;
|
|
1063
|
-
}
|
|
1064
|
-
type UriMutationInstance = TypedEventInstance<UriMutation> & {
|
|
1065
|
-
data_decoded: UriMutation;
|
|
1066
|
-
type_arguments: [];
|
|
1067
|
-
};
|
|
1068
|
-
interface UriMutationEvent {
|
|
1069
|
-
creator: MoveAddressType;
|
|
1070
|
-
collection: string;
|
|
1071
|
-
token: string;
|
|
1072
|
-
old_uri: string;
|
|
1073
|
-
new_uri: string;
|
|
1074
|
-
}
|
|
1075
|
-
namespace UriMutationEvent {
|
|
1076
|
-
const TYPE_QNAME = "0x3::token_event_store::UriMutationEvent";
|
|
1077
|
-
function type(): TypeDescriptor<UriMutationEvent>;
|
|
1078
|
-
}
|
|
1079
|
-
type UriMutationEventInstance = TypedEventInstance<UriMutationEvent> & {
|
|
1080
|
-
data_decoded: UriMutationEvent;
|
|
1081
|
-
type_arguments: [];
|
|
1082
|
-
};
|
|
1083
|
-
namespace entry { }
|
|
1084
|
-
namespace view { }
|
|
1085
|
-
}
|
|
1086
|
-
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
1087
|
-
//# sourceMappingURL=0x3.d.ts.map
|