Floor Tokens are token contracts designed to be launched on Liquidity Book AMM, which can rebalance liquidity into a "Floor Bin".
This repo contains:
- Contracts that implement tax on transfers. The tax can then be sent to one, two or three recipients.
- A floor token contract that implements the risk-free value (RFV) price bin that backs all the tokens.
Docs.
$ yarn add @traderjoe-xyz/floor-token
# (optional) for macosx
$ brew install libusb
# install foundry
$ curl -L https://foundry.paradigm.xyz | bash
$ foundryup
# install package
$ git clone [email protected]:traderjoe-xyz/floor-token.git
$ forge install
$ forge build
$ forge test
PRs are welcome, please include tests.
MIT