Opyn Total Value Locked

    Loading...
    Loading...
    Loading...

    Introduction

    In this analysis, we are going to look at the  total value locked in the Opyn Squeeth (osQETH) pools.

    Method

    First we find all the Opyn Squeeth pools, then we see their balance.

    these pool balances is our required locked balance. and the sum of these pool value is total locked value.

    we use the flipside database , the ethereum core dim_dex_liquidity_pools, erc20_balances, and ez_token_transfers

    we also study their Contract Addresses,

    in which the ShortPowerPerp , contain all short Squeet... (sSQU) transfers.

    and the WPowerPerp (Squeeth) , is the Opyn Squeeth (oSQTH) contract.

    Our second goal is to see the main pool , that is Uniswap V3: oSQTH 3

    we calculate all in-flow and out-flow oSQTH token, and the locked value is the difference between these two amount.

    ! Note

    we first find the Token Opyn Squeeth ‘0xCA00bAAF27f1C8792a11FEb2C05C0aE25982B88F‘ on []

    and check all dex swaps, balances, and dex liquidity pools tables. But, as we try more we find less desire results !

    Finally we find the correct Token Opyn Squeeth ‘0xf1B99e3E573A1a9C5E6B2Ce818b617F0E664E86B‘ on
    []

    db_img
    Loading...
    Loading...

    Step Two.

    The second goal is to see the main pool , that is Uniswap V3: oSQTH 3

    we calculate all in-flow and out-flow oSQTH token, and the locked value is the difference between these two amount.

    [Bounty assignment] : Q1. What is the total value locked in the Opyn Squeeth (osQETH) contract? And where does osqeth draw its value from?

    Hint: you can find all relevant addresses : []

    []

    db_img

    Step One.

    The first goal is to find the oSQTH pools and find their balances

    And where does osqeth draw its value from?

    Well these transactions all are from the swap on uniswaps.

    The squeeth contract is design for users to long or short a special index like eth², as an implementation of a Power Perp.

    note*:** We call the eth² index we're trading squeeth (squared-eth), and the squeeth contract is the collection of contracts that let you trade this index.*

    Mechanism-wise, the squeeth contract works like a perpetual swap, where people can go long or short on an index, and funding is charged either from the long or short, based on the market price relative to the index.

    An important difference to other perpetual protocols is that there is no leverage on long positions. This means that it is impossible to be liquidated on a long squeeth position, and allows the long position to be a standard fungible ERC-20 token that can be traded separately (in Uniswap pools, for example, or as collateral for loans). This composability is a major advantage to the design, making it it easy to integrate squeeth into other projects.

    db_img