This should be an easier and more extensible way to extend it than the current function dispatching.
So we can call the handle_X and query_X functions, or the lower-level functionality of the controller if we need to customize more.
When done, update
to make use of them. This should be easier to override and customize. Note the "sub dispatches" to handle_burn, which is a kind of ugly. It is nice to have a slightly lower-level function exposed to be imported by other handle functions if they want to customize.
This should be an easier and more extensible way to extend it than the current function dispatching.
So we can call the handle_X and query_X functions, or the lower-level functionality of the controller if we need to customize more.
When done, update
cw20-stakingcw20-bondingto make use of them. This should be easier to override and customize. Note the "sub dispatches" to handle_burn, which is a kind of ugly. It is nice to have a slightly lower-level function exposed to be imported by other handle functions if they want to customize.