hiero-ledger / hiero-ledger/hiero-consensus-node
Should it be possible to freeze or revoke KYC for a token's treasury account
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
### Description
If a token is created with a freeze and/or kyc role, the treasury account for the token can be frozen or have its kyc revoked, preventing it from operating the token.
In the event the private key(s) associated with the freeze and/or kyc are not known to the treasury account, this gives those roles the ability to freeze the treasury out of its own token.
Should this remain as is, or the treasury account be such that it cannot be frozen or have its kyc revoked ?
### Steps to reproduce
* Create a token with freeze and/or kyc roles enabled
* Freeze the treasury account in relation to the token or revoke KYC from the treasury account
* The treasury account is no longer able to transfer tokens to other accounts (ACCOUNT_FROZEN_FOR_TOKEN error)
### Additional context
_No response_
### Hedera network
mainnet, testnet, previewnet
### Version
v0.23.2
### Operating system
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.