small cleanup

This commit is contained in:
JulesCrown 2024-09-10 19:13:43 +02:00
parent e2fd200d5b
commit 2caef7ecb2
3 changed files with 21 additions and 39 deletions

View file

@ -125,40 +125,14 @@ address: 0x0360c20822a7298e9061248b39fe475a78d4de48
## References
- take percentage math from here: https://github.com/attestate/libharberger/tree/master
- add this function: https://github.com/721labs/partial-common-ownership/blob/3e7713bc60b6bb2e103320036ec5aeaaaceb7d2b/contracts/token/modules/Taxation.sol#L260
- limit discovery position growth to max_issuance / day
open features:
- token minting limit / limit on discovery position growth
- ERC721 & ERC4907, user/owner separation, influencer incentives
- token contract not visible in uniswap sepolia
- snatch collision
- previousTotalSupply at beginning?
- reduce snatch collision
- profit for staking position
- tax paid for staking position
- partially snatched
- liquidation bot
- shift/slide bot
- ubi claim bot
- deployment on L2
- make minStake a gov param
- prep for audit
- clean up TODOs
- clean up magic numbers
- coverage
- overflows
- reentry
- HARB
- mint - limit supply to 2^96?
- Stake
- what if someone calls payTax and exitPosition in the same transaction?
- LiquidityManager
- what to do with stuck funds if slide/shift become inoperable?
- _isPriceStable - // Handle try catch, possibly by trying with a different time interval or providing a default response\
- test wraparound of vwap
- NFT support of etherscan
https://etherscan.io/nft/0xe12edaab53023c75473a5a011bdb729ee73545e8/4218
todos:
- write unit test for capital exit function
- recenter bot
- put ownerOnly restriction on recenter, remove it later. gives more control to the team initally, but keeps it decentralized
- liquidation bot