vitelabs/bounties

Initial Token Auction

Opened this issue · 5 comments

Purpose

The Vite ecosystem needs a dapp for distributing an allotted amount of tokens to the highest bidders. This will enable:

  1. More efficient price discovery of new tokens
  2. Funding for teams in exchange for equity of their token
  3. Community engagement

Features

  • Anyone can start an auction by locking up a fixed amount of tokens and specifying an end date
  • To place a bid, users lock up however much Vite they want to spend and specify the unit price (in terms of Vite) that they are willing to pay per token.
  • Users can place/withdraw as many bids as they want before the end date
  • On the end date, the contract will halt bid placing/withdrawing and go down the list of bids from highest to lowest unit price. At each bid, the Vite amount is divided by the unit price to get the token amount which is then sent to the placer of the bid and Vite amount is sent to the auction starter. This process continues until the locked tokens are depleted (the last bid may possibly only receive a fraction of what they bid for).
  • All bidders who didn't specify a high enough unit price will have their Vite sent back to them. If the last winning bid could only get a fraction of what they were willing to pay for, the difference in Vite is sent back to them.

Prizes

  • 2000 USD in VITE for developing a smart contract
  • 2000 USD in VITE for creating a UI design

Contract Requirements

  • Takes into account "Features" and "UI Requirements"
  • Uses Solidity++ 0.8.0
  • Unit tests for all contract functionality using ViteJS and your unit testing library of choice.
  • Keeps track of all current and past auctions
  • Additional features are welcome! Keep in mind that this contract will be interacted with from a GUI so getters and setters suitable for the UI described below should be implemented. For example, a linked list sorting bids from highest to lowest might be useful for displaying them and sending winning bidders tokens.

UI Requirements

  • Takes into account "Features" and "Contract Requirements"
  • Uses Figma or a similar design tool that makes copying color/pixel values easy
  • Has a logo
  • Allows users to log in with ViteConnect (i.e. scanning QR code with Vite mobile app)
  • Is easy for anyone to understand and use - regardless of their experience with crypto.
  • Be responsive to different screen sizes
  • Has a light and dark mode with a component to choose between dark/light/system themes
  • Has a homepage that describes what the dapp is, how to use it, and why it exists.
  • Shows the price in terms of Vite and USD for bidding and auction stats
  • Has a page that shows all ongoing auctions
  • Has a page that shows all ended auctions
  • Has a page that shows auction details like end date, total Vite locked, average bid, highest bid, list of bids
  • Has a component for placing and withdrawing bids
  • Has a component that shows token info like tti, total supply, amount being auctioned off, etc.
  • Additional features are welcome!

Judging Criteria

  • The Vite Labs team will check to make sure all of the requirements have been met
  • Consolation prizes will be given for submissions that are good, but don’t meet all requirements
  • If your submission is close to completion, but requires minor improvements, we may reach out to you to discuss revisions with you so you can get the full bounty prize.

Winner Announcement

  • After the hackathon, we will announce the winner(s) when all submissions have been reviewed and the judge's scores tabulated.

Resources

Follow Vite on social media

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


This issue now has a funding of 4000.0 USD (3998.4 USD @ $1.0/USD) attached to it.

Are later versions of Solidity++ (0.8.1) allowed for this, #22, and #24?

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


Work has been started.

These users each claimed they can complete the work by 13 hours from now.
Please review their action plans below:

1) adelana001 has started work.

I will be designing a dapp that allows for token auctions
2) ufe-pr has started work.

I will be creating a smart contract for users to be able to auction tokens.
3) bismarckuxui has started work.

Creating a UI design
4) faithful1ofall has started work.

Mini Utopia is a multi-chain NFT marketplace that allows users to create and trade NFTs. Ecosystem Token
5) samuelemarro has started work.

Implementation of the initial token auction contract. Main challenge will be minimizing quota usage in functions that grow in complexity with the number of bids.
6) sonika-25 has started work.

A contract for Initial token auction.
7) newman0x has started work.

Implement a contract that allows for a team to raise liquidity by auctioning their token in exchange for VITE

Learn more on the Gitcoin Issue Details page.

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


Work for 4000.0 USD (3998.4 USD @ $1.0/USD) has been submitted by:

  1. @ufe-pr
  2. @adelana001
  3. @samuelemarro
  4. @sonika-25
  5. @newman0x

@ouivitejoel please take a look at the submitted work:


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


The funding of 4000.0 USD (3998.00 USD @ $1.0/USD) attached to this issue has been approved & issued to @newman0x.