@dedot/chaintypes 0.0.1-alpha.59 → 0.0.1-alpha.60
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/astar/events.d.ts +2 -2
- package/astar/query.d.ts +2 -3
- package/astar/tx.d.ts +4 -4
- package/astar/types.d.ts +4 -4
- package/package.json +2 -2
package/astar/events.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type {
|
|
|
11
11
|
Bytes,
|
|
12
12
|
H160,
|
|
13
13
|
U256,
|
|
14
|
-
|
|
14
|
+
FixedU128,
|
|
15
15
|
} from '@dedot/codecs';
|
|
16
16
|
import type {
|
|
17
17
|
PalletMultisigTimepoint,
|
|
@@ -1697,7 +1697,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1697
1697
|
/**
|
|
1698
1698
|
* New static native currency price has been set.
|
|
1699
1699
|
**/
|
|
1700
|
-
PriceSet: GenericPalletEvent<'StaticPriceProvider', 'PriceSet', { price:
|
|
1700
|
+
PriceSet: GenericPalletEvent<'StaticPriceProvider', 'PriceSet', { price: FixedU128 }>;
|
|
1701
1701
|
|
|
1702
1702
|
/**
|
|
1703
1703
|
* Generic pallet event
|
package/astar/query.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ import type {
|
|
|
14
14
|
BytesLike,
|
|
15
15
|
H160,
|
|
16
16
|
U256,
|
|
17
|
-
FixedU64,
|
|
18
17
|
} from '@dedot/codecs';
|
|
19
18
|
import type {
|
|
20
19
|
FrameSystemAccountInfo,
|
|
@@ -1657,9 +1656,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1657
1656
|
/**
|
|
1658
1657
|
* Current active native currency price.
|
|
1659
1658
|
*
|
|
1660
|
-
* @param {Callback<
|
|
1659
|
+
* @param {Callback<FixedU128> =} callback
|
|
1661
1660
|
**/
|
|
1662
|
-
activePrice: GenericStorageQuery<() =>
|
|
1661
|
+
activePrice: GenericStorageQuery<() => FixedU128>;
|
|
1663
1662
|
|
|
1664
1663
|
/**
|
|
1665
1664
|
* Generic pallet storage query
|
package/astar/tx.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import type {
|
|
|
17
17
|
FixedBytes,
|
|
18
18
|
H160,
|
|
19
19
|
U256,
|
|
20
|
-
|
|
20
|
+
FixedU128,
|
|
21
21
|
} from '@dedot/codecs';
|
|
22
22
|
import type {
|
|
23
23
|
AstarRuntimeRuntimeCallLike,
|
|
@@ -3668,14 +3668,14 @@ export interface ChainTx extends GenericChainTx<TxCall> {
|
|
|
3668
3668
|
/**
|
|
3669
3669
|
* See [`Pallet::force_set_price`].
|
|
3670
3670
|
*
|
|
3671
|
-
* @param {
|
|
3671
|
+
* @param {FixedU128} price
|
|
3672
3672
|
**/
|
|
3673
3673
|
forceSetPrice: GenericTxCall<
|
|
3674
|
-
(price:
|
|
3674
|
+
(price: FixedU128) => ChainSubmittableExtrinsic<{
|
|
3675
3675
|
pallet: 'StaticPriceProvider';
|
|
3676
3676
|
palletCall: {
|
|
3677
3677
|
name: 'ForceSetPrice';
|
|
3678
|
-
params: { price:
|
|
3678
|
+
params: { price: FixedU128 };
|
|
3679
3679
|
};
|
|
3680
3680
|
}>
|
|
3681
3681
|
>;
|
package/astar/types.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
H160,
|
|
13
13
|
Bytes,
|
|
14
14
|
U256,
|
|
15
|
-
|
|
15
|
+
FixedU128,
|
|
16
16
|
BytesLike,
|
|
17
17
|
MultiAddress,
|
|
18
18
|
Data,
|
|
@@ -1819,7 +1819,7 @@ export type PalletStaticPriceProviderEvent =
|
|
|
1819
1819
|
/**
|
|
1820
1820
|
* New static native currency price has been set.
|
|
1821
1821
|
**/
|
|
1822
|
-
{ name: 'PriceSet'; data: { price:
|
|
1822
|
+
{ name: 'PriceSet'; data: { price: FixedU128 } };
|
|
1823
1823
|
|
|
1824
1824
|
/**
|
|
1825
1825
|
* The `Event` enum of this pallet
|
|
@@ -4336,13 +4336,13 @@ export type PalletStaticPriceProviderCall =
|
|
|
4336
4336
|
/**
|
|
4337
4337
|
* See [`Pallet::force_set_price`].
|
|
4338
4338
|
**/
|
|
4339
|
-
{ name: 'ForceSetPrice'; params: { price:
|
|
4339
|
+
{ name: 'ForceSetPrice'; params: { price: FixedU128 } };
|
|
4340
4340
|
|
|
4341
4341
|
export type PalletStaticPriceProviderCallLike =
|
|
4342
4342
|
/**
|
|
4343
4343
|
* See [`Pallet::force_set_price`].
|
|
4344
4344
|
**/
|
|
4345
|
-
{ name: 'ForceSetPrice'; params: { price:
|
|
4345
|
+
{ name: 'ForceSetPrice'; params: { price: FixedU128 } };
|
|
4346
4346
|
|
|
4347
4347
|
/**
|
|
4348
4348
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.60",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"directory": "dist"
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "5ae1485c814592ce5147a31c08a2794dcd2b76df",
|
|
24
24
|
"module": "./index.js",
|
|
25
25
|
"types": "./index.d.ts"
|
|
26
26
|
}
|