Inspiration
After check published Uniswap V3, I found some wrong in tokenomics: NFT position creators have no benefits for initial time and liquidity provided As results, NFT have no additional value to re-sell it higher than provided liquidity amount
What it does
Updated contracts, which save initial liquidity and time for each position NFTs. Those data will be used to change the collected fees amount, where fees are redistributed based on time. As result, similar NFTs can generate more fees, than total liquidity provided and can be a subject to re-sell expensive in future on https://app.openbisea.com
In general, we are using 20% from regular fees to redistribute. Amount for redistribution weights used follow that formula: 80% redistributed based on initial liquidity compare with current liquidity 20% redistributed based on position creation time
Let say, then Alice, Bob, Eve invest the same liquidity in the pool, but at a different time according to a list position. In that case Alice will increase 20% * 20% = 4% from total rewards Bob will have the same, Eve will have decreased 4% from total rewards.
But, if Bob will have initial liquidity higher than others, he will be compensated and receive more than Alice and Eve. This protects us from mint small amounts of NFTs early and sitting on it.
contract addresses: {"v3CoreFactoryAddress":"0x3FEA4B6D7d68BfE122d601402e7E47D984aEE210","multicall2Address":"0x5daB1A183a5196a5883ea201dF71A5B9c7B3F983","proxyAdminAddress":"0x845A40d1789E3BB3B8724D88821F0117B79Dd4b4","tickLensAddress":"0xBCE73f8F9E3446B8653742906742a98F8F81CCB1","nftDescriptorLibraryAddressV1_3_0":"0x15756Cf3366611357fdc1966a0698C7120457285","nonfungibleTokenPositionDescriptorAddressV1_3_0":"0x649Da64F6d4F2079156e13b38E95ffBF8EBB1B14","descriptorProxyAddress":"0x7BAFD8a5b88B70b213442b5AfE2485eCF7C78D41","nonfungibleTokenPositionManagerAddress":"0x27F7441e5C4538A07a01dC71A6e10429C8D21D49","v3MigratorAddress":"0x0Af561F767CAE51b5FF796cAa748565c87De8D6E","v3StakerAddress":"0xAE5CCEe25f56C02BA2d277CeAa5C27e4fa21DA9C","quoterV2Address":"0x8880b4cc70CD208D70E8CB06a04846061Ad50674","swapRouter02":"0x3bEe70aB27Ee36b232457D4CB229Ecacb8aaD1b0"}
How we built it
update, optimize and deploy smart contract and create test net UI on https://app.openbisea.io
Challenges we ran into
smart contracts size and UI optimization
Accomplishments that we're proud of
multicall from flutter
What we learned
smart contract architect
What's next
deploy on main net and integration in main UI
Log in or sign up for Devpost to join the conversation.