DCA Vault
Reference / Limits

Limits

What the vault's code allows, and what the admin can and cannot change.

Fixed in the code

LimitValue
Smallest buy a plan can start with, the last one included1 USDC
Most buys in one plan120
Shortest interval a plan can be set to (a late buy does not move the next date)1 day
Longest interval a plan can be set to366 days
Highest fee, on interest only10%
Loosest price limit the admin can set2%
How long a buy must have been able to go through before anyone may send it12 hours
How far a pool may end from each of its last five averages, one per minuteabout 1%
No buys on weekends, in UTCSat 00:00 to Mon 01:00
Wait after the network's sequencer restarts, when Chainlink's uptime feed can be read1 hour
Delay on a new route or price feed, a looser price limit, or a higher fee48 hours

Set at launch

SettingValue
Deposits waiting to be spent, in total (interest not counted)$5,000
Worst price a buy accepts1% below Chainlink
Protocol fee0%

What the admin can do

ActionWhen
Pause new depositsAt once
Switch off a route, so no more buys go through itAt once
Tighten the price limitAt once
Change the limit on deposits waiting to be spentAt once
Lower the feeAt once
Change where the fee is paidAt once
Change which address is the keeperAt once
Add a route, or switch one back onAfter 48 hours
Loosen the price limitAfter 48 hours
Change a stock's price feedAfter 48 hours
Raise the fee, up to 10% of interestAfter 48 hours

Anything that could send a buy somewhere new, let it trade at a worse price, or raise the fee, waits 48 hours. A queued change is public from the moment it is queued, and it expires if it is not used within 7 days.

A changed price feed is the strongest of these.

The same admin key holds the vault and the price oracle, and if a new feed were wrong, buys after the change could fill at a bad price, up to one buy per plan in each period. Money that has not been spent yet cannot be reached any other way, and the 48 hours are there so that you can stop your plan first.

What the admin cannot do