Closed mamorales1 closed 1 month ago
Hi @mamorales1 thanks for the ticket. Indeed it does seem to be a gap, we'll take a look and circle back here.
We've confirmed that this is an issue. We are working on a solution and will let you know when it's on the road map.
Tracking issue in the the services repo - https://github.com/hashgraph/hedera-services/issues/11508
Problem
Currently,
HederaTokenService
contract doesn't allow users to update token custom fees so if you have created a token with a fee schedule key but you didn't create the token with a custom fee, you will not be able to add custom fees to your token, sinceupdateTokeInfo
function updatesHederaToken
struct where custom fees are not present. To do so, you only have the choice of using HTS's TokenFeeScheduleUpdateTransaction transaction, but you will not be able to do it through smart contracts.Solution
Creating new functions only to update token custom fees.
Alternatives