Synthetix Docs
V2 User Docs
  • User Docs
  • Synthetix Exchange
  • Leveraged Tokens
  • For Developers
V2 User Docs
  • Synthetix Protocol
    • Welcome to Synthetix
    • The Synthetix Protocol
      • Synthetix Token (SNX)
      • The Role of Stakers
      • Oracles
      • Synthetix Litepaper
    • Synthetic Assets
      • Perpetual Futures
      • Spot Synths
  • Staking
    • Depositing to the 420 Pool
    • Current Protocol Parameters
    • Staking Guide (Nearing Deprecation)
      • Steps for Staking SNX (via Minting)
      • Steps for Unstaking SNX (via Burning)
      • Steps for Claiming Rewards
      • Automating Staking, Claiming, Burning, and Minting
        • Legacy Automated Minting & Claiming
      • Understanding the Collateralization Ratio
      • Understanding Debt, Minting, and Burning
      • Simplified Debt Hedging
      • Escrow and Vesting
      • Liquidations
    • Staking FAQ
    • Bridging sUSD
  • DAO
    • Governance Framework
      • Synthetix Improvement Proposals (SIPs)
      • Synthetix Configuration Change Proposal (SCCPs)
      • Spartan Council
      • Core Contributors
      • Staker
    • Elections and Voting
      • Voting with a Gnosis Safe
    • How to write SIP/SCCPs
  • V3
    • Synthetix v3
    • Build on v3
  • Synthetix Ecosystem
    • Built on Synthetix
      • Kwenta - Spot and Perps
      • Decentrex - Perps
      • Lyra - Options
      • Polynomial - Perps and Option Vaults
      • 1inch/Curve - Atomic Swaps
    • Community Infrastructure
    • Ecosystem Operations
  • integrations
    • Perps Integration Guide
      • Introduction
      • Optimistic Sepolia Testnet Tokens
      • Technical Integration
      • Perps Subgraph
      • General FAQ
      • Tracking Codes
      • Perps Keeper
      • Liquidations
      • Useful Links
      • Migration Guides
        • PerpsV2 Mintaka -> Almach
        • FuturesV1 -> PerpsV2 (Mintaka)
    • Contract Addresses
    • Releases
  • Terms of Use
  • Brand Assets
    • Design Resources
Powered by GitBook
On this page
  • Automated Claiming
  • Automated Claiming with 'Burn to Claim'
  • Automated Minting (thanks to Gunboats)
  1. Staking
  2. Staking Guide (Nearing Deprecation)
  3. Automating Staking, Claiming, Burning, and Minting

Legacy Automated Minting & Claiming

PreviousAutomating Staking, Claiming, Burning, and MintingNextUnderstanding the Collateralization Ratio

Gelato has recently upgraded to Gelato V2, to access your old tasks, please visit

Synthetix, in partnership with Gelato, offers automation for various staking-related tasks, such as claiming rewards, minting max (to stake additional SNX), and burning (to unstake some SNX or raise your c-ratio). This automation is facilitated by the Synthetix Delegate function, introduced with in March 2020. Gelato bots, while unable to control your entire staking account, can claim rewards, mint, and burn on your behalf using this delegate function.

Automated Claiming

How it Works:

  • The bot claims your rewards if your c-ratio exceeds the target at any point during the week.

  • If you manually burn sUSD to raise your c-ratio above the target, the bot will also claim your rewards.

  • If your c-ratio never exceeds the target, the bot will not claim your rewards.

Setup Guide:

  • Deposit Funds: Add funds to your Gelato Account for transaction fees. A recommended amount is $20-25, considering Optimism transactions cost approximately $0.50.

  • Create a Task: Go to Gelato and click "Create Task." Use 0xaAd3a6178d741DEA76F57901FeeDaC0f7Bb280E5 as the contract address.

  • Select Function: Choose "Claim" after clicking "Select a function."

  • Enter Your Address: Input your address in the designated field.

  • Set Frequency: Select "Whenever Possible" for constant eligibility checks.

  • Name Your Task: Provide a name and complete the task setup.

