Tax Token V3
Overview
1. Asymmetric buy / sell tax rates
Reading tax rates on-chain
IFlapTaxTokenV3 token = IFlapTaxTokenV3(tokenAddress);
uint16 buy = token.buyTaxRate(); // e.g. 300 (3%)
uint16 sell = token.sellTaxRate(); // e.g. 1000 (10%)
uint16 eff = token.taxRate(); // max(buy, sell) β backward-compatible single rateIndexing tax rates from events
Event
Contents
Purpose
Inspecting a token with getTokenV8
getTokenV82. Commission receiver
What it is
How to enable it
How the commission rate is determined
Effective tax rate
Commission bps
Commission %
Reading commission configuration
3. newTokenV6 β unified token launcher
newTokenV6 β unified token launcherSalt computation
Launching with a vault: IVaultPortal.newTokenV6WithVault
IVaultPortal.newTokenV6WithVaultDividend token constraint
4. Bidirectional dynamic liquidation threshold
Background
The V1 problem
V3 fix: bidirectional adjustment
Inspecting the current threshold
5. Deployed contract addresses
FlapTaxTokenV3 implementation (clone base)
FlapTaxTokenV3 implementation (clone base)Network
Address
Example: launching a TOKEN_TAXED_V3 token
TOKEN_TAXED_V3 tokenLast updated