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 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:
giza_power_plant
- The factory contract
albireo_orbiter
- The borrow contract deployer
deneb_orbiter.cairo
- The collateral contract deployer