Automated Claiming with 'Burn to Claim'

Functionality:

  • If your c-ratio is below the target but you have sufficient sUSD to burn, Gelato will burn sUSD first and then claim your SNX rewards.

Setup Guide:

  • Follow the same steps as above, but choose the "Burn and Claim" function instead of "Claim."

  • Delegate the ability to both burn and claim to the Gelato address.

Automated Minting (thanks to Gunboats)

SNX community member Gunboats has developed a tool in collaboration with the Gelato Network, allowing users to automate SNX minting based on their preferred settings. This automation can significantly streamline the minting process for SNX stakers.

Step 1: Set Up Task in Gelato Network

  1. Create a Task:

    • Input SNX token address based on your network:

      • Ethereum Mainnet: 0xd0dA9cBeA9C3852C5d63A95F9ABCC4f6eA0F9032

      • Optimism: 0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4

    • Switch to Custom ABI

    • Select function: issuemaxsynthsonbehalf

    • Click “Resolver” and input the MaxMint Contract address:

      • Ethereum Mainnet: 0x509c4C872d2a8A82aD2C9Cbd09869697c7C6729b

      • Optimism: 0xaD2E8F76f5f7b4378fD49fE62b8C0960511cf734

  2. Select the Checker function & input your staking address into input field

  3. Name your task

  4. Before finalizing the creation of your task, note down the msg.sender for use in the next step.

Step 2: Delegate Minting Permission

Step 3: Configure MaxMint Contract

  • Access MaxMint on Etherscan: Visit the MaxMint contract page on Etherscan.

  • Set Configuration: Connect your wallet and Call the setConfig function. Choose between C-Ratio Mode or sUSD Mode for settings (see below)

Configuring Modes

C-Ratio Mode (Method #1)

  1. Target C-Ratio: Decide your target C-Ratio, e.g., 505% (5.3 in decimal).

    • Example: Automated Target C-Ratio of 505%

      1. 1/505 = 0.001980198019802

      2. Add two additional zeros 1980198019802000 + 00 = 198019801980200000

  2. Input in Etherscan:

    • Optimism: [1, "198019801980200000", 0] - It must use this exact template for Optimistic Etherscan.

    • Ethereum Mainnet: Input each piece separately:

      1. 1

      2. 198019801980200000

      3. 0

sUSD Mode (Method #2)

  1. sUSD Threshold: Choose the dollar threshold, e.g., $500.

  2. Convert to Wei: Multiply the amount by 1e18. For $500, it’s 500000000000000000000.

  3. Input in Etherscan:

    • Optimism: [2, 0, "500000000000000000000"] - It must use this exact template for Optimistic Etherscan.

    • Ethereum Mainnet: Input each piece separately:

      1. 2

      2. 0

      3. 500000000000000000000

Delegate Claiming Rights: Delegate only claiming rights to the Gelato contract (0xaAd3a6178d741DEA76F57901FeeDaC0f7Bb280E5) at .

Visit and Connect: Go to . Connect your wallet to Optimism or Ethereum depending on where you stake.

Copy and Paste the SNX Token Contract ABI from the Mainnet link

Delegate in Synthetix: Use the to delegate minting permission to the msg.sender address obtained from Gelato when creating your task.

Ethereum Mainnet:

Optimism:

Convert to Wei: Use 1/ Automated Target C-Ratio, then input this number into as ether, then copy the Wei value and add two 0’s on the end to make sure it’s 18 digits.

Inputted into as ether and then copied as wei = 1980198019802000

https://staking.synthetix.io/delegate
Gelato Network
Etherscan
Synthetix Staking Dapp
0x213f1d3d8cac06d39436380fdaee93007b1bd108
0xaD2E8F76f5f7b4378fD49fE62b8C0960511cf734
https://eth-converter.com/
https://eth-converter.com/
https://legacy.app.gelato.network/
SIP-10