seedclub / seed-club-hacks

It's time to #buidl
0 stars 0 forks source link

2,500 $COIN Bounty for an NFT Farming Smart Contract #7

Closed Cybourgeoisie closed 3 years ago

Cybourgeoisie commented 3 years ago

Farming for multiple NFTs weighted by absolute contribution:

For this bounty, we are looking for a smart contract that allows Liquidity Providers to stake their LP tokens in return for collecting multiple NFTs within a farming contract. The farming contract should have a set of pre-determined NFTs, and each farmer starts collecting the NFTs when they put up their LP tokens to stake.

Over a period of time, a farmer should be able to collect more than one NFT, iterating through the pool of available NFTs such that they can collect one or more NFTs, until they've received all of them. When the farmer goes to claim their NFTs, they can either (1) choose which NFTs they want, or (2) just accept an assortment of the NFTs available. The available NFTs should be limited to the number of each NFT provided in the contract.

Claiming the NFTs should transfer all successfully farmed NFTs to the owner. Exiting the contract should automatically claim all successfully farmed NFTs. If a farmer leaves a farm while in the middle of farming an NFT, they should be able to return to farm for the remainder of the NFT they've yet to claim, and then can successfully claim it once fully farmed.

Deliverable is a Solidity smart contract that achieves the following:

  1. The NFTs can be ERC-1155 or ERC-721 tokens, though it may be cheaper to allow farmers to farm for ERC-1155 NFTs.
  2. The rate at which a farmer should accumulate NFTs should be proportional ONLY to the amount of LP tokens they're providing, not proportional to the amount of tokens that everyone else is providing.
  3. The farmer should be able to farm for all NFTs available. They should be able to pick which NFTs they want when they go to claim, or they can just accept a random or pre-determined assortment.
  4. A farmer should be able to unstake and exit, but then return to stake again in the future and start where they left off.
gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 2500.0 COIN attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2500.0 COIN has been submitted by:


gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 2500.0 COIN has been submitted by:

  1. @silaszhr

@cybourgeoisie please take a look at the submitted work:


gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 2500.0 COIN attached to this issue has been approved & issued to @codinmaster.