[x] Update oracle to use DEX (and make sure price feeds are ALWAYS consistent with the flash swap)
[x] Fix liquidation distribution to allocate percentages accordingly to the amounts of the asset lost
Additional thoughts
[ ] How does accumulation via shorting work
[ ] What happens when we distribute out undercollateralized collateral to in debt accounts
[ ] What happens when utilization rate is low
[ ] What happens to the prices in the case of under collateralization and how do we minimize this risk
[ ] Look into protocol accumulation by buying assets when they fall below the long price or go above the long price during a short)
[ ] Add capped leveraging limit in addition to minimum borrow, use chainlink price feed (cap is needed so we do not lose money on liquidations due to price inconsistencies)
[ ] Rebrand to extreme instead of unlimited
In addition
[x] Fix the claimed and unclaimed
[x] I need to add a protocol tax for a repayment on top of interest rates
[x] Remove permanent storage in repayment
[ ] Clean up contract as a whole
[x] Fix the flash swap to be perfectly accurate / remove swaps for assets that have no collateral and borrow amounts / add while loop
[ ] Chainlink keepers o.O
[ ] Maybe add some way of getting the amount in the account after the repay (even though it would be an estimate) UNLESS I can find a way of making it perfectly accurate by simply not executing any of the call functions by making separate copies ? (I should try and do this using all deterministic results)
[ ] Clean up functions to use min and max and make the repays state modifying as to remove clutter
[ ] Make more gas efficient
[x] New conversion feature: have the converter in the pool which default swaps any asset that is NOT one of the standards to a random one of the accepted tokens
Current problems to fix
Additional thoughts
In addition