This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Protocol Fee Switch Vote Executor

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Protocol Fee Switch Vote Executor enables governance participants to vote on fee rate changes in DeFi protocols. The tool reads your connected wallet address, governance token balance, voting power, the fee switch contract address, current fee rate, proposed fee rate, fee switch status, voting proposal details, proposal deadlines, quorum requirements, and current block timestamp. It fetches and displays the full proposal context before you vote—including the current fee rate, the proposed fee rate, proposal status, deadline, quorum, and current vote tallies. This allows you to make an informed decision about whether to approve or reject the fee change.

HOW TO USE

Connect your wallet and select your network. Enter the protocol fee switch contract address and the governance token address. Input the proposal ID you want to vote on, then choose your vote—For, Against, or Abstain. Click "Fetch proposal & fee status" to load the proposal details including the current fee rate, proposed fee rate, proposal status (Active/Ended/Executed), deadline, quorum requirement, and current vote counts. The tool also displays your voting power based on your governance token balance. Review all details carefully—the tool shows the fee change context so you understand what you're voting on. Once reviewed, click "Cast vote" to submit your vote on-chain. The transaction will be signed by your wallet and confirmed on the network.

THE REAL MECHANISM — ON-CHAIN GOVERNANCE VOTING WITH FEE RATE CONTEXT

Unlike generic voting interfaces that only submit a vote, this tool provides comprehensive fee switch context to support informed decision-making. It first fetches your voting power via balanceOf on the governance token contract. It then calls getFeeRate to read the current protocol fee, getProposedFeeRate to read the fee proposed in the proposal, and getProposal to retrieve the full proposal struct containing the proposer, description, deadline, quorum, and vote tallies. The tool also calls getVoteStatus to check whether the fee switch is active and what the target fee is. All data is fetched in parallel using Promise.all to minimize latency. The vote submission uses the fee switch contract's castVote function with the proposal ID and vote choice (0=Against, 1=For, 2=Abstain). The entire flow is atomic—if the proposal deadline has passed or quorum hasn't been met, the contract reverts and the tool reports the error using receipt.effectiveGasPrice for accurate cost reporting. The tool also validates that the proposal is active before allowing vote submission.

WHAT IT CANNOT SEE

Cannot predict fee switch impact on protocol revenue—the tool cannot model how changing fees will affect trading volume, liquidity, or protocol revenue. It cannot ensure optimal fee rate—the "best" fee rate depends on market conditions, competition, and user behavior. It cannot detect if the fee switch contract contains vulnerabilities—the tool does not audit the fee switch logic or verify its implementation. It cannot verify off-chain fee analysis—the tool has no visibility into any off-chain analysis or recommendations. It cannot predict how other governance participants will vote or whether the proposal will pass.

PLEASE NOTE — EVM CHAINS ONLY

This tool exclusively supports EVM-compatible chains where ethers.js can connect via standard JSON-RPC. It does not support non-EVM chains such as Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. The fee switch contract must implement the specific interface expected by this tool (getProposal, getFeeRate, getProposedFeeRate, getVoterPower, castVote, getVoteStatus). Always review the proposal details thoroughly before voting. This tool is a governance participation interface, not a financial advisor or revenue analyst.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.