Coin that can airdrop another ERC20 tokens based on holders amount
Oct 31, 2025
MIT, Apache-2.0, Copyright (c) 2024 ultimatedeal.net Osher Haim Glick.
ESH is an advanced ERC20-compatible token contract with additional features for distribution, voting, and platform fees. It combines functionality from various OpenZeppelin contracts and custom implementations to provide a robust and flexible token ecosystem.
burn(uint256 amount): Allows users to burn their own tokensburnFrom(address account, uint256 amount): Allows burning tokens from a specific account (with restrictions)createDistribution(address paymentToken, uint256 amount): Creates a new distribution eventinitializeDistribution(bytes32 distributionId): Initializes a distributiondistributeBatch(bytes32 distributionId, uint256 batchSize): Executes a batch of the distributiondistributeMulticall(bytes32 distributionId, uint256 maxCalls): Executes multiple batches of the distributiondelegate(address delegatee): Delegates voting power to another addressgetVotes(address account): Gets the current voting power of an accountgetPastVotes(address account, uint256 blockNumber): Gets the voting power of an account at a specific blockgetHolderTokenBalance(address holder, string memory symbol): Gets the balance of a specific token for a holdergetAllHolderTokenBalances(address holder): Gets all token balances for a holderchangeOwner(address _newOwner): Changes the contract owneradjustBATCHSize(uint256 _newBATCHSIZE): Adjusts the maximum batch size for distributionssetSellerStoreContract(address _ERCUltraStore): Sets the seller store contract addresssetRentingStoreContract(address _ERCUltraStore): Sets the renting store contract addressTo interact with this contract, you'll need to:
Always ensure you're interacting with the correct contract address and have the necessary permissions for restricted functions.
No inputs required