Allow all custom fee collectors to be exempt #571
tinker-michaelj
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
This makes sense @tinker-michaelj - can anyone / any key update this value? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HIP-18 (Custom Hedera Token Service Fees) did not stipulate any exemptions for custom fees. The final implementation spec carved out two exemptions,
So the network still charges a fee collector custom fees for which it is not the collector. This can be cumbersome for fungible tokens with multiple fee collectors who exchange units of the token.
We propose to add a field to the
CustomFee
protobuf message so a custom fee can be created with unconditional exemptions for all fee collectors in the owning token type.By default
exempt_all_collectors = false
, and the current implementation's behavior will be preserved. But suppose token type0.0.T
has two custom feesF1
andF2
with respective collectors0.0.A
and0.0.B
. IfF1
was created withall_collectors_are_exempt = true
, then when0.0.B
sends units of0.0.T
to0.0.A
, it will not pay feeF1
.Beta Was this translation helpful? Give feedback.
All reactions