Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: HIP-796: Add token lock, partition, move keys (Services) #16313

Merged
merged 4 commits into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions hapi/hedera-protobufs/services/token_get_info.proto
jsync-swirlds marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,36 @@ message TokenInfo {
* (token definition and individual NFTs).
*/
Key metadata_key = 28;

/**
* A function-specific account key.<br/>
* This key authorizes transactions to lock tokens in an account or account
* partition.
* <p>
* The key SHALL be used to authorize the locking and unlocking of tokens,
* or the transfer of locked tokens on balances held by the user
* on their account, or on the partition in their account.
*/
Key lock_key = 29;

/**
* A function-specific account key.<br/>
* This key authorizes transactions to partition fungible tokens and NFTs
* held by an account.
* <p>
* This key SHALL be used to authorize the creation, deletion, or updating
* of partition definitions owned by the token definition.
*/
Key partition_key = 30;

/**
* A function-specific account key.<br/>
* This key authorizes transactions to move tokens between partitions.
* <p>
* This key SHALL be used to authorize the movement of tokens between
* partitions.
*/
Key partition_move_key = 31;
}

/**
Expand Down
Loading