BridgeHub Westend
subscan
Runtime Modules / BridgeRelayers
Spec Version:
Call Functions
Name
Lookup
Parameters
claim_rewards29001
register29011
deregister2902-
claim_rewards_to29032
Events
Name
Lookup
Attributes
RewardRegistered2900["AccountId","Reward","RewardBalance"]
RewardPaid2901["AccountId","Reward","RewardBalance","BeneficiaryOf"]
RegistrationUpdated2902["AccountId","Registration<BlockNumberFor, Balance>"]
Deregistered2903["AccountId"]
SlashedAndDeregistered2904["AccountId","Registration<BlockNumberFor, Balance>"]
Storage Functions
Name
Type
RelayerRewards{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["AccountId","bridge_hub_westend_runtime:bridge_common_config:BridgeReward"],"value":"U128","keys_id":439,"value_id":6}}
RegisteredRelayers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bp_relayers:registration:Registration","keys_id":0,"value_id":142}}
Error Types
Name
Docs
NoRewardForRelayerNo reward can be claimed by given relayer.
FailedToPayRewardReward payment procedure has failed.
InvalidRegistrationLeaseThe relayer has tried to register for past block or registration leaseis too short.
CannotReduceRegistrationLeaseNew registration lease is less than the previous one.
FailedToReserveFailed to reserve enough funds on relayer account.
FailedToUnreserveFailed to `unreserve` enough funds on relayer account.
NotRegisteredCannot `deregister` if not registered.
RegistrationIsStillActiveFailed to `deregister` relayer, because lease is still active.