🛠
Principle of Work

The goal of the protocol is to allocate capital as efficiently as possible between DeFi protocols. To do this, the protocol performs the following algorithm:
- 1.Every 4 hours, OneStake analyzes the APR and TVL of all pools of all protocols that have been enabled.
- 2.The protocol calculates the capital allocation in such a way as to achieve the maximum APR. It is done by simulating the resulting APR, taking into account the impact of additional investment in provider pools.
- 3.After the most efficient distribution has been found, the rebalancing costs are calculated. If the rebalancing costs more than the critical value, then a new recalculation of the effective distribution is performed. If the cost of rebalancing is within acceptable limits, then the rebalancing itself begins.
- 4.Every 2 hours, the protocol collects staking rewards (unless the protocol reinvests them), sells them, and reinvests them back into the pools.
OneStake diagram
Processesof OneStake Protocol
Last modified 10mo ago