Access-Gated Token Locker
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
The Access-Gated Token Locker enables users to lock tokens in a locker that requires holding a specific access token for withdrawal. This creates a mechanism where tokens are only unlockable by users who possess the required access token, enabling use cases such as token-gated rewards, exclusive yield opportunities, governance-minimum requirements, and community-restricted investment pools. Users can lock their tokens for a specified duration, and only access token holders can unlock them.
The tool reads token locker state, locked token balances, access token state, lock parameters, unlock conditions, access level requirements, lock owner, and lock status. It supports locking tokens with configurable amounts, durations, and access token requirements. The tool handles the necessary approvals for ERC-20 tokens and submits the transaction to lock tokens in the contract.
HOW TO USE
1. Connect your wallet using the Connect button. The tool automatically detects your connected address and network.
2. Select the network where your locker contract is deployed using the network dropdown.
3. Enter the locker contract address, the token you want to lock, and the lock amount.
4. Enter the access token address that will be required to unlock the locked tokens.
5. Set the lock duration in seconds (e.g., 2592000 for 30 days).
6. Configure your slippage tolerance percentage for the lock transaction.
7. Click "Preview lock" to verify the lock parameters.
8. Review the lock details in the preview panel including contract, lock token, amount, access token, and duration.
9. Click "Lock Tokens" to submit the lock transaction through your wallet.
10. The tool will handle token approvals (if required) and lock the tokens in the contract.
TECHNICAL MECHANISM
The tool interacts with the locker contract's lock function, which typically takes the token address, amount, access token address, and lock duration as parameters. The function transfers the specified tokens from the user to the contract, records the lock details including the owner, access token requirement, lock amount, and unlock timestamp. The access token requirement is stored as a condition for unlocking - only addresses holding the specified access token can withdraw the locked tokens. The tool verifies the user's token balance and approves the contract to spend the required amount before locking. After the lock duration has passed, the owner can unlock the tokens by calling the unlock function, which checks that the caller holds the required access token.
WHAT IT CANNOT SEE
This tool cannot verify that the price feed is accurate or reliable; it relies on the locker contract's internal state. It cannot detect if the oracle has been compromised or manipulated. It cannot ensure that lock will execute at the optimal price due to slippage, market volatility, and block timing. It cannot guarantee that access-gated withdrawal will work if access token requirements change or if the access token contract is modified. It cannot verify that the locker contract has not been upgraded or modified. It cannot detect if the access verification path is optimal or if the transaction is being front-run by malicious actors. It cannot recover funds if execution fails due to contract bugs, insufficient approvals, out-of-gas errors, or blockchain reorgs. It cannot verify that the access token is legitimate or not a honeypot contract. It cannot predict market movements, price gaps, or flash crashes that may affect lock value. It cannot guarantee execution during extreme network congestion, high gas prices, or volatile market conditions. It cannot detect if the underlying access control protocol has been compromised. It cannot prevent the user from canceling or modifying lock parameters through other interfaces. It cannot ensure that lock is economically optimal or that gas costs do not exceed the lock value. It cannot guarantee that the access token will remain valid for the entire lock duration.
PLEASE NOTE
This tool is designed for EVM-compatible blockchains (Ethereum, Polygon, Arbitrum, Optimism, Base, BSC, Avalanche, Fantom, and others). It requires an active wallet connection and sufficient native currency for gas fees. Always verify the locker contract address, lock token, access token, and lock parameters before executing. For ERC-20 tokens, ensure you have approved sufficient tokens for the lock amount. The tool is provided as-is with no warranty; users assume full responsibility for their transactions and should exercise caution when locking tokens in access-gated lockers. For mainnet usage, ensure the locker contract has been audited and you understand the risks of access-gated locking including access token changes, smart contract risks, and the possibility of losing access to locked funds.