# 🍸Dive Bar

{% hint style="info" %}
The Dive Bar uses the protocol's [smart contract architecture](https://docs.divergence-protocol.com/technical-reference/smart-contract-architecture), with custom oracle contracts retrieving off-chain data feeds. These markets are introduced as pilots, and are created for those brave enough for a dive. With sufficient community interest,  and the support of third-party oracle networks, they can be integrated as staples of options offerings. Interested community members can [request](mailto:contact@divergence-protocol.com) new prediction markets to be added to the Dive Bar. &#x20;
{% endhint %}

<figure><img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2F0xJFrxWwHLnSEYGf3DPx%2Fimage.png?alt=media&#x26;token=27a683a6-c8df-47ab-b78e-3a2730a5ac1e" alt=""><figcaption></figcaption></figure>

The prediction markets primarily adhere to the [options specs](https://docs.divergence-protocol.com/overview/protocol-basics/options-specs), with a few distinctions:

* The markets trade on the outcomes of unknown future events. They can also be configured to trade on prices of assets, including those that are not yet publicly offered.
* Each market uses one ERC20 collateral token to long and short <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark> event outcomes
* <img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2Ftejg5ghEh1qfogsQmMsH%2FSpear_icon2.png?alt=media&#x26;token=00efed32-5bf7-40d0-b538-54c0ca8e7f9b" alt="" data-size="line">Spear tokens settles profitably when the event outcome is  '<mark style="color:green;">YES</mark>'.
* <img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2FWs9b8z36xI2FH2LGAIkN%2FShield_icon2.png?alt=media&#x26;token=a067e97e-30d2-4571-8b12-685771546945" alt="" data-size="line">Shield tokens settles profitably when the event outcome is '<mark style="color:red;">NO</mark>'.
* The interface is designed with some similarity to orderbooks, with each liquidity position (aka sell orders) set to a minimum interval of 30 ticks.
* As is the case with [shorting options](https://docs.divergence-protocol.com/user-guide/short-options),  liquidity positions must be finalized under "Open Orders", before the shorts in <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark>  can be [closed](https://docs.divergence-protocol.com/user-guide/short-options/close-shorts).  To close shorts, simply click "Close", approve and confirm sending the pool the prompted amount of <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark> from holdings, and receive the reserved collateral. Note that the open shorts can only be closed in full. &#x20;

<figure><img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2FuU36BS9nXRUsExeFicbV%2Fimage.png?alt=media&#x26;token=8bb746eb-5b08-4d72-9873-02ca6ed6113b" alt=""><figcaption><p>After finalizing a liquidity position under "Open Orders", go to "Positions" to close it. </p></figcaption></figure>

* Markets expire at custom timestamps specified as a pool's `BattleKey`. An hour after settlement,  winning long <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark> positions can exercise for profit.  Liquidity providers who have opened shorts in losing  <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark> positions can reclaim reserved collateral, keeping the premiums as profit.
* To [close longs](https://docs.divergence-protocol.com/user-guide/long-options/close-longs) in <mark style="color:green;">YES</mark> or <mark style="color:red;">NO</mark>,  click "Earn", select a limit price to sell your holdings and confirm adding liquidity. Don't forget to finalize these in "Open Orders" to withdraw your sale proceeds! &#x20;
* Alternative [fee](https://docs.divergence-protocol.com/overview/protocol-basics/fees) structures for the markets can be enabled.
* Last but not least, **these markets enable everyone to voice their opinions**. Click on the "Yes" or "No" button and share your views on X 🤿\_🤿

<figure><img src="https://205922869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXDQ_f-eqqSVmsimay0%2Fuploads%2F0pRmkhgxCwy83C4A5rDt%2FyesnoButton.gif?alt=media&#x26;token=2fb4a048-6188-4c7e-b6b4-96a5be2233c0" alt=""><figcaption><p>You've got it. Just say it.</p></figcaption></figure>
