Gas Rebate Program Enrollment Tool
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
This tool enables DeFi protocol administrators, dApp operators, and project teams to enroll users in gas rebate programs that refund a portion of their transaction gas costs. It connects to your wallet and reads the gas rebate contract address, enrollment criteria (minimum gas spent, minimum transaction count, minimum hold time), user eligibility status, enrollment status, rebate rate, gas spending history, rebate balance, enrollment history, and timestamps. The tool signs and submits transactions to enroll users in the gas rebate program, update enrollment status, record enrollment metadata with timestamps, and emit enrollment events for transparency.
HOW TO USE
1. Connect your wallet using the wallet bridge (supports MetaMask, WalletConnect, and other EVM-compatible wallets).
2. Select the target network that matches your gas rebate contract deployment.
3. Enter the gas rebate contract address and click "load contract" to fetch the current state.
4. Define the enrollment criteria — key-value pairs such as minimum gas spent, minimum transaction count, or minimum hold time (one per line).
5. Set the rebate rate in basis points (e.g., 250 = 2.5% gas rebate) that the user will receive on their gas spending.
6. Click "check eligibility" to verify whether the connected wallet meets the defined criteria based on on-chain data.
7. Click "fetch gas spending" to view the user's historical gas expenditure as tracked by the contract.
8. Review the enrollment status, rebate balance, and enrollment history before executing.
9. Click "enroll" to sign and submit the transaction that officially enrolls the user in the gas rebate program with the specified rate.
10. Click "unenroll" to remove a user from the program if needed.
TECHNICAL MECHANISM
The tool uses ethers.js v5.7.2 to interact with any EVM-compatible gas rebate contract that implements a standard interface (isEnrolled(address) view, enrollmentStatus(address) view, getRebateBalance(address) view, enroll(address, uint256) external, unenroll(address) external, getEnrollmentHistory(address) view, getGasSpending(address) view). It reads on-chain state directly from the contract rather than relying on off-chain indexes, ensuring data freshness. The eligibility check validates user criteria by reading gas spending data and enrollment status from the contract before any transaction is signed. The enroll function requires the contract to track the rebate rate per user, enabling different rates for different user categories. The unenroll function safely removes users from the program while preserving their earned rebate balances. Transaction handling follows EIP-1559 gas price calculations using receipt.effectiveGasPrice for accurate cost reporting. Enrollment metadata and timestamps are recorded in the contract's enrollment history mapping, providing an auditable trail of all enrollment actions.
WHAT IT CANNOT SEE
This tool operates purely on-chain and cannot verify off-chain eligibility — it does not check that users actually completed off-chain tasks, maintained community engagement, or met reputation requirements. It cannot validate gas spending accuracy — the contract's gas spending tracking may not capture all gas costs if users transact across multiple addresses or use different wallets. The tool cannot detect sybil accounts, identity fraud, or duplicate addresses that might unfairly receive multiple rebate enrollments. It cannot ensure fair rebate distribution — the tool does not verify that the rebate rate is appropriate for the user's activity level or that the program is not being gamed. The tool also cannot verify that users actually paid the gas being rebated — all gas spending data is accepted from the contract and may reflect spending from other addresses if the contract doesn't properly attribute it.
PLEASE NOTE
This tool works exclusively with EVM-compatible blockchain networks (Ethereum, Polygon, Arbitrum, Optimism, Base, etc.). It requires the gas rebate contract to implement the interface described above. All transactions incur gas fees paid by the connected wallet. The tool maintains no persistent storage — all state is refreshed from the blockchain on each session. For production deployments, ensure your gas rebate contract has been professionally audited and that rebate rates are calibrated to be economically sustainable for your protocol.