- Add subheader that shows your token balance (STX, USDA, DIKO, stDIKO)
- Add dynamic smart contract function parameters for collateral types
- Add pending & confirmed transactions in sidebar
- Add basic swapping functionality to trade tokens (USDA, DIKO, STX)
- Fix governance votes from UI
- Add governance method to add a new registered smart contract to DAO
- Rename all smart contracts to use an
arkadiko-
prefix and a major-minor version postfix (e.g.v1-1
). Smart contracts that never change don't have a version postfix. Traits only have a major version, since the whole (part of the) protocol changes when traits change. - Mint DIKO tokens for the foundation and founders, vested over 4 years time.
- Add DIKO rewards for people who provide STX liquidity through vaults in the first 6 weeks of mainnet launch
- Add 50 million DIKO staking rewards, distributed over 5 years time, with 25 million DIKO staking rewards in the first year
- Implement better UI validations for staking and creating vaults
- Add stacking logic to pay out vaults that have STX collateral. If a vault gets liquidated during a stacking cycle, the vault owner will not be eligible for the yield. The yield will be paid out to the winners of the auctions.
- Allow on-chain governance proposal voting with DIKO or stDIKO
- Claim back tokens after proposal ends
- Add staking pools and registry. Currently a DIKO staking pool is implemented, which gives DIKO rewards for staking, with the option to add staking for other fungible tokens in the future (e.g. a DIKO LP token or even stablecoins).
- Allow contract versioning through trait implementations. The current smart contracts have a trait definition:
- Auction Engine
- Collateral Types
- Liquidator
- Oracle
- Staking (WIP)
- Vault Manager (Freddie)
- When the amount of collateral in a normal collateral liquidation auction does not cover the USDA debt, a debt auction will be started afterwards. A debt auction sells governance tokens from the Arkadiko pool to cover bad debt in the system.
- Implement DAO kill switch (emergency shutdown) to disable vault actions
- Improve auction logic by selling lots of 100 USDA
- When STX collateral is stacked in PoX and a vault needs to be liquidated, an equivalent amount of xSTX tokens will be minted that are interchangeable for STX once they get unlocked from PoX. Instead of STX, the xSTX tokens will be auctioned off. Owning the xSTX will also make you eligible to get the rewards from PoX for the corresponding STX tokens.
- Fix burning USDA debt after running auction
- Show only one lot for sale in an auction at once
- Allow partial withdrawal of collateral from a vault
- Allow minting USDA without hitting the maximum collateralization ratio
- Burn partial debt, or all debt to close a vault
- Do not allow minting USDA if maximum debt of a collateral type is reached
- Node.js script that queries all vaults, identifies the risky ones and liquidates them
- Split up auction in lots of 100 USDA instead of 100 STX
- Fix auctioning off multiple collateral types
- Calculate stability fees weekly and show them in UI
- Pay back stability fees
- Fix minting extra debt (USDA) based on the correct collateral type
- Authenticate with Arkadiko through Stacks Web Wallet extension
- Add 3 collateral types: STX-A, STX-B and DIKO
- Add SIP10 reserve to allow creation of vaults with multiple collateral types
- Mint extra USDA to use excess collateral
- Deposit extra collateral to protect a risky vault
- Withdraw extra collateral when collateralization ratio is healthy
- Pay back all debt in vault
- Upgraded and refactored
@stacks/connect
and@stacks/connect-react
usage
- Fix manage vault pages to load correct data