@typemove/aptos 1.6.2 → 1.6.3-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 +52 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +67 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +52 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +67 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/0x1.json +210 -8
- package/src/builtin/0x1.ts +126 -1
|
@@ -218,6 +218,19 @@ export declare namespace coin {
|
|
|
218
218
|
const TYPE_QNAME = "0x1::coin::CoinConversionMap";
|
|
219
219
|
function type(): TypeDescriptor<CoinConversionMap>;
|
|
220
220
|
}
|
|
221
|
+
interface CoinDeposit {
|
|
222
|
+
coin_type: string;
|
|
223
|
+
account: MoveAddressType;
|
|
224
|
+
amount: bigint;
|
|
225
|
+
}
|
|
226
|
+
namespace CoinDeposit {
|
|
227
|
+
const TYPE_QNAME = "0x1::coin::CoinDeposit";
|
|
228
|
+
function type(): TypeDescriptor<CoinDeposit>;
|
|
229
|
+
}
|
|
230
|
+
interface CoinDepositInstance extends TypedEventInstance<CoinDeposit> {
|
|
231
|
+
data_decoded: CoinDeposit;
|
|
232
|
+
type_arguments: [];
|
|
233
|
+
}
|
|
221
234
|
interface CoinEventHandleDeletion {
|
|
222
235
|
event_handle_creation_address: MoveAddressType;
|
|
223
236
|
deleted_deposit_event_handle_creation_number: bigint;
|
|
@@ -251,6 +264,19 @@ export declare namespace coin {
|
|
|
251
264
|
const TYPE_QNAME = "0x1::coin::CoinStore";
|
|
252
265
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinStore<T0>>;
|
|
253
266
|
}
|
|
267
|
+
interface CoinWithdraw {
|
|
268
|
+
coin_type: string;
|
|
269
|
+
account: MoveAddressType;
|
|
270
|
+
amount: bigint;
|
|
271
|
+
}
|
|
272
|
+
namespace CoinWithdraw {
|
|
273
|
+
const TYPE_QNAME = "0x1::coin::CoinWithdraw";
|
|
274
|
+
function type(): TypeDescriptor<CoinWithdraw>;
|
|
275
|
+
}
|
|
276
|
+
interface CoinWithdrawInstance extends TypedEventInstance<CoinWithdraw> {
|
|
277
|
+
data_decoded: CoinWithdraw;
|
|
278
|
+
type_arguments: [];
|
|
279
|
+
}
|
|
254
280
|
interface Deposit<T0> {
|
|
255
281
|
account: MoveAddressType;
|
|
256
282
|
amount: bigint;
|
|
@@ -3583,6 +3609,13 @@ export declare namespace fungible_asset {
|
|
|
3583
3609
|
data_decoded: DepositEvent;
|
|
3584
3610
|
type_arguments: [];
|
|
3585
3611
|
}
|
|
3612
|
+
interface DeriveSupply {
|
|
3613
|
+
dispatch_function: option.Option<function_info.FunctionInfo>;
|
|
3614
|
+
}
|
|
3615
|
+
namespace DeriveSupply {
|
|
3616
|
+
const TYPE_QNAME = "0x1::fungible_asset::DeriveSupply";
|
|
3617
|
+
function type(): TypeDescriptor<DeriveSupply>;
|
|
3618
|
+
}
|
|
3586
3619
|
interface DispatchFunctionStore {
|
|
3587
3620
|
withdraw_function: option.Option<function_info.FunctionInfo>;
|
|
3588
3621
|
deposit_function: option.Option<function_info.FunctionInfo>;
|
|
@@ -3663,6 +3696,17 @@ export declare namespace fungible_asset {
|
|
|
3663
3696
|
data_decoded: MintRef;
|
|
3664
3697
|
type_arguments: [];
|
|
3665
3698
|
}
|
|
3699
|
+
interface MutateMetadataRef {
|
|
3700
|
+
metadata: object_.Object<fungible_asset.Metadata>;
|
|
3701
|
+
}
|
|
3702
|
+
namespace MutateMetadataRef {
|
|
3703
|
+
const TYPE_QNAME = "0x1::fungible_asset::MutateMetadataRef";
|
|
3704
|
+
function type(): TypeDescriptor<MutateMetadataRef>;
|
|
3705
|
+
}
|
|
3706
|
+
interface MutateMetadataRefInstance extends TypedEventInstance<MutateMetadataRef> {
|
|
3707
|
+
data_decoded: MutateMetadataRef;
|
|
3708
|
+
type_arguments: [];
|
|
3709
|
+
}
|
|
3666
3710
|
interface Supply {
|
|
3667
3711
|
current: bigint;
|
|
3668
3712
|
maximum: option.Option<bigint>;
|
|
@@ -3755,6 +3799,10 @@ export declare namespace fungible_asset {
|
|
|
3755
3799
|
typeArguments: [MoveStructId];
|
|
3756
3800
|
functionArguments: [object_.Object<T0>];
|
|
3757
3801
|
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
3802
|
+
function metadata<T0 = any>(client: Aptos, request: {
|
|
3803
|
+
typeArguments: [MoveStructId];
|
|
3804
|
+
functionArguments: [object_.Object<T0>];
|
|
3805
|
+
}, version?: bigint): Promise<[fungible_asset.Metadata]>;
|
|
3758
3806
|
function name<T0 = any>(client: Aptos, request: {
|
|
3759
3807
|
typeArguments: [MoveStructId];
|
|
3760
3808
|
functionArguments: [object_.Object<T0>];
|
|
@@ -6294,6 +6342,10 @@ export declare namespace dispatchable_fungible_asset {
|
|
|
6294
6342
|
typeArguments: [MoveStructId];
|
|
6295
6343
|
functionArguments: [object_.Object<T0>];
|
|
6296
6344
|
}, version?: bigint): Promise<[bigint]>;
|
|
6345
|
+
function derivedSupply<T0 = any>(client: Aptos, request: {
|
|
6346
|
+
typeArguments: [MoveStructId];
|
|
6347
|
+
functionArguments: [object_.Object<T0>];
|
|
6348
|
+
}, version?: bigint): Promise<[option.Option<bigint>]>;
|
|
6297
6349
|
}
|
|
6298
6350
|
}
|
|
6299
6351
|
export declare function loadAllTypes(coder: MoveCoder): void;
|