You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
let action_response = call_action(&mut ctx.deps,&ctx.info,&ctx.env,&ctx.amp_ctx,
msg.as_ref(),)?;
Somewhere here (not sure might be other better way):
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.
The text was updated successfully, but these errors were encountered: