https://github.com/oeo/nft-dao
an nft-collateralized loan protocol
https://github.com/oeo/nft-dao
Last synced: 2 months ago
JSON representation
an nft-collateralized loan protocol
- Host: GitHub
- URL: https://github.com/oeo/nft-dao
- Owner: oeo
- Created: 2021-08-09T00:59:23.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-30T19:52:31.000Z (over 3 years ago)
- Last Synced: 2025-01-25T22:22:12.216Z (4 months ago)
- Language: Python
- Homepage:
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# nftdao
## @todo: contracts
- [x] add minimum time interval to interest adding logic
- [x] optimize `tick()` to be less gas-intensive
- [x] implement chainlink pricefeed oracle including eth feed and floor prices for punks
- [x] implement chainlink keeper to call `contract.tick()`
- [x] add vault burn functionality for principal repayments
- [x] add setters and owner to manually set apr and collateralization rate
- [x] fix usd calculations
- [x] vault should be able to disable lending completely at will
- [x] vault should be able to disable interest accumulation on existing positions at will
- [x] refine deployment scripts, incorporate dotenv file configuration
- [x] fix positions structure within the vault so they are iteratable publicly
- [ ] implement position cleanup inside `tick()` for positions opened without punk deposit made within 12hrs
- [ ] (wip) fully implement liquidation logic
- [x] `contract.tick()` marks positions positions for liquidationsbased on health score by setting `position.flagged = true`
- [x] `contract.liquidate()` should allow for admins to call manually
- [ ] liquidation tweaks and adjustments
- punk collateral must be transferred to dao instead of vault on liquidate
- position must be closed and marked as liquidated
- [ ] add exception for dao to open position within the vault using a stablecoin
- [ ] create ico contract## @todo: frontend
- [ ] create react prototype app.erc247.com (tld domain tbd)
- [ ] integrate web3 to allow for position previews based on punks in connected wallet
- [ ] allow opening of a position
- [ ] design work completed for ico 1-pager (outsource)
- [ ] converted responsive html assets (outsource: htmlburger)## @todo: misc
- [x] create bytecode slicing utility to make contract verification easier