Treasury Diversification Swap Executor
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 Treasury Diversification Swap Executor enables DAOs to diversify their treasury holdings by swapping a single asset into multiple target assets according to configurable allocations. Treasury diversification is a critical risk management strategy that reduces exposure to a single asset and spreads risk across multiple tokens. This tool provides a streamlined interface to execute treasury diversification with configurable target assets, allocations, and slippage protection.
The tool reads DAO treasury state, token balances, current prices, diversification parameters, target assets, and portfolio composition. It supports diversifying a treasury by taking a single source token and swapping it into multiple target tokens according to specified weight percentages that sum to 100%. The tool handles the necessary approvals and executes all swaps through a DEX router.
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 tokens are located using the network dropdown.
3. Enter the DAO treasury address, the source token address (the asset to diversify), and the total amount to diversify.
4. Enter the target asset addresses (comma-separated) and the target allocations (comma-separated percentages that sum to 100).
5. Enter the DEX router address and configure your slippage tolerance percentage.
6. Click "Load treasury" to verify the treasury exists and has sufficient balance.
7. Review the diversification plan in the preview panel including treasury, source token, target assets, allocations, and total amount.
8. Click "Execute Diversification" to submit the transaction through your wallet.
9. The tool will handle token approvals (if required) and execute all swaps.
TECHNICAL MECHANISM
The tool interacts with the DEX router's swap function to execute the diversification. First, it validates that the target allocations sum to 100% and calculates the amount of source token to allocate to each target asset based on the total diversification amount and weight percentages. The tool reads the current price from the DEX to estimate the expected output for each swap. It then approves the router contract for the exact total amount and executes each swap sequentially. The entire diversification is executed in a single transaction, minimizing gas costs. The tool updates the diversification history with the transaction hash and results.
WHAT IT CANNOT SEE
This tool cannot verify that the price feed is accurate or reliable; it relies on the DEX's on-chain pricing. It cannot detect if the oracle has been compromised or manipulated. It cannot ensure that diversification swap will execute at the optimal price due to slippage, market volatility, and block timing. It cannot guarantee that diversification will result in the exact target allocations due to slippage and swap execution constraints. It cannot verify that the swap contract has not been upgraded or modified. It cannot detect if the swap 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 target assets are legitimate or not honeypot contracts. It cannot predict market movements, price gaps, or flash crashes that may affect diversification execution. It cannot guarantee execution during extreme network congestion, high gas prices, or volatile market conditions. It cannot detect if the underlying DEX protocol has been compromised. It cannot prevent the user from canceling or modifying diversification parameters through other interfaces. It cannot ensure that the diversified portfolio is appropriate for the DAO's risk profile. It cannot guarantee that diversification will protect against market downturns.
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 treasury address, source token, target assets, allocations, and router address before executing. The target allocations must sum to 100%—the tool validates this before execution. The tool is provided as-is with no warranty; users assume full responsibility for their transactions and should exercise caution when diversifying treasury assets. For mainnet usage, ensure the DEX router has been audited and you understand the risks of treasury diversification including slippage, gas costs, and smart contract risks.