Open alnoki opened 11 months ago
Related: #336
Consider allowing fee rate to be specified at execution time, that is, during the function call in which a trade is processed
For example, rather than passing only integrator address, pass integrator and fee_rate_bps, so that integrators can specify the fees.
integrator
fee_rate_bps
This schema will allow, for example:
FeeStore
If the specified integrator address doesn't have a IntegratorFeeStore, or if the fee rate is specified as 0, then no fees will be charged
IntegratorFeeStore
Related: #336
Consider allowing fee rate to be specified at execution time, that is, during the function call in which a trade is processed
For example, rather than passing only
integrator
address, passintegrator
andfee_rate_bps
, so that integrators can specify the fees.This schema will allow, for example:
FeeStore
If the specified integrator address doesn't have a
IntegratorFeeStore
, or if the fee rate is specified as 0, then no fees will be charged