Agent passive mode / safe shutdown #1757
Labels
needs discussion
Unclear issue description and needs further discussion before refinement can be done
needs refinement
Issues that have been align on and now need to go through the refinement process
Recent events have shown that the agent needs to be able to run in a safe mode where it maintains the current position but does not engage in new positions.
The main reason for it is, that the agent is required to have a certain amount of ETH to function properly. But currently the agent is designed to only spend ETH, eventually depleting its ETH funds.
With each filled request, the agent requires to have a certain amount of ETH to settle the transfer correctly (claim stake, tx costs). Imagine a case where the funds are depleted on the source side. The agent would continue to fill on the target side (entering into new risk positions) but being unable to claim.
Economically speaking, there can be a threshold set, at which the agent is not safe to fill a request.
Once we have such a feature, we could build the following things on top:
Currently, LPs have to deal with managing ETH balances on all chains and making sure that there is always enough on all chains. Recent example what happened on mainnet: Agent staked all his remaining ETH in challenge on (source chain), continued to fill requests on other chains, but wasn't able to claim them due to insufficient funds on source chain. Note, that this happened in a matter of minutes, hard to deal with as a human.
The text was updated successfully, but these errors were encountered: