Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
Signed-off-by: ibankov <[email protected]>
  • Loading branch information
ibankov committed Jul 4, 2024
1 parent a088d58 commit aa729d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
10 changes: 10 additions & 0 deletions services/response_code.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1529,4 +1529,14 @@ enum ResponseCodeEnum {
* The node account is not allowed to be updated
*/
UPDATE_NODE_ACCOUNT_NOT_ALLOWED = 359;

/*
* NFT already exist in the pending state.
*/
PENDING_NFT_AIRDROP_ALREADY_EXISTS = 360;

/*
* Account with pending airdrops can not be deleted.
*/
ACCOUNT_HAS_PENDING_AIRDROPS = 361;
}
4 changes: 2 additions & 2 deletions services/state/token/account_airdrop.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ message AccountAirdrop {
PendingAirdropId pending_airdrop_id = 1;

/**
* The value of the current airdrop id
* The value of the current airdrop id. SHALL NOT be set for non fungible tokens
*/
PendingAirdropValue pending_airdrop_value = 2;

Expand All @@ -52,4 +52,4 @@ message AccountAirdrop {
* The next airdrop id of sender account's airdrops linked list
*/
PendingAirdropId next_airdrop = 4;
}
}
6 changes: 3 additions & 3 deletions services/transaction_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ message PendingAirdropRecord {
PendingAirdropId pending_airdrop_id = 1;

/**
* A single pending airdrop amount.
* If the pending airdrop is for a fungible/common token this field is REQUIRED
* Account to airdrop relation for the given airdrop id
* If the pending airdrop is for a fungible/common token this field's pending value is REQUIRED
* and SHALL be the current amount of tokens offered.
* If the pending airdrop is for a non-fungible/unique token, this field SHALL NOT
* If the pending airdrop is for a non-fungible/unique token, this field pending value SHALL NOT
* be set.
*/
AccountAirdrop account_airdrop = 2;
Expand Down

0 comments on commit aa729d1

Please sign in to comment.