Skip to main content

Introduction

The FLOOR token SDK is set of token contracts with novel mechanics inspired by LOTUS built on top of Joe V2: Liquidity Book AMM.

The defining feature of LOTUS is a non-decreasing risk-free value (RFV) (or "floor price") that backs the FLOOR token.

These contracts give a glimpse of the correct way to implement sophisticated token mechanics like transfer tax and rising RFV on Liquidity Book.

They are designed to be inherited so that you can add your own flavour of LOTUS fork on top.

The repo contains the following contracts:

  • FloorToken: A contract defined by a non-decreasing risk-free value (RFV) price or "floor price".
  • TransferTaxToken: A contract with transfer tax, which goes to a single recipient.
  • TransferDoubleTaxToken: A contract with transfer tax, which is split to two different recipients.
  • TransferTripleTaxToken A contract with transfer tax, which is split to three diferent recipients (e.g. burn, dev and staking).