@dedot/chaintypes 0.134.0 → 0.136.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/astar/consts.d.ts +63 -0
- package/astar/errors.d.ts +74 -0
- package/astar/events.d.ts +73 -0
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +48 -0
- package/astar/tx.d.ts +316 -0
- package/astar/types.d.ts +371 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-people/consts.d.ts +38 -1
- package/kusama-people/errors.d.ts +18 -12
- package/kusama-people/events.d.ts +110 -2
- package/kusama-people/index.d.ts +1 -1
- package/kusama-people/query.d.ts +36 -6
- package/kusama-people/runtime.d.ts +1 -1
- package/kusama-people/tx.d.ts +204 -0
- package/kusama-people/types.d.ts +315 -24
- package/moonbeam/consts.d.ts +125 -0
- package/moonbeam/errors.d.ts +219 -50
- package/moonbeam/events.d.ts +331 -0
- package/moonbeam/index.d.ts +1 -1
- package/moonbeam/query.d.ts +267 -17
- package/moonbeam/runtime.d.ts +117 -1
- package/moonbeam/tx.d.ts +564 -88
- package/moonbeam/types.d.ts +1376 -239
- package/package.json +2 -2
package/moonbeam/errors.d.ts
CHANGED
|
@@ -727,11 +727,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
727
727
|
* Pallet `MoonbeamLazyMigrations`'s errors
|
|
728
728
|
**/
|
|
729
729
|
moonbeamLazyMigrations: {
|
|
730
|
-
/**
|
|
731
|
-
* The limit cannot be zero
|
|
732
|
-
**/
|
|
733
|
-
LimitCannotBeZero: GenericPalletError<Rv>;
|
|
734
|
-
|
|
735
730
|
/**
|
|
736
731
|
* The contract already have metadata
|
|
737
732
|
**/
|
|
@@ -742,51 +737,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
742
737
|
**/
|
|
743
738
|
ContractNotExist: GenericPalletError<Rv>;
|
|
744
739
|
|
|
745
|
-
/**
|
|
746
|
-
* The symbol length exceeds the maximum allowed
|
|
747
|
-
**/
|
|
748
|
-
SymbolTooLong: GenericPalletError<Rv>;
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* The name length exceeds the maximum allowed
|
|
752
|
-
**/
|
|
753
|
-
NameTooLong: GenericPalletError<Rv>;
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* The asset type was not found
|
|
757
|
-
**/
|
|
758
|
-
AssetTypeNotFound: GenericPalletError<Rv>;
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* Asset not found
|
|
762
|
-
**/
|
|
763
|
-
AssetNotFound: GenericPalletError<Rv>;
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* The location of the asset was not found
|
|
767
|
-
**/
|
|
768
|
-
LocationNotFound: GenericPalletError<Rv>;
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* Migration is not finished yet
|
|
772
|
-
**/
|
|
773
|
-
MigrationNotFinished: GenericPalletError<Rv>;
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* No migration in progress
|
|
777
|
-
**/
|
|
778
|
-
NoMigrationInProgress: GenericPalletError<Rv>;
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Fail to mint the foreign asset
|
|
782
|
-
**/
|
|
783
|
-
MintFailed: GenericPalletError<Rv>;
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* Fail to add an approval
|
|
787
|
-
**/
|
|
788
|
-
ApprovalFailed: GenericPalletError<Rv>;
|
|
789
|
-
|
|
790
740
|
/**
|
|
791
741
|
* Generic pallet error
|
|
792
742
|
**/
|
|
@@ -1989,6 +1939,225 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1989
1939
|
RandomnessResultDNE: GenericPalletError<Rv>;
|
|
1990
1940
|
RandomnessResultNotFilled: GenericPalletError<Rv>;
|
|
1991
1941
|
|
|
1942
|
+
/**
|
|
1943
|
+
* Generic pallet error
|
|
1944
|
+
**/
|
|
1945
|
+
[error: string]: GenericPalletError<Rv>;
|
|
1946
|
+
};
|
|
1947
|
+
/**
|
|
1948
|
+
* Pallet `BridgeKusamaGrandpa`'s errors
|
|
1949
|
+
**/
|
|
1950
|
+
bridgeKusamaGrandpa: {
|
|
1951
|
+
/**
|
|
1952
|
+
* The given justification is invalid for the given header.
|
|
1953
|
+
**/
|
|
1954
|
+
InvalidJustification: GenericPalletError<Rv>;
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* The authority set from the underlying header chain is invalid.
|
|
1958
|
+
**/
|
|
1959
|
+
InvalidAuthoritySet: GenericPalletError<Rv>;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* The header being imported is older than the best finalized header known to the pallet.
|
|
1963
|
+
**/
|
|
1964
|
+
OldHeader: GenericPalletError<Rv>;
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* The scheduled authority set change found in the header is unsupported by the pallet.
|
|
1968
|
+
*
|
|
1969
|
+
* This is the case for non-standard (e.g forced) authority set changes.
|
|
1970
|
+
**/
|
|
1971
|
+
UnsupportedScheduledChange: GenericPalletError<Rv>;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* The pallet is not yet initialized.
|
|
1975
|
+
**/
|
|
1976
|
+
NotInitialized: GenericPalletError<Rv>;
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* The pallet has already been initialized.
|
|
1980
|
+
**/
|
|
1981
|
+
AlreadyInitialized: GenericPalletError<Rv>;
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Too many authorities in the set.
|
|
1985
|
+
**/
|
|
1986
|
+
TooManyAuthoritiesInSet: GenericPalletError<Rv>;
|
|
1987
|
+
|
|
1988
|
+
/**
|
|
1989
|
+
* Error generated by the `OwnedBridgeModule` trait.
|
|
1990
|
+
**/
|
|
1991
|
+
BridgeModule: GenericPalletError<Rv>;
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* The `current_set_id` argument of the `submit_finality_proof_ex` doesn't match
|
|
1995
|
+
* the id of the current set, known to the pallet.
|
|
1996
|
+
**/
|
|
1997
|
+
InvalidAuthoritySetId: GenericPalletError<Rv>;
|
|
1998
|
+
|
|
1999
|
+
/**
|
|
2000
|
+
* The submitter wanted free execution, but we can't fit more free transactions
|
|
2001
|
+
* to the block.
|
|
2002
|
+
**/
|
|
2003
|
+
FreeHeadersLimitExceded: GenericPalletError<Rv>;
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* The submitter wanted free execution, but the difference between best known and
|
|
2007
|
+
* bundled header numbers is below the `FreeHeadersInterval`.
|
|
2008
|
+
**/
|
|
2009
|
+
BelowFreeHeaderInterval: GenericPalletError<Rv>;
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* The header (and its finality) submission overflows hardcoded chain limits: size
|
|
2013
|
+
* and/or weight are larger than expected.
|
|
2014
|
+
**/
|
|
2015
|
+
HeaderOverflowLimits: GenericPalletError<Rv>;
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* Generic pallet error
|
|
2019
|
+
**/
|
|
2020
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2021
|
+
};
|
|
2022
|
+
/**
|
|
2023
|
+
* Pallet `BridgeKusamaParachains`'s errors
|
|
2024
|
+
**/
|
|
2025
|
+
bridgeKusamaParachains: {
|
|
2026
|
+
/**
|
|
2027
|
+
* Relay chain block hash is unknown to us.
|
|
2028
|
+
**/
|
|
2029
|
+
UnknownRelayChainBlock: GenericPalletError<Rv>;
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* The number of stored relay block is different from what the relayer has provided.
|
|
2033
|
+
**/
|
|
2034
|
+
InvalidRelayChainBlockNumber: GenericPalletError<Rv>;
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* Parachain heads storage proof is invalid.
|
|
2038
|
+
**/
|
|
2039
|
+
HeaderChainStorageProof: GenericPalletError<Rv>;
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Error generated by the `OwnedBridgeModule` trait.
|
|
2043
|
+
**/
|
|
2044
|
+
BridgeModule: GenericPalletError<Rv>;
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* Generic pallet error
|
|
2048
|
+
**/
|
|
2049
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2050
|
+
};
|
|
2051
|
+
/**
|
|
2052
|
+
* Pallet `BridgeKusamaMessages`'s errors
|
|
2053
|
+
**/
|
|
2054
|
+
bridgeKusamaMessages: {
|
|
2055
|
+
/**
|
|
2056
|
+
* Pallet is not in Normal operating mode.
|
|
2057
|
+
**/
|
|
2058
|
+
NotOperatingNormally: GenericPalletError<Rv>;
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Error that is reported by the lanes manager.
|
|
2062
|
+
**/
|
|
2063
|
+
LanesManager: GenericPalletError<Rv>;
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* Message has been treated as invalid by the pallet logic.
|
|
2067
|
+
**/
|
|
2068
|
+
MessageRejectedByPallet: GenericPalletError<Rv>;
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* The transaction brings too many messages.
|
|
2072
|
+
**/
|
|
2073
|
+
TooManyMessagesInTheProof: GenericPalletError<Rv>;
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* Invalid messages has been submitted.
|
|
2077
|
+
**/
|
|
2078
|
+
InvalidMessagesProof: GenericPalletError<Rv>;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Invalid messages delivery proof has been submitted.
|
|
2082
|
+
**/
|
|
2083
|
+
InvalidMessagesDeliveryProof: GenericPalletError<Rv>;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* The relayer has declared invalid unrewarded relayers state in the
|
|
2087
|
+
* `receive_messages_delivery_proof` call.
|
|
2088
|
+
**/
|
|
2089
|
+
InvalidUnrewardedRelayersState: GenericPalletError<Rv>;
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* The cumulative dispatch weight, passed by relayer is not enough to cover dispatch
|
|
2093
|
+
* of all bundled messages.
|
|
2094
|
+
**/
|
|
2095
|
+
InsufficientDispatchWeight: GenericPalletError<Rv>;
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Error confirming messages receival.
|
|
2099
|
+
**/
|
|
2100
|
+
ReceptionConfirmation: GenericPalletError<Rv>;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Error generated by the `OwnedBridgeModule` trait.
|
|
2104
|
+
**/
|
|
2105
|
+
BridgeModule: GenericPalletError<Rv>;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* Generic pallet error
|
|
2109
|
+
**/
|
|
2110
|
+
[error: string]: GenericPalletError<Rv>;
|
|
2111
|
+
};
|
|
2112
|
+
/**
|
|
2113
|
+
* Pallet `BridgeXcmOverMoonriver`'s errors
|
|
2114
|
+
**/
|
|
2115
|
+
bridgeXcmOverMoonriver: {
|
|
2116
|
+
/**
|
|
2117
|
+
* Bridge locations error.
|
|
2118
|
+
**/
|
|
2119
|
+
BridgeLocations: GenericPalletError<Rv>;
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* Invalid local bridge origin account.
|
|
2123
|
+
**/
|
|
2124
|
+
InvalidBridgeOriginAccount: GenericPalletError<Rv>;
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* The bridge is already registered in this pallet.
|
|
2128
|
+
**/
|
|
2129
|
+
BridgeAlreadyExists: GenericPalletError<Rv>;
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* The local origin already owns a maximal number of bridges.
|
|
2133
|
+
**/
|
|
2134
|
+
TooManyBridgesForLocalOrigin: GenericPalletError<Rv>;
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Trying to close already closed bridge.
|
|
2138
|
+
**/
|
|
2139
|
+
BridgeAlreadyClosed: GenericPalletError<Rv>;
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Lanes manager error.
|
|
2143
|
+
**/
|
|
2144
|
+
LanesManager: GenericPalletError<Rv>;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Trying to access unknown bridge.
|
|
2148
|
+
**/
|
|
2149
|
+
UnknownBridge: GenericPalletError<Rv>;
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* The bridge origin can't pay the required amount for opening the bridge.
|
|
2153
|
+
**/
|
|
2154
|
+
FailedToReserveBridgeDeposit: GenericPalletError<Rv>;
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* The version of XCM location argument is unsupported.
|
|
2158
|
+
**/
|
|
2159
|
+
UnsupportedXcmVersion: GenericPalletError<Rv>;
|
|
2160
|
+
|
|
1992
2161
|
/**
|
|
1993
2162
|
* Generic pallet error
|
|
1994
2163
|
**/
|
package/moonbeam/events.d.ts
CHANGED
|
@@ -49,6 +49,13 @@ import type {
|
|
|
49
49
|
PalletXcmTransactorHrmpOperation,
|
|
50
50
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
51
51
|
FrameSupportMessagesProcessMessageError,
|
|
52
|
+
BpHeaderChainHeaderFinalityInfo,
|
|
53
|
+
BpPolkadotCoreParachainsParaId,
|
|
54
|
+
BpMessagesLaneHashedLaneId,
|
|
55
|
+
BpMessagesReceivedMessages,
|
|
56
|
+
BpMessagesDeliveredMessages,
|
|
57
|
+
BpXcmBridgeHubBridgeId,
|
|
58
|
+
StagingXcmV5Junctions,
|
|
52
59
|
} from './types.js';
|
|
53
60
|
|
|
54
61
|
export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
|
|
@@ -3276,6 +3283,330 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3276
3283
|
RequestFeeIncreased: GenericPalletEvent<Rv, 'Randomness', 'RequestFeeIncreased', { id: bigint; newFee: bigint }>;
|
|
3277
3284
|
RequestExpirationExecuted: GenericPalletEvent<Rv, 'Randomness', 'RequestExpirationExecuted', { id: bigint }>;
|
|
3278
3285
|
|
|
3286
|
+
/**
|
|
3287
|
+
* Generic pallet event
|
|
3288
|
+
**/
|
|
3289
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
3290
|
+
};
|
|
3291
|
+
/**
|
|
3292
|
+
* Pallet `BridgeKusamaGrandpa`'s events
|
|
3293
|
+
**/
|
|
3294
|
+
bridgeKusamaGrandpa: {
|
|
3295
|
+
/**
|
|
3296
|
+
* Best finalized chain header has been updated to the header with given number and hash.
|
|
3297
|
+
**/
|
|
3298
|
+
UpdatedBestFinalizedHeader: GenericPalletEvent<
|
|
3299
|
+
Rv,
|
|
3300
|
+
'BridgeKusamaGrandpa',
|
|
3301
|
+
'UpdatedBestFinalizedHeader',
|
|
3302
|
+
{
|
|
3303
|
+
/**
|
|
3304
|
+
* Number of the new best finalized header.
|
|
3305
|
+
**/
|
|
3306
|
+
number: number;
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* Hash of the new best finalized header.
|
|
3310
|
+
**/
|
|
3311
|
+
hash: H256;
|
|
3312
|
+
|
|
3313
|
+
/**
|
|
3314
|
+
* The Grandpa info associated to the new best finalized header.
|
|
3315
|
+
**/
|
|
3316
|
+
grandpaInfo: BpHeaderChainHeaderFinalityInfo;
|
|
3317
|
+
}
|
|
3318
|
+
>;
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* Generic pallet event
|
|
3322
|
+
**/
|
|
3323
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
3324
|
+
};
|
|
3325
|
+
/**
|
|
3326
|
+
* Pallet `BridgeKusamaParachains`'s events
|
|
3327
|
+
**/
|
|
3328
|
+
bridgeKusamaParachains: {
|
|
3329
|
+
/**
|
|
3330
|
+
* The caller has provided head of parachain that the pallet is not configured to track.
|
|
3331
|
+
**/
|
|
3332
|
+
UntrackedParachainRejected: GenericPalletEvent<
|
|
3333
|
+
Rv,
|
|
3334
|
+
'BridgeKusamaParachains',
|
|
3335
|
+
'UntrackedParachainRejected',
|
|
3336
|
+
{
|
|
3337
|
+
/**
|
|
3338
|
+
* Identifier of the parachain that is not tracked by the pallet.
|
|
3339
|
+
**/
|
|
3340
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3341
|
+
}
|
|
3342
|
+
>;
|
|
3343
|
+
|
|
3344
|
+
/**
|
|
3345
|
+
* The caller has declared that he has provided given parachain head, but it is missing
|
|
3346
|
+
* from the storage proof.
|
|
3347
|
+
**/
|
|
3348
|
+
MissingParachainHead: GenericPalletEvent<
|
|
3349
|
+
Rv,
|
|
3350
|
+
'BridgeKusamaParachains',
|
|
3351
|
+
'MissingParachainHead',
|
|
3352
|
+
{
|
|
3353
|
+
/**
|
|
3354
|
+
* Identifier of the parachain with missing head.
|
|
3355
|
+
**/
|
|
3356
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3357
|
+
}
|
|
3358
|
+
>;
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* The caller has provided parachain head hash that is not matching the hash read from the
|
|
3362
|
+
* storage proof.
|
|
3363
|
+
**/
|
|
3364
|
+
IncorrectParachainHeadHash: GenericPalletEvent<
|
|
3365
|
+
Rv,
|
|
3366
|
+
'BridgeKusamaParachains',
|
|
3367
|
+
'IncorrectParachainHeadHash',
|
|
3368
|
+
{
|
|
3369
|
+
/**
|
|
3370
|
+
* Identifier of the parachain with incorrect head hast.
|
|
3371
|
+
**/
|
|
3372
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* Specified parachain head hash.
|
|
3376
|
+
**/
|
|
3377
|
+
parachainHeadHash: H256;
|
|
3378
|
+
|
|
3379
|
+
/**
|
|
3380
|
+
* Actual parachain head hash.
|
|
3381
|
+
**/
|
|
3382
|
+
actualParachainHeadHash: H256;
|
|
3383
|
+
}
|
|
3384
|
+
>;
|
|
3385
|
+
|
|
3386
|
+
/**
|
|
3387
|
+
* The caller has provided obsolete parachain head, which is already known to the pallet.
|
|
3388
|
+
**/
|
|
3389
|
+
RejectedObsoleteParachainHead: GenericPalletEvent<
|
|
3390
|
+
Rv,
|
|
3391
|
+
'BridgeKusamaParachains',
|
|
3392
|
+
'RejectedObsoleteParachainHead',
|
|
3393
|
+
{
|
|
3394
|
+
/**
|
|
3395
|
+
* Identifier of the parachain with obsolete head.
|
|
3396
|
+
**/
|
|
3397
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3398
|
+
|
|
3399
|
+
/**
|
|
3400
|
+
* Obsolete parachain head hash.
|
|
3401
|
+
**/
|
|
3402
|
+
parachainHeadHash: H256;
|
|
3403
|
+
}
|
|
3404
|
+
>;
|
|
3405
|
+
|
|
3406
|
+
/**
|
|
3407
|
+
* The caller has provided parachain head that exceeds the maximal configured head size.
|
|
3408
|
+
**/
|
|
3409
|
+
RejectedLargeParachainHead: GenericPalletEvent<
|
|
3410
|
+
Rv,
|
|
3411
|
+
'BridgeKusamaParachains',
|
|
3412
|
+
'RejectedLargeParachainHead',
|
|
3413
|
+
{
|
|
3414
|
+
/**
|
|
3415
|
+
* Identifier of the parachain with rejected head.
|
|
3416
|
+
**/
|
|
3417
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3418
|
+
|
|
3419
|
+
/**
|
|
3420
|
+
* Parachain head hash.
|
|
3421
|
+
**/
|
|
3422
|
+
parachainHeadHash: H256;
|
|
3423
|
+
|
|
3424
|
+
/**
|
|
3425
|
+
* Parachain head size.
|
|
3426
|
+
**/
|
|
3427
|
+
parachainHeadSize: number;
|
|
3428
|
+
}
|
|
3429
|
+
>;
|
|
3430
|
+
|
|
3431
|
+
/**
|
|
3432
|
+
* Parachain head has been updated.
|
|
3433
|
+
**/
|
|
3434
|
+
UpdatedParachainHead: GenericPalletEvent<
|
|
3435
|
+
Rv,
|
|
3436
|
+
'BridgeKusamaParachains',
|
|
3437
|
+
'UpdatedParachainHead',
|
|
3438
|
+
{
|
|
3439
|
+
/**
|
|
3440
|
+
* Identifier of the parachain that has been updated.
|
|
3441
|
+
**/
|
|
3442
|
+
parachain: BpPolkadotCoreParachainsParaId;
|
|
3443
|
+
|
|
3444
|
+
/**
|
|
3445
|
+
* Parachain head hash.
|
|
3446
|
+
**/
|
|
3447
|
+
parachainHeadHash: H256;
|
|
3448
|
+
}
|
|
3449
|
+
>;
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* Generic pallet event
|
|
3453
|
+
**/
|
|
3454
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
3455
|
+
};
|
|
3456
|
+
/**
|
|
3457
|
+
* Pallet `BridgeKusamaMessages`'s events
|
|
3458
|
+
**/
|
|
3459
|
+
bridgeKusamaMessages: {
|
|
3460
|
+
/**
|
|
3461
|
+
* Message has been accepted and is waiting to be delivered.
|
|
3462
|
+
**/
|
|
3463
|
+
MessageAccepted: GenericPalletEvent<
|
|
3464
|
+
Rv,
|
|
3465
|
+
'BridgeKusamaMessages',
|
|
3466
|
+
'MessageAccepted',
|
|
3467
|
+
{
|
|
3468
|
+
/**
|
|
3469
|
+
* Lane, which has accepted the message.
|
|
3470
|
+
**/
|
|
3471
|
+
laneId: BpMessagesLaneHashedLaneId;
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* Nonce of accepted message.
|
|
3475
|
+
**/
|
|
3476
|
+
nonce: bigint;
|
|
3477
|
+
}
|
|
3478
|
+
>;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* Messages have been received from the bridged chain.
|
|
3482
|
+
**/
|
|
3483
|
+
MessagesReceived: GenericPalletEvent<Rv, 'BridgeKusamaMessages', 'MessagesReceived', BpMessagesReceivedMessages>;
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Messages in the inclusive range have been delivered to the bridged chain.
|
|
3487
|
+
**/
|
|
3488
|
+
MessagesDelivered: GenericPalletEvent<
|
|
3489
|
+
Rv,
|
|
3490
|
+
'BridgeKusamaMessages',
|
|
3491
|
+
'MessagesDelivered',
|
|
3492
|
+
{
|
|
3493
|
+
/**
|
|
3494
|
+
* Lane for which the delivery has been confirmed.
|
|
3495
|
+
**/
|
|
3496
|
+
laneId: BpMessagesLaneHashedLaneId;
|
|
3497
|
+
|
|
3498
|
+
/**
|
|
3499
|
+
* Delivered messages.
|
|
3500
|
+
**/
|
|
3501
|
+
messages: BpMessagesDeliveredMessages;
|
|
3502
|
+
}
|
|
3503
|
+
>;
|
|
3504
|
+
|
|
3505
|
+
/**
|
|
3506
|
+
* Generic pallet event
|
|
3507
|
+
**/
|
|
3508
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
3509
|
+
};
|
|
3510
|
+
/**
|
|
3511
|
+
* Pallet `BridgeXcmOverMoonriver`'s events
|
|
3512
|
+
**/
|
|
3513
|
+
bridgeXcmOverMoonriver: {
|
|
3514
|
+
/**
|
|
3515
|
+
* The bridge between two locations has been opened.
|
|
3516
|
+
**/
|
|
3517
|
+
BridgeOpened: GenericPalletEvent<
|
|
3518
|
+
Rv,
|
|
3519
|
+
'BridgeXcmOverMoonriver',
|
|
3520
|
+
'BridgeOpened',
|
|
3521
|
+
{
|
|
3522
|
+
/**
|
|
3523
|
+
* Bridge identifier.
|
|
3524
|
+
**/
|
|
3525
|
+
bridgeId: BpXcmBridgeHubBridgeId;
|
|
3526
|
+
|
|
3527
|
+
/**
|
|
3528
|
+
* Amount of deposit held.
|
|
3529
|
+
**/
|
|
3530
|
+
bridgeDeposit: bigint;
|
|
3531
|
+
|
|
3532
|
+
/**
|
|
3533
|
+
* Universal location of local bridge endpoint.
|
|
3534
|
+
**/
|
|
3535
|
+
localEndpoint: StagingXcmV5Junctions;
|
|
3536
|
+
|
|
3537
|
+
/**
|
|
3538
|
+
* Universal location of remote bridge endpoint.
|
|
3539
|
+
**/
|
|
3540
|
+
remoteEndpoint: StagingXcmV5Junctions;
|
|
3541
|
+
|
|
3542
|
+
/**
|
|
3543
|
+
* Lane identifier.
|
|
3544
|
+
**/
|
|
3545
|
+
laneId: BpMessagesLaneHashedLaneId;
|
|
3546
|
+
}
|
|
3547
|
+
>;
|
|
3548
|
+
|
|
3549
|
+
/**
|
|
3550
|
+
* Bridge is going to be closed, but not yet fully pruned from the runtime storage.
|
|
3551
|
+
**/
|
|
3552
|
+
ClosingBridge: GenericPalletEvent<
|
|
3553
|
+
Rv,
|
|
3554
|
+
'BridgeXcmOverMoonriver',
|
|
3555
|
+
'ClosingBridge',
|
|
3556
|
+
{
|
|
3557
|
+
/**
|
|
3558
|
+
* Bridge identifier.
|
|
3559
|
+
**/
|
|
3560
|
+
bridgeId: BpXcmBridgeHubBridgeId;
|
|
3561
|
+
|
|
3562
|
+
/**
|
|
3563
|
+
* Lane identifier.
|
|
3564
|
+
**/
|
|
3565
|
+
laneId: BpMessagesLaneHashedLaneId;
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Number of pruned messages during the close call.
|
|
3569
|
+
**/
|
|
3570
|
+
prunedMessages: bigint;
|
|
3571
|
+
|
|
3572
|
+
/**
|
|
3573
|
+
* Number of enqueued messages that need to be pruned in follow up calls.
|
|
3574
|
+
**/
|
|
3575
|
+
enqueuedMessages: bigint;
|
|
3576
|
+
}
|
|
3577
|
+
>;
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
* Bridge has been closed and pruned from the runtime storage. It now may be reopened
|
|
3581
|
+
* again by any participant.
|
|
3582
|
+
**/
|
|
3583
|
+
BridgePruned: GenericPalletEvent<
|
|
3584
|
+
Rv,
|
|
3585
|
+
'BridgeXcmOverMoonriver',
|
|
3586
|
+
'BridgePruned',
|
|
3587
|
+
{
|
|
3588
|
+
/**
|
|
3589
|
+
* Bridge identifier.
|
|
3590
|
+
**/
|
|
3591
|
+
bridgeId: BpXcmBridgeHubBridgeId;
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* Lane identifier.
|
|
3595
|
+
**/
|
|
3596
|
+
laneId: BpMessagesLaneHashedLaneId;
|
|
3597
|
+
|
|
3598
|
+
/**
|
|
3599
|
+
* Amount of deposit released.
|
|
3600
|
+
**/
|
|
3601
|
+
bridgeDeposit: bigint;
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* Number of pruned messages during the close call.
|
|
3605
|
+
**/
|
|
3606
|
+
prunedMessages: bigint;
|
|
3607
|
+
}
|
|
3608
|
+
>;
|
|
3609
|
+
|
|
3279
3610
|
/**
|
|
3280
3611
|
* Generic pallet event
|
|
3281
3612
|
**/
|
package/moonbeam/index.d.ts
CHANGED