Prediction markets let people buy/sell shares in the outcomes of future events,with the share price indicating the odds & acting as an important signal.We don't have any prediction markets on Cardano.
We propose to build CONVEX - the first operational prediction market on Cardano. CONVEX is truly decentralised: anyone can participate. No central infrastructure. You don't need anyone's permission.
This is the total amount allocated to Prediction markets on Cardano.
A prediction market is a question about a data point that can be observed in the future. A good example is "Will the oil price be higher than 65$ on November 10, 2022?". There are two possible answers to this question (Yes and No). Each answer is a share in this particular market. Users can buy and sell shares until the market closes on November 10. At that point, the question will be answered definitively, and whoever owns a share with the correct answer receives 1 Ada. The person or entity that creates and closes a market is called the market maker. It is the responsibility of the market maker to formulate the question as precisely as possible. In our example, one would have to specify which particular oil price the market refers to, and how exactly the value is observed on November 10. A mediation mechanism exists that allows users to submit complaints and resolve disputes about outcomes.
User Stories
As a user of the CONVEX decentralised prediction market, you will be able to browse existing markets and purchase shares in them. Your shares are tokens that live in your wallet and you can trade them on exchanges. When a market is closed you can redeem your winning shares for Ada. If you suspect dishonest behaviour you can launch an arbitration procedure to try and reclaim your funds.
As a market maker you can use your $CONVEX tokens to create new markets and arbitrate (close) the markets you have created. Earn reputation and profit from user fees.
Technical Documentation
The CONVEX decentralised prediction market is powered by several Plutus scripts that cover the operation of the individual markets as well as governance and liquidity aspects. CONVEX will use the properties of the Cardano blockchain to the fullest extent, allowing for cheap and smooth operations and interoperability with existing dapps.
The extended UTXO model that Plutus smart contracts are based on allows for some interesting features such as short-selling without borrowing (obviating the need to post collateral).
The shares in each market can be traded like any other native token.
Governance
The CONVEX project has been designed with sustainability and transparency as primary goals. This is achieved through $CONVEX token and the economics and governance procedures that it enables.
Users receive $CONVEX tokens as a reward for prodiving liquidity. $CONVEX tokens have a number of use cases.
Transparency The development of CONVEX will happen out in the open, with the on-chain code and the match maker backend being fully open source. The $CONVEX token is created solely by providing liquidity through the staking time-lock. There is no pre-allocated amount of tokens for developers, early investors or for burning (however, the amount of $CONVEX tokens gained from staking decreases over time, providing an incentive to early investors).
Sustainability The Catalyst funding will be used to finance the development of the project. The goal of the project is to establish a completely decentralsied, open-source prediction market on Cardano. Therefore it will not be necessary to operate any servers or infrastructure afterwards. The project will stay alive as long as it attracts users.
Smart Contracts
The following Plutus smart contracts will be built:
1. Prediction market The actual prediction market script. It will be based on the work of Clark et al. [1], with some CONVEX-specific additions
2. $CONVEX token The monetary policy of our utility token. In a novel take on the ISPO, we ask our users to provide liquidity by locking Ada in a Plutus script over a period of 90 days. As a reward, users receive $CONVEX tokens immediately upon locking their Ada. At the end of this period, the entire Ada amount will be returned. The staking rewards however will go towards the treasury of the project.
Risk Management
CONVEX will be built to the highest standards of software quality assurance to attain functional correctness and to minimise the risk of loss of funds through bugs.
This includes a formal specification of the on-chain components, as well as rigorous testing in many forms (unit tests, property tests, integration tests, manual tests).
We aim for greatest transparency by developing the project out in the open and inviting external contributors to scrutinise the source code at every step.
We will also take measures to mitigate against other types of risk. For example, we will ensure that users of the prediction markets will always be able to retrieve their funds, even in the presence of a malicious market maker.
[1] http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.434.4262
CONVEX contributes a new type of DeFi app to the Cardano ecosystem: A decentralised prediction market. Such a market currently does not exist and CONVEX closes this feature gap.
CONVEX will also make several secondary contributions. By being fully open sourced, it will provide a complete example of a non-trivial Cardano app. This can lower the hurdle for new developers and encourage them to enter the ecosystem. Finally, CONVEX is designed from scratch for the Cardano blockchain (as opposed to being a port of an existing system), making full use of the capabilities of the EUTXO model, incl. the improvements of the Vasil hardfork. It is therefore also a contribution to the design of Cardano dapps.
The following chart shows the expected time (in working days) for the tasks involved in building the prediction market. The numbers are cumulative days since the beginning of the project, within a 5-95 percent confidence interval.
Deliverables
Weekly development updates will be released during the development of the project. These will include videos demonstrating any new features that have been added, as well as pointers to the source code and documentation.
The final deliverable at the end of the project consists of:
* Source code on Github
* Documentation on Github
* A downloadable artifact that allows users of CONVEX to participate in the decentralised prediction market. This is likely going to be a docker image, but we will explore other avenues of delivery (ideally fully browser-based) during the "Release" part of the project.
* A demo video showing the product in action on mainnet
The budget for the development work is based on the above timeline and my normal day rate.
Total: 69,400 USD
The goal of the project is to become self-sustaining (based on user fees) from the start. The only circumstance in which another round of Catalyst funding might be appropriate is if investment is needed to build an entirely new product. However, if this is the case, and the original project has achieved its goals, then there should be other avenues of funding available. It is therefore relatively unlikely that CONVEX will seek another round of funding.
CONVEX exists as a working, decentralised prediction market on Cardano mainnet
CONVEX is an entirely new project.
First ever Plutus developer. Built the initial Plutus use cases long before the Alonzo H/F. Wrote matchmaker for Muesli DEX from scratch. Currently contributing to property-based testing of the Djed stablecoin. Many years of commercial Haskell / full stack experience.