Chronos DEX

chronos dex

Project Partners

  • chronos exchange logo
  • arbitrum logo

The Challenge

Duration of work: 1.5 months

People on the project: 4

Chronos introduced a novel approach of liquidity positions staking with maturity-adjusted weights: the longer you are staking your position, the larger your position weight becomes and the more liquidity staking rewards can be earned proportionally to position itself and the time it is being staked. Comparing to other maturity-adjustment implementations, in Chronos protocol the maturity of the position grows constantly and linearly in time, having a multiplier cap in 12 weeks. The total weight of the pool as a sum of all existing positions weights is also growing every second and depends on each position individual growth. Due to the limitations present in blockchain execution environment, the calculation of all the necessary parameters to implement the described approach is tricky on-chain. Aegas was tasked with modeling a gas-efficient approach to implement the described vision in Solidity.

chronos dex development

Project
team

  • Frontend Developer3
  • Solidity Developer1
  • lead frontend developer

    Oleh

    [Frontend Developer]

  • frontend developer

    Oleh

    [Frontend Developer]

  • frontend developer

    Dmytro

    [Frontend Developer]

  • smart contract developer

    Lidiia

    [Solidity Developer]

chronos token airdrop

What we use

  • Frontend

    React, Next.js, TailwindCSS, D3, GraphQL

  • Smart Contract

    Solidity, Hardhat, Chai

  • Blockchain

    Arbitrum One

Despite the speed of imlplementation being the primary objective, Aegas team has focused on the maintainability and quality of the solution.

defi development

The Result

Novel positions weight approach designed and implemented

Full user interface redesign delivered in 1 month

Aegas has implemented a mathematical model behind the calculation of total weight of the pool and maturity-adjusted individual weights with linear growth so that the computation of the parameters is gas-efficient and possible to do on-chain. Aegas team has also implemented this model into the smart contract that is a part of Chronos V2 Protocol and which has successfully passed the smart contract audit.

The new user interface is up and running at Chronos DEX application and brings smooth experience to both V1 and V2 protocol features.

chronos dex development