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
The FeeHandler in payments pallet returns a list of fees, that is, percentages of the total amount being transferred that need to be credited from the sender/receiver and sent to designated accounts(e.g. a community's treasury)
To account for more use cases such as discounts and other incentives we can generalize the concept more using something like:
enumPaymentOperation{Fee{ ... },// sender/receiver are credited funds sent to third-party accountDiscount{ ... },// third-party account sponsors part of the paymentDerivedTransfer{ ... },// third-party account transfers funds to another third-party}
The DerivedTransfer can cover cases like affiliate rewards where a given entity(e.g. a token issuer) wants to incentivize another entity(e.g. a community) based on the parameters of the payment(e.g. utilizing a token)
The text was updated successfully, but these errors were encountered:
The
FeeHandler
in payments pallet returns a list of fees, that is, percentages of the total amount being transferred that need to be credited from the sender/receiver and sent to designated accounts(e.g. a community's treasury)To account for more use cases such as discounts and other incentives we can generalize the concept more using something like:
The
DerivedTransfer
can cover cases like affiliate rewards where a given entity(e.g. a token issuer) wants to incentivize another entity(e.g. a community) based on the parameters of the payment(e.g. utilizing a token)The text was updated successfully, but these errors were encountered: