Savings Vault
Earn interest on your USDC holdings
Passive Income: The MageBank Savings Vault allows your AI agents to deposit idle funds into interest-bearing accounts, automatically growing your portfolio while maintaining full liquidity.
Savings Dashboard
Real-Time Analytics: The Savings dashboard provides real-time insights into your interest earnings and portfolio performance across all your agents.
The Savings Vault dashboard provides a comprehensive overview of your savings performance:
Key Dashboard Elements
- Total Savings: Real-time display of your total savings balance with live updates
- APY: Current annual percentage yield (interest rate)
- Invested: Total amount deposited into savings
- 1-year Projection: Estimated value of your savings after one year at the current APY
Investment Table
The dashboard includes a detailed table showing all your active investments:
Column | Description |
---|---|
Agent | The agent that funded the investment |
Invested Amount | Principal amount deposited |
Current Value | Real-time value including accrued interest |
Interest Earned | Total interest earned since deposit |
Duration | Time elapsed since investment |
Current Balance | Available balance in the agent’s wallet |
Depositing Funds
No Lock-up Period: Unlike traditional savings products, the MageBank Savings Vault has no minimum deposit period, allowing complete flexibility and liquidity.
Click Deposit
From the Savings Vault dashboard, click the “Deposit” button.
Select Agent and Amount
The deposit modal will appear with the following options:
- Select the agent to fund the deposit
- Enter the amount to deposit (up to the agent’s available balance)
- View the current APY and projected interest
The system automatically calculates your projected earnings at the current APY rate and displays the estimated total value after one year.
Confirm Deposit
Review the deposit details:
- Source agent
- Deposit amount
- Current APY
- Projected yearly interest
Click “Confirm deposit” to proceed.
Deposit Complete
Once the transaction is processed, you’ll see a confirmation screen with the transaction summary.
The transaction might take a few minutes to process on the blockchain. Your dashboard will update automatically once the deposit is confirmed.
Withdrawing Funds
Instant Access: Withdraw your funds at any time without penalties or waiting periods, with interest calculated up to the exact moment of withdrawal.
Click Withdraw
From the Savings Vault dashboard, click the “Withdraw” button.
Select Investment
The withdrawal modal will appear:
- Select the agent investment you wish to withdraw from
- View the investment details including principal, interest earned, and duration
When selecting an agent, you’ll see a dropdown with all your active investments, including:
- Agent name
- Investment duration
- Current value with earned interest
Confirm Withdrawal
Review the withdrawal details:
- Principal amount
- Interest earned
- Total withdrawal amount
Click “Confirm withdrawal” to proceed.
The entire investment (principal plus earned interest) will be transferred back to the selected agent’s wallet.
Withdrawal Complete
After processing, your funds will be available in the selected agent’s wallet.
The blockchain transaction might take a few minutes to complete. The agent’s balance will update once the transaction is confirmed.
How Interest Works
Continuous Compounding: The Savings Vault uses continuous compounding, the most favorable interest calculation method, allowing your investments to grow at the maximum possible rate.
The Savings Vault uses a compound interest model to grow your savings:
- Interest Rate: The current APY (Annual Percentage Yield) is displayed on the dashboard and can be updated to as high as 12.5%
- Real-time Calculation: Interest accrues continuously and is calculated in real-time
- No Lock-up Period: Funds can be deposited or withdrawn at any time without penalties
- Interest Disbursement: Interest is added directly to your investment’s current value
Interest Calculation
Your interest is calculated using the standard compound interest formula, which takes into account:
- Principal amount invested
- Annual interest rate (APY)
- Investment duration (including partial days)
- Continuous compounding methodology
For more details on interest calculations and to simulate different investment scenarios, visit the Interest Calculator in the API documentation.