Skip to content

CygnusDAO/starknet-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cygnus Factory contract on Starknet

image

Deployed and tested on Alpha-Goerli:

Factory: https://testnet.starkscan.co/contract/0x5e67e32b4c973979d3b5b7bd3d6586cb81c1ff68ac0a8720662d2e7820acc58

Borrow Orbiter: https://testnet.starkscan.co/contract/0x1c20147d22a5af4d4610590f02d3cc23ece238d276dd4e4bf1055c90d73f0c2

Collateral Orbiter: https://testnet.starkscan.co/contract/0x7993d549f970ba5dca9dbb1e871017f4aff301197797d2d49c585058c16d1ee

Borrowable: https://testnet.starkscan.co/contract/0x1e2a5c8a5c31caac0a471b2e9af73d895491b47162b61b0b298d141a9134146

Collateral: https://testnet.starkscan.co/contract/0x02dc069e14a94ceb2fe924fd1ba9bb574d31de02f1c382adf1d1514d38c9524d

Example of leverage transaction between borrowable and collateral: https://testnet.starkscan.co/tx/0x0797eeee4d14bc26b203288d8bc21e9fc56955d9d4fedca41f70afb6fdf06839#overview

Cygnus Finance

Cygnus is a stablecoin lending and margin trading protocol. It is a non-custodial liquidity market protocol, where users can participate as lenders by supplying stablecoins or as borrowers by supplying their LP Tokens. Each lending pool is connected to a DEX (Jediswap, Sithswap, etc.), as such we follow the factory pattern to deploy to all the dexes possible on Starknet.

The factory contract makes use of 2 deployer contracts called "Orbiters" which are in charge of deploying a borrowable contract (for stablecoins) and a collateral contract (for LP Tokens), making 1 lending pool. This repository holds 3 main contracts:

  1. giza_power_plant - The factory contract

  1. albireo_orbiter - The borrow contract deployer

  1. deneb_orbiter.cairo - The collateral contract deployer

About

Starknet - Factory and Orbiters contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages