- Job 1: Ensure Relayers have Sufficient Crypto
- Steps
- Job 2: Check the Governance Prize Strategy Balances for LINK
- Links
- Steps
- Schedule
- Historic
Job 1: Ensure Relayers have Sufficient Crypto
We use OpenZeppelin Defender to automate transactions. In particular, the awarding of prize pools and pod batching.
Defender has two concepts: Autotasks and Relayers. Relayers are essentially EOA wallets that are stored securely in AWS. Autotasks are essentially lambdas that run periodically. The Autotasks use the Relayer API to trigger transactions.
The Relayer wallet addresses need to be stocked with crypto in order to run transactions.
Polygon Bridge: You can bridge MATIC over with Polygon: https://wallet.matic.network/
Binance Bridge: You can bridge BNB with the bridge: https://www.binance.org/en/bridge
Network | Currency | Address |
---|---|---|
Ethereum | ETH | |
Polygon | MATIC | |
Binance | BNB | |
Celo | CELO |
Steps
- Click the above addresses. For each one, ensure it has enough native crypto to function.
- Ethereum relayers should have at least 1 ETH
- Polygon relayers should have at least 1 MATIC
- Binance relayers should have at least 0.5 BNB
Job 2: Check the Governance Prize Strategy Balances for LINK
Some contracts use the Chainlink VRF to calculate the random number. The Prize Strategies need to hold LINK in order to pay for the random number request.
Note: there are multiple LINK tokens on non-Ethereum chains. You will may need to use Chainlink's Peg Swap Service to get the right LINK.
Links
Name | Network | Address |
---|---|---|
Dai Prize Strategy | EthereumPolygonBinance | |
USDC Prize Strategy | Ethereum | |
DrawBeacon | Ethereum | |
USDT Prize Strategy | Polygon |
Steps
- Stock each prize strategy with enough LINK to complete a month's worth of requests. For example: if an Ethereum prize pool awards once per week, then the strategy needs to hold 8 LINK tokens.
Network | Cost Per Request | Monthly Cost |
---|---|---|
Ethereum Prize Strat | 2 LINK | 8 |
Ethereum Draw Beacon | 2 LINK | 60 |
Polygon | 0.0001 LINK | |
Binance | 0.2 LINK |
Schedule
- Brendan
- Pierrick
- Ryan
- Gio
- Aodhgan
- Tuna