@dedot/chaintypes 0.174.0 → 0.176.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/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo-asset-hub/index.d.ts +1 -1
- package/paseo-hydration/consts.d.ts +46 -12
- package/paseo-hydration/errors.d.ts +103 -13
- package/paseo-hydration/events.d.ts +416 -0
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +239 -15
- package/paseo-hydration/runtime.d.ts +121 -0
- package/paseo-hydration/tx.d.ts +353 -19
- package/paseo-hydration/types.d.ts +889 -42
- package/paseo-people/index.d.ts +1 -1
- package/polkadot/consts.d.ts +18 -0
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +364 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +329 -0
- package/polkadot/runtime.d.ts +26 -0
- package/polkadot/tx.d.ts +432 -0
- package/polkadot/types.d.ts +905 -4
- package/polkadot-asset-hub/consts.d.ts +658 -2
- package/polkadot-asset-hub/errors.d.ts +1294 -20
- package/polkadot-asset-hub/events.d.ts +1916 -15
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/query.d.ts +1801 -25
- package/polkadot-asset-hub/runtime.d.ts +168 -0
- package/polkadot-asset-hub/tx.d.ts +10212 -4748
- package/polkadot-asset-hub/types.d.ts +9243 -1313
- package/polkadot-asset-hub/view-functions.d.ts +44 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.176.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "958ce1b488ca31d53f3426dd03a69aa5eb888f0b",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/index.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export interface VersionedPaseoAssetHubApi<Rv extends RpcVersion> extends Generi
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: PaseoAssetHubApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 1009003
|
|
62
62
|
**/
|
|
63
63
|
export interface PaseoAssetHubApi {
|
|
64
64
|
legacy: VersionedPaseoAssetHubApi<RpcLegacy>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Permill, AccountId32, FixedBytes, Perbill, FixedU128, Percent } from 'dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, Permill, AccountId32, FixedBytes, Perbill, FixedU128, H160, Percent } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
@@ -768,17 +768,8 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
768
768
|
**/
|
|
769
769
|
duster: {
|
|
770
770
|
/**
|
|
771
|
-
*
|
|
772
|
-
|
|
773
|
-
reward: bigint;
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* Native Asset Id
|
|
777
|
-
**/
|
|
778
|
-
nativeCurrencyId: number;
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Default account for `reward_account` and `dust_account` in genesis config.
|
|
771
|
+
* Duster for accounts with AToken dusts
|
|
772
|
+
* Treasury account, which receives the dust.
|
|
782
773
|
**/
|
|
783
774
|
treasuryAccountId: AccountId32;
|
|
784
775
|
|
|
@@ -1234,6 +1225,8 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1234
1225
|
* Pallet ID to determine HSM account
|
|
1235
1226
|
**/
|
|
1236
1227
|
palletId: FrameSupportPalletId;
|
|
1228
|
+
minArbitrageAmount: bigint;
|
|
1229
|
+
flashLoanReceiver: H160;
|
|
1237
1230
|
|
|
1238
1231
|
/**
|
|
1239
1232
|
* The gas limit for the execution of EVM calls
|
|
@@ -1739,6 +1732,47 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1739
1732
|
**/
|
|
1740
1733
|
[name: string]: any;
|
|
1741
1734
|
};
|
|
1735
|
+
/**
|
|
1736
|
+
* Pallet `Ismp`'s constants
|
|
1737
|
+
**/
|
|
1738
|
+
ismp: {
|
|
1739
|
+
/**
|
|
1740
|
+
* Generic pallet constant
|
|
1741
|
+
**/
|
|
1742
|
+
[name: string]: any;
|
|
1743
|
+
};
|
|
1744
|
+
/**
|
|
1745
|
+
* Pallet `IsmpParachain`'s constants
|
|
1746
|
+
**/
|
|
1747
|
+
ismpParachain: {
|
|
1748
|
+
/**
|
|
1749
|
+
* Generic pallet constant
|
|
1750
|
+
**/
|
|
1751
|
+
[name: string]: any;
|
|
1752
|
+
};
|
|
1753
|
+
/**
|
|
1754
|
+
* Pallet `Hyperbridge`'s constants
|
|
1755
|
+
**/
|
|
1756
|
+
hyperbridge: {
|
|
1757
|
+
/**
|
|
1758
|
+
* Generic pallet constant
|
|
1759
|
+
**/
|
|
1760
|
+
[name: string]: any;
|
|
1761
|
+
};
|
|
1762
|
+
/**
|
|
1763
|
+
* Pallet `TokenGateway`'s constants
|
|
1764
|
+
**/
|
|
1765
|
+
tokenGateway: {
|
|
1766
|
+
/**
|
|
1767
|
+
* The decimals of the native currency
|
|
1768
|
+
**/
|
|
1769
|
+
decimals: number;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Generic pallet constant
|
|
1773
|
+
**/
|
|
1774
|
+
[name: string]: any;
|
|
1775
|
+
};
|
|
1742
1776
|
/**
|
|
1743
1777
|
* Pallet `EmaOracle`'s constants
|
|
1744
1778
|
**/
|
|
@@ -1452,12 +1452,12 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Account is excluded from dusting.
|
|
1454
1454
|
**/
|
|
1455
|
-
|
|
1455
|
+
AccountWhitelisted: GenericPalletError<Rv>;
|
|
1456
1456
|
|
|
1457
1457
|
/**
|
|
1458
1458
|
* Account is not present in the non-dustable list.
|
|
1459
1459
|
**/
|
|
1460
|
-
|
|
1460
|
+
AccountNotWhitelisted: GenericPalletError<Rv>;
|
|
1461
1461
|
|
|
1462
1462
|
/**
|
|
1463
1463
|
* The balance is zero.
|
|
@@ -1465,14 +1465,14 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1465
1465
|
ZeroBalance: GenericPalletError<Rv>;
|
|
1466
1466
|
|
|
1467
1467
|
/**
|
|
1468
|
-
* The balance is
|
|
1468
|
+
* The balance was not fully dusted, there is some leftover on the account. Normally, it should never happen.
|
|
1469
1469
|
**/
|
|
1470
|
-
|
|
1470
|
+
NonZeroBalance: GenericPalletError<Rv>;
|
|
1471
1471
|
|
|
1472
1472
|
/**
|
|
1473
|
-
*
|
|
1473
|
+
* The balance is sufficient to keep account open.
|
|
1474
1474
|
**/
|
|
1475
|
-
|
|
1475
|
+
BalanceSufficient: GenericPalletError<Rv>;
|
|
1476
1476
|
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Reserve account is not set.
|
|
@@ -2641,13 +2641,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2641
2641
|
**/
|
|
2642
2642
|
NoArbitrageOpportunity: GenericPalletError<Rv>;
|
|
2643
2643
|
|
|
2644
|
-
/**
|
|
2645
|
-
* Offchain lock error
|
|
2646
|
-
*
|
|
2647
|
-
* Failed to acquire the lock for offchain workers, likely because another operation is in progress.
|
|
2648
|
-
**/
|
|
2649
|
-
OffchainLockError: GenericPalletError<Rv>;
|
|
2650
|
-
|
|
2651
2644
|
/**
|
|
2652
2645
|
* Asset not in the pool
|
|
2653
2646
|
*
|
|
@@ -3901,6 +3894,103 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
3901
3894
|
**/
|
|
3902
3895
|
[error: string]: GenericPalletError<Rv>;
|
|
3903
3896
|
};
|
|
3897
|
+
/**
|
|
3898
|
+
* Pallet `Ismp`'s errors
|
|
3899
|
+
**/
|
|
3900
|
+
ismp: {
|
|
3901
|
+
/**
|
|
3902
|
+
* Invalid ISMP message
|
|
3903
|
+
**/
|
|
3904
|
+
InvalidMessage: GenericPalletError<Rv>;
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* Requested message was not found
|
|
3908
|
+
**/
|
|
3909
|
+
MessageNotFound: GenericPalletError<Rv>;
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Encountered an error while creating the consensus client.
|
|
3913
|
+
**/
|
|
3914
|
+
ConsensusClientCreationFailed: GenericPalletError<Rv>;
|
|
3915
|
+
|
|
3916
|
+
/**
|
|
3917
|
+
* Couldn't update unbonding period
|
|
3918
|
+
**/
|
|
3919
|
+
UnbondingPeriodUpdateFailed: GenericPalletError<Rv>;
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* Couldn't update challenge period
|
|
3923
|
+
**/
|
|
3924
|
+
ChallengePeriodUpdateFailed: GenericPalletError<Rv>;
|
|
3925
|
+
|
|
3926
|
+
/**
|
|
3927
|
+
* Generic pallet error
|
|
3928
|
+
**/
|
|
3929
|
+
[error: string]: GenericPalletError<Rv>;
|
|
3930
|
+
};
|
|
3931
|
+
/**
|
|
3932
|
+
* Pallet `Hyperbridge`'s errors
|
|
3933
|
+
**/
|
|
3934
|
+
hyperbridge: {
|
|
3935
|
+
/**
|
|
3936
|
+
* Generic pallet error
|
|
3937
|
+
**/
|
|
3938
|
+
[error: string]: GenericPalletError<Rv>;
|
|
3939
|
+
};
|
|
3940
|
+
/**
|
|
3941
|
+
* Pallet `TokenGateway`'s errors
|
|
3942
|
+
**/
|
|
3943
|
+
tokenGateway: {
|
|
3944
|
+
/**
|
|
3945
|
+
* A asset that has not been registered
|
|
3946
|
+
**/
|
|
3947
|
+
UnregisteredAsset: GenericPalletError<Rv>;
|
|
3948
|
+
|
|
3949
|
+
/**
|
|
3950
|
+
* Error while teleporting asset
|
|
3951
|
+
**/
|
|
3952
|
+
AssetTeleportError: GenericPalletError<Rv>;
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* Coprocessor was not configured in the runtime
|
|
3956
|
+
**/
|
|
3957
|
+
CoprocessorNotConfigured: GenericPalletError<Rv>;
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* Asset or update Dispatch Error
|
|
3961
|
+
**/
|
|
3962
|
+
DispatchError: GenericPalletError<Rv>;
|
|
3963
|
+
|
|
3964
|
+
/**
|
|
3965
|
+
* Asset Id creation failed
|
|
3966
|
+
**/
|
|
3967
|
+
AssetCreationError: GenericPalletError<Rv>;
|
|
3968
|
+
|
|
3969
|
+
/**
|
|
3970
|
+
* Asset decimals not found
|
|
3971
|
+
**/
|
|
3972
|
+
AssetDecimalsNotFound: GenericPalletError<Rv>;
|
|
3973
|
+
|
|
3974
|
+
/**
|
|
3975
|
+
* Protocol Params have not been initialized
|
|
3976
|
+
**/
|
|
3977
|
+
NotInitialized: GenericPalletError<Rv>;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Unknown Asset
|
|
3981
|
+
**/
|
|
3982
|
+
UnknownAsset: GenericPalletError<Rv>;
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* Only root or asset owner can update asset
|
|
3986
|
+
**/
|
|
3987
|
+
NotAssetOwner: GenericPalletError<Rv>;
|
|
3988
|
+
|
|
3989
|
+
/**
|
|
3990
|
+
* Generic pallet error
|
|
3991
|
+
**/
|
|
3992
|
+
[error: string]: GenericPalletError<Rv>;
|
|
3993
|
+
};
|
|
3904
3994
|
/**
|
|
3905
3995
|
* Pallet `EmaOracle`'s errors
|
|
3906
3996
|
**/
|
|
@@ -61,6 +61,14 @@ import type {
|
|
|
61
61
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
62
62
|
FrameSupportMessagesProcessMessageError,
|
|
63
63
|
StagingXcmV4Asset,
|
|
64
|
+
IsmpConsensusStateMachineId,
|
|
65
|
+
IsmpConsensusStateMachineHeight,
|
|
66
|
+
IsmpHostStateMachine,
|
|
67
|
+
PalletIsmpErrorsHandlingError,
|
|
68
|
+
IsmpEventsRequestResponseHandled,
|
|
69
|
+
IsmpEventsTimeoutHandled,
|
|
70
|
+
IsmpParachainParachainData,
|
|
71
|
+
PalletHyperbridgeVersionedHostParams,
|
|
64
72
|
PalletBroadcastFiller,
|
|
65
73
|
PalletBroadcastTradeOperation,
|
|
66
74
|
PalletBroadcastAsset,
|
|
@@ -2859,6 +2867,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2859
2867
|
* - `max_buy_price_coefficient`: New max buy price coefficient if updated (None if not changed)
|
|
2860
2868
|
* - `buy_back_fee`: New buy back fee if updated (None if not changed)
|
|
2861
2869
|
* - `buyback_rate`: New buyback rate if updated (None if not changed)
|
|
2870
|
+
* - `max_in_holding`: New max collateral holding if updated (None if not changed)
|
|
2862
2871
|
**/
|
|
2863
2872
|
CollateralUpdated: GenericPalletEvent<
|
|
2864
2873
|
Rv,
|
|
@@ -2870,6 +2879,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2870
2879
|
maxBuyPriceCoefficient?: FixedU128 | undefined;
|
|
2871
2880
|
buyBackFee?: Permill | undefined;
|
|
2872
2881
|
buybackRate?: Perbill | undefined;
|
|
2882
|
+
maxInHolding?: bigint | undefined | undefined;
|
|
2873
2883
|
}
|
|
2874
2884
|
>;
|
|
2875
2885
|
|
|
@@ -4280,6 +4290,412 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4280
4290
|
**/
|
|
4281
4291
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
4282
4292
|
};
|
|
4293
|
+
/**
|
|
4294
|
+
* Pallet `Ismp`'s events
|
|
4295
|
+
**/
|
|
4296
|
+
ismp: {
|
|
4297
|
+
/**
|
|
4298
|
+
* Emitted when a state machine is successfully updated to a new height
|
|
4299
|
+
**/
|
|
4300
|
+
StateMachineUpdated: GenericPalletEvent<
|
|
4301
|
+
Rv,
|
|
4302
|
+
'Ismp',
|
|
4303
|
+
'StateMachineUpdated',
|
|
4304
|
+
{
|
|
4305
|
+
/**
|
|
4306
|
+
* State machine identifier
|
|
4307
|
+
**/
|
|
4308
|
+
stateMachineId: IsmpConsensusStateMachineId;
|
|
4309
|
+
|
|
4310
|
+
/**
|
|
4311
|
+
* State machine latest height
|
|
4312
|
+
**/
|
|
4313
|
+
latestHeight: bigint;
|
|
4314
|
+
}
|
|
4315
|
+
>;
|
|
4316
|
+
|
|
4317
|
+
/**
|
|
4318
|
+
* Emitted when a state commitment is vetoed by a fisherman
|
|
4319
|
+
**/
|
|
4320
|
+
StateCommitmentVetoed: GenericPalletEvent<
|
|
4321
|
+
Rv,
|
|
4322
|
+
'Ismp',
|
|
4323
|
+
'StateCommitmentVetoed',
|
|
4324
|
+
{
|
|
4325
|
+
/**
|
|
4326
|
+
* State machine height
|
|
4327
|
+
**/
|
|
4328
|
+
height: IsmpConsensusStateMachineHeight;
|
|
4329
|
+
|
|
4330
|
+
/**
|
|
4331
|
+
* responsible fisherman
|
|
4332
|
+
**/
|
|
4333
|
+
fisherman: Bytes;
|
|
4334
|
+
}
|
|
4335
|
+
>;
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* Indicates that a consensus client has been created
|
|
4339
|
+
**/
|
|
4340
|
+
ConsensusClientCreated: GenericPalletEvent<
|
|
4341
|
+
Rv,
|
|
4342
|
+
'Ismp',
|
|
4343
|
+
'ConsensusClientCreated',
|
|
4344
|
+
{
|
|
4345
|
+
/**
|
|
4346
|
+
* Consensus client id
|
|
4347
|
+
**/
|
|
4348
|
+
consensusClientId: FixedBytes<4>;
|
|
4349
|
+
}
|
|
4350
|
+
>;
|
|
4351
|
+
|
|
4352
|
+
/**
|
|
4353
|
+
* Indicates that a consensus client has been created
|
|
4354
|
+
**/
|
|
4355
|
+
ConsensusClientFrozen: GenericPalletEvent<
|
|
4356
|
+
Rv,
|
|
4357
|
+
'Ismp',
|
|
4358
|
+
'ConsensusClientFrozen',
|
|
4359
|
+
{
|
|
4360
|
+
/**
|
|
4361
|
+
* Consensus client id
|
|
4362
|
+
**/
|
|
4363
|
+
consensusClientId: FixedBytes<4>;
|
|
4364
|
+
}
|
|
4365
|
+
>;
|
|
4366
|
+
|
|
4367
|
+
/**
|
|
4368
|
+
* An Outgoing Response has been deposited
|
|
4369
|
+
**/
|
|
4370
|
+
Response: GenericPalletEvent<
|
|
4371
|
+
Rv,
|
|
4372
|
+
'Ismp',
|
|
4373
|
+
'Response',
|
|
4374
|
+
{
|
|
4375
|
+
/**
|
|
4376
|
+
* Chain that this response will be routed to
|
|
4377
|
+
**/
|
|
4378
|
+
destChain: IsmpHostStateMachine;
|
|
4379
|
+
|
|
4380
|
+
/**
|
|
4381
|
+
* Source Chain for this response
|
|
4382
|
+
**/
|
|
4383
|
+
sourceChain: IsmpHostStateMachine;
|
|
4384
|
+
|
|
4385
|
+
/**
|
|
4386
|
+
* Nonce for the request which this response is for
|
|
4387
|
+
**/
|
|
4388
|
+
requestNonce: bigint;
|
|
4389
|
+
|
|
4390
|
+
/**
|
|
4391
|
+
* Response Commitment
|
|
4392
|
+
**/
|
|
4393
|
+
commitment: H256;
|
|
4394
|
+
|
|
4395
|
+
/**
|
|
4396
|
+
* Request commitment
|
|
4397
|
+
**/
|
|
4398
|
+
reqCommitment: H256;
|
|
4399
|
+
}
|
|
4400
|
+
>;
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* An Outgoing Request has been deposited
|
|
4404
|
+
**/
|
|
4405
|
+
Request: GenericPalletEvent<
|
|
4406
|
+
Rv,
|
|
4407
|
+
'Ismp',
|
|
4408
|
+
'Request',
|
|
4409
|
+
{
|
|
4410
|
+
/**
|
|
4411
|
+
* Chain that this request will be routed to
|
|
4412
|
+
**/
|
|
4413
|
+
destChain: IsmpHostStateMachine;
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
* Source Chain for request
|
|
4417
|
+
**/
|
|
4418
|
+
sourceChain: IsmpHostStateMachine;
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* Request nonce
|
|
4422
|
+
**/
|
|
4423
|
+
requestNonce: bigint;
|
|
4424
|
+
|
|
4425
|
+
/**
|
|
4426
|
+
* Commitment
|
|
4427
|
+
**/
|
|
4428
|
+
commitment: H256;
|
|
4429
|
+
}
|
|
4430
|
+
>;
|
|
4431
|
+
|
|
4432
|
+
/**
|
|
4433
|
+
* Some errors handling some ismp messages
|
|
4434
|
+
**/
|
|
4435
|
+
Errors: GenericPalletEvent<
|
|
4436
|
+
Rv,
|
|
4437
|
+
'Ismp',
|
|
4438
|
+
'Errors',
|
|
4439
|
+
{
|
|
4440
|
+
/**
|
|
4441
|
+
* Message handling errors
|
|
4442
|
+
**/
|
|
4443
|
+
errors: Array<PalletIsmpErrorsHandlingError>;
|
|
4444
|
+
}
|
|
4445
|
+
>;
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* Post Request Handled
|
|
4449
|
+
**/
|
|
4450
|
+
PostRequestHandled: GenericPalletEvent<Rv, 'Ismp', 'PostRequestHandled', IsmpEventsRequestResponseHandled>;
|
|
4451
|
+
|
|
4452
|
+
/**
|
|
4453
|
+
* Post Response Handled
|
|
4454
|
+
**/
|
|
4455
|
+
PostResponseHandled: GenericPalletEvent<Rv, 'Ismp', 'PostResponseHandled', IsmpEventsRequestResponseHandled>;
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* Get Response Handled
|
|
4459
|
+
**/
|
|
4460
|
+
GetRequestHandled: GenericPalletEvent<Rv, 'Ismp', 'GetRequestHandled', IsmpEventsRequestResponseHandled>;
|
|
4461
|
+
|
|
4462
|
+
/**
|
|
4463
|
+
* Post request timeout handled
|
|
4464
|
+
**/
|
|
4465
|
+
PostRequestTimeoutHandled: GenericPalletEvent<Rv, 'Ismp', 'PostRequestTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4466
|
+
|
|
4467
|
+
/**
|
|
4468
|
+
* Post response timeout handled
|
|
4469
|
+
**/
|
|
4470
|
+
PostResponseTimeoutHandled: GenericPalletEvent<Rv, 'Ismp', 'PostResponseTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* Get request timeout handled
|
|
4474
|
+
**/
|
|
4475
|
+
GetRequestTimeoutHandled: GenericPalletEvent<Rv, 'Ismp', 'GetRequestTimeoutHandled', IsmpEventsTimeoutHandled>;
|
|
4476
|
+
|
|
4477
|
+
/**
|
|
4478
|
+
* Generic pallet event
|
|
4479
|
+
**/
|
|
4480
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
4481
|
+
};
|
|
4482
|
+
/**
|
|
4483
|
+
* Pallet `IsmpParachain`'s events
|
|
4484
|
+
**/
|
|
4485
|
+
ismpParachain: {
|
|
4486
|
+
/**
|
|
4487
|
+
* Parachains with the `para_ids` have been added to the whitelist
|
|
4488
|
+
**/
|
|
4489
|
+
ParachainsAdded: GenericPalletEvent<
|
|
4490
|
+
Rv,
|
|
4491
|
+
'IsmpParachain',
|
|
4492
|
+
'ParachainsAdded',
|
|
4493
|
+
{
|
|
4494
|
+
/**
|
|
4495
|
+
* The parachains in question
|
|
4496
|
+
**/
|
|
4497
|
+
paraIds: Array<IsmpParachainParachainData>;
|
|
4498
|
+
}
|
|
4499
|
+
>;
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Parachains with the `para_ids` have been removed from the whitelist
|
|
4503
|
+
**/
|
|
4504
|
+
ParachainsRemoved: GenericPalletEvent<
|
|
4505
|
+
Rv,
|
|
4506
|
+
'IsmpParachain',
|
|
4507
|
+
'ParachainsRemoved',
|
|
4508
|
+
{
|
|
4509
|
+
/**
|
|
4510
|
+
* The parachains in question
|
|
4511
|
+
**/
|
|
4512
|
+
paraIds: Array<number>;
|
|
4513
|
+
}
|
|
4514
|
+
>;
|
|
4515
|
+
|
|
4516
|
+
/**
|
|
4517
|
+
* Generic pallet event
|
|
4518
|
+
**/
|
|
4519
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
4520
|
+
};
|
|
4521
|
+
/**
|
|
4522
|
+
* Pallet `Hyperbridge`'s events
|
|
4523
|
+
**/
|
|
4524
|
+
hyperbridge: {
|
|
4525
|
+
/**
|
|
4526
|
+
* Hyperbridge governance has now updated it's host params on this chain.
|
|
4527
|
+
**/
|
|
4528
|
+
HostParamsUpdated: GenericPalletEvent<
|
|
4529
|
+
Rv,
|
|
4530
|
+
'Hyperbridge',
|
|
4531
|
+
'HostParamsUpdated',
|
|
4532
|
+
{
|
|
4533
|
+
/**
|
|
4534
|
+
* The old host params
|
|
4535
|
+
**/
|
|
4536
|
+
old: PalletHyperbridgeVersionedHostParams;
|
|
4537
|
+
|
|
4538
|
+
/**
|
|
4539
|
+
* The new host params
|
|
4540
|
+
**/
|
|
4541
|
+
new: PalletHyperbridgeVersionedHostParams;
|
|
4542
|
+
}
|
|
4543
|
+
>;
|
|
4544
|
+
|
|
4545
|
+
/**
|
|
4546
|
+
* A relayer has withdrawn some fees
|
|
4547
|
+
**/
|
|
4548
|
+
RelayerFeeWithdrawn: GenericPalletEvent<
|
|
4549
|
+
Rv,
|
|
4550
|
+
'Hyperbridge',
|
|
4551
|
+
'RelayerFeeWithdrawn',
|
|
4552
|
+
{
|
|
4553
|
+
/**
|
|
4554
|
+
* The amount that was withdrawn
|
|
4555
|
+
**/
|
|
4556
|
+
amount: bigint;
|
|
4557
|
+
|
|
4558
|
+
/**
|
|
4559
|
+
* The withdrawal beneficiary
|
|
4560
|
+
**/
|
|
4561
|
+
account: AccountId32;
|
|
4562
|
+
}
|
|
4563
|
+
>;
|
|
4564
|
+
|
|
4565
|
+
/**
|
|
4566
|
+
* Hyperbridge has withdrawn it's protocol revenue
|
|
4567
|
+
**/
|
|
4568
|
+
ProtocolRevenueWithdrawn: GenericPalletEvent<
|
|
4569
|
+
Rv,
|
|
4570
|
+
'Hyperbridge',
|
|
4571
|
+
'ProtocolRevenueWithdrawn',
|
|
4572
|
+
{
|
|
4573
|
+
/**
|
|
4574
|
+
* The amount that was withdrawn
|
|
4575
|
+
**/
|
|
4576
|
+
amount: bigint;
|
|
4577
|
+
|
|
4578
|
+
/**
|
|
4579
|
+
* The withdrawal beneficiary
|
|
4580
|
+
**/
|
|
4581
|
+
account: AccountId32;
|
|
4582
|
+
}
|
|
4583
|
+
>;
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* Generic pallet event
|
|
4587
|
+
**/
|
|
4588
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
4589
|
+
};
|
|
4590
|
+
/**
|
|
4591
|
+
* Pallet `TokenGateway`'s events
|
|
4592
|
+
**/
|
|
4593
|
+
tokenGateway: {
|
|
4594
|
+
/**
|
|
4595
|
+
* An asset has been teleported
|
|
4596
|
+
**/
|
|
4597
|
+
AssetTeleported: GenericPalletEvent<
|
|
4598
|
+
Rv,
|
|
4599
|
+
'TokenGateway',
|
|
4600
|
+
'AssetTeleported',
|
|
4601
|
+
{
|
|
4602
|
+
/**
|
|
4603
|
+
* Source account
|
|
4604
|
+
**/
|
|
4605
|
+
from: AccountId32;
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* beneficiary account on destination
|
|
4609
|
+
**/
|
|
4610
|
+
to: H256;
|
|
4611
|
+
|
|
4612
|
+
/**
|
|
4613
|
+
* Amount transferred
|
|
4614
|
+
**/
|
|
4615
|
+
amount: bigint;
|
|
4616
|
+
|
|
4617
|
+
/**
|
|
4618
|
+
* Destination chain
|
|
4619
|
+
**/
|
|
4620
|
+
dest: IsmpHostStateMachine;
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* Request commitment
|
|
4624
|
+
**/
|
|
4625
|
+
commitment: H256;
|
|
4626
|
+
}
|
|
4627
|
+
>;
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* An asset has been received and transferred to the beneficiary's account
|
|
4631
|
+
**/
|
|
4632
|
+
AssetReceived: GenericPalletEvent<
|
|
4633
|
+
Rv,
|
|
4634
|
+
'TokenGateway',
|
|
4635
|
+
'AssetReceived',
|
|
4636
|
+
{
|
|
4637
|
+
/**
|
|
4638
|
+
* beneficiary account on relaychain
|
|
4639
|
+
**/
|
|
4640
|
+
beneficiary: AccountId32;
|
|
4641
|
+
|
|
4642
|
+
/**
|
|
4643
|
+
* Amount transferred
|
|
4644
|
+
**/
|
|
4645
|
+
amount: bigint;
|
|
4646
|
+
|
|
4647
|
+
/**
|
|
4648
|
+
* Destination chain
|
|
4649
|
+
**/
|
|
4650
|
+
source: IsmpHostStateMachine;
|
|
4651
|
+
}
|
|
4652
|
+
>;
|
|
4653
|
+
|
|
4654
|
+
/**
|
|
4655
|
+
* An asset has been refunded and transferred to the beneficiary's account
|
|
4656
|
+
**/
|
|
4657
|
+
AssetRefunded: GenericPalletEvent<
|
|
4658
|
+
Rv,
|
|
4659
|
+
'TokenGateway',
|
|
4660
|
+
'AssetRefunded',
|
|
4661
|
+
{
|
|
4662
|
+
/**
|
|
4663
|
+
* beneficiary account on relaychain
|
|
4664
|
+
**/
|
|
4665
|
+
beneficiary: AccountId32;
|
|
4666
|
+
|
|
4667
|
+
/**
|
|
4668
|
+
* Amount transferred
|
|
4669
|
+
**/
|
|
4670
|
+
amount: bigint;
|
|
4671
|
+
|
|
4672
|
+
/**
|
|
4673
|
+
* Destination chain
|
|
4674
|
+
**/
|
|
4675
|
+
source: IsmpHostStateMachine;
|
|
4676
|
+
}
|
|
4677
|
+
>;
|
|
4678
|
+
|
|
4679
|
+
/**
|
|
4680
|
+
* ERC6160 asset creation request dispatched to hyperbridge
|
|
4681
|
+
**/
|
|
4682
|
+
Erc6160AssetRegistrationDispatched: GenericPalletEvent<
|
|
4683
|
+
Rv,
|
|
4684
|
+
'TokenGateway',
|
|
4685
|
+
'ERC6160AssetRegistrationDispatched',
|
|
4686
|
+
{
|
|
4687
|
+
/**
|
|
4688
|
+
* Request commitment
|
|
4689
|
+
**/
|
|
4690
|
+
commitment: H256;
|
|
4691
|
+
}
|
|
4692
|
+
>;
|
|
4693
|
+
|
|
4694
|
+
/**
|
|
4695
|
+
* Generic pallet event
|
|
4696
|
+
**/
|
|
4697
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
4698
|
+
};
|
|
4283
4699
|
/**
|
|
4284
4700
|
* Pallet `EmaOracle`'s events
|
|
4285
4701
|
**/
|