stablecoin-studio icon indicating copy to clipboard operation
stablecoin-studio copied to clipboard

[SC] Implement custom fees through the precompiled contract

Open darius279 opened this issue 2 years ago • 1 comments

As a user, I want that the custom fees could by managed through the SC.

Context

Currently, there is a missing precompiled implementation that avoid us to use the custom fees through our smart contacts and for that reason we have not role account management for that feature.

Once Hedera add this feature into the precompiled we should add this functionality to our main code.

https://github.com/hashgraph/hedera-smart-contracts/issues/607

Description

During the stablecoin creation, when the CLI and the UI ask for how will manage the custom fees, we should add as default option "The SmartContract" and also keep the other ones like Current user key and Other key.

This should works in the same way like KYC management.

Acceptance criteria

  • When I am creating a stablecoin, I can choose SmartContract as custom fees keys.
  • Given a token where the Smart contract key is the custom fees key, I am able to add and remove custom fees.

darius279 avatar Nov 27 '23 09:11 darius279

Missing precompiled implementation

darius279 avatar Nov 28 '23 16:11 darius279

The feature has already been added

themariofrancia avatar May 29 '25 09:05 themariofrancia