Shared Sudoswap pair using the XYK curve that represents liquidity shares using an ERC20 token. Performs fractional swap during redemption to ensure only whole NFTs are withdrawn.
To install with Foundry:
forge install sudoswap/shared-pool
This project uses Foundry as the development framework.
forge install
forge build
forge test
Please create a .env
file before deployment. An example can be found in .env.example
.
forge script script/Deploy.s.sol -f [network]
forge script script/Deploy.s.sol -f [network] --verify --broadcast