LogoLogo
WebsiteExchangeAnalyticsTelegram
  • What is Elk?
    • Elk Finance
    • The ElkNet
    • Cross-chain Reservoirs
    • Whitepaper
    • Timeline and Roadmap
  • Elkonomics
    • Elk Ecosystem
    • ELK Token
    • Moose NFT
  • Technical Documentation
    • BaaS: Bridge-as-a-Service
    • FaaS: Farm-as-a-Service
    • Elk Finance LP API
    • ElkPad: Multichain LaunchPad
  • User Tutorials and Help
    • Deploy a Bridge with BaaS
    • Setting up a wallet
      • Metamask
      • Brave
      • Custom RPCs
      • Desktop MetaMask on Mobile
    • Moving ELK by ElkNet
    • How to Farm with Elk
      • How to Farm with Elk on Q Blockchain
    • Transferring Moose to another wallet
    • FAQs
  • Further Information
    • Social Channels
    • Brand Assets
    • Contract Addresses
      • Avalanche
      • Polygon
      • Fantom
      • Huobi ECO
      • Gnosis Chain (xDai)
      • BNB Chain
      • KuCoin Community Chain
      • Harmony One
      • OKX Chain
      • Elastos Smart Chain
      • Moonriver
      • Telos EVM
      • Cronos
      • Fuse
      • IoTeX
      • Ethereum
      • Arbitrum
      • Optimism
      • Kava EVM
      • BitTorrent Chain
      • Bitgert
      • Metis
      • Wanchain
      • Neon
      • Astar
      • Base
      • Linea
      • Velas
      • Q Blockchain
      • Arthera Mainnet
      • Rootstock
      • Legacy Addresses
        • Avalanche- Legacy (v2)
        • Polygon- Legacy (v2)
        • Fantom- Legacy (v2)
        • Huobi ECO- Legacy (v2)
        • Gnosis Chain (xDai)- Legacy (v2)
        • BNB Chain- Legacy (v2)
        • KuCoin Community Chain- Legacy (v2)
        • Harmony One- Legacy (v2)
        • OEC (OKEx Chain)- Legacy (v2)
        • Elastos Smart Chain- Legacy (v2)
        • Hoo Smart Chain- Legacy (v2)
        • Moonriver- Legacy (v2)
        • Telos- Legacy (v2)
        • Cronos- Legacy (v2)
        • Fuse- Legacy (v2)
        • IoTeX- Legacy (v2)
        • Hoo Smart Chain
        • Arthera Testnet
  • Elk History
    • Elk Legacy Information
      • Legacy Token Upgrade
      • Legacy Contracts
      • Legacy Farm Contracts
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Elk History
  2. Elk Legacy Information

Legacy Farm Contracts

PreviousLegacy Contracts

Last updated 1 year ago

Was this helpful?

If you've forgotten about your old Elk LP tokens in an older farm that is not accessible on , you can feel free to follow this tutorial to withdraw your LP tokens, and claim your rewards and impermanent loss protection amount (if applicable). You can also follow a video guide . Please note that this method currently only works on desktop browser extensions of MetaMask. You can find a guide on how to set up the desktop version of MetaMask on your mobile device.

  1. Find the address of the farm you are stuck in from the and make sure it is the correct farming round\

  2. Go to the staking pool link, then click write contract. If the farm is not verified and you see no "write contract" option. Please skip to the section below.\

  3. Click connect to Web 3 and "Approve" (you may have to do this twice on some explorers)\

  4. Click "write" under "1. exit" and approve the transaction in MetaMask to withdraw your LP tokens, any remaining rewards, and impermanent loss coverage (if applicable)

Is the contract unverified? Watch the video or follow the steps below it.

  1. Navigate to a contract address from the same round that is verified, even if it is on a different chain.\

  2. Head to the verified contract, and copy the contract code, noting the solidity version.\

  3. Create a new .sol file in Remix (the little file button in the menu) and paste the contract in there.\

  4. Go down to the compiler tab, select the version that you noted prior, and hit compile.\

  5. Go down to the deploy and run transaction tab. Change the environment to injected web3, and approve to connect your MetaMask\

  6. Change the gas to what the network expects in gwei, change the contract to Staking Rewards, and paste the contract address you noted earlier of the farm you are stuck in into "At Address" and then click "At Address"\

  7. Uncollapse the "Stakingrewards At ADDRESS" menu that just appeared on the left of remix, click "exit" and confirm your transaction. If an additional gas menu pops up, like on AVAX, then fill both gwei fields with 225 and then confirm the transaction in Remix, and also in MetaMask (ensuring the gas isn't too expensive). This should pull your LP out. You're finished! Head to the pool at app.elk.finance and withdraw your liquidity.

If it failed, scroll down to the blue "balanceOf" field and past your MetaMask address in there, and click "balanceOf". If it shows a value of 0, then that means you actually do not have any LP in this particular farm. You can actually paste other farm addresses in the blue "At Address" field and repeat this step until you find the farm you are actually stuck in (it will return a non-zero value). Then simply follow the last two steps above.

Find contract address of farm you are stuck in at , and copy it to Notepad for later.\

Go to , ensuring you are on the right chain that you need to withdraw from in MetaMask.\

https://docs.elk.finance/addresses
remix.ethereum.org
https://app.elk.finance
here
here
Elk.Finance Docs Addresses