@darwinia/api-augment
Advanced tools
Comparing version 2.8.4 to 2.8.5
import type { ApiTypes } from '@polkadot/api-base/types'; | ||
import type { Bytes, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; | ||
import type { Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; | ||
import type { Codec } from '@polkadot/types-codec/types'; | ||
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime'; | ||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup'; | ||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, FrameSupportWeightsWeightToFeeCoefficient } from '@polkadot/types/lookup'; | ||
declare module '@polkadot/api-base/types/consts' { | ||
@@ -98,2 +98,12 @@ interface AugmentedConsts<ApiType extends ApiTypes> { | ||
}; | ||
bridgeCrabParachainMessages: { | ||
/** | ||
* Gets the chain id value from the instance. | ||
**/ | ||
bridgedChainId: U8aFixed & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
bridgeDarwiniaGrandpa: { | ||
@@ -132,9 +142,21 @@ /** | ||
}; | ||
claims: { | ||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>; | ||
bridgeKusamaGrandpa: { | ||
/** | ||
* The Prefix that is used in signed Ethereum messages for this network | ||
* Maximal number of finalized headers to keep in the storage. | ||
* | ||
* The setting is there to prevent growing the on-chain state indefinitely. Note | ||
* the setting does not relate to block numbers - we will simply keep as much items | ||
* in the storage, so it doesn't guarantee any fixed timeframe for finality headers. | ||
**/ | ||
prefix: Bytes & AugmentedConst<ApiType>; | ||
headersToKeep: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* The upper bound on the number of requests allowed by the pallet. | ||
* | ||
* A request refers to an action which writes a header to storage. | ||
* | ||
* Once this bound is reached the pallet will not allow any dispatchables to be called | ||
* until the request count has decreased. | ||
**/ | ||
maxRequests: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
@@ -144,2 +166,78 @@ **/ | ||
}; | ||
bridgeKusamaParachain: { | ||
/** | ||
* Maximal number of single parachain heads to keep in the storage. | ||
* | ||
* The setting is there to prevent growing the on-chain state indefinitely. Note | ||
* the setting does not relate to parachain block numbers - we will simply keep as much | ||
* items in the storage, so it doesn't guarantee any fixed timeframe for heads. | ||
**/ | ||
headsToKeep: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Name of the `paras` pallet in the `construct_runtime!()` call at the bridged chain. | ||
**/ | ||
parasPalletName: Text & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
crabParachainFeeMarket: { | ||
/** | ||
* Reward parameters | ||
**/ | ||
assignedRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The collateral relayer need to lock for each order. | ||
**/ | ||
collateralPerOrder: u128 & AugmentedConst<ApiType>; | ||
confirmRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
lockId: U8aFixed & AugmentedConst<ApiType>; | ||
messageRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The minimum fee for relaying. | ||
**/ | ||
minimumRelayFee: u128 & AugmentedConst<ApiType>; | ||
/** | ||
* The slot times set | ||
**/ | ||
slot: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Some reward goes to Treasury. | ||
**/ | ||
treasuryPalletId: FrameSupportPalletId & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
darwiniaFeeMarket: { | ||
/** | ||
* Reward parameters | ||
**/ | ||
assignedRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The collateral relayer need to lock for each order. | ||
**/ | ||
collateralPerOrder: u128 & AugmentedConst<ApiType>; | ||
confirmRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
lockId: U8aFixed & AugmentedConst<ApiType>; | ||
messageRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The minimum fee for relaying. | ||
**/ | ||
minimumRelayFee: u128 & AugmentedConst<ApiType>; | ||
/** | ||
* The slot times set | ||
**/ | ||
slot: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Some reward goes to Treasury. | ||
**/ | ||
treasuryPalletId: FrameSupportPalletId & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
democracy: { | ||
@@ -163,5 +261,5 @@ /** | ||
/** | ||
* Indicator for whether an emergency origin is even allowed to happen. Some chains may want | ||
* to set this permanently to `false`, others may want to condition it on things such as | ||
* an upgrade having happened recently. | ||
* Indicator for whether an emergency origin is even allowed to happen. Some chains may | ||
* want to set this permanently to `false`, others may want to condition it on things such | ||
* as an upgrade having happened recently. | ||
**/ | ||
@@ -300,32 +398,2 @@ instantAllowed: bool & AugmentedConst<ApiType>; | ||
}; | ||
feeMarket: { | ||
/** | ||
* Reward parameters | ||
**/ | ||
assignedRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The collateral relayer need to lock for each order. | ||
**/ | ||
collateralPerOrder: u128 & AugmentedConst<ApiType>; | ||
confirmRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
lockId: U8aFixed & AugmentedConst<ApiType>; | ||
messageRelayersRewardRatio: Permill & AugmentedConst<ApiType>; | ||
/** | ||
* The minimum fee for relaying. | ||
**/ | ||
minimumRelayFee: u128 & AugmentedConst<ApiType>; | ||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>; | ||
/** | ||
* The slot times set | ||
**/ | ||
slot: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Some reward goes to Treasury. | ||
**/ | ||
treasuryPalletId: FrameSupportPalletId & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
fromDarwiniaIssuing: { | ||
@@ -677,4 +745,4 @@ /** | ||
* | ||
* For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim | ||
* their reward. This used to limit the i/o cost for the nominator payout. | ||
* For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can | ||
* claim their reward. This used to limit the i/o cost for the nominator payout. | ||
**/ | ||
@@ -681,0 +749,0 @@ maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>; |
@@ -141,2 +141,58 @@ import type { ApiTypes } from '@polkadot/api-base/types'; | ||
}; | ||
bridgeCrabParachainMessages: { | ||
/** | ||
* Submitter has failed to pay fee for delivering and dispatching messages. | ||
**/ | ||
FailedToWithdrawMessageFee: AugmentedError<ApiType>; | ||
/** | ||
* All pallet operations are halted. | ||
**/ | ||
Halted: AugmentedError<ApiType>; | ||
/** | ||
* Invalid messages delivery proof has been submitted. | ||
**/ | ||
InvalidMessagesDeliveryProof: AugmentedError<ApiType>; | ||
/** | ||
* Invalid messages has been submitted. | ||
**/ | ||
InvalidMessagesProof: AugmentedError<ApiType>; | ||
/** | ||
* The bridged chain has invalid `UnrewardedRelayers` in its storage (fatal for the lane). | ||
**/ | ||
InvalidUnrewardedRelayers: AugmentedError<ApiType>; | ||
/** | ||
* The relayer has declared invalid unrewarded relayers state in the | ||
* `receive_messages_delivery_proof` call. | ||
**/ | ||
InvalidUnrewardedRelayersState: AugmentedError<ApiType>; | ||
/** | ||
* The message someone is trying to work with (i.e. increase fee) is already-delivered. | ||
**/ | ||
MessageIsAlreadyDelivered: AugmentedError<ApiType>; | ||
/** | ||
* The message someone is trying to work with (i.e. increase fee) is not yet sent. | ||
**/ | ||
MessageIsNotYetSent: AugmentedError<ApiType>; | ||
/** | ||
* Message has been treated as invalid by chain verifier. | ||
**/ | ||
MessageRejectedByChainVerifier: AugmentedError<ApiType>; | ||
/** | ||
* Message has been treated as invalid by lane verifier. | ||
**/ | ||
MessageRejectedByLaneVerifier: AugmentedError<ApiType>; | ||
/** | ||
* The transaction brings too many messages. | ||
**/ | ||
TooManyMessagesInTheProof: AugmentedError<ApiType>; | ||
/** | ||
* The number of actually confirmed messages is going to be larger than the number of | ||
* messages in the proof. This may mean that this or bridged chain storage is corrupted. | ||
**/ | ||
TryingToConfirmMoreMessagesThanExpected: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
bridgeDarwiniaGrandpa: { | ||
@@ -246,25 +302,46 @@ /** | ||
}; | ||
claims: { | ||
bridgeKusamaGrandpa: { | ||
/** | ||
* Invalid Ethereum signature. | ||
* The pallet has already been initialized. | ||
**/ | ||
InvalidSignature: AugmentedError<ApiType>; | ||
AlreadyInitialized: AugmentedError<ApiType>; | ||
/** | ||
* Can NOT Move Claim to an EXISTED Address. | ||
* All pallet operations are halted. | ||
**/ | ||
MoveToExistedAddress: AugmentedError<ApiType>; | ||
Halted: AugmentedError<ApiType>; | ||
/** | ||
* New Address Type - MISMATCHED | ||
* The authority set from the underlying header chain is invalid. | ||
**/ | ||
NewAddressTypeMis: AugmentedError<ApiType>; | ||
InvalidAuthoritySet: AugmentedError<ApiType>; | ||
/** | ||
* There's not enough in the pot to pay out some unvested amount. Generally implies a logic | ||
* log::error. | ||
* The given justification is invalid for the given header. | ||
**/ | ||
PotUnderflow: AugmentedError<ApiType>; | ||
InvalidJustification: AugmentedError<ApiType>; | ||
/** | ||
* Ethereum address has no claim. | ||
* The pallet is not yet initialized. | ||
**/ | ||
SignerHasNoClaim: AugmentedError<ApiType>; | ||
NotInitialized: AugmentedError<ApiType>; | ||
/** | ||
* The header being imported is older than the best finalized header known to the pallet. | ||
**/ | ||
OldHeader: AugmentedError<ApiType>; | ||
/** | ||
* The storage proof doesn't contains storage root. So it is invalid for given header. | ||
**/ | ||
StorageRootMismatch: AugmentedError<ApiType>; | ||
/** | ||
* There are too many requests for the current window to handle. | ||
**/ | ||
TooManyRequests: AugmentedError<ApiType>; | ||
/** | ||
* The header is unknown to the pallet. | ||
**/ | ||
UnknownHeader: AugmentedError<ApiType>; | ||
/** | ||
* The scheduled authority set change found in the header is unsupported by the pallet. | ||
* | ||
* This is the case for non-standard (e.g forced) authority set changes. | ||
**/ | ||
UnsupportedScheduledChange: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
@@ -274,2 +351,28 @@ **/ | ||
}; | ||
bridgeKusamaParachain: { | ||
/** | ||
* Failed to extract state root from given parachain head. | ||
**/ | ||
FailedToExtractStateRoot: AugmentedError<ApiType>; | ||
/** | ||
* Invalid storage proof has been passed. | ||
**/ | ||
InvalidStorageProof: AugmentedError<ApiType>; | ||
/** | ||
* The storage proof doesn't contains storage root. So it is invalid for given header. | ||
**/ | ||
StorageRootMismatch: AugmentedError<ApiType>; | ||
/** | ||
* Given parachain head is unknown. | ||
**/ | ||
UnknownParaHead: AugmentedError<ApiType>; | ||
/** | ||
* Relay chain block is unknown to us. | ||
**/ | ||
UnknownRelayChainBlock: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
council: { | ||
@@ -321,2 +424,62 @@ /** | ||
}; | ||
crabParachainFeeMarket: { | ||
/** | ||
* The relayer has been enrolled. | ||
**/ | ||
AlreadyEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* Insufficient balance. | ||
**/ | ||
InsufficientBalance: AugmentedError<ApiType>; | ||
/** | ||
* This relayer doesn't enroll ever. | ||
**/ | ||
NotEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* The relayer is occupied, and can't cancel enrollment now. | ||
**/ | ||
OccupiedRelayer: AugmentedError<ApiType>; | ||
/** | ||
* The fee is lower than MinimumRelayFee. | ||
**/ | ||
RelayFeeTooLow: AugmentedError<ApiType>; | ||
/** | ||
* Update locked collateral is not allow since some orders are not confirm. | ||
**/ | ||
StillHasOrdersNotConfirmed: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
darwiniaFeeMarket: { | ||
/** | ||
* The relayer has been enrolled. | ||
**/ | ||
AlreadyEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* Insufficient balance. | ||
**/ | ||
InsufficientBalance: AugmentedError<ApiType>; | ||
/** | ||
* This relayer doesn't enroll ever. | ||
**/ | ||
NotEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* The relayer is occupied, and can't cancel enrollment now. | ||
**/ | ||
OccupiedRelayer: AugmentedError<ApiType>; | ||
/** | ||
* The fee is lower than MinimumRelayFee. | ||
**/ | ||
RelayFeeTooLow: AugmentedError<ApiType>; | ||
/** | ||
* Update locked collateral is not allow since some orders are not confirm. | ||
**/ | ||
StillHasOrdersNotConfirmed: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
democracy: { | ||
@@ -545,32 +708,2 @@ /** | ||
}; | ||
feeMarket: { | ||
/** | ||
* The relayer has been enrolled. | ||
**/ | ||
AlreadyEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* Insufficient balance. | ||
**/ | ||
InsufficientBalance: AugmentedError<ApiType>; | ||
/** | ||
* This relayer doesn't enroll ever. | ||
**/ | ||
NotEnrolled: AugmentedError<ApiType>; | ||
/** | ||
* The relayer is occupied, and can't cancel enrollment now. | ||
**/ | ||
OccupiedRelayer: AugmentedError<ApiType>; | ||
/** | ||
* The fee is lower than MinimumRelayFee. | ||
**/ | ||
RelayFeeTooLow: AugmentedError<ApiType>; | ||
/** | ||
* Update locked collateral is not allow since some orders are not confirm. | ||
**/ | ||
StillHasOrdersNotConfirmed: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
fromDarwiniaIssuing: { | ||
@@ -1268,4 +1401,4 @@ /** | ||
/** | ||
* There are too many nominators in the system. Governance needs to adjust the staking settings | ||
* to keep things safe for the runtime. | ||
* There are too many nominators in the system. Governance needs to adjust the staking | ||
* settings to keep things safe for the runtime. | ||
**/ | ||
@@ -1278,4 +1411,4 @@ TooManyNominators: AugmentedError<ApiType>; | ||
/** | ||
* There are too many validators in the system. Governance needs to adjust the staking settings | ||
* to keep things safe for the runtime. | ||
* There are too many validators in the system. Governance needs to adjust the staking | ||
* settings to keep things safe for the runtime. | ||
**/ | ||
@@ -1288,12 +1421,2 @@ TooManyValidators: AugmentedError<ApiType>; | ||
}; | ||
sudo: { | ||
/** | ||
* Sender must be the Sudo account | ||
**/ | ||
RequireSudo: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
**/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
system: { | ||
@@ -1300,0 +1423,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
import type { DarwiniaDemocracyVoteThreshold } from '@darwinia/types/interfaces/democracy'; | ||
import type { CrabRuntimePalletsProxyProxyType } from '@darwinia/types/interfaces/proxy'; | ||
@@ -7,3 +6,3 @@ import type { ApiTypes } from '@polkadot/api-base/types'; | ||
import type { AccountId32, H160, H256, Permill } from '@polkadot/types/interfaces/runtime'; | ||
import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, BpMessagesDeliveredMessages, CrabRuntimeBridgesMessageDarwiniaCrabToDarwiniaMessagesParameter, EvmCoreErrorExitReason, DarwiniaFeeMarketSlashReport, EthereumLog, DarwiniaStakingStructsExposure } from '@polkadot/types/lookup'; | ||
import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, BpMessagesDeliveredMessages, CrabRuntimeBridgesMessageCrabParachainCrabToCrabParachainParameter, CrabRuntimeBridgesMessageDarwiniaCrabToDarwiniaMessagesParameter, PalletFeeMarketSlashReport, EvmCoreErrorExitReason, EthereumLog, DarwiniaStakingStructsExposure } from '@polkadot/types/lookup'; | ||
declare module '@polkadot/api-base/types/events' { | ||
@@ -96,3 +95,3 @@ interface AugmentedEvents<ApiType extends ApiTypes> { | ||
}; | ||
bridgeDarwiniaDispatch: { | ||
bridgeCrabParachainDispatch: { | ||
/** | ||
@@ -141,3 +140,3 @@ * Phantom member, never used. Needed to handle multiple pallet instances. | ||
}; | ||
bridgeDarwiniaMessages: { | ||
bridgeCrabParachainMessages: { | ||
/** | ||
@@ -154,3 +153,3 @@ * Message has been accepted and is waiting to be delivered. | ||
**/ | ||
ParameterUpdated: AugmentedEvent<ApiType, [CrabRuntimeBridgesMessageDarwiniaCrabToDarwiniaMessagesParameter]>; | ||
ParameterUpdated: AugmentedEvent<ApiType, [CrabRuntimeBridgesMessageCrabParachainCrabToCrabParachainParameter]>; | ||
/** | ||
@@ -161,8 +160,42 @@ * Generic event | ||
}; | ||
claims: { | ||
bridgeDarwiniaDispatch: { | ||
/** | ||
* Someone claimed some *RING*s. [account, address, amount] | ||
* Phantom member, never used. Needed to handle multiple pallet instances. | ||
**/ | ||
Claimed: AugmentedEvent<ApiType, [AccountId32, U8aFixed, u128]>; | ||
_Dummy: AugmentedEvent<ApiType, []>; | ||
/** | ||
* We have failed to decode Call from the message. | ||
**/ | ||
MessageCallDecodeFailed: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>]>; | ||
/** | ||
* The call from the message has been rejected by the call filter. | ||
**/ | ||
MessageCallRejected: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>]>; | ||
/** | ||
* Message has been dispatched with given result. | ||
**/ | ||
MessageDispatched: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>, Result<Null, SpRuntimeDispatchError>]>; | ||
/** | ||
* The origin account has failed to pay fee for dispatching the message. | ||
**/ | ||
MessageDispatchPaymentFailed: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>, AccountId32, u64]>; | ||
/** | ||
* Message has been rejected before reaching dispatch. | ||
**/ | ||
MessageRejected: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>]>; | ||
/** | ||
* Message signature mismatch. | ||
**/ | ||
MessageSignatureMismatch: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>]>; | ||
/** | ||
* Message has been rejected by dispatcher because of spec version mismatch. | ||
* Last two arguments are: expected and passed spec version. | ||
**/ | ||
MessageVersionSpecMismatch: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>, u32, u32]>; | ||
/** | ||
* Message has been rejected by dispatcher because of weight mismatch. | ||
* Last two arguments are: expected and passed call weight. | ||
**/ | ||
MessageWeightMismatch: AugmentedEvent<ApiType, [U8aFixed, ITuple<[U8aFixed, u64]>, u64, u64]>; | ||
/** | ||
* Generic event | ||
@@ -172,2 +205,20 @@ **/ | ||
}; | ||
bridgeDarwiniaMessages: { | ||
/** | ||
* Message has been accepted and is waiting to be delivered. | ||
**/ | ||
MessageAccepted: AugmentedEvent<ApiType, [U8aFixed, u64]>; | ||
/** | ||
* Messages in the inclusive range have been delivered to the bridged chain. | ||
**/ | ||
MessagesDelivered: AugmentedEvent<ApiType, [U8aFixed, BpMessagesDeliveredMessages]>; | ||
/** | ||
* Pallet parameter has been updated. | ||
**/ | ||
ParameterUpdated: AugmentedEvent<ApiType, [CrabRuntimeBridgesMessageDarwiniaCrabToDarwiniaMessagesParameter]>; | ||
/** | ||
* Generic event | ||
**/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
council: { | ||
@@ -216,2 +267,70 @@ /** | ||
}; | ||
crabParachainFeeMarket: { | ||
/** | ||
* Relayer cancel enrollment. \[account_id\] | ||
**/ | ||
CancelEnrollment: AugmentedEvent<ApiType, [AccountId32]>; | ||
/** | ||
* Relayer enrollment. \[account_id, locked_collateral, relay_fee\] | ||
**/ | ||
Enroll: AugmentedEvent<ApiType, [AccountId32, u128, u128]>; | ||
/** | ||
* Slash report | ||
**/ | ||
FeeMarketSlash: AugmentedEvent<ApiType, [PalletFeeMarketSlashReport]>; | ||
/** | ||
* Update market assigned relayers numbers. \[new_assigned_relayers_number\] | ||
**/ | ||
UpdateAssignedRelayersNumber: AugmentedEvent<ApiType, [u32]>; | ||
/** | ||
* Update collateral slash protect value. \[slash_protect_value\] | ||
**/ | ||
UpdateCollateralSlashProtect: AugmentedEvent<ApiType, [u128]>; | ||
/** | ||
* Update relayer locked collateral. \[account_id, new_collateral\] | ||
**/ | ||
UpdateLockedCollateral: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Update relayer fee. \[account_id, new_fee\] | ||
**/ | ||
UpdateRelayFee: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Generic event | ||
**/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
darwiniaFeeMarket: { | ||
/** | ||
* Relayer cancel enrollment. \[account_id\] | ||
**/ | ||
CancelEnrollment: AugmentedEvent<ApiType, [AccountId32]>; | ||
/** | ||
* Relayer enrollment. \[account_id, locked_collateral, relay_fee\] | ||
**/ | ||
Enroll: AugmentedEvent<ApiType, [AccountId32, u128, u128]>; | ||
/** | ||
* Slash report | ||
**/ | ||
FeeMarketSlash: AugmentedEvent<ApiType, [PalletFeeMarketSlashReport]>; | ||
/** | ||
* Update market assigned relayers numbers. \[new_assigned_relayers_number\] | ||
**/ | ||
UpdateAssignedRelayersNumber: AugmentedEvent<ApiType, [u32]>; | ||
/** | ||
* Update collateral slash protect value. \[slash_protect_value\] | ||
**/ | ||
UpdateCollateralSlashProtect: AugmentedEvent<ApiType, [u128]>; | ||
/** | ||
* Update relayer locked collateral. \[account_id, new_collateral\] | ||
**/ | ||
UpdateLockedCollateral: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Update relayer fee. \[account_id, new_fee\] | ||
**/ | ||
UpdateRelayFee: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Generic event | ||
**/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
democracy: { | ||
@@ -277,5 +396,6 @@ /** | ||
**/ | ||
Started: AugmentedEvent<ApiType, [u32, DarwiniaDemocracyVoteThreshold]>; | ||
Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>; | ||
/** | ||
* A public proposal has been tabled for referendum vote. \[proposal_index, deposit, depositors\] | ||
* A public proposal has been tabled for referendum vote. \[proposal_index, deposit, | ||
* depositors\] | ||
**/ | ||
@@ -338,3 +458,4 @@ Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>; | ||
/** | ||
* An ethereum transaction was successfully executed. \[from, to/contract_address, transaction_hash, exit_reason\] | ||
* An ethereum transaction was successfully executed. \[from, to/contract_address, | ||
* transaction_hash, exit_reason\] | ||
**/ | ||
@@ -373,3 +494,4 @@ Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>; | ||
/** | ||
* A \[contract\] has been executed with errors. States are reverted with only gas fees applied. | ||
* A \[contract\] has been executed with errors. States are reverted with only gas fees | ||
* applied. | ||
**/ | ||
@@ -386,36 +508,2 @@ ExecutedFailed: AugmentedEvent<ApiType, [H160]>; | ||
}; | ||
feeMarket: { | ||
/** | ||
* Relayer cancel enrollment. \[account_id\] | ||
**/ | ||
CancelEnrollment: AugmentedEvent<ApiType, [AccountId32]>; | ||
/** | ||
* Relayer enrollment. \[account_id, locked_collateral, relay_fee\] | ||
**/ | ||
Enroll: AugmentedEvent<ApiType, [AccountId32, u128, u128]>; | ||
/** | ||
* Slash report | ||
**/ | ||
FeeMarketSlash: AugmentedEvent<ApiType, [DarwiniaFeeMarketSlashReport]>; | ||
/** | ||
* Update market assigned relayers numbers. \[new_assigned_relayers_number\] | ||
**/ | ||
UpdateAssignedRelayersNumber: AugmentedEvent<ApiType, [u32]>; | ||
/** | ||
* Update collateral slash protect value. \[slash_protect_value\] | ||
**/ | ||
UpdateCollateralSlashProtect: AugmentedEvent<ApiType, [u128]>; | ||
/** | ||
* Update relayer locked collateral. \[account_id, new_collateral\] | ||
**/ | ||
UpdateLockedCollateral: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Update relayer fee. \[account_id, new_fee\] | ||
**/ | ||
UpdateRelayFee: AugmentedEvent<ApiType, [AccountId32, u128]>; | ||
/** | ||
* Generic event | ||
**/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
fromDarwiniaIssuing: { | ||
@@ -940,20 +1028,2 @@ /** | ||
}; | ||
sudo: { | ||
/** | ||
* The \[sudoer\] just switched identity; the old key is supplied. | ||
**/ | ||
KeyChanged: AugmentedEvent<ApiType, [AccountId32]>; | ||
/** | ||
* A sudo just took place. \[result\] | ||
**/ | ||
Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; | ||
/** | ||
* A sudo just took place. \[result\] | ||
**/ | ||
SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; | ||
/** | ||
* Generic event | ||
**/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
system: { | ||
@@ -960,0 +1030,0 @@ /** |
{ | ||
"name": "@darwinia/api-augment", | ||
"version": "2.8.4", | ||
"version": "2.8.5", | ||
"description": "API generated augmentation", | ||
@@ -21,5 +21,5 @@ "keywords": [ | ||
"@babel/runtime": "^7.17.9", | ||
"@darwinia/rpc-augment": "^2.8.4", | ||
"@darwinia/types": "^2.8.4", | ||
"@darwinia/types-augment": "^2.8.4", | ||
"@darwinia/rpc-augment": "^2.8.5", | ||
"@darwinia/types": "^2.8.5", | ||
"@darwinia/types-augment": "^2.8.5", | ||
"@polkadot/api-base": "^8.1.2-1", | ||
@@ -26,0 +26,0 @@ "@polkadot/types": "^8.1.2-1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1697725
35349