@dedot/chaintypes 0.56.0 → 0.58.0
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/kusama/consts.d.ts +19 -0
- package/kusama/errors.d.ts +95 -12
- package/kusama/events.d.ts +90 -13
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +104 -52
- package/kusama/runtime.d.ts +141 -63
- package/kusama/tx.d.ts +165 -40
- package/kusama/types.d.ts +474 -214
- package/kusama-asset-hub/events.d.ts +50 -1
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +12 -12
- package/kusama-asset-hub/runtime.d.ts +1 -1
- package/kusama-asset-hub/tx.d.ts +121 -64
- package/kusama-asset-hub/types.d.ts +167 -81
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -9,13 +9,13 @@ import type {
|
|
|
9
9
|
FixedBytes,
|
|
10
10
|
FixedArray,
|
|
11
11
|
Bytes,
|
|
12
|
+
FixedU128,
|
|
12
13
|
Result,
|
|
13
14
|
Permill,
|
|
14
15
|
BytesLike,
|
|
15
16
|
MultiAddress,
|
|
16
17
|
MultiAddressLike,
|
|
17
18
|
AccountId32Like,
|
|
18
|
-
FixedU128,
|
|
19
19
|
Era,
|
|
20
20
|
Header,
|
|
21
21
|
UncheckedExtrinsic,
|
|
@@ -60,6 +60,7 @@ export type AssetHubKusamaRuntimeRuntimeEvent =
|
|
|
60
60
|
| { pallet: 'XcmpQueue'; palletEvent: CumulusPalletXcmpQueueEvent }
|
|
61
61
|
| { pallet: 'PolkadotXcm'; palletEvent: PalletXcmEvent }
|
|
62
62
|
| { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
|
|
63
|
+
| { pallet: 'ToPolkadotXcmRouter'; palletEvent: PalletXcmBridgeHubRouterEvent }
|
|
63
64
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
64
65
|
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
65
66
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
@@ -976,6 +977,35 @@ export type CumulusPalletXcmEvent =
|
|
|
976
977
|
**/
|
|
977
978
|
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
|
|
978
979
|
|
|
980
|
+
/**
|
|
981
|
+
* The `Event` enum of this pallet
|
|
982
|
+
**/
|
|
983
|
+
export type PalletXcmBridgeHubRouterEvent =
|
|
984
|
+
/**
|
|
985
|
+
* Delivery fee factor has been decreased.
|
|
986
|
+
**/
|
|
987
|
+
| {
|
|
988
|
+
name: 'DeliveryFeeFactorDecreased';
|
|
989
|
+
data: {
|
|
990
|
+
/**
|
|
991
|
+
* New value of the `DeliveryFeeFactor`.
|
|
992
|
+
**/
|
|
993
|
+
newValue: FixedU128;
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* Delivery fee factor has been increased.
|
|
998
|
+
**/
|
|
999
|
+
| {
|
|
1000
|
+
name: 'DeliveryFeeFactorIncreased';
|
|
1001
|
+
data: {
|
|
1002
|
+
/**
|
|
1003
|
+
* New value of the `DeliveryFeeFactor`.
|
|
1004
|
+
**/
|
|
1005
|
+
newValue: FixedU128;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
|
|
979
1009
|
/**
|
|
980
1010
|
* The `Event` enum of this pallet
|
|
981
1011
|
**/
|
|
@@ -2290,7 +2320,7 @@ export type FrameSystemError =
|
|
|
2290
2320
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
2291
2321
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
2292
2322
|
paraHeadHash?: H256 | undefined;
|
|
2293
|
-
consumedGoAheadSignal?:
|
|
2323
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
2294
2324
|
};
|
|
2295
2325
|
|
|
2296
2326
|
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
@@ -2303,15 +2333,15 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
|
2303
2333
|
|
|
2304
2334
|
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
2305
2335
|
|
|
2306
|
-
export type
|
|
2336
|
+
export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
2307
2337
|
|
|
2308
2338
|
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
2309
2339
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
2310
2340
|
hrmpWatermark?: number | undefined;
|
|
2311
|
-
consumedGoAheadSignal?:
|
|
2341
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
|
|
2312
2342
|
};
|
|
2313
2343
|
|
|
2314
|
-
export type
|
|
2344
|
+
export type PolkadotPrimitivesV8PersistedValidationData = {
|
|
2315
2345
|
parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
2316
2346
|
relayParentNumber: number;
|
|
2317
2347
|
relayParentStorageRoot: H256;
|
|
@@ -2320,15 +2350,15 @@ export type PolkadotPrimitivesV7PersistedValidationData = {
|
|
|
2320
2350
|
|
|
2321
2351
|
export type PolkadotParachainPrimitivesPrimitivesHeadData = Bytes;
|
|
2322
2352
|
|
|
2323
|
-
export type
|
|
2353
|
+
export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
|
|
2324
2354
|
|
|
2325
2355
|
export type SpTrieStorageProof = { trieNodes: Array<Bytes> };
|
|
2326
2356
|
|
|
2327
2357
|
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
2328
2358
|
dmqMqcHead: H256;
|
|
2329
2359
|
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
2330
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
2331
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
2360
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2361
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
|
|
2332
2362
|
};
|
|
2333
2363
|
|
|
2334
2364
|
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
@@ -2336,7 +2366,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
|
|
|
2336
2366
|
remainingSize: number;
|
|
2337
2367
|
};
|
|
2338
2368
|
|
|
2339
|
-
export type
|
|
2369
|
+
export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
2340
2370
|
maxCapacity: number;
|
|
2341
2371
|
maxTotalSize: number;
|
|
2342
2372
|
maxMessageSize: number;
|
|
@@ -2345,7 +2375,7 @@ export type PolkadotPrimitivesV7AbridgedHrmpChannel = {
|
|
|
2345
2375
|
mqcHead?: H256 | undefined;
|
|
2346
2376
|
};
|
|
2347
2377
|
|
|
2348
|
-
export type
|
|
2378
|
+
export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
2349
2379
|
maxCodeSize: number;
|
|
2350
2380
|
maxHeadDataSize: number;
|
|
2351
2381
|
maxUpwardQueueCount: number;
|
|
@@ -2355,10 +2385,10 @@ export type PolkadotPrimitivesV7AbridgedHostConfiguration = {
|
|
|
2355
2385
|
hrmpMaxMessageNumPerCandidate: number;
|
|
2356
2386
|
validationUpgradeCooldown: number;
|
|
2357
2387
|
validationUpgradeDelay: number;
|
|
2358
|
-
asyncBackingParams:
|
|
2388
|
+
asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
|
2359
2389
|
};
|
|
2360
2390
|
|
|
2361
|
-
export type
|
|
2391
|
+
export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
|
|
2362
2392
|
maxCandidateDepth: number;
|
|
2363
2393
|
allowedAncestryLen: number;
|
|
2364
2394
|
};
|
|
@@ -2386,30 +2416,7 @@ export type CumulusPalletParachainSystemCall =
|
|
|
2386
2416
|
* if the appropriate time has come.
|
|
2387
2417
|
**/
|
|
2388
2418
|
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2389
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } }
|
|
2390
|
-
/**
|
|
2391
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2392
|
-
* later.
|
|
2393
|
-
*
|
|
2394
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
2395
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
2396
|
-
* it cannot actually perform the verification.
|
|
2397
|
-
*
|
|
2398
|
-
* This call requires Root origin.
|
|
2399
|
-
**/
|
|
2400
|
-
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
|
|
2401
|
-
/**
|
|
2402
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2403
|
-
*
|
|
2404
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
2405
|
-
* remains unchanged and that the spec version has increased.
|
|
2406
|
-
*
|
|
2407
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
2408
|
-
* upgrade with the Relay Chain.
|
|
2409
|
-
*
|
|
2410
|
-
* All origins are allowed.
|
|
2411
|
-
**/
|
|
2412
|
-
| { name: 'EnactAuthorizedUpgrade'; params: { code: Bytes } };
|
|
2419
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: Bytes } };
|
|
2413
2420
|
|
|
2414
2421
|
export type CumulusPalletParachainSystemCallLike =
|
|
2415
2422
|
/**
|
|
@@ -2424,33 +2431,10 @@ export type CumulusPalletParachainSystemCallLike =
|
|
|
2424
2431
|
* if the appropriate time has come.
|
|
2425
2432
|
**/
|
|
2426
2433
|
| { name: 'SetValidationData'; params: { data: CumulusPrimitivesParachainInherentParachainInherentData } }
|
|
2427
|
-
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } }
|
|
2428
|
-
/**
|
|
2429
|
-
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2430
|
-
* later.
|
|
2431
|
-
*
|
|
2432
|
-
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
|
|
2433
|
-
* version and name should be verified on upgrade. Since the authorization only has a hash,
|
|
2434
|
-
* it cannot actually perform the verification.
|
|
2435
|
-
*
|
|
2436
|
-
* This call requires Root origin.
|
|
2437
|
-
**/
|
|
2438
|
-
| { name: 'AuthorizeUpgrade'; params: { codeHash: H256; checkVersion: boolean } }
|
|
2439
|
-
/**
|
|
2440
|
-
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2441
|
-
*
|
|
2442
|
-
* If the authorization required a version check, this call will ensure the spec name
|
|
2443
|
-
* remains unchanged and that the spec version has increased.
|
|
2444
|
-
*
|
|
2445
|
-
* Note that this function will not apply the new `code`, but only attempt to schedule the
|
|
2446
|
-
* upgrade with the Relay Chain.
|
|
2447
|
-
*
|
|
2448
|
-
* All origins are allowed.
|
|
2449
|
-
**/
|
|
2450
|
-
| { name: 'EnactAuthorizedUpgrade'; params: { code: BytesLike } };
|
|
2434
|
+
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
2451
2435
|
|
|
2452
2436
|
export type CumulusPrimitivesParachainInherentParachainInherentData = {
|
|
2453
|
-
validationData:
|
|
2437
|
+
validationData: PolkadotPrimitivesV8PersistedValidationData;
|
|
2454
2438
|
relayChainState: SpTrieStorageProof;
|
|
2455
2439
|
downwardMessages: Array<PolkadotCorePrimitivesInboundDownwardMessage>;
|
|
2456
2440
|
horizontalMessages: Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>;
|
|
@@ -5621,8 +5605,6 @@ export type PalletAssetsCall =
|
|
|
5621
5605
|
*
|
|
5622
5606
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
5623
5607
|
* asset.
|
|
5624
|
-
*
|
|
5625
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
5626
5608
|
**/
|
|
5627
5609
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
5628
5610
|
/**
|
|
@@ -6103,7 +6085,26 @@ export type PalletAssetsCall =
|
|
|
6103
6085
|
*
|
|
6104
6086
|
* Weight: `O(1)`
|
|
6105
6087
|
**/
|
|
6106
|
-
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
6088
|
+
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
6089
|
+
/**
|
|
6090
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
6091
|
+
*
|
|
6092
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
6093
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
6094
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
6095
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
6096
|
+
* deposits, etc...
|
|
6097
|
+
*
|
|
6098
|
+
* The dispatch origin of this call must be Signed.
|
|
6099
|
+
*
|
|
6100
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
6101
|
+
* - `dest`: The recipient of the transfer.
|
|
6102
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
6103
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
6104
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
6105
|
+
* guarantee to keep the sender asset account alive (true).
|
|
6106
|
+
**/
|
|
6107
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
|
|
6107
6108
|
|
|
6108
6109
|
export type PalletAssetsCallLike =
|
|
6109
6110
|
/**
|
|
@@ -6160,8 +6161,6 @@ export type PalletAssetsCallLike =
|
|
|
6160
6161
|
*
|
|
6161
6162
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
6162
6163
|
* asset.
|
|
6163
|
-
*
|
|
6164
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
6165
6164
|
**/
|
|
6166
6165
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
6167
6166
|
/**
|
|
@@ -6648,7 +6647,26 @@ export type PalletAssetsCallLike =
|
|
|
6648
6647
|
*
|
|
6649
6648
|
* Weight: `O(1)`
|
|
6650
6649
|
**/
|
|
6651
|
-
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
6650
|
+
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
6651
|
+
/**
|
|
6652
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
6653
|
+
*
|
|
6654
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
6655
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
6656
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
6657
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
6658
|
+
* deposits, etc...
|
|
6659
|
+
*
|
|
6660
|
+
* The dispatch origin of this call must be Signed.
|
|
6661
|
+
*
|
|
6662
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
6663
|
+
* - `dest`: The recipient of the transfer.
|
|
6664
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
6665
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
6666
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
6667
|
+
* guarantee to keep the sender asset account alive (true).
|
|
6668
|
+
**/
|
|
6669
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
|
|
6652
6670
|
|
|
6653
6671
|
/**
|
|
6654
6672
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -9112,8 +9130,6 @@ export type PalletAssetsCall002 =
|
|
|
9112
9130
|
*
|
|
9113
9131
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
9114
9132
|
* asset.
|
|
9115
|
-
*
|
|
9116
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
9117
9133
|
**/
|
|
9118
9134
|
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9119
9135
|
/**
|
|
@@ -9603,7 +9619,26 @@ export type PalletAssetsCall002 =
|
|
|
9603
9619
|
*
|
|
9604
9620
|
* Weight: `O(1)`
|
|
9605
9621
|
**/
|
|
9606
|
-
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9622
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddress } }
|
|
9623
|
+
/**
|
|
9624
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
9625
|
+
*
|
|
9626
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
9627
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
9628
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
9629
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
9630
|
+
* deposits, etc...
|
|
9631
|
+
*
|
|
9632
|
+
* The dispatch origin of this call must be Signed.
|
|
9633
|
+
*
|
|
9634
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
9635
|
+
* - `dest`: The recipient of the transfer.
|
|
9636
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
9637
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
9638
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
9639
|
+
* guarantee to keep the sender asset account alive (true).
|
|
9640
|
+
**/
|
|
9641
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddress; keepAlive: boolean } };
|
|
9607
9642
|
|
|
9608
9643
|
export type PalletAssetsCallLike002 =
|
|
9609
9644
|
/**
|
|
@@ -9663,8 +9698,6 @@ export type PalletAssetsCallLike002 =
|
|
|
9663
9698
|
*
|
|
9664
9699
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
9665
9700
|
* asset.
|
|
9666
|
-
*
|
|
9667
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
9668
9701
|
**/
|
|
9669
9702
|
| { name: 'StartDestroy'; params: { id: StagingXcmV4Location } }
|
|
9670
9703
|
/**
|
|
@@ -10162,7 +10195,26 @@ export type PalletAssetsCallLike002 =
|
|
|
10162
10195
|
*
|
|
10163
10196
|
* Weight: `O(1)`
|
|
10164
10197
|
**/
|
|
10165
|
-
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10198
|
+
| { name: 'Block'; params: { id: StagingXcmV4Location; who: MultiAddressLike } }
|
|
10199
|
+
/**
|
|
10200
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10201
|
+
*
|
|
10202
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10203
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10204
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10205
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10206
|
+
* deposits, etc...
|
|
10207
|
+
*
|
|
10208
|
+
* The dispatch origin of this call must be Signed.
|
|
10209
|
+
*
|
|
10210
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10211
|
+
* - `dest`: The recipient of the transfer.
|
|
10212
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10213
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10214
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10215
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10216
|
+
**/
|
|
10217
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV4Location; dest: MultiAddressLike; keepAlive: boolean } };
|
|
10166
10218
|
|
|
10167
10219
|
/**
|
|
10168
10220
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -10322,8 +10374,6 @@ export type PalletAssetsCall003 =
|
|
|
10322
10374
|
*
|
|
10323
10375
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
10324
10376
|
* asset.
|
|
10325
|
-
*
|
|
10326
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
10327
10377
|
**/
|
|
10328
10378
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
10329
10379
|
/**
|
|
@@ -10804,7 +10854,26 @@ export type PalletAssetsCall003 =
|
|
|
10804
10854
|
*
|
|
10805
10855
|
* Weight: `O(1)`
|
|
10806
10856
|
**/
|
|
10807
|
-
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10857
|
+
| { name: 'Block'; params: { id: number; who: MultiAddress } }
|
|
10858
|
+
/**
|
|
10859
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
10860
|
+
*
|
|
10861
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
10862
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
10863
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
10864
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
10865
|
+
* deposits, etc...
|
|
10866
|
+
*
|
|
10867
|
+
* The dispatch origin of this call must be Signed.
|
|
10868
|
+
*
|
|
10869
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
10870
|
+
* - `dest`: The recipient of the transfer.
|
|
10871
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
10872
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
10873
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
10874
|
+
* guarantee to keep the sender asset account alive (true).
|
|
10875
|
+
**/
|
|
10876
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } };
|
|
10808
10877
|
|
|
10809
10878
|
export type PalletAssetsCallLike003 =
|
|
10810
10879
|
/**
|
|
@@ -10861,8 +10930,6 @@ export type PalletAssetsCallLike003 =
|
|
|
10861
10930
|
*
|
|
10862
10931
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
|
10863
10932
|
* asset.
|
|
10864
|
-
*
|
|
10865
|
-
* The asset class must be frozen before calling `start_destroy`.
|
|
10866
10933
|
**/
|
|
10867
10934
|
| { name: 'StartDestroy'; params: { id: number } }
|
|
10868
10935
|
/**
|
|
@@ -11349,7 +11416,26 @@ export type PalletAssetsCallLike003 =
|
|
|
11349
11416
|
*
|
|
11350
11417
|
* Weight: `O(1)`
|
|
11351
11418
|
**/
|
|
11352
|
-
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
11419
|
+
| { name: 'Block'; params: { id: number; who: MultiAddressLike } }
|
|
11420
|
+
/**
|
|
11421
|
+
* Transfer the entire transferable balance from the caller asset account.
|
|
11422
|
+
*
|
|
11423
|
+
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
11424
|
+
* any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be
|
|
11425
|
+
* transferred by this function. To ensure that this function results in a killed account,
|
|
11426
|
+
* you might need to prepare the account by removing any reference counters, storage
|
|
11427
|
+
* deposits, etc...
|
|
11428
|
+
*
|
|
11429
|
+
* The dispatch origin of this call must be Signed.
|
|
11430
|
+
*
|
|
11431
|
+
* - `id`: The identifier of the asset for the account holding a deposit.
|
|
11432
|
+
* - `dest`: The recipient of the transfer.
|
|
11433
|
+
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
11434
|
+
* of the funds the asset account has, causing the sender asset account to be killed
|
|
11435
|
+
* (false), or transfer everything except at least the minimum balance, which will
|
|
11436
|
+
* guarantee to keep the sender asset account alive (true).
|
|
11437
|
+
**/
|
|
11438
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } };
|
|
11353
11439
|
|
|
11354
11440
|
/**
|
|
11355
11441
|
* Pallet's callable functions.
|
|
@@ -11376,7 +11462,7 @@ export type PalletAssetConversionCall =
|
|
|
11376
11462
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
11377
11463
|
*
|
|
11378
11464
|
* Once liquidity is added, someone may successfully call
|
|
11379
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
11465
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
11380
11466
|
**/
|
|
11381
11467
|
| {
|
|
11382
11468
|
name: 'AddLiquidity';
|
|
@@ -11479,7 +11565,7 @@ export type PalletAssetConversionCallLike =
|
|
|
11479
11565
|
* calls to render the liquidity withdrawable and rectify the exchange rate.
|
|
11480
11566
|
*
|
|
11481
11567
|
* Once liquidity is added, someone may successfully call
|
|
11482
|
-
* [`Pallet::swap_exact_tokens_for_tokens`]
|
|
11568
|
+
* [`Pallet::swap_exact_tokens_for_tokens`].
|
|
11483
11569
|
**/
|
|
11484
11570
|
| {
|
|
11485
11571
|
name: 'AddLiquidity';
|
package/moonbeam/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "d74435ca34fb2fbf58fece81eaf6518789398f9e",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|