-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Phase 1
Swaps
- Deploy Pools contract
- Owner inits two pools with D balance, and min asset balance
- PoolLP provides balances, LP created
- Swapper can stream 1-direction
swap1 - Swapper can stream 1-direction
swap2 - Swapper can stream opposite-direction
swap3 - Keeper bot can stream queue
- Swapper can cancel streaming swap
- Fees are collected on
transferOutand placed to one side - Keeper bot fees are collected, and placed to one side
- Keeper bot can claim fees
- PoolLP can remove all liquidity (fees should remain)
Orders
- User can make price-conditional order, which is immediately valid
- User can make price-conditional order, which goes to pending
- User can cancel price-conditional order
Pool Queue
- Add Liquidity causes
ASSET->Dpool processing - Remove Liquidity causes
D -> ASSETpool processing - Keeper bot can process pool
DECAPOOL
- GlobalLP can deposit into DECAPOOL
- GlobalLP can withdraw from DECAPOOL
- Update Pool Processing on Actions
System Income
- Stream fees accrue to one side in USDC
- Any LP can collect fees to Income contract, distributes 50:50 to DECAPOOL and Pool
- Any LP can claim fee-share
Phase 2
DECADAO
- Owner creates third pool, 1bn DECA
- DAO member buys 30% and stakes in DAO
- DAO Member claims 10% of System Income Fee Share
DECAMINT
- Owner buys 30% and locks in RESERVE
- Owner specifies reward stream, sets weights per pool
- LPs can collect DECA from RESERVE to INCOME,
- LPs can claim fees
Phase 3
Lending
- Borrower can deposit collateral, mint Synth Collateral and Synth Units
- Pool Charges interest based on Utilisation
- Max 33% Cap
- Borrower mints D and streams to Debt
- Borrower can be liquidated
- Borrower repays to get back collateral
- Update Pool Queue
Phase 4
Governance
- DAO can vote for pool reward weights
- DAO can vote for any system parameter change
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels