@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
|
@@ -925,7 +925,7 @@ export declare namespace token_event_store {
|
|
|
925
925
|
description_mutate_events: _0x1.event.EventHandle<token_event_store.DescriptionMutateEvent>;
|
|
926
926
|
royalty_mutate_events: _0x1.event.EventHandle<token_event_store.RoyaltyMutateEvent>;
|
|
927
927
|
maximum_mutate_events: _0x1.event.EventHandle<token_event_store.MaxiumMutateEvent>;
|
|
928
|
-
extension: _0x1.option.Option<_0x1.
|
|
928
|
+
extension: _0x1.option.Option<_0x1.any$.Any>;
|
|
929
929
|
}
|
|
930
930
|
namespace TokenEventStoreV1 {
|
|
931
931
|
const TYPE_QNAME = "0x3::token_event_store::TokenEventStoreV1";
|
|
@@ -4,7 +4,7 @@ import { Aptos, Account as AptosAccount, MoveAddressType, PendingTransactionResp
|
|
|
4
4
|
import * as _0x1 from "./0x1.js";
|
|
5
5
|
export declare namespace token {
|
|
6
6
|
interface BurnRef {
|
|
7
|
-
inner: _0x1.option.Option<_0x1.
|
|
7
|
+
inner: _0x1.option.Option<_0x1.object$.DeleteRef>;
|
|
8
8
|
self: _0x1.option.Option<MoveAddressType>;
|
|
9
9
|
}
|
|
10
10
|
namespace BurnRef {
|
|
@@ -62,7 +62,7 @@ export declare namespace token {
|
|
|
62
62
|
type_arguments: [];
|
|
63
63
|
}
|
|
64
64
|
interface Token {
|
|
65
|
-
collection: _0x1.
|
|
65
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
66
66
|
index: bigint;
|
|
67
67
|
description: string;
|
|
68
68
|
name: string;
|
|
@@ -85,44 +85,44 @@ export declare namespace token {
|
|
|
85
85
|
namespace view {
|
|
86
86
|
function collectionName<T0 = any>(client: Aptos, request: {
|
|
87
87
|
typeArguments: [MoveStructId];
|
|
88
|
-
functionArguments: [_0x1.
|
|
88
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
89
89
|
}, version?: bigint): Promise<[string]>;
|
|
90
90
|
function collectionObject<T0 = any>(client: Aptos, request: {
|
|
91
91
|
typeArguments: [MoveStructId];
|
|
92
|
-
functionArguments: [_0x1.
|
|
93
|
-
}, version?: bigint): Promise<[_0x1.
|
|
92
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
93
|
+
}, version?: bigint): Promise<[_0x1.object$.Object<collection.Collection>]>;
|
|
94
94
|
function createTokenAddressWithSeed(client: Aptos, request: {
|
|
95
95
|
functionArguments: [MoveAddressType, string, string, string];
|
|
96
96
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
97
97
|
function creator<T0 = any>(client: Aptos, request: {
|
|
98
98
|
typeArguments: [MoveStructId];
|
|
99
|
-
functionArguments: [_0x1.
|
|
99
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
100
100
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
101
101
|
function description<T0 = any>(client: Aptos, request: {
|
|
102
102
|
typeArguments: [MoveStructId];
|
|
103
|
-
functionArguments: [_0x1.
|
|
103
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
104
104
|
}, version?: bigint): Promise<[string]>;
|
|
105
105
|
function index<T0 = any>(client: Aptos, request: {
|
|
106
106
|
typeArguments: [MoveStructId];
|
|
107
|
-
functionArguments: [_0x1.
|
|
107
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
108
108
|
}, version?: bigint): Promise<[bigint]>;
|
|
109
109
|
function name<T0 = any>(client: Aptos, request: {
|
|
110
110
|
typeArguments: [MoveStructId];
|
|
111
|
-
functionArguments: [_0x1.
|
|
111
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
112
112
|
}, version?: bigint): Promise<[string]>;
|
|
113
113
|
function royalty<T0 = any>(client: Aptos, request: {
|
|
114
114
|
typeArguments: [MoveStructId];
|
|
115
|
-
functionArguments: [_0x1.
|
|
115
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
116
116
|
}, version?: bigint): Promise<[_0x1.option.Option<royalty.Royalty>]>;
|
|
117
117
|
function uri<T0 = any>(client: Aptos, request: {
|
|
118
118
|
typeArguments: [MoveStructId];
|
|
119
|
-
functionArguments: [_0x1.
|
|
119
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
120
120
|
}, version?: bigint): Promise<[string]>;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
export declare namespace royalty {
|
|
124
124
|
interface MutatorRef {
|
|
125
|
-
inner: _0x1.
|
|
125
|
+
inner: _0x1.object$.ExtendRef;
|
|
126
126
|
}
|
|
127
127
|
namespace MutatorRef {
|
|
128
128
|
const TYPE_QNAME = "0x4::royalty::MutatorRef";
|
|
@@ -254,7 +254,7 @@ export declare namespace collection {
|
|
|
254
254
|
}
|
|
255
255
|
interface Mutation {
|
|
256
256
|
mutated_field_name: string;
|
|
257
|
-
collection: _0x1.
|
|
257
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
258
258
|
old_value: string;
|
|
259
259
|
new_value: string;
|
|
260
260
|
}
|
|
@@ -289,7 +289,7 @@ export declare namespace collection {
|
|
|
289
289
|
type_arguments: [];
|
|
290
290
|
}
|
|
291
291
|
interface SetMaxSupply {
|
|
292
|
-
collection: _0x1.
|
|
292
|
+
collection: _0x1.object$.Object<collection.Collection>;
|
|
293
293
|
old_max_supply: bigint;
|
|
294
294
|
new_max_supply: bigint;
|
|
295
295
|
}
|
|
@@ -315,23 +315,23 @@ export declare namespace collection {
|
|
|
315
315
|
namespace view {
|
|
316
316
|
function count<T0 = any>(client: Aptos, request: {
|
|
317
317
|
typeArguments: [MoveStructId];
|
|
318
|
-
functionArguments: [_0x1.
|
|
318
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
319
319
|
}, version?: bigint): Promise<[_0x1.option.Option<bigint>]>;
|
|
320
320
|
function creator<T0 = any>(client: Aptos, request: {
|
|
321
321
|
typeArguments: [MoveStructId];
|
|
322
|
-
functionArguments: [_0x1.
|
|
322
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
323
323
|
}, version?: bigint): Promise<[MoveAddressType]>;
|
|
324
324
|
function description<T0 = any>(client: Aptos, request: {
|
|
325
325
|
typeArguments: [MoveStructId];
|
|
326
|
-
functionArguments: [_0x1.
|
|
326
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
327
327
|
}, version?: bigint): Promise<[string]>;
|
|
328
328
|
function name<T0 = any>(client: Aptos, request: {
|
|
329
329
|
typeArguments: [MoveStructId];
|
|
330
|
-
functionArguments: [_0x1.
|
|
330
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
331
331
|
}, version?: bigint): Promise<[string]>;
|
|
332
332
|
function uri<T0 = any>(client: Aptos, request: {
|
|
333
333
|
typeArguments: [MoveStructId];
|
|
334
|
-
functionArguments: [_0x1.
|
|
334
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
335
335
|
}, version?: bigint): Promise<[string]>;
|
|
336
336
|
}
|
|
337
337
|
}
|
|
@@ -354,7 +354,7 @@ export declare namespace aptos_token {
|
|
|
354
354
|
}
|
|
355
355
|
interface AptosToken {
|
|
356
356
|
burn_ref: _0x1.option.Option<token.BurnRef>;
|
|
357
|
-
transfer_ref: _0x1.option.Option<_0x1.
|
|
357
|
+
transfer_ref: _0x1.option.Option<_0x1.object$.TransferRef>;
|
|
358
358
|
mutator_ref: _0x1.option.Option<token.MutatorRef>;
|
|
359
359
|
property_mutator_ref: property_map.MutatorRef;
|
|
360
360
|
}
|
|
@@ -365,15 +365,15 @@ export declare namespace aptos_token {
|
|
|
365
365
|
namespace entry {
|
|
366
366
|
function addProperty<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
367
367
|
typeArguments: [MoveStructId];
|
|
368
|
-
functionArguments: [_0x1.
|
|
368
|
+
functionArguments: [_0x1.object$.Object<T0>, string, string, string];
|
|
369
369
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
370
370
|
function addTypedProperty<T0 = any, T1 = any>(client: Aptos, account: AptosAccount, request: {
|
|
371
371
|
typeArguments: [MoveStructId, MoveStructId];
|
|
372
|
-
functionArguments: [_0x1.
|
|
372
|
+
functionArguments: [_0x1.object$.Object<T0>, string, T1];
|
|
373
373
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
374
374
|
function burn<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
375
375
|
typeArguments: [MoveStructId];
|
|
376
|
-
functionArguments: [_0x1.
|
|
376
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
377
377
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
378
378
|
function createCollection(client: Aptos, account: AptosAccount, request: {
|
|
379
379
|
typeArguments: [];
|
|
@@ -397,7 +397,7 @@ export declare namespace aptos_token {
|
|
|
397
397
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
398
398
|
function freezeTransfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
399
399
|
typeArguments: [MoveStructId];
|
|
400
|
-
functionArguments: [_0x1.
|
|
400
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
401
401
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
402
402
|
function mint(client: Aptos, account: AptosAccount, request: {
|
|
403
403
|
typeArguments: [];
|
|
@@ -426,16 +426,16 @@ export declare namespace aptos_token {
|
|
|
426
426
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
427
427
|
function removeProperty<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
428
428
|
typeArguments: [MoveStructId];
|
|
429
|
-
functionArguments: [_0x1.
|
|
429
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
430
430
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
431
431
|
function setCollectionDescription<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
432
432
|
typeArguments: [MoveStructId];
|
|
433
|
-
functionArguments: [_0x1.
|
|
433
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
434
434
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
435
435
|
function setCollectionRoyaltiesCall<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
436
436
|
typeArguments: [MoveStructId];
|
|
437
437
|
functionArguments: [
|
|
438
|
-
_0x1.
|
|
438
|
+
_0x1.object$.Object<T0>,
|
|
439
439
|
bigint,
|
|
440
440
|
bigint,
|
|
441
441
|
MoveAddressType
|
|
@@ -443,57 +443,57 @@ export declare namespace aptos_token {
|
|
|
443
443
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
444
444
|
function setCollectionUri<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
445
445
|
typeArguments: [MoveStructId];
|
|
446
|
-
functionArguments: [_0x1.
|
|
446
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
447
447
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
448
448
|
function setDescription<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
449
449
|
typeArguments: [MoveStructId];
|
|
450
|
-
functionArguments: [_0x1.
|
|
450
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
451
451
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
452
452
|
function setName<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
453
453
|
typeArguments: [MoveStructId];
|
|
454
|
-
functionArguments: [_0x1.
|
|
454
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
455
455
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
456
456
|
function setUri<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
457
457
|
typeArguments: [MoveStructId];
|
|
458
|
-
functionArguments: [_0x1.
|
|
458
|
+
functionArguments: [_0x1.object$.Object<T0>, string];
|
|
459
459
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
460
460
|
function unfreezeTransfer<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
461
461
|
typeArguments: [MoveStructId];
|
|
462
|
-
functionArguments: [_0x1.
|
|
462
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
463
463
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
464
464
|
function updateProperty<T0 = any>(client: Aptos, account: AptosAccount, request: {
|
|
465
465
|
typeArguments: [MoveStructId];
|
|
466
|
-
functionArguments: [_0x1.
|
|
466
|
+
functionArguments: [_0x1.object$.Object<T0>, string, string, string];
|
|
467
467
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
468
468
|
function updateTypedProperty<T0 = any, T1 = any>(client: Aptos, account: AptosAccount, request: {
|
|
469
469
|
typeArguments: [MoveStructId, MoveStructId];
|
|
470
|
-
functionArguments: [_0x1.
|
|
470
|
+
functionArguments: [_0x1.object$.Object<T0>, string, T1];
|
|
471
471
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
472
472
|
}
|
|
473
473
|
namespace view {
|
|
474
474
|
function arePropertiesMutable<T0 = any>(client: Aptos, request: {
|
|
475
475
|
typeArguments: [MoveStructId];
|
|
476
|
-
functionArguments: [_0x1.
|
|
476
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
477
477
|
}, version?: bigint): Promise<[boolean]>;
|
|
478
478
|
function isBurnable<T0 = any>(client: Aptos, request: {
|
|
479
479
|
typeArguments: [MoveStructId];
|
|
480
|
-
functionArguments: [_0x1.
|
|
480
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
481
481
|
}, version?: bigint): Promise<[boolean]>;
|
|
482
482
|
function isFreezableByCreator<T0 = any>(client: Aptos, request: {
|
|
483
483
|
typeArguments: [MoveStructId];
|
|
484
|
-
functionArguments: [_0x1.
|
|
484
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
485
485
|
}, version?: bigint): Promise<[boolean]>;
|
|
486
486
|
function isMutableDescription<T0 = any>(client: Aptos, request: {
|
|
487
487
|
typeArguments: [MoveStructId];
|
|
488
|
-
functionArguments: [_0x1.
|
|
488
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
489
489
|
}, version?: bigint): Promise<[boolean]>;
|
|
490
490
|
function isMutableName<T0 = any>(client: Aptos, request: {
|
|
491
491
|
typeArguments: [MoveStructId];
|
|
492
|
-
functionArguments: [_0x1.
|
|
492
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
493
493
|
}, version?: bigint): Promise<[boolean]>;
|
|
494
494
|
function isMutableUri<T0 = any>(client: Aptos, request: {
|
|
495
495
|
typeArguments: [MoveStructId];
|
|
496
|
-
functionArguments: [_0x1.
|
|
496
|
+
functionArguments: [_0x1.object$.Object<T0>];
|
|
497
497
|
}, version?: bigint): Promise<[boolean]>;
|
|
498
498
|
}
|
|
499
499
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typemove/aptos",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.12-rc.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"commander": "^12.0.0",
|
|
48
48
|
"prettier": "^3.2.4",
|
|
49
49
|
"radash": "^12.0.0",
|
|
50
|
-
"@typemove/move": "1.6.
|
|
50
|
+
"@typemove/move": "1.6.12-rc.2"
|
|
51
51
|
},
|
|
52
52
|
"url": "https://github.com/sentioxyz/typemove",
|
|
53
53
|
"scripts": {
|