Deposit

Learn about what happens during a Deposit into our decentralized Trading Bot.
At any time you may withdraw all your TC and all your cash in one transaction.
Inside the Frontend.sol smart contract there exists one type of deposit: deposit(). Any deposits made will be included into the bot upon trade exit when the bot displays "Holding Cash."

TC

To secure your cash in the bot and pay for the bot to run you must deposit TC. Deposited TC is used to hold your Operating Deposit – which itself is in proportion to the amount of cash deposited – and to pay the Weekly Upkeep fee. Any TC not part of the Operating Deposit is subject to the Weekly Upkeep fee and earns Farm Rewards via the TCC token as a "thank you" for depositing TC into the Bot.
The Operating Deposit is automatically managed into and out of your reward-eligible TC pool. Let's say you deposit 690 TC and no cash. Your full 690 TC will earn Farm Rewards and 0 TC will be subtracted each week the Weekly Fee runs. "But that's no fun," you say sitting on the sidelines watching everyone else use the bot. You then deposit 40 USDC and no TC. Our bot will automatically move 4 TC from your TC on-deposit into the Operating Deposit and only subject the remaining 686 TC to the Weekly Fee and Farm Rewards. Should you later withdraw all your USDC from the bot, then the 4 TC will be released from the Operating Deposit and again start earning Farm Rewards.
The amount of TC in the red highlighted field will be deposited after confirming with Metamask.

Cash

The token you'll deposit as cash depends on which particular strategy you select. In the case of Alpha, cash will always be USDC. Simply type in the amount of cash you wish to deposit and click the teal Deposit button in the bottom-center of the page.
The amount of cash in the red highlighted field will be deposited after confirming with Metamask.
There is a Minimum Cash Balance of 1 USDC for Alpha v1.
There is a Maximum Cash Deposited of 100 USDC for Alpha v1.
There is a Maximum Cash Deposited of 25000 USDC for each strategy in Alpha v1.

Two Values, One Action

In a single Deposit transaction there is an amount of TC and an amount of cash submitted. Let's say you deposit 420 TC and 2 USDC. What is submitted to the Frontend.sol smart contract can be described as deposit(420, 2). Later, you wish to top up your TC with another 100. You type in the number to the TC field, type 0 in the USDC field, and click the Deposit button. This time you submitted the equivalent of deposit(100, 0). Both values on the webpage are always submitted to the bot.

Process

Deposits are added when the bot is "Holding Cash" (as shown on the website frontend; in the screenshot above it says "Long" in the same field).
Deposits may be accepted at any time. All cash deposits must include TC as an accompanying Operating Deposit. If you have excess TC on-deposit, the Operating Deposit will automatically be subtracted from the Farm Rewards-eligible and Weekly Fee-subjected pool. There are only ever two pools of TC: The one securing your cash via the Operating Deposit, and the other one earning Farm Rewards and paying your Weekly Fee.