Automated SNX Rewards - Live on Optimism (from Gelato)
We've recently partnered with Gelato to allow stakers to automatically claim their SNX staking rewards on Optimism. As of right now, the integration enables stakers to claim their weekly rewards once their C-Ratio is above the target C-Ratio (as of right now, this is 350%)
The functionality to enable automation utilizes the Synthetix Delegate function, which has been a part of the system since SIP-10 was released in March of 2020. Gelato bots do not have control over your staking account, they are only able to claim your rewards by using the delegate function introduced in SIP-10.
Automated Claiming without burning to claim
Let's explore a quick example to explore how automated claiming through Gelato works:
- If at any point during the week you're above 350% (target c-ratio) - Automated claiming bot will claim your rewards
- If you are below 350% and burn sUSD to increase your C-Ratio above 350% (target c-ratio) - Automated claiming will claim your rewards
- If you NEVER go above 350% (target c-ratio) - Automated claiming bot WILL NOT claim your rewards
Here's an examples of one wallet currently using the automated claiming bot through Gelato - https://app.gelato.network/task/0x8a370a89fa2d31b0bc46b74a198ebd43a67fc19d5133200548cd5e2e79b7e179?chainId=10
Automated Claiming with burning to claim
If you are below the target and have enough sUSD in your wallet to burn to the target, then gelato will burn sUSD and then claim your pending SNX rewards.
While this is a helpful feature, it is not required by any means. Read the below tutorial to enable automated claiming or automated claiming with burning to claim.
Gelato Tutorial - Automated Claiming (optional: burn to claim)
- Delegate only claiming rights to gelato contract 0xaad3a6178d741dea76f57901feedac0f7bb280e5 on https://staking.synthetix.io/delegate
- Before you start, deposit some funds onto your Gelato account https://app.gelato.network/funds.
- These funds will be used to pay for transactions to claim for you; I recommend $20-25 as tx’s on Optimism cost $.50 or so.
- Create a task on app.gelato.network & Make sure you’re connected to Optimism.
- Use 0xaAd3a6178d741DEA76F57901FeeDaC0f7Bb280E5 as contract address
- Select function claim(address)
- Select "Pre-define inputs" then input your wallet address in the dropdown
- Click "Whenever possible" if you'd like it to check every block, if you want it to attempt to burn and claim at a particular time then click "time
- Select “Gelato balance” and deposit some funds
- Input a name for your task - Mine is “Weekly Claiming SNX.”