← Back to home

Stop Loss

Create stop loss order directly onchain, don't limit yourself to limit order onchain, now you can create stop loss.

Screenshots

Stop Loss screenshot 1
Stop Loss screenshot 2
Stop Loss screenshot 3

Problem Statement

With the combinaison of Optimism sdk (Optimism, Base, Zora , Mode), chainlink and the graph, we can now create stop loss order directly on chain.This clob is not limited by the liquidity provided by users, it can use AMM liquidity to fill orders (You can for exemple create a flash loan on uniswap fill an order and reimbourse the loan with token deposited for the order).An user can create stop loss order only on asset referenced by chainlink data feeds for the current blockchain choosed by the user.I hope I can add trailing stop order soon.

Solution

Smartcontract build with solidity, frontend with react, and api with thegraph. We use chainlink price feed to get asset price.Thanks to optimism, base, zora, mode blockchain technology, we can react quickly to price change.You can create stop loss order only for asset with price on chainlink price feed.We check directly on the smartcontract if we respect the stop loss order condition before fulfill it.

Hackathon

Superhack

2024

Prizes

  • 🏆

    🏊 Mode — Prize Pool

  • 🏆

    🛠️ Chainlink — Best use of Data Feeds on Base

  • 🏆

    🕸 The Graph — 🥈 Best Use of Subgraph or Substream

Contributors