@typemove/aptos 1.6.11 → 1.6.12-rc.2
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 +60 -60
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +31 -31
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +1 -1
- package/dist/cjs/builtin/0x4.d.ts +40 -40
- package/dist/esm/builtin/0x1.d.ts +60 -60
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +30 -30
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +1 -1
- package/dist/esm/builtin/0x4.d.ts +40 -40
- package/package.json +2 -2
- package/src/builtin/0x1.ts +60 -60
- package/src/builtin/0x3.ts +1 -1
- package/src/builtin/0x4.ts +40 -40
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +1 -1
package/src/builtin/0x4.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as _0x1 from "./0x1.js";
|
|
|
23
23
|
|
|
24
24
|
export namespace token {
|
|
25
25
|
export interface BurnRef {
|
|
26
|
-
inner: _0x1.option.Option<_0x1.
|
|
26
|
+
inner: _0x1.option.Option<_0x1.object$.DeleteRef>;
|
|
27
27
|
self: _0x1.option.Option<MoveAddressType>;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -123,7 +123,7 @@ export namespace token {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export interface Token {
|
|
126
|
-
collection: _0x1.
|
|
126
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
127
127
|
index: bigint;
|
|
128
128
|
description: string;
|
|
129
129
|
name: string;
|
|
@@ -164,7 +164,7 @@ export namespace token {
|
|
|
164
164
|
client: Aptos,
|
|
165
165
|
request: {
|
|
166
166
|
typeArguments: [MoveStructId];
|
|
167
|
-
functionArguments: [_0x1.
|
|
167
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
168
168
|
},
|
|
169
169
|
version?: bigint,
|
|
170
170
|
): Promise<[string]> {
|
|
@@ -185,10 +185,10 @@ export namespace token {
|
|
|
185
185
|
client: Aptos,
|
|
186
186
|
request: {
|
|
187
187
|
typeArguments: [MoveStructId];
|
|
188
|
-
functionArguments: [_0x1.
|
|
188
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
189
189
|
},
|
|
190
190
|
version?: bigint,
|
|
191
|
-
): Promise<[_0x1.
|
|
191
|
+
): Promise<[_0x1.object$.Object<collection.Collection>]> {
|
|
192
192
|
const coder = defaultMoveCoder(client.config.fullnode);
|
|
193
193
|
const data: InputViewFunctionData = {
|
|
194
194
|
function: "0x4::token::collection_object",
|
|
@@ -230,7 +230,7 @@ export namespace token {
|
|
|
230
230
|
client: Aptos,
|
|
231
231
|
request: {
|
|
232
232
|
typeArguments: [MoveStructId];
|
|
233
|
-
functionArguments: [_0x1.
|
|
233
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
234
234
|
},
|
|
235
235
|
version?: bigint,
|
|
236
236
|
): Promise<[MoveAddressType]> {
|
|
@@ -251,7 +251,7 @@ export namespace token {
|
|
|
251
251
|
client: Aptos,
|
|
252
252
|
request: {
|
|
253
253
|
typeArguments: [MoveStructId];
|
|
254
|
-
functionArguments: [_0x1.
|
|
254
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
255
255
|
},
|
|
256
256
|
version?: bigint,
|
|
257
257
|
): Promise<[string]> {
|
|
@@ -273,7 +273,7 @@ export namespace token {
|
|
|
273
273
|
client: Aptos,
|
|
274
274
|
request: {
|
|
275
275
|
typeArguments: [MoveStructId];
|
|
276
|
-
functionArguments: [_0x1.
|
|
276
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
277
277
|
},
|
|
278
278
|
version?: bigint,
|
|
279
279
|
): Promise<[bigint]> {
|
|
@@ -294,7 +294,7 @@ export namespace token {
|
|
|
294
294
|
client: Aptos,
|
|
295
295
|
request: {
|
|
296
296
|
typeArguments: [MoveStructId];
|
|
297
|
-
functionArguments: [_0x1.
|
|
297
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
298
298
|
},
|
|
299
299
|
version?: bigint,
|
|
300
300
|
): Promise<[string]> {
|
|
@@ -315,7 +315,7 @@ export namespace token {
|
|
|
315
315
|
client: Aptos,
|
|
316
316
|
request: {
|
|
317
317
|
typeArguments: [MoveStructId];
|
|
318
|
-
functionArguments: [_0x1.
|
|
318
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
319
319
|
},
|
|
320
320
|
version?: bigint,
|
|
321
321
|
): Promise<[_0x1.option.Option<royalty.Royalty>]> {
|
|
@@ -337,7 +337,7 @@ export namespace token {
|
|
|
337
337
|
client: Aptos,
|
|
338
338
|
request: {
|
|
339
339
|
typeArguments: [MoveStructId];
|
|
340
|
-
functionArguments: [_0x1.
|
|
340
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
341
341
|
},
|
|
342
342
|
version?: bigint,
|
|
343
343
|
): Promise<[string]> {
|
|
@@ -359,7 +359,7 @@ export namespace token {
|
|
|
359
359
|
|
|
360
360
|
export namespace royalty {
|
|
361
361
|
export interface MutatorRef {
|
|
362
|
-
inner: _0x1.
|
|
362
|
+
inner: _0x1.object$.ExtendRef;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
export namespace MutatorRef {
|
|
@@ -584,7 +584,7 @@ export namespace collection {
|
|
|
584
584
|
|
|
585
585
|
export interface Mutation {
|
|
586
586
|
mutated_field_name: string;
|
|
587
|
-
collection: _0x1.
|
|
587
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
588
588
|
old_value: string;
|
|
589
589
|
new_value: string;
|
|
590
590
|
}
|
|
@@ -644,7 +644,7 @@ export namespace collection {
|
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
export interface SetMaxSupply {
|
|
647
|
-
collection: _0x1.
|
|
647
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
648
648
|
old_max_supply: bigint;
|
|
649
649
|
new_max_supply: bigint;
|
|
650
650
|
}
|
|
@@ -690,7 +690,7 @@ export namespace collection {
|
|
|
690
690
|
client: Aptos,
|
|
691
691
|
request: {
|
|
692
692
|
typeArguments: [MoveStructId];
|
|
693
|
-
functionArguments: [_0x1.
|
|
693
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
694
694
|
},
|
|
695
695
|
version?: bigint,
|
|
696
696
|
): Promise<[_0x1.option.Option<bigint>]> {
|
|
@@ -712,7 +712,7 @@ export namespace collection {
|
|
|
712
712
|
client: Aptos,
|
|
713
713
|
request: {
|
|
714
714
|
typeArguments: [MoveStructId];
|
|
715
|
-
functionArguments: [_0x1.
|
|
715
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
716
716
|
},
|
|
717
717
|
version?: bigint,
|
|
718
718
|
): Promise<[MoveAddressType]> {
|
|
@@ -734,7 +734,7 @@ export namespace collection {
|
|
|
734
734
|
client: Aptos,
|
|
735
735
|
request: {
|
|
736
736
|
typeArguments: [MoveStructId];
|
|
737
|
-
functionArguments: [_0x1.
|
|
737
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
738
738
|
},
|
|
739
739
|
version?: bigint,
|
|
740
740
|
): Promise<[string]> {
|
|
@@ -756,7 +756,7 @@ export namespace collection {
|
|
|
756
756
|
client: Aptos,
|
|
757
757
|
request: {
|
|
758
758
|
typeArguments: [MoveStructId];
|
|
759
|
-
functionArguments: [_0x1.
|
|
759
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
760
760
|
},
|
|
761
761
|
version?: bigint,
|
|
762
762
|
): Promise<[string]> {
|
|
@@ -778,7 +778,7 @@ export namespace collection {
|
|
|
778
778
|
client: Aptos,
|
|
779
779
|
request: {
|
|
780
780
|
typeArguments: [MoveStructId];
|
|
781
|
-
functionArguments: [_0x1.
|
|
781
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
782
782
|
},
|
|
783
783
|
version?: bigint,
|
|
784
784
|
): Promise<[string]> {
|
|
@@ -826,7 +826,7 @@ export namespace aptos_token {
|
|
|
826
826
|
|
|
827
827
|
export interface AptosToken {
|
|
828
828
|
burn_ref: _0x1.option.Option<token.BurnRef>;
|
|
829
|
-
transfer_ref: _0x1.option.Option<_0x1.
|
|
829
|
+
transfer_ref: _0x1.option.Option<_0x1.object$.TransferRef>;
|
|
830
830
|
mutator_ref: _0x1.option.Option<token.MutatorRef>;
|
|
831
831
|
property_mutator_ref: property_map.MutatorRef;
|
|
832
832
|
}
|
|
@@ -847,7 +847,7 @@ export namespace aptos_token {
|
|
|
847
847
|
account: AptosAccount,
|
|
848
848
|
request: {
|
|
849
849
|
typeArguments: [MoveStructId];
|
|
850
|
-
functionArguments: [_0x1.
|
|
850
|
+
functionArguments: [_0x1.object$.Object<T0>, string, string, string];
|
|
851
851
|
},
|
|
852
852
|
options?: InputGenerateTransactionOptions,
|
|
853
853
|
): Promise<PendingTransactionResponse> {
|
|
@@ -871,7 +871,7 @@ export namespace aptos_token {
|
|
|
871
871
|
account: AptosAccount,
|
|
872
872
|
request: {
|
|
873
873
|
typeArguments: [MoveStructId, MoveStructId];
|
|
874
|
-
functionArguments: [_0x1.
|
|
874
|
+
functionArguments: [_0x1.object$.Object<T0>, string, T1];
|
|
875
875
|
},
|
|
876
876
|
options?: InputGenerateTransactionOptions,
|
|
877
877
|
): Promise<PendingTransactionResponse> {
|
|
@@ -896,7 +896,7 @@ export namespace aptos_token {
|
|
|
896
896
|
account: AptosAccount,
|
|
897
897
|
request: {
|
|
898
898
|
typeArguments: [MoveStructId];
|
|
899
|
-
functionArguments: [_0x1.
|
|
899
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
900
900
|
},
|
|
901
901
|
options?: InputGenerateTransactionOptions,
|
|
902
902
|
): Promise<PendingTransactionResponse> {
|
|
@@ -961,7 +961,7 @@ export namespace aptos_token {
|
|
|
961
961
|
account: AptosAccount,
|
|
962
962
|
request: {
|
|
963
963
|
typeArguments: [MoveStructId];
|
|
964
|
-
functionArguments: [_0x1.
|
|
964
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
965
965
|
},
|
|
966
966
|
options?: InputGenerateTransactionOptions,
|
|
967
967
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1052,7 +1052,7 @@ export namespace aptos_token {
|
|
|
1052
1052
|
account: AptosAccount,
|
|
1053
1053
|
request: {
|
|
1054
1054
|
typeArguments: [MoveStructId];
|
|
1055
|
-
functionArguments: [_0x1.
|
|
1055
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1056
1056
|
},
|
|
1057
1057
|
options?: InputGenerateTransactionOptions,
|
|
1058
1058
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1076,7 +1076,7 @@ export namespace aptos_token {
|
|
|
1076
1076
|
account: AptosAccount,
|
|
1077
1077
|
request: {
|
|
1078
1078
|
typeArguments: [MoveStructId];
|
|
1079
|
-
functionArguments: [_0x1.
|
|
1079
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1080
1080
|
},
|
|
1081
1081
|
options?: InputGenerateTransactionOptions,
|
|
1082
1082
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1102,7 +1102,7 @@ export namespace aptos_token {
|
|
|
1102
1102
|
request: {
|
|
1103
1103
|
typeArguments: [MoveStructId];
|
|
1104
1104
|
functionArguments: [
|
|
1105
|
-
_0x1.
|
|
1105
|
+
_0x1.object$.Object<T0>,
|
|
1106
1106
|
bigint,
|
|
1107
1107
|
bigint,
|
|
1108
1108
|
MoveAddressType,
|
|
@@ -1130,7 +1130,7 @@ export namespace aptos_token {
|
|
|
1130
1130
|
account: AptosAccount,
|
|
1131
1131
|
request: {
|
|
1132
1132
|
typeArguments: [MoveStructId];
|
|
1133
|
-
functionArguments: [_0x1.
|
|
1133
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1134
1134
|
},
|
|
1135
1135
|
options?: InputGenerateTransactionOptions,
|
|
1136
1136
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1154,7 +1154,7 @@ export namespace aptos_token {
|
|
|
1154
1154
|
account: AptosAccount,
|
|
1155
1155
|
request: {
|
|
1156
1156
|
typeArguments: [MoveStructId];
|
|
1157
|
-
functionArguments: [_0x1.
|
|
1157
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1158
1158
|
},
|
|
1159
1159
|
options?: InputGenerateTransactionOptions,
|
|
1160
1160
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1178,7 +1178,7 @@ export namespace aptos_token {
|
|
|
1178
1178
|
account: AptosAccount,
|
|
1179
1179
|
request: {
|
|
1180
1180
|
typeArguments: [MoveStructId];
|
|
1181
|
-
functionArguments: [_0x1.
|
|
1181
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1182
1182
|
},
|
|
1183
1183
|
options?: InputGenerateTransactionOptions,
|
|
1184
1184
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1202,7 +1202,7 @@ export namespace aptos_token {
|
|
|
1202
1202
|
account: AptosAccount,
|
|
1203
1203
|
request: {
|
|
1204
1204
|
typeArguments: [MoveStructId];
|
|
1205
|
-
functionArguments: [_0x1.
|
|
1205
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
1206
1206
|
},
|
|
1207
1207
|
options?: InputGenerateTransactionOptions,
|
|
1208
1208
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1226,7 +1226,7 @@ export namespace aptos_token {
|
|
|
1226
1226
|
account: AptosAccount,
|
|
1227
1227
|
request: {
|
|
1228
1228
|
typeArguments: [MoveStructId];
|
|
1229
|
-
functionArguments: [_0x1.
|
|
1229
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1230
1230
|
},
|
|
1231
1231
|
options?: InputGenerateTransactionOptions,
|
|
1232
1232
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1250,7 +1250,7 @@ export namespace aptos_token {
|
|
|
1250
1250
|
account: AptosAccount,
|
|
1251
1251
|
request: {
|
|
1252
1252
|
typeArguments: [MoveStructId];
|
|
1253
|
-
functionArguments: [_0x1.
|
|
1253
|
+
functionArguments: [_0x1.object$.Object<T0>, string, string, string];
|
|
1254
1254
|
},
|
|
1255
1255
|
options?: InputGenerateTransactionOptions,
|
|
1256
1256
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1274,7 +1274,7 @@ export namespace aptos_token {
|
|
|
1274
1274
|
account: AptosAccount,
|
|
1275
1275
|
request: {
|
|
1276
1276
|
typeArguments: [MoveStructId, MoveStructId];
|
|
1277
|
-
functionArguments: [_0x1.
|
|
1277
|
+
functionArguments: [_0x1.object$.Object<T0>, string, T1];
|
|
1278
1278
|
},
|
|
1279
1279
|
options?: InputGenerateTransactionOptions,
|
|
1280
1280
|
): Promise<PendingTransactionResponse> {
|
|
@@ -1299,7 +1299,7 @@ export namespace aptos_token {
|
|
|
1299
1299
|
client: Aptos,
|
|
1300
1300
|
request: {
|
|
1301
1301
|
typeArguments: [MoveStructId];
|
|
1302
|
-
functionArguments: [_0x1.
|
|
1302
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1303
1303
|
},
|
|
1304
1304
|
version?: bigint,
|
|
1305
1305
|
): Promise<[boolean]> {
|
|
@@ -1323,7 +1323,7 @@ export namespace aptos_token {
|
|
|
1323
1323
|
client: Aptos,
|
|
1324
1324
|
request: {
|
|
1325
1325
|
typeArguments: [MoveStructId];
|
|
1326
|
-
functionArguments: [_0x1.
|
|
1326
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1327
1327
|
},
|
|
1328
1328
|
version?: bigint,
|
|
1329
1329
|
): Promise<[boolean]> {
|
|
@@ -1344,7 +1344,7 @@ export namespace aptos_token {
|
|
|
1344
1344
|
client: Aptos,
|
|
1345
1345
|
request: {
|
|
1346
1346
|
typeArguments: [MoveStructId];
|
|
1347
|
-
functionArguments: [_0x1.
|
|
1347
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1348
1348
|
},
|
|
1349
1349
|
version?: bigint,
|
|
1350
1350
|
): Promise<[boolean]> {
|
|
@@ -1368,7 +1368,7 @@ export namespace aptos_token {
|
|
|
1368
1368
|
client: Aptos,
|
|
1369
1369
|
request: {
|
|
1370
1370
|
typeArguments: [MoveStructId];
|
|
1371
|
-
functionArguments: [_0x1.
|
|
1371
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1372
1372
|
},
|
|
1373
1373
|
version?: bigint,
|
|
1374
1374
|
): Promise<[boolean]> {
|
|
@@ -1391,7 +1391,7 @@ export namespace aptos_token {
|
|
|
1391
1391
|
client: Aptos,
|
|
1392
1392
|
request: {
|
|
1393
1393
|
typeArguments: [MoveStructId];
|
|
1394
|
-
functionArguments: [_0x1.
|
|
1394
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1395
1395
|
},
|
|
1396
1396
|
version?: bigint,
|
|
1397
1397
|
): Promise<[boolean]> {
|
|
@@ -1414,7 +1414,7 @@ export namespace aptos_token {
|
|
|
1414
1414
|
client: Aptos,
|
|
1415
1415
|
request: {
|
|
1416
1416
|
typeArguments: [MoveStructId];
|
|
1417
|
-
functionArguments: [_0x1.
|
|
1417
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
1418
1418
|
},
|
|
1419
1419
|
version?: bigint,
|
|
1420
1420
|
): Promise<[boolean]> {
|