ava-labs / open-defi-hackathon

3 stars 0 forks source link

Prediction Market #2

Open cgcardona opened 2 years ago

cgcardona commented 2 years ago

Prize Bounty

$7,500 in USDC

Challenge Description

Prediction markets enable trading contracts which pay based on the outcome future events. They enable participants to put their money on the line based on their expectations.

This challenge is to build an EVM-compatible prediction market on the Avalanche C-Chain. The outcome should be binary and provable via an on-chain oracle, such as a price prediction market where the outcome is decided via Chainlink price feeds.

Users should be able to deposit AVAX (or another token) into a wallet and then buy shares in a particular prediction. Share prices should reflect the probablility of the expected outcome.

Submission Requirements

  1. Users should be able to deposit AVAX (or another token) into a wallet and then buy shares in a particular prediction.
  2. Share prices should reflect the probablility of the expected outcome.
  3. Prediction outcomes should be binary and resolve unambigiously via on-chain data feeds
  4. Smart contract(s) and front-end code should be available for review/audit and licensed under a common Open Source license such as MIT or BSD-3.
  5. Full documentation
  6. Video demo of the submission

Avalanche Developer Documentation

Judging Criteria

This category is limited to 1 winner. The prediction market which most closely meets the submission requirements will be the winner. Partial or unfinished submissions are not eligible for the prize. If no submission meets the requirements then there will be no winner.

Winner Announcement Date

Sept 30th

gitcoinbot commented 2 years ago

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


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

gitcoinbot commented 2 years ago

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


Work has been started.

These users each claimed they can complete the work by 11 months, 2 weeks ago. Please review their action plans below:

1) riki1498 has started work.

Halo semuanya, di video ini kita akan membahas tentang update seputar market crypto dan analisa teknikal untuk beberapa crypto seperti: Bitcoin (BTC), Cardano (ADA), Solana (SOL), Binance (BNB), Theta (THETA), Polygon (MATIC), Polkadot (DOT).

MARKET CRYPTO TIDAK MENENTU!! UPDATE BTC DAN BAHAS ALTCOIN (SOL - ADA - BNB - THETA - MATIC - DOT) 2) antonga23 has started work.

A prediction market inspired by the legend of the high priestess of the Temple of Apollo at Delphi. 3) asketak has started work.

Price prediction market using chainlink price feeds 4) jff-danno has started work.

Price prediction market 5) lopeselio has started work.

I will create a Sooper Dooper Prediction Market on Avalanche Network to vote if CR7 will score on his Manchester United Debut or not. 6) dujar has started work.

betting on chainlink pricefeed token prediction 7) indexzoo has started work.

Inspiration IndexZoo was launched in May 2021 to provide the most accurate leveraged tokens for long/short exposures on any basket of cryptocurrencies. Layer-1 based index tokens are known for infrequent rebalancing and poor leveraged tracking due to gas cost. IndexZoo fixes this by using DEX derivative exposures, a product design that mirrors TradFi indices.

What it does IndexZoo is built to solve 3 main problems with DeFi indices: 1,Lacking of Index Exposures (Long only, low leverage) 2,Inaccurate Tracking (Infrequent rebalancing, high gas fee) 3,Gatekeepers (Slow product launch)

How we built it The current tokenized indices get exposures by holding the underlying tokens, and rebalances through Layer-1 spot markets. This is highly inefficient and costly, resulting in the the lacking of index product diversity, inferior performance tracking and high fees.

Compared to other DeFi index projects, IndexZoo's key differentiator is where the index gets exposure: IndexZoo uniquely sources exposures from DEX derivatives contracts (perpetual futures contracts and options contracts), neither from the spot market nor synthetic exposures between long and short users. This method enables IndexZoo to actively rebalance its ETF tokens intraday at a very low cost, and provides the most accurate index tracking to investors, which is essential for any tokenized index products. The fact that most DEX derivative contracts are settled on Layer-2 made it possible.

IndexZoo is also able to provide high leverage tokens (up to x5) using derivatives contracts and margin trading, providing the maximized capital efficiency for hedging and speculation. In addition, IndexZoo does not require a debt position on lending protocols to achieve leverage, hence further minimizing fees and passing along savings to users.

Challenges we ran into The Achilles heel of leverage index product is accuracy. Current products, either CeFi tokens such as FTX and Binance, or DeFi tokens such as FLI 2x series, all utilizes a leverage range (1.7x - 2.3x) instead of a fixed target (2x). This results in a less predictable exposure, coupled with infrequent rebalancing that is often manual and intransparent, entirely defeats the purpose of leverage token. Our goal was set out to provide the most accurate fixed leverage target, and ensure the most predictable tracking exposure possible. The challenge was to originate a unique margin trading based leverage management mechanism. With our previous experience trading TradFi instrument (FX, Futures, Equity derivative and etc.), we were able to design a rebalancing scheme that is suitable for DEX perpetual futures (Dydx Layer-2 Perp and etc.) and provide the tokenized exposure with accurate leverage tracking.

Accomplishments that we're proud of We are busily testing our leveraged token internally, and are looking at a testnet deployment by end of September/early October. Importantly, our Bear Inverse Token will be the first leveraged inverse index for DeFi. This will add an infrastructure tool for investors to hedge or speculate against market downturns as it is commonly used in the stock markets. Our Fear Volatility Token is also under development. It will be the first DeFi volatility protocol that tracks DEX options protocols (OPYN and etc.) instead of synthesizing from CEX avenues.

What we learned Since our launch, we have learned the enthusiasm from DeFi community towards index and leveraged token products. We've seen exponential growth of DPI (DeFi Pulse Index), as well as the disappointments to FLI 2x series. Our goal is to provide a better and smarter indices that is catered to the community's needs.

What's next for IndexZoo IndexZoo's ultimate goal is enable permission-less user index creation for any basket of cryptos with any leverage. Therefore, anyone can create a customized hedging or speculation solutions for any individual wallet, because smart investment tools like these are what DeFi is all about.

Traction By late August, we've completed our pre-seed round financing, launched our website, whitepaper and social media. Product development for Bear Inverse Token is underway, and we are shooting for ETH Testnet deployment by the end of September, followed by Mainnet launch in October.

We are drawn to Avalanche's near instant transaction finality, scalability, fee reduction and solidity compatibility. These features coincide with IndexZoo's DEX derivative based products, which aims to provide a low-friction user experience for maximum predictability. So an Avalanche Mainnet Dapp launch has long been in our consideration. 8) amityadav0 has started work.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

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


Work for 7500.0 USDC (7500.00 USD @ $1.0/USDC) has been submitted by:


gitcoinbot commented 2 years ago

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


Work for 7500.0 USDC (7500.00 USD @ $1.0/USDC) has been submitted by:

  1. @riki1498

@exk2000 please take a look at the submitted work: