Skip to content

NaniDAO/nlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nani liquidity provisioning mechanisms to economically program disindividuation through personalized incentives

deployments (ethereum & base)

nlpz (nanilpzap.eth | nanilpzap.base.eth)

nani lp zap (nanilpzap.eth | nanilpzap.base.eth) 0x00000000009dd395f34af45f053fbaa1f01058ef

initialize liquidity with nani tokens sold for current pool price

Users can contribute ETH to receive the market equivalent in NANI and become LPs using a gas-efficient contract.

They can select between contribute() which selects a +-10% range at current price, or contributeFullRange().

nlp (nanilp.eth | nanilp.base.eth)

nani lp 0x0000000000009c88187c39291c0aae2be063be95

acc liquidity and price dynamic in pseudorandom discount

Users can participate in a novel liquidity mechanism that uses randomish() function to give 5-33% discount.

However, there is 50% chance of just swapping. If LP lottery is won, 80% goes into LP and 20% goes into swap.

nsfw (naniswap.eth | naniswap.base.eth)

nani swap feeless win 0x00000000003390f89025aE80E376116eBFA0Cf6b

swap for nani at the current pool price without uniswap frontend fee- nice

phase 0 (2666664, 0.2666664%)

validation of nlp mechanisms

for security purposes, low

main

nlp: 999,999

nlpz: 777,777

base

nlp: 444,444

nlpz: 444,444

Getting Started

Run: curl -L https://foundry.paradigm.xyz | bash && source ~/.bashrc && foundryup

Build the foundry project with forge build. Run tests with forge test. Measure gas with forge snapshot. Format with forge fmt.

Disclaimer

These smart contracts and testing suite are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of anything provided herein or through related user interfaces. This repository and related code have not been audited and as such there can be no assurance anything will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

License

See LICENSE for more details.

About

nani liquidity provider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published