Snowball Docs
AppDiscordTwitterMedium
  • 👋Welcome
    • Introduction
    • Roadmap
  • 🗳️Governance
    • SNOB
    • xSNOB
      • Gauges
      • Reward Boosting
      • Revenue Sharing
    • Community Proposals
  • 📈Our Products
    • Compounding
    • NFT Marketplace
    • Axial
    • Lava
    • Teddy
  • ❓FAQ
    • General FAQ
    • Compounding FAQ
    • xSNOB FAQ
  • 🎓DeFi University
    • Introduction
    • 1st Year Courses
      • FN 101 - Decentralized Finance
      • FN 102 - Wallets
      • FN 103 - Block Explorers
      • FN 104 - Tokens
      • FN 106 - Gas Fees
      • YF 111 - Lending Markets
      • YF 121 - Liquidity Pools
      • GV 141 - DAOs
      • EX 151 - Spotting Scams
    • 2nd Year Courses
      • FN 205 - Bridges
      • FN 207 - Apps vs Dapps
      • FN 209 - Avalanche
      • FN 222 - DEXs
      • FN 231 - Stablecoins
      • GV 242 - Voting Mechanisms
      • YF 261 - Auto-Compounding
      • EX 271 - NFTs
      • EX 272 - The Metaverse
      • EX 281 - DeFi Composability
    • 3rd Year Courses
      • FN 308 - Consensus Mechanisms
      • YF 312 - Folding
      • FN 317 - Infinite Approvals
      • YF 323 - Impermanent Loss
      • EX 325 - Single-Asset vs LP Strategies
      • YF 362 - Liquid Staking
    • 4th Year Courses
      • YF 424 - LP Math
      • YF 425 - One-Sided Stable LPs
  • 🗃️Resources
    • Our Team
    • Brand Assets
    • Guides
      • Setting Up MetaMask
      • Depositing into Compounding Strategies from Trader Joe
      • Depositing into Compounding Strategies from Pangolin
      • Staking SNOB for xSNOB
      • Unstaking SNOB
      • Voting on Gauges with xSNOB
      • Manual Smart-Contract Interaction
      • Bridge FRAX to Avalanche
      • MetaMask Security Measures
    • DeFi Glossary
  • 💻Smart Contracts
    • Snowball Contracts
    • Compounding Contracts
    • Deprecated Contracts
    • NFT Contracts
    • Audits & Timelocks
    • Multisigs
  • 🔗Links
    • Website
    • Discord
    • Twitter
    • Telegram
    • Medium
    • GitHub
Powered by GitBook
On this page
  • Depositing into Compounding Strategies
  • Claiming SNOB Rewards
  • Withdrawing from Compounding Strategies
Edit on GitHub
  1. Resources
  2. Guides

Manual Smart-Contract Interaction

PreviousVoting on Gauges with xSNOBNextMetaMask Security Measures

Last updated 3 years ago

In the rare case something happens to Snowball's website, you can always interact with our contracts through a block explorer. This guide will cover how to deposit funds into our contracts, claim your SNOB rewards and withdraw from our contracts without relying on our beautiful web interfaces.

If you're planning on interact with deprecated contracts, all the addresses you'll need can be found instead of our usual compounding contracts page.

Depositing into Compounding Strategies

1) If depositing LP tokens, first supply liquidity to a pool on or that receives rewards.

2) Find the contract address for the pool you deposited into and open it on a . On Pangolin, this can be found on their . On Trader Joe, this can be found through their .

3) Once you have found it, click on Contract and Write Contract.

4) If not already connected, connect your MetaMask wallet to the block explorer.

6) Click Write. You will be asked to approve the transaction through your wallet.

7) Navigate to the Snowball's compounding deposit contract through the block explorer and click on Contract and Write Contract. This is the same address that you entered on step 5.

8) Find the depositAll method.

Never deposit tokens directly into a compounding gauge contract. Doing so will lead to a loss of funds. Steps 9 and 14 are to deposit into the compounding deposit contract and compounding gauge contract respectively. These need to be followed in order.

9) Click Write. You will be asked to approve the transaction through your wallet.

11) Click Write. You will be asked to approve the transaction through your wallet.

12) Navigate to the Snowball's compounding gauge contract through the block explorer and click on Write Contract. This is the same address that you entered on step 10.

13) Find the depositAll method.

14) Click Write. You will be asked to approve the transaction through your wallet.

Congratulations! Your tokens have now been deposited in Snowball's compounding pool, and if there are SNOB rewards allocated to the pool you've chosen, you will gain SNOB tokens over time.

Claiming SNOB Rewards

2) Once you have found it, click on Contract and Write Contract.

3) If not already connected, connect your MetaMask wallet to the block explorer.

4) Find the getReward method.

5) Click Write. You will be asked to approve the transaction through your wallet.

Congratulations! Once the transaction is confirmed, any SNOB rewards in that pool will have been transferred to your wallet.

Withdrawing from Compounding Strategies

2) Once you have found it, click on Contract and Write Contract.

3) Find the withdrawAll method.

4) Click Write. You will be asked to approve the transaction through your wallet.

6) Once you have found it, click on Contract and Write Contract.

7) Find the withdrawAll method.

8) Click Write. You will be asked to approve the transaction through your wallet.

Congratulations! Once the transaction is confirmed, any tokens you had previously deposited in that pool will have been transferred to your wallet.

5) Find the Approve method. In the first box - spender(address) - you will need to input Snowball's compounding deposit contract for the token pair you'd like to compound. This can be found on our . In the second box - value(uint256) - add the amount of LP tokens you would like to approve or a slightly larger amount. If you are unsure, you may simply input an arbitrarily large number such as 999999999999999999999999999. This value simply needs to be equal to or larger than the amount you wish to transfer in the next steps.

10) On the same page, find the Approve method. In the first box - spender(address) - you will need to input Snowball's compounding gauge contract for the token pair you'd like to compound. This can be found on our . In the second box - value(uint256) - add an arbitrarily large number, such as 999999999999999999999999999.

1) Find the compounding gauge contract address for the pool you want to claim rewards from and open it on a . This can be found on our .

1) Find the compounding gauge contract address for the pool you want to withdraw from and open it on a . This can be found on our .

5) Find the compounding deposit contract address for the pool you want to withdraw from and open it on the block explorer. This can be found on our .

🗃️
Compounding Contracts page
Compounding Contracts page
C-Chain block explorer
Compounding Contracts page
C-Chain block explorer
Compounding Contracts page
Compounding Contracts page
here
Pangolin
Trader Joe
C-Chain block explorer
analytics page
pools page