๐ HITBNB Smart Contract
https://bscscan.com/token/0x658310C8219B1a92773523e52CA84B55fB333F43
Overview
The HITBNB Token Contract is a UUPS (Universal Upgradeable Proxy Standard) upgradeable BEP-20 token that integrates staking logic, automated reward distribution, buy restrictions, and controlled token emissions over 20 years upgrade function is only for new functions.
๐ง Key Features
Inherits
ERC20,Ownable,UUPSUpgradeable,Pausable, andInitializableUses Chainlink Keepers or external cron to trigger monthly reward logic
Handles DEX buy restrictions (only whitelisted addresses can trigger buys)
Emits monthly tokens from a locked balance (1000 tokens per month for 20 years)
Automatically sends unlocked tokens to:
ROI Wallet (500 tokens)
Top Holders (100 tokens)
Development Wallet (50 tokens)
Marketing Wallet (350 tokens)
๐ Key Roles
Role
Description
Owner
Can set wallet addresses, pause/unpause, whitelist DEXs
Automation (Keeper or Backend)
Calls performUpkeep() to trigger distributeShareholderRewards() monthly
โ๏ธ Core Functions
initialize()Standard proxy initializer. Sets token name, symbol, total supply, wallet addresses, etc.
setWallets()Admin-only function to configure ROI, development, and marketing wallets
setWhitelist(address, bool)Enables or disables DEX/contract address for buy eligibility
_beforeTokenTransfer()Blocks buys unless sender is whitelisted (anti-bot/DEX restriction)
distributeShareholderRewards()Monthly token unlock + reward distribution logic
Internally calls
_releaseLockedTokens()
_releaseLockedTokens()Releases 1000 tokens if 30+ days have passed since last release
Transfers tokens according to the fixed reward split
pause()/unpause()Emergency control over token transfers
๐งฎ Storage Structure
๐ Upgradeability
This contract uses the UUPSUpgradeable pattern. Only the contract owner can upgrade logic using: (this upgrade function is only for deploying new function it's not change the old deployed functions.)
All future upgrades must maintain storage layout compatibility.
๐ Integration Notes
Chainlink Keepers is required to call
distributeShareholderRewards()every 30 days.No manual minting allowed โ token emission is strictly controlled via vesting.
Tokens bought via
HITBNBBuyercontract are transferred to ROI wallet, not users directly.Buy restriction ensures tokens canโt be bought directly by bots/snipers unless explicitly allowed.
๐ Security Recommendations
Keep DEX routers whitelisted using
setWhitelist()Use
pause()function in case of emergency or exploit
Last updated