Open daniel-wehbe opened 3 months ago
The operation of applying rates can be unique depending on the type of message. Different code is needed for rates on a Claim
than a Buy
message.
I think that the current approach of enabling rates to the messages we see fit is cleaner.
cc: @crnbarr93
Description
Currently, the rates can be added to specific actions (for example Buy in a marketplace ADO). We want to make it so the rate can be applied to any action. This would probably be added in the call_action call:
Somewhere here (not sure might be other better way):
Note: We should also decide on actions where rates are never applicable hard coded into the ADO.