Synthetic Asset Position Rebalancer
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 Synthetic Asset Position Rebalancer enables precise management of synthetic asset positions across DeFi protocols. It reads comprehensive position data including current allocation percentages, collateral ratios, oracle prices, liquidation thresholds, and price deviations from target. Users can define target allocation percentages and collateral ratios, then submit rebalancing transactions that adjust portfolio weights to maintain desired exposure levels. The tool supports multiple asset types (long, short, stable) and provides real-time eligibility checking to ensure rebalancing conditions are met before execution.
HOW TO USE
Connect your Web3 wallet and paste the synthetic asset contract address you wish to interact with. The tool never hardcodes addresses—you specify the contract you're vouching for. Enter the user address (defaults to connected wallet), select asset type, set target allocation percentage (0-100%), and define collateral ratio target. The "Fetch current state" button reads on-chain data including current allocation, oracle price, liquidation threshold, and rebalancing eligibility. Review the displayed metrics, then click "Submit rebalance" to execute the position adjustment transaction. Transaction status and gas costs are displayed upon confirmation.
MECHANICAL ADVANTAGE: CHUNKED STATE FETCHING WITH PARALLEL QUERIES
Unlike naive implementations that make sequential RPC calls or fail entirely when a single view function reverts, this rebalancer aggregates multiple contract reads in parallel using Promise.all with individual error boundaries. Each state component—position data, oracle price, eligibility, deviation—is fetched independently, so a revert in one function doesn't prevent retrieval of other critical metrics. The contract interface is dynamically constructed from the address you provide, ensuring compatibility with any synthetic asset implementation that follows the expected function signatures. Gas estimation factors in network conditions via the connected provider, and the tool uses receipt.effectiveGasPrice post-transaction for accurate cost reporting rather than relying on the pre-EIP-1559 gasPrice cap.
WHAT IT CANNOT SEE
This tool cannot verify that the synthetic asset contract is legitimate or has not been compromised. It cannot detect if the oracle price has been manipulated or if the trade path is optimal or front-run. Rebalancing may not execute at optimal gas price due to network conditions or succeed if the contract is paused or frozen. The tool cannot verify that the contract has not been upgraded or modified, nor can it recover funds if execution fails due to contract bugs or insufficient approval. It cannot verify that rebalancing parameters are valid, predict market movements, price gaps, or flash crashes, or guarantee execution during extreme network congestion. The tool cannot detect if underlying systems have been compromised, prevent you from canceling or modifying parameters, ensure processing, protect against loss if rebalancing is rejected, verify allocation accuracy, guarantee target achievement, or ensure collateral ratio maintenance.
PLEASE NOTE
This tool operates on EVM-compatible chains only. It reads and writes to synthetic asset contracts but provides no financial advice. All rebalancing decisions remain your responsibility. Always verify contract addresses and parameters before submitting transactions. The tool displays current state but does not automatically execute rebalancing—you must review and confirm each transaction through your wallet. Gas costs vary by network conditions; the tool estimates but cannot guarantee optimal pricing.