Basis Trade Vault 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 Basis Trade Vault Executor provides a unified interface for executing basis trades through a vault contract. You can open new basis trades, close existing positions, adjust leverage, or harvest yields — all in a single transaction. The tool reads your current position, the vault's collateral and debt tokens, the current basis spread, and maximum leverage limits. It then calculates the trade impact and shows you a clear preview before you commit. This eliminates the complexity of interacting with multiple DeFi protocols directly, making basis trading accessible through a single contract.
HOW TO USE
Connect your EVM wallet and select your network. Enter the vault contract address and choose an action: open trade, close trade, adjust leverage, or harvest yield. For opening or adjusting, specify the amount of collateral to use and the desired leverage level. Click "Preview trade" to see your current position, the vault's parameters, the current spread, and a summary of what the trade will do. If the preview looks correct, click "Execute trade" — the tool will handle approvals (if needed) and execute the trade through the vault contract. Progress is shown in real-time, and gas costs are calculated accurately using effectiveGasPrice.
ONE TECHNICAL SECTION — THE REAL MECHANISM
The tool interacts with a vault contract that implements basis trading strategies — typically involving a long spot position and a short futures position to capture the funding rate or basis spread. The vault manages collateral, debt, and leverage automatically. The tool reads position data using getPosition(), which returns collateral, debt, and other metrics. It fetches the current basis spread via getCurrentSpread() and the maximum allowed leverage via maxLeverage(). For execution, the tool calls the appropriate method: openTrade(amount, leverage) to open a new position, closeTrade() to unwind, adjustLeverage(newLeverage) to change risk exposure, or harvest() to claim yields. For ERC-20 collateral, the tool checks allowance and approves only the exact amount needed. For native collateral (ETH), it sends the value directly with the transaction. This ensures safe, precise execution with minimal user friction.
WHAT IT CANNOT SEE
The tool cannot predict future basis spread movements or guarantee profitable execution. It does not evaluate market conditions, funding rates, or the likelihood of a trade being profitable. It cannot detect if the vault's strategy is underperforming or if the basis trade is exposed to unexpected risks. It does not provide financial advice or ensure that the vault will generate positive returns. The tool also cannot recover funds sent to a malicious or non-compliant vault — always verify the vault contract address and strategy before executing.
PLEASE NOTE
This tool is EVM-only and supports Ethereum, Goerli, Sepolia, Optimism, Arbitrum, Polygon, and Base. It does not support Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, or XRP. Basis trading involves significant risk including liquidation, impermanent loss, and market volatility. Always understand the vault's strategy and your own risk tolerance before executing trades. The tool is provided free and as-is; users assume full responsibility for their trading decisions.