Relayer Network
Search…
Relayers
Relayers are bots, scripts, other contracts, or simply EOA accounts that trigger events. This can be submitting via a signed TX on behalf of a third party, calling a transaction at a specific time, or more complex functionality.
Each time you execute such a function, you are rewarded in either ETH, tokens, or the systems native token, RLR. The maximum amount of RLR receivable is gasUsed + premium (configured by governance).
Jobs might require Relayers that have a minimum amount of bonded tokens, have earned a minimum amount of fees, or have been in the system longer than a certain period of time.
At the most simple level, they require a Relayer to be registered in the system.

Becoming a Relayer

To become a Relayer, you simply need to call bond(address,uint) No funds are required to become a Relayer, but certain jobs might require a minimum amount of funds.
1
/**
2
* @notice begin the bonding process for a new keeper
3
* @param bonding the asset being bound
4
* @param amount the amount of bonding asset being bound
5
*/
6
function bond(address bonding, uint amount) external
Copied!
After waiting BOND days (default 3 days), you can activate as a keeper:
1
/**
2
* @notice allows a keeper to activate/register themselves after bonding
3
* @param bonding the asset being activated as bond collateral
4
*/
5
function activate(address bonding) external
Copied!

Removing a Relayer

If you no longer wish to participate, you can unbond to deactivate:
1
/**
2
* @notice begin the unbonding process to stop being a keeper
3
* @param bonding the asset being unbound
4
* @param amount allows for partial unbonding
5
*/
6
function unbond(address bonding, uint amount) external
Copied!
After waiting UNBOND days (default 14 days), you can withdraw any bonded assets:
1
/**
2
* @notice withdraw funds after unbonding has finished
3
* @param bonding the asset to withdraw from the bonding pool
4
*/
5
function withdraw(address bonding) external
Copied!

Additional Requirements

Some jobs might have additional requirements such as minimum bonded protocol tokens (for example SNX). In such cases you would need to bond a minimum amount of SNX before you may qualify for the job.
Last modified 11mo ago