How it works

Leveraging smart contracts to enable peer-to-peer derivative contracts

DIVA Protocol acts as a programmatic escrow that receives and securely holds funds from users participating in a derivative contract and releases them based on the outcome of a pre-agreed future event, reported by an oracle following expiration.

Upon depositing funds, participants receive ERC20 tokens, referred to as long and short positions. These tokens represent contingent claims against the funds held in the programmatic escrow, also referred to as the "contingent pool" or simply "pool". Through these positions, each party is exposed to either the upside (via the long position) or the downside (via the short position) of the underlying metric.

The payoffs of long and short positions are zero-sum meaning that for every unit of collateral that the long position may gain, the short position will lose and vice versa. By holding both the short and long position tokens, users are fully hedged, representing a claim against the deposited funds.

Last updated