Adding pause feature to Hedera Token Service #126
chung-chao
started this conversation in
Ideas
Replies: 2 comments
-
Suggest adding a "pause" administrative key to the create token spec., not all tokens will want this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@bugbytesinc Thanks for your suggestion. Just updated the idea 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Abstract
Stablecoin tokens issued on various protocols usually have a pause function included as part of their smart contract. This allows the token issuer to pause the whole smart contract for contract upgrading, emergencies and other scenarios. This function is currently not available in the Hedera Token Service. Therefore, we propose to establish a standard format for pause feature in HTS.
Motivation
There are several reasons that would justify the need for a pause feature;
We propose to establish a standard for HTS where a pause feature can be included for tokens deployed via HTS. This will be opt-in and allows token issuers the flexibility of including or excluding the pause functionality based on the token issuers' requirements.
Specification
To be Completed.
Add a
pauseKey
to create token spec. The key can do both pause and unpause a tokenBackwards Compatibility
This HIP idea is entirely opt-in, and does not break any existing functionality. It simply provides standard of pause for HTS and the issuer can follow in order to meet requirement and integrity.
Security Implications
No known security concerns. Community comment is welcome here.
How to Teach This
N/A
Reference Implementation
N/A
Rejected Ideas
N/A
Open Issues
N/A
References
[0] XSGD fiat token contract: https://etherscan.io/address/0x2e21613c4eed4a5af1e9223edcfc8640138da7fb
[1] Hedera Token Service SDK documentation:
https://docs.hedera.com/guides/docs/hedera-api/token-service/tokenservice
Copyright/license
This document is licensed under the Apache License, Version 2.0 -- see LICENSE or (https://www.apache.org/licenses/LICENSE-2.0)
Beta Was this translation helpful? Give feedback.
All reactions