๐ฐ THKX Faucet Smart Contract
Documentation for claiming free THKX tokens, contract controls, and token management.
๐ฏ Overview
This contract allows users to receive THKX tokens and has a 1 hour waiting period to receive them again to prevent bots and malicious actors from attacking the contract system.
๐ฅ User Functionality
claimTokens(): Claim a fixed amount of THKX tokens instantly.faucetBalance(): View the current balance of the faucet.- Note: Claim is only successful if faucet has enough balance.
๐ ๏ธ Owner Controls
setFaucetSettings(uint256 _claimAmount): Update the amount of tokens per claim.withdrawTokens(uint256 amount): Withdraw any amount from the faucet to owner's wallet.
๐ข Events
TokensClaimed(address user, uint256 amount, uint256 timestamp)FaucetSettingsUpdated(uint256 newAmount)TokensWithdrawn(address owner, uint256 amount)
๐ Key Parameters
| Parameter | Value | Description |
|---|---|---|
| Claim Amount | 100 THKX (default) | Amount of tokens users receive per claim |
| Token | THKX | ERC20 token distributed by the faucet |
๐ Note: Faucet will reject claims if the balance is too low. Owner should monitor and refill or withdraw tokens as needed.