Skip to content

Commit

Permalink
Response codes for previewnet bugs (#54)
Browse files Browse the repository at this point in the history
* Add ACCOUNT_STILL_OWNS_NFTS and TREASURY_MUST_OWN_BURNED_NFT

Signed-off-by: tinker-michaelj <[email protected]>

* Add ACCOUNT_DOES_NOT_OWN_WIPED_NFT and TOKEN_TRANSFERS_LIST_ONLY_USABLE_WITH_FUNGIBLE_COMMON

Signed-off-by: tinker-michaelj <[email protected]>

* Rename TOKEN_TRANSFERS_LIST_ONLY_USABLE_WITH_FUNGIBLE_COMMON to be more
accurate

Signed-off-by: tinker-michaelj <[email protected]>
  • Loading branch information
Michael Tinker authored Jul 12, 2021
1 parent 5ce1796 commit af7be8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/ResponseCode.proto
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,8 @@ enum ResponseCodeEnum {
INVALID_TOKEN_MINT_METADATA = 248; // The requested token mint metadata was invalid
INVALID_TOKEN_BURN_METADATA = 249; // The requested token burn metadata was invalid
CURRENT_TREASURY_STILL_OWNS_NFTS = 250; // The treasury for a unique token cannot be changed until it owns no NFTs
ACCOUNT_STILL_OWNS_NFTS = 251; // An account cannot be dissociated from a unique token if it owns NFTs for the token
TREASURY_MUST_OWN_BURNED_NFT = 252; // A NFT can only be burned when owned by the unique token's treasury
ACCOUNT_DOES_NOT_OWN_WIPED_NFT = 253; // An account did not own the NFT to be wiped
ACCOUNT_AMOUNT_TRANSFERS_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON = 254; // An AccountAmount token transfers list referenced a token type other than FUNGIBLE_COMMON
}

0 comments on commit af7be8a

Please sign in to comment.