### Getting Started with ERC20 Tax Toolkit Source: https://github.com/0xvalerius/erc20-tax-toolkit/blob/main/README.md Commands to clone the ERC20 Tax Toolkit repository, compile the Solidity smart contracts, and run the test suite using Git and Foundry. ```Shell git clone https://github.com/0xValerius/erc20-tax-toolkit.git forge build forge test ``` -------------------------------- ### ERC20 Tax Toolkit Pre-built Token Implementations API Source: https://github.com/0xvalerius/erc20-tax-toolkit/blob/main/README.md API documentation for pre-built ERC20 token implementations that inherit from the core modular contracts. These examples demonstrate how to combine features like balance limiting, transfer limiting, blacklisting, and tax handling into a single token. ```APIDOC BalanceLimitedToken: Inherits: ERC20, BalanceLimiter Features: Enforces a balance limit. TransferLimitedToken: Inherits: ERC20, TransferLimiter Features: Enforces a transfer limit. BlackListerToken: Inherits: ERC20, BlackLister Features: Provides account blacklisting. TaxHandledToken: Inherits: ERC20, TaxHandler Features: Implements tax handling for transfers, purchases, and sales. BalanceTransferLimitedToken: Inherits: ERC20, BalanceLimiter, TransferLimiter Features: Enforces both balance and transfer limits. ``` -------------------------------- ### ERC20 Tax Toolkit Core Contracts API Source: https://github.com/0xvalerius/erc20-tax-toolkit/blob/main/README.md API documentation for the core Solidity smart contracts that provide modular features for ERC20 tokens, including balance limiting, transfer limiting, blacklisting, and tax handling. These contracts are designed for composability. ```APIDOC BalanceLimiter: Description: Enforces a balance limit on an ERC20 token. Constructor: - Parameter: base points balance limit Description: Represents the percentage of the total supply each account can hold. TransferLimiter: Description: Enforces a transfer limit on an ERC20 token. Constructor: - Parameter: base points transfer limit Description: Represents the percentage of the total supply each account can transfer in a single transaction. BlackLister: Description: Adds the ability to blacklist certain accounts from sending or receiving tokens. TaxHandler: Description: Adds the ability to impose a tax on transfers, purchases, and sales of tokens. Details: Tax amount is taken from transaction value and sent to a treasury account. Constructor: - Parameter: treasury address Description: The address where tax amounts are sent. - Parameter: transfer fee rate Description: The rate for transfer taxes. - Parameter: buy fee rate Description: The rate for buy taxes. - Parameter: sell fee rate Description: The rate for sell taxes. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.