⚠ 旧版文档本页内容已过时,不再维护。查看本页的最新版本 →

已归档页面。 这是旧版文档,为保证现有链接可用而保留,已不再更新,内容可能已过时。 查看本页的最新版本 →

本页目前只有英文版。

PreBond Tax

Flap supports Tax tokens. Since V5.4.0 (on BNB Chain & XLayer) , tax is not only applied to migrated tax tokens but also the ones that are still on the bonding curve.

When a tax token has already migrated DEX, it will charges a tax on every trade through the main pool and accumulate the tax in the token first. Once the accumulated token amount reaches a specific liquidation threshold, an automatic liquidation happens to sell the token for quote and sent the the beneficiary through the Tax Splitter. (Check below to learn more detaills)

When a tax token is still on the bonding curve, we don’t implement it as a “real tax” like a migrated one. To make it simple and easy to do an off-chain quote, we implement it as an extra fee added upon the current bonding curve fee.

For example:

  • For a non-tax token, the current bonding curve fee on BNB chain is 1%.
  • For a token with a tax of 3%, the effective trading fee becomes: 1% + 3% = 4%
  • For a token with a tax of 1%, the effective trading fee is 2%