@typemove/aptos 1.6.7 → 1.6.8-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +133 -133
- package/dist/cjs/builtin/0x3.d.ts +14 -14
- package/dist/cjs/builtin/0x4.d.ts +23 -23
- package/dist/esm/builtin/0x1.d.ts +133 -133
- package/dist/esm/builtin/0x3.d.ts +14 -14
- package/dist/esm/builtin/0x4.d.ts +23 -23
- package/package.json +2 -2
- package/src/builtin/0x1.ts +133 -133
- package/src/builtin/0x3.ts +14 -14
- package/src/builtin/0x4.ts +23 -23
- package/src/tests/types/0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af.ts +26 -26
- package/src/tests/types/0xbd35135844473187163ca197ca93b2ab014370587bb0ed3befff9e902d6bb541.ts +20 -20
|
@@ -40,9 +40,9 @@ export declare namespace token {
|
|
|
40
40
|
function type(): TypeDescriptor<CollectionData>;
|
|
41
41
|
}
|
|
42
42
|
interface CollectionMutabilityConfig {
|
|
43
|
-
description:
|
|
44
|
-
uri:
|
|
45
|
-
maximum:
|
|
43
|
+
description: boolean;
|
|
44
|
+
uri: boolean;
|
|
45
|
+
maximum: boolean;
|
|
46
46
|
}
|
|
47
47
|
namespace CollectionMutabilityConfig {
|
|
48
48
|
const TYPE_QNAME = "0x3::token::CollectionMutabilityConfig";
|
|
@@ -278,11 +278,11 @@ export declare namespace token {
|
|
|
278
278
|
type_arguments: [];
|
|
279
279
|
}
|
|
280
280
|
interface TokenMutabilityConfig {
|
|
281
|
-
maximum:
|
|
282
|
-
uri:
|
|
283
|
-
royalty:
|
|
284
|
-
description:
|
|
285
|
-
properties:
|
|
281
|
+
maximum: boolean;
|
|
282
|
+
uri: boolean;
|
|
283
|
+
royalty: boolean;
|
|
284
|
+
description: boolean;
|
|
285
|
+
properties: boolean;
|
|
286
286
|
}
|
|
287
287
|
namespace TokenMutabilityConfig {
|
|
288
288
|
const TYPE_QNAME = "0x3::token::TokenMutabilityConfig";
|
|
@@ -294,7 +294,7 @@ export declare namespace token {
|
|
|
294
294
|
}
|
|
295
295
|
interface TokenStore {
|
|
296
296
|
tokens: _0x1.table.Table<token.TokenId, token.Token>;
|
|
297
|
-
direct_transfer:
|
|
297
|
+
direct_transfer: boolean;
|
|
298
298
|
deposit_events: _0x1.event.EventHandle<token.DepositEvent>;
|
|
299
299
|
withdraw_events: _0x1.event.EventHandle<token.WithdrawEvent>;
|
|
300
300
|
burn_events: _0x1.event.EventHandle<token.BurnTokenEvent>;
|
|
@@ -353,7 +353,7 @@ export declare namespace token {
|
|
|
353
353
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
354
354
|
function createCollectionScript(client: Aptos, account: AptosAccount, request: {
|
|
355
355
|
typeArguments: [];
|
|
356
|
-
functionArguments: [string, string, string, bigint,
|
|
356
|
+
functionArguments: [string, string, string, bigint, boolean[]];
|
|
357
357
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
358
358
|
function createTokenScript(client: Aptos, account: AptosAccount, request: {
|
|
359
359
|
typeArguments: [];
|
|
@@ -367,7 +367,7 @@ export declare namespace token {
|
|
|
367
367
|
MoveAddressType,
|
|
368
368
|
bigint,
|
|
369
369
|
bigint,
|
|
370
|
-
|
|
370
|
+
boolean[],
|
|
371
371
|
string[],
|
|
372
372
|
string[],
|
|
373
373
|
string[]
|
|
@@ -408,7 +408,7 @@ export declare namespace token {
|
|
|
408
408
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
409
409
|
function optInDirectTransfer(client: Aptos, account: AptosAccount, request: {
|
|
410
410
|
typeArguments: [];
|
|
411
|
-
functionArguments: [
|
|
411
|
+
functionArguments: [boolean];
|
|
412
412
|
}, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
|
|
413
413
|
function transferWithOptIn(client: Aptos, account: AptosAccount, request: {
|
|
414
414
|
typeArguments: [];
|
|
@@ -856,7 +856,7 @@ export declare namespace token_event_store {
|
|
|
856
856
|
}
|
|
857
857
|
interface OptInTransfer {
|
|
858
858
|
account_address: MoveAddressType;
|
|
859
|
-
opt_in:
|
|
859
|
+
opt_in: boolean;
|
|
860
860
|
}
|
|
861
861
|
namespace OptInTransfer {
|
|
862
862
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransfer";
|
|
@@ -867,7 +867,7 @@ export declare namespace token_event_store {
|
|
|
867
867
|
type_arguments: [];
|
|
868
868
|
}
|
|
869
869
|
interface OptInTransferEvent {
|
|
870
|
-
opt_in:
|
|
870
|
+
opt_in: boolean;
|
|
871
871
|
}
|
|
872
872
|
namespace OptInTransferEvent {
|
|
873
873
|
const TYPE_QNAME = "0x3::token_event_store::OptInTransferEvent";
|
|
@@ -339,14 +339,14 @@ export declare namespace aptos_token {
|
|
|
339
339
|
interface AptosCollection {
|
|
340
340
|
mutator_ref: _0x1.option.Option<collection.MutatorRef>;
|
|
341
341
|
royalty_mutator_ref: _0x1.option.Option<royalty.MutatorRef>;
|
|
342
|
-
mutable_description:
|
|
343
|
-
mutable_uri:
|
|
344
|
-
mutable_token_description:
|
|
345
|
-
mutable_token_name:
|
|
346
|
-
mutable_token_properties:
|
|
347
|
-
mutable_token_uri:
|
|
348
|
-
tokens_burnable_by_creator:
|
|
349
|
-
tokens_freezable_by_creator:
|
|
342
|
+
mutable_description: boolean;
|
|
343
|
+
mutable_uri: boolean;
|
|
344
|
+
mutable_token_description: boolean;
|
|
345
|
+
mutable_token_name: boolean;
|
|
346
|
+
mutable_token_properties: boolean;
|
|
347
|
+
mutable_token_uri: boolean;
|
|
348
|
+
tokens_burnable_by_creator: boolean;
|
|
349
|
+
tokens_freezable_by_creator: boolean;
|
|
350
350
|
}
|
|
351
351
|
namespace AptosCollection {
|
|
352
352
|
const TYPE_QNAME = "0x4::aptos_token::AptosCollection";
|
|
@@ -382,15 +382,15 @@ export declare namespace aptos_token {
|
|
|
382
382
|
bigint,
|
|
383
383
|
string,
|
|
384
384
|
string,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
385
|
+
boolean,
|
|
386
|
+
boolean,
|
|
387
|
+
boolean,
|
|
388
|
+
boolean,
|
|
389
|
+
boolean,
|
|
390
|
+
boolean,
|
|
391
|
+
boolean,
|
|
392
|
+
boolean,
|
|
393
|
+
boolean,
|
|
394
394
|
bigint,
|
|
395
395
|
bigint
|
|
396
396
|
];
|
|
@@ -474,27 +474,27 @@ export declare namespace aptos_token {
|
|
|
474
474
|
function arePropertiesMutable<T0 = any>(client: Aptos, request: {
|
|
475
475
|
typeArguments: [MoveStructId];
|
|
476
476
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
477
|
-
}, version?: bigint): Promise<[
|
|
477
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
478
478
|
function isBurnable<T0 = any>(client: Aptos, request: {
|
|
479
479
|
typeArguments: [MoveStructId];
|
|
480
480
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
481
|
-
}, version?: bigint): Promise<[
|
|
481
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
482
482
|
function isFreezableByCreator<T0 = any>(client: Aptos, request: {
|
|
483
483
|
typeArguments: [MoveStructId];
|
|
484
484
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
485
|
-
}, version?: bigint): Promise<[
|
|
485
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
486
486
|
function isMutableDescription<T0 = any>(client: Aptos, request: {
|
|
487
487
|
typeArguments: [MoveStructId];
|
|
488
488
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
489
|
-
}, version?: bigint): Promise<[
|
|
489
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
490
490
|
function isMutableName<T0 = any>(client: Aptos, request: {
|
|
491
491
|
typeArguments: [MoveStructId];
|
|
492
492
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
493
|
-
}, version?: bigint): Promise<[
|
|
493
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
494
494
|
function isMutableUri<T0 = any>(client: Aptos, request: {
|
|
495
495
|
typeArguments: [MoveStructId];
|
|
496
496
|
functionArguments: [_0x1.object_.Object<T0>];
|
|
497
|
-
}, version?: bigint): Promise<[
|
|
497
|
+
}, version?: bigint): Promise<[boolean]>;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
export declare namespace property_map {
|