Skip to content

feat: token freeze kyc and pause implemented - #256

Draft
arianejasuwienas wants to merge 1 commit into
mainfrom
197-token-freeze-kyc-and-pause-without-checking-owner
Draft

feat: token freeze kyc and pause implemented#256
arianejasuwienas wants to merge 1 commit into
mainfrom
197-token-freeze-kyc-and-pause-without-checking-owner

Conversation

@arianejasuwienas

Copy link
Copy Markdown
Contributor

Description:

implementing token freeze, kyc and pause functionalities. For now owner of the keys is not checked.

Related issue(s):

Fixes #197

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@arianejasuwienas
arianejasuwienas marked this pull request as ready for review March 3, 2025 15:56
@arianejasuwienas
arianejasuwienas requested a review from a team as a code owner March 3, 2025 15:56
@arianejasuwienas
arianejasuwienas force-pushed the 197-token-freeze-kyc-and-pause-without-checking-owner branch from d3e685d to 6030e7b Compare March 3, 2025 15:58
@arianejasuwienas arianejasuwienas self-assigned this Mar 3, 2025
@arianejasuwienas arianejasuwienas added the feature Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Mar 3, 2025
@arianejasuwienas arianejasuwienas changed the title feat: token freeze kyc and pause implemented (#197) feat: token freeze kyc and pause implemented Mar 5, 2025
@arianejasuwienas
arianejasuwienas force-pushed the 197-token-freeze-kyc-and-pause-without-checking-owner branch from 6030e7b to 61ca332 Compare March 7, 2025 10:25
Signed-off-by: Mariusz Jasuwienas <mariusz.jasuwienas@arianelabs.com>
@arianejasuwienas
arianejasuwienas force-pushed the 197-token-freeze-kyc-and-pause-without-checking-owner branch from 61ca332 to 386d060 Compare March 7, 2025 15:23
}

function _checkToken(address token) private view returns (int64 tokenStatus) {
if (address(0) == token) return HederaResponseCodes.INVALID_TOKEN_ID;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: how did you validate that this is the correct behavior?

@acuarica
acuarica marked this pull request as draft March 7, 2025 21:31
@acuarica

acuarica commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

@arianejasuwienas marked this as draft because moving forward we should also include validation tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Enhancing an existing feature driven by business requirements. Typically backwards compatible.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement token freeze, KYC, and pause functionalities

2 participants