@dedot/chaintypes 0.201.0 → 0.203.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.
@@ -14,7 +14,6 @@ import type {
14
14
  Perquintill,
15
15
  Perbill,
16
16
  H160,
17
- U256,
18
17
  } from 'dedot/codecs';
19
18
  import type {
20
19
  FrameSupportTokensMiscBalanceStatus,
@@ -45,6 +44,7 @@ import type {
45
44
  PalletReferralsAssetAmount,
46
45
  PalletReferralsLevel,
47
46
  PalletReferralsFeeDistribution,
47
+ PalletSignetSignature,
48
48
  OrmlVestingVestingSchedule,
49
49
  EthereumLog,
50
50
  EvmCoreErrorExitReason,
@@ -70,7 +70,6 @@ import type {
70
70
  IsmpEventsTimeoutHandled,
71
71
  IsmpParachainParachainData,
72
72
  PalletHyperbridgeVersionedHostParams,
73
- IsmpRouterStorageValue,
74
73
  PalletBroadcastFiller,
75
74
  PalletBroadcastTradeOperation,
76
75
  PalletBroadcastAsset,
@@ -2725,6 +2724,173 @@ export interface ChainEvents extends GenericChainEvents {
2725
2724
  **/
2726
2725
  [prop: string]: GenericPalletEvent;
2727
2726
  };
2727
+ /**
2728
+ * Pallet `Signet`'s events
2729
+ **/
2730
+ signet: {
2731
+ /**
2732
+ * Pallet has been initialized with an admin
2733
+ **/
2734
+ Initialized: GenericPalletEvent<
2735
+ 'Signet',
2736
+ 'Initialized',
2737
+ { admin: AccountId32; signatureDeposit: bigint; chainId: Bytes }
2738
+ >;
2739
+
2740
+ /**
2741
+ * Signature deposit amount has been updated
2742
+ **/
2743
+ DepositUpdated: GenericPalletEvent<'Signet', 'DepositUpdated', { oldDeposit: bigint; newDeposit: bigint }>;
2744
+
2745
+ /**
2746
+ * Funds have been withdrawn from the pallet
2747
+ **/
2748
+ FundsWithdrawn: GenericPalletEvent<'Signet', 'FundsWithdrawn', { amount: bigint; recipient: AccountId32 }>;
2749
+
2750
+ /**
2751
+ * A signature has been requested
2752
+ **/
2753
+ SignatureRequested: GenericPalletEvent<
2754
+ 'Signet',
2755
+ 'SignatureRequested',
2756
+ {
2757
+ sender: AccountId32;
2758
+ payload: FixedBytes<32>;
2759
+ keyVersion: number;
2760
+ deposit: bigint;
2761
+ chainId: Bytes;
2762
+ path: Bytes;
2763
+ algo: Bytes;
2764
+ dest: Bytes;
2765
+ params: Bytes;
2766
+ }
2767
+ >;
2768
+
2769
+ /**
2770
+ * Sign-respond request event
2771
+ **/
2772
+ SignRespondRequested: GenericPalletEvent<
2773
+ 'Signet',
2774
+ 'SignRespondRequested',
2775
+ {
2776
+ sender: AccountId32;
2777
+ transactionData: Bytes;
2778
+ slip44ChainId: number;
2779
+ keyVersion: number;
2780
+ deposit: bigint;
2781
+ path: Bytes;
2782
+ algo: Bytes;
2783
+ dest: Bytes;
2784
+ params: Bytes;
2785
+ explorerDeserializationFormat: number;
2786
+ explorerDeserializationSchema: Bytes;
2787
+ callbackSerializationFormat: number;
2788
+ callbackSerializationSchema: Bytes;
2789
+ }
2790
+ >;
2791
+
2792
+ /**
2793
+ * Signature response event
2794
+ **/
2795
+ SignatureResponded: GenericPalletEvent<
2796
+ 'Signet',
2797
+ 'SignatureResponded',
2798
+ { requestId: FixedBytes<32>; responder: AccountId32; signature: PalletSignetSignature }
2799
+ >;
2800
+
2801
+ /**
2802
+ * Signature error event
2803
+ **/
2804
+ SignatureError: GenericPalletEvent<
2805
+ 'Signet',
2806
+ 'SignatureError',
2807
+ { requestId: FixedBytes<32>; responder: AccountId32; error: Bytes }
2808
+ >;
2809
+
2810
+ /**
2811
+ * Read response event
2812
+ **/
2813
+ ReadResponded: GenericPalletEvent<
2814
+ 'Signet',
2815
+ 'ReadResponded',
2816
+ { requestId: FixedBytes<32>; responder: AccountId32; serializedOutput: Bytes; signature: PalletSignetSignature }
2817
+ >;
2818
+
2819
+ /**
2820
+ * Generic pallet event
2821
+ **/
2822
+ [prop: string]: GenericPalletEvent;
2823
+ };
2824
+ /**
2825
+ * Pallet `EthDispenser`'s events
2826
+ **/
2827
+ ethDispenser: {
2828
+ /**
2829
+ * Dispenser has been paused. No new requests will be accepted.
2830
+ **/
2831
+ Paused: GenericPalletEvent<'EthDispenser', 'Paused', null>;
2832
+
2833
+ /**
2834
+ * Dispenser has been unpaused. New requests are allowed again.
2835
+ **/
2836
+ Unpaused: GenericPalletEvent<'EthDispenser', 'Unpaused', null>;
2837
+
2838
+ /**
2839
+ * A funding request has been submitted to SigNet.
2840
+ *
2841
+ * Note: This indicates the request was formed and submitted, not that
2842
+ * the EVM transaction has been included on the target chain.
2843
+ **/
2844
+ FundRequested: GenericPalletEvent<
2845
+ 'EthDispenser',
2846
+ 'FundRequested',
2847
+ {
2848
+ /**
2849
+ * Unique request ID derived from request parameters.
2850
+ **/
2851
+ requestId: FixedBytes<32>;
2852
+
2853
+ /**
2854
+ * Account that initiated the request.
2855
+ **/
2856
+ requester: AccountId32;
2857
+
2858
+ /**
2859
+ * Target EVM address to receive ETH.
2860
+ **/
2861
+ to: FixedBytes<20>;
2862
+
2863
+ /**
2864
+ * Requested amount of ETH (in wei).
2865
+ **/
2866
+ amount: bigint;
2867
+ }
2868
+ >;
2869
+
2870
+ /**
2871
+ * Tracked faucet ETH balance has been updated.
2872
+ **/
2873
+ FaucetBalanceUpdated: GenericPalletEvent<
2874
+ 'EthDispenser',
2875
+ 'FaucetBalanceUpdated',
2876
+ {
2877
+ /**
2878
+ * Previous tracked balance (in wei).
2879
+ **/
2880
+ oldBalanceWei: bigint;
2881
+
2882
+ /**
2883
+ * New tracked balance (in wei).
2884
+ **/
2885
+ newBalanceWei: bigint;
2886
+ }
2887
+ >;
2888
+
2889
+ /**
2890
+ * Generic pallet event
2891
+ **/
2892
+ [prop: string]: GenericPalletEvent;
2893
+ };
2728
2894
  /**
2729
2895
  * Pallet `Tokens`'s events
2730
2896
  **/
@@ -2989,6 +3155,11 @@ export interface ChainEvents extends GenericChainEvents {
2989
3155
  **/
2990
3156
  ContractDisapproved: GenericPalletEvent<'EVMAccounts', 'ContractDisapproved', { address: H160 }>;
2991
3157
 
3158
+ /**
3159
+ * Account was claimed.
3160
+ **/
3161
+ AccountClaimed: GenericPalletEvent<'EVMAccounts', 'AccountClaimed', { account: AccountId32; assetId: number }>;
3162
+
2992
3163
  /**
2993
3164
  * Generic pallet event
2994
3165
  **/
@@ -4397,31 +4568,6 @@ export interface ChainEvents extends GenericChainEvents {
4397
4568
  **/
4398
4569
  [prop: string]: GenericPalletEvent;
4399
4570
  };
4400
- /**
4401
- * Pallet `IsmpOracle`'s events
4402
- **/
4403
- ismpOracle: {
4404
- GetRequestSent: GenericPalletEvent<'IsmpOracle', 'GetRequestSent', { commitment: H256 }>;
4405
- PostRequestSent: GenericPalletEvent<'IsmpOracle', 'PostRequestSent', { commitment: H256 }>;
4406
- GetRequestResponded: GenericPalletEvent<
4407
- 'IsmpOracle',
4408
- 'GetRequestResponded',
4409
- { commitment: H256; storageValues: Array<IsmpRouterStorageValue> }
4410
- >;
4411
- WstEthPriceReceived: GenericPalletEvent<
4412
- 'IsmpOracle',
4413
- 'WstEthPriceReceived',
4414
- { commitment: H256; ethPerWsteth: U256 }
4415
- >;
4416
- PostRequestResponded: GenericPalletEvent<'IsmpOracle', 'PostRequestResponded', { commitment: H256 }>;
4417
- GetRequestTimedOut: GenericPalletEvent<'IsmpOracle', 'GetRequestTimedOut', { commitment: H256 }>;
4418
- PostResponseTimedOut: GenericPalletEvent<'IsmpOracle', 'PostResponseTimedOut', { commitment: H256 }>;
4419
-
4420
- /**
4421
- * Generic pallet event
4422
- **/
4423
- [prop: string]: GenericPalletEvent;
4424
- };
4425
4571
  /**
4426
4572
  * Pallet `EmaOracle`'s events
4427
4573
  **/
@@ -52,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
52
52
 
53
53
  /**
54
54
  * @name: PaseoHydrationApi
55
- * @specVersion: 363
55
+ * @specVersion: 374
56
56
  **/
57
57
  export interface PaseoHydrationApi extends GenericSubstrateApi {
58
58
  rpc: ChainJsonRpcApis;
@@ -12,6 +12,7 @@ import type {
12
12
  Data,
13
13
  BytesLike,
14
14
  FixedBytes,
15
+ Permill,
15
16
  H160,
16
17
  U256,
17
18
  } from 'dedot/codecs';
@@ -83,6 +84,7 @@ import type {
83
84
  PalletReferralsLevel,
84
85
  PalletReferralsFeeDistribution,
85
86
  PalletHsmCollateralInfo,
87
+ PalletDispenserDispenserConfigData,
86
88
  OrmlTokensBalanceLock,
87
89
  OrmlTokensAccountData,
88
90
  OrmlTokensReserveData,
@@ -1654,6 +1656,14 @@ export interface ChainStorage extends GenericChainStorage {
1654
1656
  **/
1655
1657
  poolSnapshots: GenericStorageQuery<(arg: number) => PalletStableswapPoolSnapshot | undefined, number>;
1656
1658
 
1659
+ /**
1660
+ * Temporary pool's trade fee for current block.
1661
+ *
1662
+ * @param {number} arg
1663
+ * @param {Callback<Permill | undefined> =} callback
1664
+ **/
1665
+ blockFee: GenericStorageQuery<(arg: number) => Permill | undefined, number>;
1666
+
1657
1667
  /**
1658
1668
  * Generic pallet storage query
1659
1669
  **/
@@ -1913,6 +1923,75 @@ export interface ChainStorage extends GenericChainStorage {
1913
1923
  **/
1914
1924
  [storage: string]: GenericStorageQuery;
1915
1925
  };
1926
+ /**
1927
+ * Pallet `Signet`'s storage queries
1928
+ **/
1929
+ signet: {
1930
+ /**
1931
+ * The admin account that controls this pallet
1932
+ *
1933
+ * @param {Callback<AccountId32 | undefined> =} callback
1934
+ **/
1935
+ admin: GenericStorageQuery<() => AccountId32 | undefined>;
1936
+
1937
+ /**
1938
+ * The amount required as deposit for signature requests
1939
+ *
1940
+ * @param {Callback<bigint> =} callback
1941
+ **/
1942
+ signatureDeposit: GenericStorageQuery<() => bigint>;
1943
+
1944
+ /**
1945
+ * The CAIP-2 chain identifier
1946
+ *
1947
+ * @param {Callback<Bytes> =} callback
1948
+ **/
1949
+ chainId: GenericStorageQuery<() => Bytes>;
1950
+
1951
+ /**
1952
+ * Generic pallet storage query
1953
+ **/
1954
+ [storage: string]: GenericStorageQuery;
1955
+ };
1956
+ /**
1957
+ * Pallet `EthDispenser`'s storage queries
1958
+ **/
1959
+ ethDispenser: {
1960
+ /**
1961
+ * Global configuration for the dispenser.
1962
+ *
1963
+ * Currently only tracks whether the pallet is paused. If `None`, defaults
1964
+ * to unpaused.
1965
+ *
1966
+ * @param {Callback<PalletDispenserDispenserConfigData | undefined> =} callback
1967
+ **/
1968
+ dispenserConfig: GenericStorageQuery<() => PalletDispenserDispenserConfigData | undefined>;
1969
+
1970
+ /**
1971
+ * Tracked ETH balance (in wei) currently available in the external faucet.
1972
+ *
1973
+ * This value is updated manually via governance and is used as a guardrail
1974
+ * to prevent issuing requests that would over-spend the faucet.
1975
+ *
1976
+ * @param {Callback<bigint> =} callback
1977
+ **/
1978
+ faucetBalanceWei: GenericStorageQuery<() => bigint>;
1979
+
1980
+ /**
1981
+ * Request IDs that have already been used.
1982
+ *
1983
+ * This prevents accidental or malicious re-submission of the same request.
1984
+ *
1985
+ * @param {FixedBytes<32>} arg
1986
+ * @param {Callback<[] | undefined> =} callback
1987
+ **/
1988
+ usedRequestIds: GenericStorageQuery<(arg: FixedBytes<32>) => [] | undefined, FixedBytes<32>>;
1989
+
1990
+ /**
1991
+ * Generic pallet storage query
1992
+ **/
1993
+ [storage: string]: GenericStorageQuery;
1994
+ };
1916
1995
  /**
1917
1996
  * Pallet `Tokens`'s storage queries
1918
1997
  **/
@@ -2118,6 +2197,18 @@ export interface ChainStorage extends GenericChainStorage {
2118
2197
  **/
2119
2198
  approvedContract: GenericStorageQuery<(arg: H160) => [] | undefined, H160>;
2120
2199
 
2200
+ /**
2201
+ * Tracks accounts that have been marked as EVM accounts.
2202
+ * An account is marked as EVM account right before we charge the evm fee
2203
+ * This is used to avoid resetting frame system nonce of accounts.
2204
+ * When we mark account as EVM account, we increase its sufficients counter by one.
2205
+ * We never decrease this sufficients, so side effect is that account can never be reaped
2206
+ *
2207
+ * @param {AccountId32Like} arg
2208
+ * @param {Callback<[] | undefined> =} callback
2209
+ **/
2210
+ markedEvmAccounts: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
2211
+
2121
2212
  /**
2122
2213
  * Generic pallet storage query
2123
2214
  **/