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

Treasury Distribution 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

Treasury Distribution Executor connects to any EVM-based treasury or distribution contract and enables you to execute fund distributions when governance approvals are met and conditions are satisfied. The tool reads comprehensive contract state including total treasury balance, token address, a complete list of recipients with their allocations, vesting/release schedule, distribution parameters, current block timestamp, distribution status per recipient, governance approval status, required approvals threshold, current approval count, distribution history, and release conditions. It then displays the treasury balance, approval progress, recipient list with their allocations and approval status, and enables a one-click execution transaction when the required approval threshold is met. The tool handles multiple distribution function signatures (executeDistribution, releaseTreasuryFunds, processAllocation) and automatically detects the correct function to call. After submission, the tool displays the transaction hash and refreshes the contract data to show the executed status. This is ideal for DAO treasury management, grant programs, partner revenue sharing, and any scenario requiring governance-approved distributions.

HOW TO USE

Connect your Web3 wallet (MetaMask, WalletConnect, or any EIP-1193 provider). Select the correct network for your treasury contract — the tool supports Ethereum, Polygon, Arbitrum, Optimism, Base, Avalanche C-Chain, and BNB Chain. Paste your treasury or distribution contract address into the input field. The tool reads the contract using a default ABI that covers standard treasury distribution functions, but you can paste a custom ABI if your contract uses non-standard naming. Review the displayed data carefully: treasury balance, token type, current approval count against the required threshold, overall distribution status (Pending, Ready, Executed, Disputed), and the detailed recipient list showing each recipient's address, their allocation amount, and whether they have been approved. When the approval count reaches the threshold and the status shows "Ready," the "Execute distribution" button becomes enabled. Click it to submit the execution transaction — the tool will show a confirmation dialog with all details, submit the transaction, and wait for confirmation. After successful execution, the contract data refreshes automatically to show the distribution as executed.

THE REAL MECHANISM

This tool does not assume a single governance structure — it adapts to the contract's actual implementation. It first detects the correct execution function by testing common names (executeDistribution, releaseTreasuryFunds, processAllocation) through static calls, falling back to the user-provided name if none are found. For approval data, the tool reads recipientCount() to determine how many recipients are included, then iterates through each one using the recipients(uint256) view function to get each recipient's address. For each address, it calls recipientAmount(address) to get their allocation and hasApproved(address) to check if they have approved the distribution. This builds a complete picture of the distribution state. The tool also reads approvalCount() and approvalThreshold() to display the current progress against the required threshold, and distributionStatus() to determine the current state (0=pending, 1=ready, 2=executed, 3=disputed). For the treasury details, the tool reads treasuryBalance() to verify funds are present and token() to identify the payment currency. All transaction parameters are estimated using eth_estimateGas and sent with the wallet's preferred gas strategy. The tool monitors the transaction receipt and extracts the effectiveGasPrice to display actual gas cost, not the cap.

WHAT IT CANNOT SEE

Treasury Distribution Executor cannot verify the fairness or legitimacy of the distribution plan. It cannot detect off-chain governance manipulation, collusion, or undue influence among approvers. It cannot guarantee that recipients are entitled to their allocations or that the allocation amounts reflect actual contributions or agreements. It cannot ensure that the treasury balance is sufficient or accurately reported by the contract. It cannot prevent the treasury from being drained before the distribution is executed. It cannot recover funds if the distribution transaction fails due to contract bugs, out-of-gas errors, or network conditions. It cannot validate that the governance process was properly followed or that approvals were obtained from the correct parties. It cannot detect if the distribution contract has been upgraded or modified after deployment. It cannot verify that recipient addresses are valid, controlled by the intended parties, or that the parties have consented to receive funds. It cannot assess the legal compliance or tax implications of the distribution.

PLEASE NOTE — EVM CHAINS ONLY

This tool works exclusively with EVM-compatible blockchains. Non-EVM chains are not supported. The tool does not deploy contracts, manage private keys, or sign anything outside the connected wallet's secure environment. It is a read-and-execute interface that relies entirely on the treasury distribution contract's implementation and the governance approval logic defined therein. Always verify the recipient list, allocation amounts, and approval threshold directly on-chain before executing a distribution.

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.