The HandlerStore manages the permissioned functions around registering and disabling handlers and keeps all the handlers in a storage mapping. Handlers are contracts can be attached to Protocol Adapters and perform actions such as swaps.

The concept of handlers and allowing them to be dynamically registered and unregistered opens the door for extensibility. We know for sure we will see many future variants of DEXs to trade on and need to support routing to them without having to redeploy the core strategy itself.

Last updated