subscan
Runtime Modules / DarwiniaFeeMarket
Spec Version:
Events
Name
Lookup
Attributes
Enroll2b00["AccountId","BalanceOf","BalanceOf"]
UpdateLockedCollateral2b01["AccountId","BalanceOf"]
UpdateRelayFee2b02["AccountId","BalanceOf"]
CancelEnrollment2b03["AccountId"]
UpdateCollateralSlashProtect2b04["BalanceOf"]
UpdateAssignedRelayersNumber2b05["u32"]
FeeMarketSlash2b06["SlashReport<AccountId, BlockNumberFor, BalanceOf>"]
OrderCreated2b07["LaneId","MessageNonce","BalanceOf","Vec<AccountId>","Option<BlockNumberFor>"]
OrderReward2b08["LaneId","MessageNonce","RewardItem<AccountId, BalanceOf>"]
Storage Functions
Name
Type
RelayersMap{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 20]"],"value":"pallet_fee_market:types:Relayer","keys_id":0,"value_id":613}}
Relayers{"origin":"PlainType","plain_type":"Vec<[U8; 20]>","PlainTypeValue":44}
AssignedRelayers{"origin":"PlainType","plain_type":"Vec<pallet_fee_market:types:Relayer>","PlainTypeValue":614}
Orders{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 4]","U64"],"value":"pallet_fee_market:types:Order","keys_id":343,"value_id":615}}
CollateralSlashProtect{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
AssignedRelayersNumber{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Constants
Name
Type
Value
TreasuryPalletId[U8; 8]64612f7472737279
LockId[U8; 8]64612f6665656372
MinimumRelayFeeU1280000dcce86b42ad00000000000000000
CollateralPerOrderU128000088b116afe3b50200000000000000
SlotU3258020000
DutyRelayersRewardRatioU32c0270900
MessageRelayersRewardRatioU3200350c00
ConfirmRelayersRewardRatioU32400d0300
AssignedRelayerSlashRatioU32400d0300
Error Types
Name
Docs
InsufficientBalanceInsufficient balance.
AlreadyEnrolledThe relayer has been enrolled.
NotEnrolledThis relayer doesn't enroll ever.
CollateralTooLowLocked collateral is too low to cover one order.
NewCollateralShouldLargerThanBeforeNew collateral should large than the original one.
NewCollateralShouldLessThanBeforeNew collateral should less than the original one.
StillHasOrdersNotConfirmedUpdate locked collateral is not allow since some orders are not confirm.
RelayFeeTooLowThe fee is lower than MinimumRelayFee.
OccupiedRelayerThe relayer is occupied, and can't cancel enrollment now.