DIVA Protocol
  • 👋Welcome
  • 🔅Introduction
    • Derivative contracts
    • What is DIVA Protocol
      • What problem does it solve
      • How it works
        • Reference assets
        • Payoff curves
        • Collateral
        • Oracles
        • Settlement
          • Timelines
          • Challenge
          • Status
          • Fast settlement
          • Fallback data provider
        • Fees
        • Compliance feature
      • Vision
      • Terminology
    • What is DIVA Token
      • Owner election mechanism
      • Token distribution
    • DIVA Development Fund
    • FAQ
  • 🌈DIVA App
    • What is DIVA App
    • Overview
    • Create position tokens
    • Trade position tokens
    • Add liquidity
    • Remove liquidity
  • ⚙️Guides
    • DIVA App Training
      • Prepare
      • Testnet
      • Create
      • Trade
      • Add
      • Remove
      • Settle
      • Redeem
      • Fees
    • Quiz
  • 🪄Use cases
    • Overview
    • Insurance
      • Credit default protection
      • Agrarian insurance
      • DeFi Hack insurance
      • Peg insurance
    • Yield optimization
      • Bullish accumulation
      • Bearish accumulation
    • Risk management
      • Downside protection
      • Increasing cost protection
    • Directional bets
      • Downside bet
      • "Bottom-Is-In" bet
      • Upside bet
      • "Top-Is-In" bet
    • Leverage
  • 👨‍🎓Pricing derivatives
    • Introduction
    • Underlying value
    • Volatility
    • Time
  • ⚓Oracle integrations
    • Overview
    • Tellor
  • ⚒️For developers
    • Overview
    • Technical resources
    • Smart contracts
      • Functions
        • Core protocol functions
        • Getter functions
        • Setter functions
        • ABI
      • Contract addresses
      • Example scripts
    • TheGraph
      • DIVA subgraphs
      • Whitelist subgraph
    • Project ideas
  • 📱Contact & Media Links
    • Social media
  • 👨‍🎓Technical Blog
    • Flash loans in DIVA Protocol
    • NDVI outcome reporting guide for Tellor Reporters
    • Enabling capital efficiency in DeFi
Powered by GitBook
On this page
  • Create position tokens with a binary payoff
  • Create position tokens with a linear payoff
  • Create position tokens with a convex long payoff (concave short payoff)
  • Create position tokens with a concave long payoff (convex short payoff)
  1. Guides
  2. DIVA App Training

Create

Create position tokens with various payoff profiles

PreviousTestnetNextTrade

Last updated 2 years ago

Create position tokens with a binary payoff

Make sure your wallet is connected to the application.

A. Pool setup

  • Go to CREATE

  • Specify the parameters of the position tokens. By adjusting the values of Floor, Inflection, and Cap along with the values under Advanced Settings you can achieve various payoff profiles (incl. binary payoffs) which will be presented in the chart.

  • Click on NEXT to set the Oracle

B. Oracle setup

  • Select a whitelisted Data Provider from the dropdown or enter a wallet address that will report the final reference value (ideally one that you control for testing purposes)

  • Click on NEXT to review and complete the pool creation process

C. Review & create pool

  • Review all pool parameters in a single view

  • Click APPROVE and confirm the transaction in your wallet

  • Click CREATE and confirm the transaction in your wallet

Once completed, the pool will be created and you will see two-position tokens with directionally reversed payoff patterns added to MY DASHBOARD -> MY POSITIONS.

Pro-tip: If you plan to create multiple pools using the same collateral token, you can save gas costs by approving a larger amount and then creating pools with smaller amounts until the approved amount is exhausted. More precisely, in step 1, enter a larger collateral amount, proceed to step 3 and click approve. Then, return to step 1 and create pools with collateral amounts smaller than you approved.

Using similar steps which are described above, you can create position tokens with linear, concave and convex payoff profiles. Try to complete the following tasks to learn how the different parameters impact the shape of the payoff curves.

Create position tokens with a linear payoff

Create position tokens with a convex long payoff (concave short payoff)

Create position tokens with a concave long payoff (convex short payoff)

⚙️
Example: Pool with Binary Payoff
Select a data provider to report the final reference value
Review pool parameters in a single view
Example: Position tokens with a linear payoff
Conxev/concave payoff profile for long/short
Concave/convex payoff profile for long/short