@hiero-ledger/sdk 2.80.0 → 2.81.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -7
- package/dist/umd.js +2213 -318
- package/dist/umd.js.map +1 -0
- package/dist/umd.min.js +6 -5
- package/dist/umd.min.js.map +1 -0
- package/lib/Executable.cjs +7 -4
- package/lib/Executable.js +1 -1
- package/lib/Executable.js.map +1 -1
- package/lib/PublicKey.cjs +45 -26
- package/lib/PublicKey.d.ts +12 -0
- package/lib/PublicKey.js +1 -1
- package/lib/PublicKey.js.map +1 -1
- package/lib/RequestType.cjs +19 -1
- package/lib/RequestType.d.ts +2 -0
- package/lib/RequestType.js +1 -1
- package/lib/RequestType.js.map +1 -1
- package/lib/Status.cjs +203 -252
- package/lib/Status.d.ts +8 -6
- package/lib/Status.js +1 -1
- package/lib/Status.js.map +1 -1
- package/lib/Transfer.cjs +25 -2
- package/lib/Transfer.d.ts +4 -0
- package/lib/Transfer.js +1 -1
- package/lib/Transfer.js.map +1 -1
- package/lib/account/AccountCreateTransaction.cjs +38 -0
- package/lib/account/AccountCreateTransaction.d.ts +21 -0
- package/lib/account/AccountCreateTransaction.js +1 -1
- package/lib/account/AccountCreateTransaction.js.map +1 -1
- package/lib/account/AccountUpdateTransaction.cjs +74 -1
- package/lib/account/AccountUpdateTransaction.d.ts +43 -0
- package/lib/account/AccountUpdateTransaction.js +1 -1
- package/lib/account/AccountUpdateTransaction.js.map +1 -1
- package/lib/account/TransferTransaction.cjs +57 -9
- package/lib/account/TransferTransaction.d.ts +31 -1
- package/lib/account/TransferTransaction.js +1 -1
- package/lib/account/TransferTransaction.js.map +1 -1
- package/lib/browser.js +1 -1
- package/lib/client/Client.cjs +38 -0
- package/lib/client/Client.d.ts +30 -0
- package/lib/client/Client.js +1 -1
- package/lib/client/Client.js.map +1 -1
- package/lib/client/addressbooks/mainnet.cjs +1 -1
- package/lib/client/addressbooks/mainnet.d.ts +1 -1
- package/lib/client/addressbooks/mainnet.js +1 -1
- package/lib/client/addressbooks/mainnet.js.map +1 -1
- package/lib/client/addressbooks/previewnet.cjs +1 -1
- package/lib/client/addressbooks/previewnet.d.ts +1 -1
- package/lib/client/addressbooks/previewnet.js +1 -1
- package/lib/client/addressbooks/previewnet.js.map +1 -1
- package/lib/client/addressbooks/testnet.cjs +1 -1
- package/lib/client/addressbooks/testnet.d.ts +1 -1
- package/lib/client/addressbooks/testnet.js +1 -1
- package/lib/client/addressbooks/testnet.js.map +1 -1
- package/lib/contract/ContractCreateTransaction.cjs +37 -1
- package/lib/contract/ContractCreateTransaction.d.ts +21 -0
- package/lib/contract/ContractCreateTransaction.js +1 -1
- package/lib/contract/ContractCreateTransaction.js.map +1 -1
- package/lib/contract/ContractUpdateTransaction.cjs +74 -1
- package/lib/contract/ContractUpdateTransaction.d.ts +43 -0
- package/lib/contract/ContractUpdateTransaction.js +1 -1
- package/lib/contract/ContractUpdateTransaction.js.map +1 -1
- package/lib/exports.cjs +103 -0
- package/lib/exports.d.ts +13 -0
- package/lib/exports.js +1 -1
- package/lib/exports.js.map +1 -1
- package/lib/hooks/EvmHook.cjs +84 -0
- package/lib/hooks/EvmHook.d.ts +51 -0
- package/lib/hooks/EvmHook.js +2 -0
- package/lib/hooks/EvmHook.js.map +1 -0
- package/lib/hooks/EvmHookCall.cjs +103 -0
- package/lib/hooks/EvmHookCall.d.ts +69 -0
- package/lib/hooks/EvmHookCall.js +2 -0
- package/lib/hooks/EvmHookCall.js.map +1 -0
- package/lib/hooks/EvmHookMappingEntry.cjs +135 -0
- package/lib/hooks/EvmHookMappingEntry.d.ts +84 -0
- package/lib/hooks/EvmHookMappingEntry.js +2 -0
- package/lib/hooks/EvmHookMappingEntry.js.map +1 -0
- package/lib/hooks/EvmHookStorageUpdate.cjs +238 -0
- package/lib/hooks/EvmHookStorageUpdate.d.ts +144 -0
- package/lib/hooks/EvmHookStorageUpdate.js +2 -0
- package/lib/hooks/EvmHookStorageUpdate.js.map +1 -0
- package/lib/hooks/FungibleHookCall.cjs +67 -0
- package/lib/hooks/FungibleHookCall.d.ts +50 -0
- package/lib/hooks/FungibleHookCall.js +2 -0
- package/lib/hooks/FungibleHookCall.js.map +1 -0
- package/lib/hooks/FungibleHookType.cjs +11 -0
- package/lib/hooks/FungibleHookType.d.ts +5 -0
- package/lib/hooks/FungibleHookType.js +2 -0
- package/lib/hooks/FungibleHookType.js.map +1 -0
- package/lib/hooks/HookCall.cjs +99 -0
- package/lib/hooks/HookCall.d.ts +64 -0
- package/lib/hooks/HookCall.js +2 -0
- package/lib/hooks/HookCall.js.map +1 -0
- package/lib/hooks/HookCreationDetails.cjs +149 -0
- package/lib/hooks/HookCreationDetails.d.ts +91 -0
- package/lib/hooks/HookCreationDetails.js +2 -0
- package/lib/hooks/HookCreationDetails.js.map +1 -0
- package/lib/hooks/HookEntityId.cjs +67 -0
- package/lib/hooks/HookEntityId.d.ts +41 -0
- package/lib/hooks/HookEntityId.js +2 -0
- package/lib/hooks/HookEntityId.js.map +1 -0
- package/lib/hooks/HookExtensionPoint.cjs +31 -0
- package/lib/hooks/HookExtensionPoint.d.ts +16 -0
- package/lib/hooks/HookExtensionPoint.js +2 -0
- package/lib/hooks/HookExtensionPoint.js.map +1 -0
- package/lib/hooks/HookId.cjs +101 -0
- package/lib/hooks/HookId.d.ts +63 -0
- package/lib/hooks/HookId.js +2 -0
- package/lib/hooks/HookId.js.map +1 -0
- package/lib/hooks/HookStoreTransaction.cjs +157 -0
- package/lib/hooks/HookStoreTransaction.d.ts +77 -0
- package/lib/hooks/HookStoreTransaction.js +2 -0
- package/lib/hooks/HookStoreTransaction.js.map +1 -0
- package/lib/hooks/NftHookCall.cjs +67 -0
- package/lib/hooks/NftHookCall.d.ts +50 -0
- package/lib/hooks/NftHookCall.js +2 -0
- package/lib/hooks/NftHookCall.js.map +1 -0
- package/lib/hooks/NftHookType.cjs +13 -0
- package/lib/hooks/NftHookType.d.ts +7 -0
- package/lib/hooks/NftHookType.js +2 -0
- package/lib/hooks/NftHookType.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/native.js +1 -1
- package/lib/token/AbstractTokenTransferTransaction.cjs +17 -5
- package/lib/token/AbstractTokenTransferTransaction.d.ts +13 -2
- package/lib/token/AbstractTokenTransferTransaction.js +1 -1
- package/lib/token/AbstractTokenTransferTransaction.js.map +1 -1
- package/lib/token/TokenAirdropTransaction.cjs +1 -1
- package/lib/token/TokenAirdropTransaction.js +1 -1
- package/lib/token/TokenAirdropTransaction.js.map +1 -1
- package/lib/token/TokenNftTransfer.cjs +51 -2
- package/lib/token/TokenNftTransfer.d.ts +7 -0
- package/lib/token/TokenNftTransfer.js +1 -1
- package/lib/token/TokenNftTransfer.js.map +1 -1
- package/lib/token/TokenTransfer.cjs +26 -2
- package/lib/token/TokenTransfer.d.ts +4 -0
- package/lib/token/TokenTransfer.js +1 -1
- package/lib/token/TokenTransfer.js.map +1 -1
- package/lib/transaction/Transaction.cjs +2 -1
- package/lib/transaction/Transaction.js +1 -1
- package/lib/transaction/Transaction.js.map +1 -1
- package/lib/transaction/TransactionResponse.cjs +82 -9
- package/lib/transaction/TransactionResponse.d.ts +33 -2
- package/lib/transaction/TransactionResponse.js +1 -1
- package/lib/transaction/TransactionResponse.js.map +1 -1
- package/lib/version.js +1 -1
- package/package.json +15 -13
- package/src/Executable.js +10 -7
- package/src/PublicKey.js +53 -36
- package/src/RequestType.js +18 -0
- package/src/Status.js +201 -252
- package/src/Transfer.js +33 -1
- package/src/account/AccountCreateTransaction.js +39 -0
- package/src/account/AccountUpdateTransaction.js +78 -0
- package/src/account/TransferTransaction.js +84 -8
- package/src/client/Client.js +38 -0
- package/src/client/addressbooks/mainnet.js +1 -1
- package/src/client/addressbooks/previewnet.js +1 -1
- package/src/client/addressbooks/testnet.js +1 -1
- package/src/contract/ContractCreateTransaction.js +37 -0
- package/src/contract/ContractUpdateTransaction.js +80 -0
- package/src/exports.js +17 -0
- package/src/hooks/EvmHook.js +83 -0
- package/src/hooks/EvmHookCall.js +100 -0
- package/src/hooks/EvmHookMappingEntry.js +140 -0
- package/src/hooks/EvmHookStorageUpdate.js +257 -0
- package/src/hooks/FungibleHookCall.js +65 -0
- package/src/hooks/FungibleHookType.js +6 -0
- package/src/hooks/HookCall.js +97 -0
- package/src/hooks/HookCreationDetails.js +155 -0
- package/src/hooks/HookEntityId.js +67 -0
- package/src/hooks/HookExtensionPoint.js +25 -0
- package/src/hooks/HookId.js +102 -0
- package/src/hooks/HookStoreTransaction.js +185 -0
- package/src/hooks/NftHookCall.js +64 -0
- package/src/hooks/NftHookType.js +8 -0
- package/src/token/AbstractTokenTransferTransaction.js +16 -1
- package/src/token/TokenAirdropTransaction.js +1 -0
- package/src/token/TokenNftTransfer.js +68 -1
- package/src/token/TokenTransfer.js +34 -1
- package/src/transaction/Transaction.js +3 -0
- package/src/transaction/TransactionResponse.js +98 -13
package/src/Status.js
CHANGED
|
@@ -645,16 +645,16 @@ export default class Status {
|
|
|
645
645
|
return "INVALID_ENDPOINT";
|
|
646
646
|
case Status.GossipEndpointsExceededLimit:
|
|
647
647
|
return "GOSSIP_ENDPOINTS_EXCEEDED_LIMIT";
|
|
648
|
-
case Status.ServiceEndpointsExceededLimit:
|
|
649
|
-
return "SERVICE_ENDPOINTS_EXCEEDED_LIMIT";
|
|
650
|
-
case Status.InvalidIpv4Address:
|
|
651
|
-
return "INVALID_IPV4_ADDRESS";
|
|
652
648
|
case Status.TokenReferenceRepeated:
|
|
653
649
|
return "TOKEN_REFERENCE_REPEATED";
|
|
654
650
|
case Status.InvalidOwnerId:
|
|
655
651
|
return "INVALID_OWNER_ID";
|
|
656
652
|
case Status.TokenReferenceListSizeLimitExceeded:
|
|
657
653
|
return "TOKEN_REFERENCE_LIST_SIZE_LIMIT_EXCEEDED";
|
|
654
|
+
case Status.ServiceEndpointsExceededLimit:
|
|
655
|
+
return "SERVICE_ENDPOINTS_EXCEEDED_LIMIT";
|
|
656
|
+
case Status.InvalidIpv4Address:
|
|
657
|
+
return "INVALID_IPV4_ADDRESS";
|
|
658
658
|
case Status.EmptyTokenReferenceList:
|
|
659
659
|
return "EMPTY_TOKEN_REFERENCE_LIST";
|
|
660
660
|
case Status.UpdateNodeAccountNotAllowed:
|
|
@@ -665,7 +665,7 @@ export default class Status {
|
|
|
665
665
|
return "EMPTY_PENDING_AIRDROP_ID_LIST";
|
|
666
666
|
case Status.PendingAirdropIdRepeated:
|
|
667
667
|
return "PENDING_AIRDROP_ID_REPEATED";
|
|
668
|
-
case Status.
|
|
668
|
+
case Status.PendingAirdropIdListTooLong:
|
|
669
669
|
return "PENDING_AIRDROP_ID_LIST_TOO_LONG";
|
|
670
670
|
case Status.PendingNftAirdropAlreadyExists:
|
|
671
671
|
return "PENDING_NFT_AIRDROP_ALREADY_EXISTS";
|
|
@@ -733,7 +733,6 @@ export default class Status {
|
|
|
733
733
|
return "SCHEDULE_EXPIRY_NOT_CONFIGURABLE";
|
|
734
734
|
case Status.CreatingSystemEntities:
|
|
735
735
|
return "CREATING_SYSTEM_ENTITIES";
|
|
736
|
-
|
|
737
736
|
case Status.ThrottleGroupLcmOverflow:
|
|
738
737
|
return "THROTTLE_GROUP_LCM_OVERFLOW";
|
|
739
738
|
case Status.AirdropContainsMultipleSendersForAToken:
|
|
@@ -756,24 +755,24 @@ export default class Status {
|
|
|
756
755
|
return "REJECTED_BY_ACCOUNT_ALLOWANCE_HOOK";
|
|
757
756
|
case Status.HookNotFound:
|
|
758
757
|
return "HOOK_NOT_FOUND";
|
|
759
|
-
case Status.
|
|
760
|
-
return "
|
|
761
|
-
case Status.
|
|
762
|
-
return "
|
|
758
|
+
case Status.EvmHookStorageUpdateBytesTooLong:
|
|
759
|
+
return "EVM_HOOK_STORAGE_UPDATE_BYTES_TOO_LONG";
|
|
760
|
+
case Status.EvmHookStorageUpdateBytesMustUseMinimalRepresentation:
|
|
761
|
+
return "EVM_HOOK_STORAGE_UPDATE_BYTES_MUST_USE_MINIMAL_REPRESENTATION";
|
|
763
762
|
case Status.InvalidHookId:
|
|
764
763
|
return "INVALID_HOOK_ID";
|
|
765
|
-
case Status.
|
|
766
|
-
return "
|
|
764
|
+
case Status.EmptyEvmHookStorageUpdate:
|
|
765
|
+
return "EMPTY_EVM_HOOK_STORAGE_UPDATE";
|
|
767
766
|
case Status.HookIdRepeatedInCreationDetails:
|
|
768
767
|
return "HOOK_ID_REPEATED_IN_CREATION_DETAILS";
|
|
769
768
|
case Status.HooksNotEnabled:
|
|
770
769
|
return "HOOKS_NOT_ENABLED";
|
|
771
|
-
case Status.
|
|
772
|
-
return "
|
|
770
|
+
case Status.HookIsNotAnEvmHook:
|
|
771
|
+
return "HOOK_IS_NOT_AN_EVM_HOOK";
|
|
773
772
|
case Status.HookDeleted:
|
|
774
773
|
return "HOOK_DELETED";
|
|
775
|
-
case Status.
|
|
776
|
-
return "
|
|
774
|
+
case Status.TooManyEvmHookStorageUpdates:
|
|
775
|
+
return "TOO_MANY_EVM_HOOK_STORAGE_UPDATES";
|
|
777
776
|
case Status.HookCreationBytesMustUseMinimalRepresentation:
|
|
778
777
|
return "HOOK_CREATION_BYTES_MUST_USE_MINIMAL_REPRESENTATION";
|
|
779
778
|
case Status.HookCreationBytesTooLong:
|
|
@@ -800,6 +799,10 @@ export default class Status {
|
|
|
800
799
|
return "HOOKS_EXECUTIONS_REQUIRE_TOP_LEVEL_CRYPTO_TRANSFER";
|
|
801
800
|
case Status.NodeAccountHasZeroBalance:
|
|
802
801
|
return "NODE_ACCOUNT_HAS_ZERO_BALANCE";
|
|
802
|
+
case Status.TransferToFeeCollectionAccountNotAllowed:
|
|
803
|
+
return "TRANSFER_TO_FEE_COLLECTION_ACCOUNT_NOT_ALLOWED";
|
|
804
|
+
case Status.TooManyHookInvocations:
|
|
805
|
+
return "TOO_MANY_HOOK_INVOCATIONS";
|
|
803
806
|
default:
|
|
804
807
|
return `UNKNOWN (${this._code})`;
|
|
805
808
|
}
|
|
@@ -1455,7 +1458,7 @@ export default class Status {
|
|
|
1455
1458
|
case 362:
|
|
1456
1459
|
return Status.PendingAirdropIdRepeated;
|
|
1457
1460
|
case 363:
|
|
1458
|
-
return Status.
|
|
1461
|
+
return Status.PendingAirdropIdListTooLong;
|
|
1459
1462
|
case 364:
|
|
1460
1463
|
return Status.PendingNftAirdropAlreadyExists;
|
|
1461
1464
|
case 365:
|
|
@@ -1545,23 +1548,23 @@ export default class Status {
|
|
|
1545
1548
|
case 504:
|
|
1546
1549
|
return Status.HookNotFound;
|
|
1547
1550
|
case 505:
|
|
1548
|
-
return Status.
|
|
1551
|
+
return Status.EvmHookStorageUpdateBytesTooLong;
|
|
1549
1552
|
case 506:
|
|
1550
|
-
return Status.
|
|
1553
|
+
return Status.EvmHookStorageUpdateBytesMustUseMinimalRepresentation;
|
|
1551
1554
|
case 507:
|
|
1552
1555
|
return Status.InvalidHookId;
|
|
1553
1556
|
case 508:
|
|
1554
|
-
return Status.
|
|
1557
|
+
return Status.EmptyEvmHookStorageUpdate;
|
|
1555
1558
|
case 509:
|
|
1556
1559
|
return Status.HookIdRepeatedInCreationDetails;
|
|
1557
1560
|
case 510:
|
|
1558
1561
|
return Status.HooksNotEnabled;
|
|
1559
1562
|
case 511:
|
|
1560
|
-
return Status.
|
|
1563
|
+
return Status.HookIsNotAnEvmHook;
|
|
1561
1564
|
case 512:
|
|
1562
1565
|
return Status.HookDeleted;
|
|
1563
1566
|
case 513:
|
|
1564
|
-
return Status.
|
|
1567
|
+
return Status.TooManyEvmHookStorageUpdates;
|
|
1565
1568
|
case 514:
|
|
1566
1569
|
return Status.HookCreationBytesMustUseMinimalRepresentation;
|
|
1567
1570
|
case 515:
|
|
@@ -1588,6 +1591,10 @@ export default class Status {
|
|
|
1588
1591
|
return Status.HooksExecutionsRequireTopLevelCryptoTransfer;
|
|
1589
1592
|
case 526:
|
|
1590
1593
|
return Status.NodeAccountHasZeroBalance;
|
|
1594
|
+
case 527:
|
|
1595
|
+
return Status.TransferToFeeCollectionAccountNotAllowed;
|
|
1596
|
+
case 528:
|
|
1597
|
+
return Status.TooManyHookInvocations;
|
|
1591
1598
|
default:
|
|
1592
1599
|
throw new Error(
|
|
1593
1600
|
`(BUG) Status.fromCode() does not handle code: ${code}`,
|
|
@@ -1619,14 +1626,12 @@ Status.InvalidTransaction = new Status(1);
|
|
|
1619
1626
|
Status.PayerAccountNotFound = new Status(2);
|
|
1620
1627
|
|
|
1621
1628
|
/**
|
|
1622
|
-
* Node Account provided does not match the node account of the node the transaction was submitted
|
|
1623
|
-
* to.
|
|
1629
|
+
* Node Account provided does not match the node account of the node the transaction was submitted to.
|
|
1624
1630
|
*/
|
|
1625
1631
|
Status.InvalidNodeAccount = new Status(3);
|
|
1626
1632
|
|
|
1627
1633
|
/**
|
|
1628
|
-
* Pre-Check error when TransactionValidStart + transactionValidDuration is less than current
|
|
1629
|
-
* consensus time.
|
|
1634
|
+
* Pre-Check error when TransactionValidStart + transactionValidDuration is less than current consensus time.
|
|
1630
1635
|
*/
|
|
1631
1636
|
Status.TransactionExpired = new Status(4);
|
|
1632
1637
|
|
|
@@ -1636,9 +1641,7 @@ Status.TransactionExpired = new Status(4);
|
|
|
1636
1641
|
Status.InvalidTransactionStart = new Status(5);
|
|
1637
1642
|
|
|
1638
1643
|
/**
|
|
1639
|
-
* The given transactionValidDuration was either non-positive, or greater than the maximum
|
|
1640
|
-
* valid duration of 180 secs.
|
|
1641
|
-
*
|
|
1644
|
+
* The given transactionValidDuration was either non-positive, or greater than the maximum valid duration of 180 secs.
|
|
1642
1645
|
*/
|
|
1643
1646
|
Status.InvalidTransactionDuration = new Status(6);
|
|
1644
1647
|
|
|
@@ -1663,8 +1666,7 @@ Status.InsufficientTxFee = new Status(9);
|
|
|
1663
1666
|
Status.InsufficientPayerBalance = new Status(10);
|
|
1664
1667
|
|
|
1665
1668
|
/**
|
|
1666
|
-
* This transaction ID is a duplicate of one that was submitted to this node or reached consensus
|
|
1667
|
-
* in the last 180 seconds (receipt period)
|
|
1669
|
+
* This transaction ID is a duplicate of one that was submitted to this node or reached consensus in the last 180 seconds (receipt period)
|
|
1668
1670
|
*/
|
|
1669
1671
|
Status.DuplicateTransaction = new Status(11);
|
|
1670
1672
|
|
|
@@ -1714,8 +1716,7 @@ Status.RecordNotFound = new Status(19);
|
|
|
1714
1716
|
Status.InvalidSolidityId = new Status(20);
|
|
1715
1717
|
|
|
1716
1718
|
/**
|
|
1717
|
-
* The responding node has submitted the transaction to the network. Its final status is still
|
|
1718
|
-
* unknown.
|
|
1719
|
+
* The responding node has submitted the transaction to the network. Its final status is still unknown.
|
|
1719
1720
|
*/
|
|
1720
1721
|
Status.Unknown = new Status(21);
|
|
1721
1722
|
|
|
@@ -1785,8 +1786,7 @@ Status.ContractRevertExecuted = new Status(33);
|
|
|
1785
1786
|
Status.ContractExecutionException = new Status(34);
|
|
1786
1787
|
|
|
1787
1788
|
/**
|
|
1788
|
-
* In Query validation, account with +ve(amount) value should be Receiving node account, the
|
|
1789
|
-
* receiver account should be only one account in the list
|
|
1789
|
+
* In Query validation, account with +ve(amount) value should be Receiving node account, the receiver account should be only one account in the list
|
|
1790
1790
|
*/
|
|
1791
1791
|
Status.InvalidReceivingNodeAccount = new Status(35);
|
|
1792
1792
|
|
|
@@ -1866,15 +1866,12 @@ Status.EmptyTransactionBody = new Status(49);
|
|
|
1866
1866
|
Status.InvalidTransactionBody = new Status(50);
|
|
1867
1867
|
|
|
1868
1868
|
/**
|
|
1869
|
-
* the type of key (base ed25519 key, KeyList, or ThresholdKey) does not match the type of
|
|
1870
|
-
* signature (base ed25519 signature, SignatureList, or ThresholdKeySignature)
|
|
1869
|
+
* the type of key (base ed25519 key, KeyList, or ThresholdKey) does not match the type of signature (base ed25519 signature, SignatureList, or ThresholdKeySignature)
|
|
1871
1870
|
*/
|
|
1872
1871
|
Status.InvalidSignatureTypeMismatchingKey = new Status(51);
|
|
1873
1872
|
|
|
1874
1873
|
/**
|
|
1875
|
-
* the number of key (KeyList, or ThresholdKey) does not match that of signature (SignatureList,
|
|
1876
|
-
* or ThresholdKeySignature). e.g. if a keyList has 3 base keys, then the corresponding
|
|
1877
|
-
* signatureList should also have 3 base signatures.
|
|
1874
|
+
* the number of key (KeyList, or ThresholdKey) does not match that of signature (SignatureList, or ThresholdKeySignature). e.g. if a keyList has 3 base keys, then the corresponding signatureList should also have 3 base signatures.
|
|
1878
1875
|
*/
|
|
1879
1876
|
Status.InvalidSignatureCountMismatchingKey = new Status(52);
|
|
1880
1877
|
|
|
@@ -1994,14 +1991,12 @@ Status.AccountRepeatedInAccountAmounts = new Status(74);
|
|
|
1994
1991
|
Status.SettingNegativeAccountBalance = new Status(75);
|
|
1995
1992
|
|
|
1996
1993
|
/**
|
|
1997
|
-
* when deleting smart contract that has crypto balance either transfer account or transfer smart
|
|
1998
|
-
* contract is required
|
|
1994
|
+
* when deleting smart contract that has crypto balance either transfer account or transfer smart contract is required
|
|
1999
1995
|
*/
|
|
2000
1996
|
Status.ObtainerRequired = new Status(76);
|
|
2001
1997
|
|
|
2002
1998
|
/**
|
|
2003
|
-
* when deleting smart contract that has crypto balance you can not use the same contract id as
|
|
2004
|
-
* transferContractId as the one being deleted
|
|
1999
|
+
* when deleting smart contract that has crypto balance you can not use the same contract id as transferContractId as the one being deleted
|
|
2005
2000
|
*/
|
|
2006
2001
|
Status.ObtainerSameContractId = new Status(77);
|
|
2007
2002
|
|
|
@@ -2011,8 +2006,7 @@ Status.ObtainerSameContractId = new Status(77);
|
|
|
2011
2006
|
Status.ObtainerDoesNotExist = new Status(78);
|
|
2012
2007
|
|
|
2013
2008
|
/**
|
|
2014
|
-
* attempting to modify (update or delete a immutable smart contract, i.e. one created without a
|
|
2015
|
-
* admin key)
|
|
2009
|
+
* attempting to modify (update or delete a immutable smart contract, i.e. one created without a admin key)
|
|
2016
2010
|
*/
|
|
2017
2011
|
Status.ModifyingImmutableContract = new Status(79);
|
|
2018
2012
|
|
|
@@ -2027,8 +2021,7 @@ Status.FileSystemException = new Status(80);
|
|
|
2027
2021
|
Status.AutorenewDurationNotInRange = new Status(81);
|
|
2028
2022
|
|
|
2029
2023
|
/**
|
|
2030
|
-
* Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex
|
|
2031
|
-
* string.
|
|
2024
|
+
* Decoding the smart contract binary to a byte array failed. Check that the input is a valid hex string.
|
|
2032
2025
|
*/
|
|
2033
2026
|
Status.ErrorDecodingBytestring = new Status(82);
|
|
2034
2027
|
|
|
@@ -2048,18 +2041,17 @@ Status.ContractBytecodeEmpty = new Status(84);
|
|
|
2048
2041
|
Status.InvalidInitialBalance = new Status(85);
|
|
2049
2042
|
|
|
2050
2043
|
/**
|
|
2051
|
-
*
|
|
2044
|
+
* Attempt to set negative receive record threshold
|
|
2052
2045
|
*/
|
|
2053
2046
|
Status.InvalidReceiveRecordThreshold = new Status(86);
|
|
2054
2047
|
|
|
2055
2048
|
/**
|
|
2056
|
-
*
|
|
2049
|
+
* Attempt to set negative send record threshold
|
|
2057
2050
|
*/
|
|
2058
2051
|
Status.InvalidSendRecordThreshold = new Status(87);
|
|
2059
2052
|
|
|
2060
2053
|
/**
|
|
2061
|
-
* Special Account Operations should be performed by only Genesis account, return this code if it
|
|
2062
|
-
* is not Genesis Account
|
|
2054
|
+
* Special Account Operations should be performed by only Genesis account, return this code if it is not Genesis Account
|
|
2063
2055
|
*/
|
|
2064
2056
|
Status.AccountIsNotGenesisAccount = new Status(88);
|
|
2065
2057
|
|
|
@@ -2124,12 +2116,7 @@ Status.InsufficientLocalCallGas = new Status(99);
|
|
|
2124
2116
|
Status.EntityNotAllowedToDelete = new Status(100);
|
|
2125
2117
|
|
|
2126
2118
|
/**
|
|
2127
|
-
* Violating one of these rules: 1) treasury account can update all entities below 0.0.1000, 2)
|
|
2128
|
-
* account 0.0.50 can update all entities from 0.0.51 - 0.0.80, 3) Network Function Master Account
|
|
2129
|
-
* A/c 0.0.50 - Update all Network Function accounts & perform all the Network Functions listed
|
|
2130
|
-
* below, 4) Network Function Accounts: i) A/c 0.0.55 - Update Address Book files (0.0.101/102),
|
|
2131
|
-
* ii) A/c 0.0.56 - Update Fee schedule (0.0.111), iii) A/c 0.0.57 - Update Exchange Rate
|
|
2132
|
-
* (0.0.112).
|
|
2119
|
+
* Violating one of these rules: 1) treasury account can update all entities below 0.0.1000, 2) account 0.0.50 can update all entities from 0.0.51 - 0.0.80, 3) Network Function Master Account A/c 0.0.50 - Update all Network Function accounts & perform all the Network Functions listed below, 4) Network Function Accounts: i) A/c 0.0.55 - Update Address Book files (0.0.101/102), ii) A/c 0.0.56 - Update Fee schedule (0.0.111), iii) A/c 0.0.57 - Update Exchange Rate (0.0.112).
|
|
2133
2120
|
*/
|
|
2134
2121
|
Status.AuthorizationFailed = new Status(101);
|
|
2135
2122
|
|
|
@@ -2163,7 +2150,11 @@ Status.MaxContractStorageExceeded = new Status(106);
|
|
|
2163
2150
|
*/
|
|
2164
2151
|
Status.TransferAccountSameAsDeleteAccount = new Status(107);
|
|
2165
2152
|
|
|
2153
|
+
/**
|
|
2154
|
+
* total ledger balance invalid
|
|
2155
|
+
*/
|
|
2166
2156
|
Status.TotalLedgerBalanceInvalid = new Status(108);
|
|
2157
|
+
|
|
2167
2158
|
/**
|
|
2168
2159
|
* The expiration date/time on a smart contract may not be reduced
|
|
2169
2160
|
*/
|
|
@@ -2190,7 +2181,7 @@ Status.ReceiverSigRequired = new Status(113);
|
|
|
2190
2181
|
Status.InvalidTopicId = new Status(150);
|
|
2191
2182
|
|
|
2192
2183
|
/**
|
|
2193
|
-
* A provided admin key was invalid.
|
|
2184
|
+
* A provided admin key was invalid. Verify the bytes for an Ed25519 public key are exactly 32 bytes; and the bytes for a compressed ECDSA(secp256k1) key are exactly 33 bytes, with the first byte either 0x02 or 0x03..
|
|
2194
2185
|
*/
|
|
2195
2186
|
Status.InvalidAdminKey = new Status(155);
|
|
2196
2187
|
|
|
@@ -2220,199 +2211,197 @@ Status.InvalidAutorenewAccount = new Status(159);
|
|
|
2220
2211
|
Status.AutorenewAccountNotAllowed = new Status(160);
|
|
2221
2212
|
|
|
2222
2213
|
/**
|
|
2223
|
-
* The topic has expired, was not automatically renewed, and is in a 7 day grace period before the
|
|
2224
|
-
* topic will be deleted unrecoverably. This error response code will not be returned until
|
|
2225
|
-
* autoRenew functionality is supported by HAPI.
|
|
2214
|
+
* The topic has expired, was not automatically renewed, and is in a 7 day grace period before the topic will be deleted unrecoverably. This error response code will not be returned until autoRenew functionality is supported by HAPI.
|
|
2226
2215
|
*/
|
|
2227
2216
|
Status.TopicExpired = new Status(162);
|
|
2228
2217
|
|
|
2229
2218
|
/**
|
|
2230
|
-
* chunk number
|
|
2219
|
+
* invalid chunk number
|
|
2231
2220
|
*/
|
|
2232
2221
|
Status.InvalidChunkNumber = new Status(163);
|
|
2233
2222
|
|
|
2234
2223
|
/**
|
|
2235
|
-
*
|
|
2224
|
+
* invalid chunk transaction id
|
|
2236
2225
|
*/
|
|
2237
2226
|
Status.InvalidChunkTransactionId = new Status(164);
|
|
2238
2227
|
|
|
2239
2228
|
/**
|
|
2240
|
-
*
|
|
2229
|
+
* account frozen for token
|
|
2241
2230
|
*/
|
|
2242
2231
|
Status.AccountFrozenForToken = new Status(165);
|
|
2243
2232
|
|
|
2244
2233
|
/**
|
|
2245
|
-
*
|
|
2234
|
+
* tokens per account limit exceeded
|
|
2246
2235
|
*/
|
|
2247
2236
|
Status.TokensPerAccountLimitExceeded = new Status(166);
|
|
2248
2237
|
|
|
2249
2238
|
/**
|
|
2250
|
-
*
|
|
2239
|
+
* invalid token id
|
|
2251
2240
|
*/
|
|
2252
2241
|
Status.InvalidTokenId = new Status(167);
|
|
2253
2242
|
|
|
2254
2243
|
/**
|
|
2255
|
-
*
|
|
2244
|
+
* invalid token decimals
|
|
2256
2245
|
*/
|
|
2257
2246
|
Status.InvalidTokenDecimals = new Status(168);
|
|
2258
2247
|
|
|
2259
2248
|
/**
|
|
2260
|
-
*
|
|
2249
|
+
* invalid token initial supply
|
|
2261
2250
|
*/
|
|
2262
2251
|
Status.InvalidTokenInitialSupply = new Status(169);
|
|
2263
2252
|
|
|
2264
2253
|
/**
|
|
2265
|
-
*
|
|
2254
|
+
* invalid treasury account for token
|
|
2266
2255
|
*/
|
|
2267
2256
|
Status.InvalidTreasuryAccountForToken = new Status(170);
|
|
2268
2257
|
|
|
2269
2258
|
/**
|
|
2270
|
-
*
|
|
2259
|
+
* invalid token symbol
|
|
2271
2260
|
*/
|
|
2272
2261
|
Status.InvalidTokenSymbol = new Status(171);
|
|
2273
2262
|
|
|
2274
2263
|
/**
|
|
2275
|
-
*
|
|
2264
|
+
* token has no freeze key
|
|
2276
2265
|
*/
|
|
2277
2266
|
Status.TokenHasNoFreezeKey = new Status(172);
|
|
2278
2267
|
|
|
2279
2268
|
/**
|
|
2280
|
-
*
|
|
2269
|
+
* transfers not zero sum for token
|
|
2281
2270
|
*/
|
|
2282
2271
|
Status.TransfersNotZeroSumForToken = new Status(173);
|
|
2283
2272
|
|
|
2284
2273
|
/**
|
|
2285
|
-
*
|
|
2274
|
+
* missing token symbol
|
|
2286
2275
|
*/
|
|
2287
2276
|
Status.MissingTokenSymbol = new Status(174);
|
|
2288
2277
|
|
|
2289
2278
|
/**
|
|
2290
|
-
*
|
|
2279
|
+
* token symbol too long
|
|
2291
2280
|
*/
|
|
2292
2281
|
Status.TokenSymbolTooLong = new Status(175);
|
|
2293
2282
|
|
|
2294
2283
|
/**
|
|
2295
|
-
*
|
|
2284
|
+
* account kyc not granted for token
|
|
2296
2285
|
*/
|
|
2297
2286
|
Status.AccountKycNotGrantedForToken = new Status(176);
|
|
2298
2287
|
|
|
2299
2288
|
/**
|
|
2300
|
-
*
|
|
2289
|
+
* token has no kyc key
|
|
2301
2290
|
*/
|
|
2302
2291
|
Status.TokenHasNoKycKey = new Status(177);
|
|
2303
2292
|
|
|
2304
2293
|
/**
|
|
2305
|
-
*
|
|
2294
|
+
* insufficient token balance
|
|
2306
2295
|
*/
|
|
2307
2296
|
Status.InsufficientTokenBalance = new Status(178);
|
|
2308
2297
|
|
|
2309
2298
|
/**
|
|
2310
|
-
*
|
|
2299
|
+
* token was deleted
|
|
2311
2300
|
*/
|
|
2312
2301
|
Status.TokenWasDeleted = new Status(179);
|
|
2313
2302
|
|
|
2314
2303
|
/**
|
|
2315
|
-
*
|
|
2304
|
+
* token has no supply key
|
|
2316
2305
|
*/
|
|
2317
2306
|
Status.TokenHasNoSupplyKey = new Status(180);
|
|
2318
2307
|
|
|
2319
2308
|
/**
|
|
2320
|
-
*
|
|
2309
|
+
* token has no wipe key
|
|
2321
2310
|
*/
|
|
2322
2311
|
Status.TokenHasNoWipeKey = new Status(181);
|
|
2323
2312
|
|
|
2324
2313
|
/**
|
|
2325
|
-
*
|
|
2314
|
+
* invalid token mint amount
|
|
2326
2315
|
*/
|
|
2327
2316
|
Status.InvalidTokenMintAmount = new Status(182);
|
|
2328
2317
|
|
|
2329
2318
|
/**
|
|
2330
|
-
*
|
|
2319
|
+
* invalid token burn amount
|
|
2331
2320
|
*/
|
|
2332
2321
|
Status.InvalidTokenBurnAmount = new Status(183);
|
|
2333
2322
|
|
|
2334
2323
|
/**
|
|
2335
|
-
*
|
|
2324
|
+
* token not associated to account
|
|
2336
2325
|
*/
|
|
2337
2326
|
Status.TokenNotAssociatedToAccount = new Status(184);
|
|
2338
2327
|
|
|
2339
2328
|
/**
|
|
2340
|
-
*
|
|
2329
|
+
* cannot wipe token treasury account
|
|
2341
2330
|
*/
|
|
2342
2331
|
Status.CannotWipeTokenTreasuryAccount = new Status(185);
|
|
2343
2332
|
|
|
2344
2333
|
/**
|
|
2345
|
-
*
|
|
2334
|
+
* invalid kyc key
|
|
2346
2335
|
*/
|
|
2347
2336
|
Status.InvalidKycKey = new Status(186);
|
|
2348
2337
|
|
|
2349
2338
|
/**
|
|
2350
|
-
*
|
|
2339
|
+
* invalid wipe key
|
|
2351
2340
|
*/
|
|
2352
2341
|
Status.InvalidWipeKey = new Status(187);
|
|
2353
2342
|
|
|
2354
2343
|
/**
|
|
2355
|
-
*
|
|
2344
|
+
* invalid freeze key
|
|
2356
2345
|
*/
|
|
2357
2346
|
Status.InvalidFreezeKey = new Status(188);
|
|
2358
2347
|
|
|
2359
2348
|
/**
|
|
2360
|
-
*
|
|
2349
|
+
* invalid supply key
|
|
2361
2350
|
*/
|
|
2362
2351
|
Status.InvalidSupplyKey = new Status(189);
|
|
2363
2352
|
|
|
2364
2353
|
/**
|
|
2365
|
-
*
|
|
2354
|
+
* missing token name
|
|
2366
2355
|
*/
|
|
2367
2356
|
Status.MissingTokenName = new Status(190);
|
|
2368
2357
|
|
|
2369
2358
|
/**
|
|
2370
|
-
*
|
|
2359
|
+
* token name too long
|
|
2371
2360
|
*/
|
|
2372
2361
|
Status.TokenNameTooLong = new Status(191);
|
|
2373
2362
|
|
|
2374
2363
|
/**
|
|
2375
|
-
*
|
|
2364
|
+
* invalid wiping amount
|
|
2376
2365
|
*/
|
|
2377
2366
|
Status.InvalidWipingAmount = new Status(192);
|
|
2378
2367
|
|
|
2379
2368
|
/**
|
|
2380
|
-
*
|
|
2369
|
+
* token is immutable
|
|
2381
2370
|
*/
|
|
2382
2371
|
Status.TokenIsImmutable = new Status(193);
|
|
2383
2372
|
|
|
2384
2373
|
/**
|
|
2385
|
-
*
|
|
2374
|
+
* token already associated to account
|
|
2386
2375
|
*/
|
|
2387
2376
|
Status.TokenAlreadyAssociatedToAccount = new Status(194);
|
|
2388
2377
|
|
|
2389
2378
|
/**
|
|
2390
|
-
*
|
|
2379
|
+
* transaction requires zero token balances
|
|
2391
2380
|
*/
|
|
2392
2381
|
Status.TransactionRequiresZeroTokenBalances = new Status(195);
|
|
2393
2382
|
|
|
2394
2383
|
/**
|
|
2395
|
-
*
|
|
2384
|
+
* account is treasury
|
|
2396
2385
|
*/
|
|
2397
2386
|
Status.AccountIsTreasury = new Status(196);
|
|
2398
2387
|
|
|
2399
2388
|
/**
|
|
2400
|
-
*
|
|
2389
|
+
* token id repeated in token list
|
|
2401
2390
|
*/
|
|
2402
2391
|
Status.TokenIdRepeatedInTokenList = new Status(197);
|
|
2403
2392
|
|
|
2404
2393
|
/**
|
|
2405
|
-
*
|
|
2394
|
+
* token transfer list size limit exceeded
|
|
2406
2395
|
*/
|
|
2407
2396
|
Status.TokenTransferListSizeLimitExceeded = new Status(198);
|
|
2408
2397
|
|
|
2409
2398
|
/**
|
|
2410
|
-
*
|
|
2399
|
+
* empty token transfer body
|
|
2411
2400
|
*/
|
|
2412
2401
|
Status.EmptyTokenTransferBody = new Status(199);
|
|
2413
2402
|
|
|
2414
2403
|
/**
|
|
2415
|
-
*
|
|
2404
|
+
* empty token transfer account amounts
|
|
2416
2405
|
*/
|
|
2417
2406
|
Status.EmptyTokenTransferAccountAmounts = new Status(200);
|
|
2418
2407
|
|
|
@@ -2732,8 +2721,7 @@ Status.NoRemainingAutomaticAssociations = new Status(262);
|
|
|
2732
2721
|
Status.ExistingAutomaticAssociationsExceedGivenLimit = new Status(263);
|
|
2733
2722
|
|
|
2734
2723
|
/**
|
|
2735
|
-
* Cannot set the number of automatic associations for an account more than the maximum allowed
|
|
2736
|
-
* token associations <tt>tokens.maxPerAccount</tt>.
|
|
2724
|
+
* Cannot set the number of automatic associations for an account more than the maximum allowed token associations <tt>tokens.maxPerAccount</tt>.
|
|
2737
2725
|
*/
|
|
2738
2726
|
Status.RequestedNumAutomaticAssociationsExceedsAssociationLimit = new Status(
|
|
2739
2727
|
264,
|
|
@@ -2775,8 +2763,7 @@ Status.NoUpgradeHasBeenPrepared = new Status(270);
|
|
|
2775
2763
|
Status.NoFreezeIsScheduled = new Status(271);
|
|
2776
2764
|
|
|
2777
2765
|
/**
|
|
2778
|
-
* The update file hash when handling a FREEZE_UPGRADE transaction differs from the file
|
|
2779
|
-
* hash at the time of handling the PREPARE_UPGRADE transaction.
|
|
2766
|
+
* The update file hash when handling a FREEZE_UPGRADE transaction differs from the file hash at the time of handling the PREPARE_UPGRADE transaction.
|
|
2780
2767
|
*/
|
|
2781
2768
|
Status.UpdateFileHashChangedSincePrepareUpgrade = new Status(272);
|
|
2782
2769
|
|
|
@@ -2786,38 +2773,32 @@ Status.UpdateFileHashChangedSincePrepareUpgrade = new Status(272);
|
|
|
2786
2773
|
Status.FreezeStartTimeMustBeFuture = new Status(273);
|
|
2787
2774
|
|
|
2788
2775
|
/**
|
|
2789
|
-
* The prepared update file cannot be updated or appended until either the upgrade has
|
|
2790
|
-
* been completed, or a FREEZE_ABORT has been handled.
|
|
2776
|
+
* The prepared update file cannot be updated or appended until either the upgrade has been completed, or a FREEZE_ABORT has been handled.
|
|
2791
2777
|
*/
|
|
2792
2778
|
Status.PreparedUpdateFileIsImmutable = new Status(274);
|
|
2793
2779
|
|
|
2794
2780
|
/**
|
|
2795
|
-
* Once a freeze is scheduled, it must be aborted before any other type of freeze can
|
|
2796
|
-
* can be performed.
|
|
2781
|
+
* Once a freeze is scheduled, it must be aborted before any other type of freeze can can be performed.
|
|
2797
2782
|
*/
|
|
2798
2783
|
Status.FreezeAlreadyScheduled = new Status(275);
|
|
2799
2784
|
|
|
2800
2785
|
/**
|
|
2801
|
-
* If an NMT upgrade has been prepared, the following operation must be a FREEZE_UPGRADE.
|
|
2802
|
-
* (To issue a FREEZE_ONLY, submit a FREEZE_ABORT first.)
|
|
2786
|
+
* If an NMT upgrade has been prepared, the following operation must be a FREEZE_UPGRADE. (To issue a FREEZE_ONLY, submit a FREEZE_ABORT first.)
|
|
2803
2787
|
*/
|
|
2804
2788
|
Status.FreezeUpgradeInProgress = new Status(276);
|
|
2805
2789
|
|
|
2806
2790
|
/**
|
|
2807
|
-
* If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must
|
|
2808
|
-
* confirm the id of the file to be used in the upgrade.
|
|
2791
|
+
* If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must confirm the id of the file to be used in the upgrade.
|
|
2809
2792
|
*/
|
|
2810
2793
|
Status.UpdateFileIdDoesNotMatchPrepared = new Status(277);
|
|
2811
2794
|
|
|
2812
2795
|
/**
|
|
2813
|
-
* If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must
|
|
2814
|
-
* confirm the hash of the file to be used in the upgrade.
|
|
2796
|
+
* If an NMT upgrade has been prepared, the subsequent FREEZE_UPGRADE transaction must confirm the hash of the file to be used in the upgrade.
|
|
2815
2797
|
*/
|
|
2816
2798
|
Status.UpdateFileHashDoesNotMatchPrepared = new Status(278);
|
|
2817
2799
|
|
|
2818
2800
|
/**
|
|
2819
|
-
* Consensus throttle did not allow execution of this transaction. System is throttled at
|
|
2820
|
-
* consensus level.
|
|
2801
|
+
* Consensus throttle did not allow execution of this transaction. System is throttled at consensus level.
|
|
2821
2802
|
*/
|
|
2822
2803
|
Status.ConsensusGasExhausted = new Status(279);
|
|
2823
2804
|
|
|
@@ -2832,15 +2813,12 @@ Status.RevertedSuccess = new Status(280);
|
|
|
2832
2813
|
Status.MaxStorageInPriceRegimeHasBeenUsed = new Status(281);
|
|
2833
2814
|
|
|
2834
2815
|
/**
|
|
2835
|
-
* An alias used in a CryptoTransfer transaction is not the serialization of a primitive Key
|
|
2836
|
-
* message--that is, a Key with a single Ed25519 or ECDSA(secp256k1) public key and no
|
|
2837
|
-
* unknown protobuf fields.
|
|
2816
|
+
* An alias used in a CryptoTransfer transaction is not the serialization of a primitive Key message--that is, a Key with a single Ed25519 or ECDSA(secp256k1) public key and no unknown protobuf fields.
|
|
2838
2817
|
*/
|
|
2839
2818
|
Status.InvalidAliasKey = new Status(282);
|
|
2840
2819
|
|
|
2841
2820
|
/**
|
|
2842
|
-
* A fungible token transfer expected a different number of decimals than the involved
|
|
2843
|
-
* type actually has.
|
|
2821
|
+
* A fungible token transfer expected a different number of decimals than the involved type actually has.
|
|
2844
2822
|
*/
|
|
2845
2823
|
Status.UnexpectedTokenDecimals = new Status(283);
|
|
2846
2824
|
|
|
@@ -2865,14 +2843,12 @@ Status.InvalidFeeCollectorAccountId = new Status(286);
|
|
|
2865
2843
|
Status.AliasIsImmutable = new Status(287);
|
|
2866
2844
|
|
|
2867
2845
|
/**
|
|
2868
|
-
* An approved allowance specifies a spender account that is the same as the hbar/token
|
|
2869
|
-
* owner account.
|
|
2846
|
+
* An approved allowance specifies a spender account that is the same as the hbar/token owner account.
|
|
2870
2847
|
*/
|
|
2871
2848
|
Status.SpenderAccountSameAsOwner = new Status(288);
|
|
2872
2849
|
|
|
2873
2850
|
/**
|
|
2874
|
-
* The establishment or adjustment of an approved allowance cause the token allowance
|
|
2875
|
-
* to exceed the token maximum supply.
|
|
2851
|
+
* The establishment or adjustment of an approved allowance cause the token allowance to exceed the token maximum supply.
|
|
2876
2852
|
*/
|
|
2877
2853
|
Status.AmountExceedsTokenMaxSupply = new Status(289);
|
|
2878
2854
|
|
|
@@ -2897,19 +2873,17 @@ Status.SpenderDoesNotHaveAllowance = new Status(292);
|
|
|
2897
2873
|
Status.AmountExceedsAllowance = new Status(293);
|
|
2898
2874
|
|
|
2899
2875
|
/**
|
|
2900
|
-
* The payer account of an approveAllowances or adjustAllowance transaction is attempting
|
|
2901
|
-
* to go beyond the maximum allowed number of allowances.
|
|
2876
|
+
* The payer account of an approveAllowances or adjustAllowance transaction is attempting to go beyond the maximum allowed number of allowances.
|
|
2902
2877
|
*/
|
|
2903
2878
|
Status.MaxAllowancesExceeded = new Status(294);
|
|
2904
2879
|
|
|
2905
2880
|
/**
|
|
2906
|
-
* No allowances have been specified in the approval
|
|
2881
|
+
* No allowances have been specified in the approval transaction.
|
|
2907
2882
|
*/
|
|
2908
2883
|
Status.EmptyAllowances = new Status(295);
|
|
2909
2884
|
|
|
2910
2885
|
/**
|
|
2911
|
-
* Spender is repeated more than once in Crypto or Token or NFT allowance lists in a single
|
|
2912
|
-
* CryptoApproveAllowance or CryptoAdjustAllowance transaction.
|
|
2886
|
+
* Spender is repeated more than once in Crypto or Token or NFT allowance lists in a single CryptoApproveAllowance transaction.
|
|
2913
2887
|
*/
|
|
2914
2888
|
Status.SpenderAccountRepeatedInAllowances = new Status(296);
|
|
2915
2889
|
|
|
@@ -2939,7 +2913,7 @@ Status.InvalidAllowanceOwnerId = new Status(300);
|
|
|
2939
2913
|
Status.InvalidAllowanceSpenderId = new Status(301);
|
|
2940
2914
|
|
|
2941
2915
|
/**
|
|
2942
|
-
* If the CryptoDeleteAllowance transaction has repeated crypto or token or Nft allowances to delete.
|
|
2916
|
+
* [Deprecated] If the CryptoDeleteAllowance transaction has repeated crypto or token or Nft allowances to delete.
|
|
2943
2917
|
*/
|
|
2944
2918
|
Status.RepeatedAllowancesToDelete = new Status(302);
|
|
2945
2919
|
|
|
@@ -2954,8 +2928,7 @@ Status.InvalidDelegatingSpender = new Status(303);
|
|
|
2954
2928
|
Status.DelegatingSpenderCannotGrantApproveForAll = new Status(304);
|
|
2955
2929
|
|
|
2956
2930
|
/**
|
|
2957
|
-
* The delegating Spender cannot grant allowance on a NFT serial for another spender as it doesnt not have approveForAll
|
|
2958
|
-
* granted on token-owner.
|
|
2931
|
+
* The delegating Spender cannot grant allowance on a NFT serial for another spender as it doesnt not have approveForAll granted on token-owner.
|
|
2959
2932
|
*/
|
|
2960
2933
|
Status.DelegatingSpenderDoesNotHaveApproveForAll = new Status(305);
|
|
2961
2934
|
|
|
@@ -3000,7 +2973,7 @@ Status.WrongNonce = new Status(312);
|
|
|
3000
2973
|
Status.AccessListUnsupported = new Status(313);
|
|
3001
2974
|
|
|
3002
2975
|
/**
|
|
3003
|
-
*
|
|
2976
|
+
* A schedule being signed or deleted has passed it's expiration date and is pending execution if needed and then expiration.
|
|
3004
2977
|
*/
|
|
3005
2978
|
Status.SchedulePendingExpiration = new Status(314);
|
|
3006
2979
|
|
|
@@ -3015,14 +2988,12 @@ Status.ContractIsTokenTreasury = new Status(315);
|
|
|
3015
2988
|
Status.ContractHasNonZeroTokenBalances = new Status(316);
|
|
3016
2989
|
|
|
3017
2990
|
/**
|
|
3018
|
-
* A contract referenced by a transaction is "detached"; that is, expired and lacking any
|
|
3019
|
-
* hbar funds for auto-renewal payment---but still within its post-expiry grace period.
|
|
2991
|
+
* A contract referenced by a transaction is "detached"; that is, expired and lacking any hbar funds for auto-renewal payment---but still within its post-expiry grace period.
|
|
3020
2992
|
*/
|
|
3021
2993
|
Status.ContractExpiredAndPendingRemoval = new Status(317);
|
|
3022
2994
|
|
|
3023
2995
|
/**
|
|
3024
|
-
* A ContractUpdate requested removal of a contract's auto-renew account, but that contract has
|
|
3025
|
-
* no auto-renew account.
|
|
2996
|
+
* A ContractUpdate requested removal of a contract's auto-renew account, but that contract has no auto-renew account.
|
|
3026
2997
|
*/
|
|
3027
2998
|
Status.ContractHasNoAutoRenewAccount = new Status(318);
|
|
3028
2999
|
|
|
@@ -3031,8 +3002,8 @@ Status.ContractHasNoAutoRenewAccount = new Status(318);
|
|
|
3031
3002
|
*/
|
|
3032
3003
|
Status.PermanentRemovalRequiresSystemInitiation = new Status(319);
|
|
3033
3004
|
|
|
3034
|
-
|
|
3035
|
-
*
|
|
3005
|
+
/**
|
|
3006
|
+
* proxy account id field is deprecated
|
|
3036
3007
|
*/
|
|
3037
3008
|
Status.ProxyAccountIdFieldIsDeprecated = new Status(320);
|
|
3038
3009
|
|
|
@@ -3052,7 +3023,7 @@ Status.InvalidStakingId = new Status(322);
|
|
|
3052
3023
|
Status.StakingNotEnabled = new Status(323);
|
|
3053
3024
|
|
|
3054
3025
|
/**
|
|
3055
|
-
* The range provided in
|
|
3026
|
+
* The range provided in UtilPrng transaction is negative.
|
|
3056
3027
|
*/
|
|
3057
3028
|
Status.InvalidPrngRange = new Status(324);
|
|
3058
3029
|
|
|
@@ -3067,26 +3038,22 @@ Status.MaxEntitiesInPriceRegimeHaveBeenCreated = new Status(325);
|
|
|
3067
3038
|
Status.InvalidFullPrefixSignatureForPrecompile = new Status(326);
|
|
3068
3039
|
|
|
3069
3040
|
/**
|
|
3070
|
-
* The combined balances of a contract and its auto-renew account (if any) did not cover
|
|
3071
|
-
* the rent charged for net new storage used in a transaction.
|
|
3041
|
+
* The combined balances of a contract and its auto-renew account (if any) did not cover the rent charged for net new storage used in a transaction.
|
|
3072
3042
|
*/
|
|
3073
3043
|
Status.InsufficientBalancesForStorageRent = new Status(327);
|
|
3074
3044
|
|
|
3075
3045
|
/**
|
|
3076
|
-
* A contract transaction tried to use more than the allowed number of child records, via
|
|
3077
|
-
* either system contract records or internal contract creations.
|
|
3046
|
+
* A contract transaction tried to use more than the allowed number of child records, via either system contract records or internal contract creations.
|
|
3078
3047
|
*/
|
|
3079
3048
|
Status.MaxChildRecordsExceeded = new Status(328);
|
|
3080
3049
|
|
|
3081
3050
|
/**
|
|
3082
|
-
* The combined balances of a contract and its auto-renew account (if any) or balance of an account did not cover
|
|
3083
|
-
* the auto-renewal fees in a transaction.
|
|
3051
|
+
* The combined balances of a contract and its auto-renew account (if any) or balance of an account did not cover the auto-renewal fees in a transaction.
|
|
3084
3052
|
*/
|
|
3085
3053
|
Status.InsufficientBalancesForRenewalFees = new Status(329);
|
|
3086
3054
|
|
|
3087
3055
|
/**
|
|
3088
|
-
* A transaction's protobuf message includes unknown fields; could mean that a client
|
|
3089
|
-
* expects not-yet-released functionality to be available.
|
|
3056
|
+
* A transaction's protobuf message includes unknown fields; could mean that a client expects not-yet-released functionality to be available.
|
|
3090
3057
|
*/
|
|
3091
3058
|
Status.TransactionHasUnknownFields = new Status(330);
|
|
3092
3059
|
|
|
@@ -3126,48 +3093,47 @@ Status.MissingSerialNumbers = new Status(336);
|
|
|
3126
3093
|
Status.TokenHasNoAdminKey = new Status(337);
|
|
3127
3094
|
|
|
3128
3095
|
/**
|
|
3129
|
-
*
|
|
3096
|
+
* A transaction failed because the consensus node identified is deleted from the address book.
|
|
3130
3097
|
*/
|
|
3131
3098
|
Status.NodeDeleted = new Status(338);
|
|
3132
3099
|
|
|
3133
3100
|
/**
|
|
3134
|
-
* A node is not
|
|
3101
|
+
* A transaction failed because the consensus node identified is not valid or does not exist in state.
|
|
3135
3102
|
*/
|
|
3136
3103
|
Status.InvalidNodeId = new Status(339);
|
|
3137
3104
|
|
|
3138
3105
|
/**
|
|
3139
|
-
* gossip_endpoint
|
|
3106
|
+
* A transaction failed because one or more entries in the list of service endpoints for the `gossip_endpoint` field is invalid.<br/> The most common cause for this response is a service endpoint that has the domain name (DNS) set rather than address and port.
|
|
3140
3107
|
*/
|
|
3141
3108
|
Status.InvalidGossipEndpoint = new Status(340);
|
|
3142
3109
|
|
|
3143
3110
|
/**
|
|
3144
|
-
*
|
|
3111
|
+
* A transaction failed because the node account identifier provided does not exist or is not valid.<br/> One common source of this error is providing a node account identifier using the "alias" form rather than "numeric" form. It is also used for atomic batch transaction for child transaction if the node account id is not 0.0.0.
|
|
3145
3112
|
*/
|
|
3146
3113
|
Status.InvalidNodeAccountId = new Status(341);
|
|
3147
3114
|
|
|
3148
3115
|
/**
|
|
3149
|
-
*
|
|
3116
|
+
* A transaction failed because the description field cannot be encoded as UTF-8 or is more than 100 bytes when encoded.
|
|
3150
3117
|
*/
|
|
3151
3118
|
Status.InvalidNodeDescription = new Status(342);
|
|
3152
3119
|
|
|
3153
3120
|
/**
|
|
3154
|
-
* service_endpoint is invalid
|
|
3121
|
+
* A transaction failed because one or more entries in the list of service endpoints for the `service_endpoint` field is invalid.<br/> The most common cause for this response is a service endpoint that has the domain name (DNS) set rather than address and port.
|
|
3155
3122
|
*/
|
|
3156
3123
|
Status.InvalidServiceEndpoint = new Status(343);
|
|
3157
3124
|
|
|
3158
3125
|
/**
|
|
3159
|
-
* gossip_ca_certificate is
|
|
3126
|
+
* A transaction failed because the TLS certificate provided for the node is missing or invalid. <p> #### Probable Causes The certificate MUST be a TLS certificate of a type permitted for gossip signatures.<br/> The value presented MUST be a UTF-8 NFKD encoding of the TLS certificate.<br/> The certificate encoded MUST be in PEM format.<br/> The `gossip_ca_certificate` field is REQUIRED and MUST NOT be empty.
|
|
3160
3127
|
*/
|
|
3161
3128
|
Status.InvalidGossipCaCertificate = new Status(344);
|
|
3162
3129
|
|
|
3163
3130
|
/**
|
|
3164
|
-
*
|
|
3131
|
+
* A transaction failed because the hash provided for the gRPC certificate is present but invalid. <p> #### Probable Causes The `grpc_certificate_hash` MUST be a SHA-384 hash.<br/> The input hashed MUST be a UTF-8 NFKD encoding of the actual TLS certificate.<br/> The certificate to be encoded MUST be in PEM format.
|
|
3165
3132
|
*/
|
|
3166
3133
|
Status.InvalidGrpcCertificate = new Status(345);
|
|
3167
3134
|
|
|
3168
3135
|
/**
|
|
3169
|
-
* The maximum automatic associations value is not valid
|
|
3170
|
-
* The most common cause for this error is a value less than `-1`.
|
|
3136
|
+
* The maximum automatic associations value is not valid.<br/> The most common cause for this error is a value less than `-1`.
|
|
3171
3137
|
*/
|
|
3172
3138
|
Status.InvalidMaxAutoAssociations = new Status(346);
|
|
3173
3139
|
|
|
@@ -3202,8 +3168,7 @@ Status.InvalidEndpoint = new Status(351);
|
|
|
3202
3168
|
Status.GossipEndpointsExceededLimit = new Status(352);
|
|
3203
3169
|
|
|
3204
3170
|
/**
|
|
3205
|
-
* The transaction attempted to use duplicate `TokenReference`.<br/>
|
|
3206
|
-
* This affects `TokenReject` attempting to reject same token reference more than once.
|
|
3171
|
+
* The transaction attempted to use duplicate `TokenReference`.<br/> This affects `TokenReject` attempting to reject same token reference more than once.
|
|
3207
3172
|
*/
|
|
3208
3173
|
Status.TokenReferenceRepeated = new Status(353);
|
|
3209
3174
|
|
|
@@ -3222,8 +3187,8 @@ Status.TokenReferenceListSizeLimitExceeded = new Status(355);
|
|
|
3222
3187
|
*/
|
|
3223
3188
|
Status.ServiceEndpointsExceededLimit = new Status(356);
|
|
3224
3189
|
|
|
3225
|
-
|
|
3226
|
-
*
|
|
3190
|
+
/**
|
|
3191
|
+
* invalid ipv4 address
|
|
3227
3192
|
*/
|
|
3228
3193
|
Status.InvalidIpv4Address = new Status(357);
|
|
3229
3194
|
|
|
@@ -3232,79 +3197,63 @@ Status.InvalidIpv4Address = new Status(357);
|
|
|
3232
3197
|
*/
|
|
3233
3198
|
Status.EmptyTokenReferenceList = new Status(358);
|
|
3234
3199
|
|
|
3235
|
-
|
|
3236
|
-
*
|
|
3200
|
+
/**
|
|
3201
|
+
* update node account not allowed
|
|
3237
3202
|
*/
|
|
3238
3203
|
Status.UpdateNodeAccountNotAllowed = new Status(359);
|
|
3239
3204
|
|
|
3240
|
-
|
|
3241
|
-
*
|
|
3205
|
+
/**
|
|
3206
|
+
* token has no metadata or supply key
|
|
3242
3207
|
*/
|
|
3243
3208
|
Status.TokenHasNoMetadataOrSupplyKey = new Status(360);
|
|
3244
3209
|
|
|
3245
3210
|
/**
|
|
3246
|
-
* The
|
|
3211
|
+
* The list of `PendingAirdropId`s is empty and MUST NOT be empty.
|
|
3247
3212
|
*/
|
|
3248
3213
|
Status.EmptyPendingAirdropIdList = new Status(361);
|
|
3249
3214
|
|
|
3250
3215
|
/**
|
|
3251
|
-
*
|
|
3216
|
+
* A `PendingAirdropId` is repeated in a `claim` or `cancel` transaction.
|
|
3252
3217
|
*/
|
|
3253
3218
|
Status.PendingAirdropIdRepeated = new Status(362);
|
|
3254
3219
|
|
|
3255
3220
|
/**
|
|
3256
|
-
* The
|
|
3221
|
+
* The number of `PendingAirdropId` values in the list exceeds the maximum allowable number.
|
|
3257
3222
|
*/
|
|
3258
|
-
Status.
|
|
3223
|
+
Status.PendingAirdropIdListTooLong = new Status(363);
|
|
3259
3224
|
|
|
3260
|
-
|
|
3261
|
-
*
|
|
3225
|
+
/**
|
|
3226
|
+
* pending nft airdrop already exists
|
|
3262
3227
|
*/
|
|
3263
3228
|
Status.PendingNftAirdropAlreadyExists = new Status(364);
|
|
3264
3229
|
|
|
3265
|
-
|
|
3266
|
-
*
|
|
3267
|
-
* and cannot be deleted.<br/>
|
|
3268
|
-
* Requester should cancel all pending airdrops before resending
|
|
3269
|
-
* this transaction.
|
|
3230
|
+
/**
|
|
3231
|
+
* account has pending airdrops
|
|
3270
3232
|
*/
|
|
3271
3233
|
Status.AccountHasPendingAirdrops = new Status(365);
|
|
3272
3234
|
|
|
3273
3235
|
/**
|
|
3274
|
-
* Consensus throttle did not allow execution of this transaction.<br/>
|
|
3275
|
-
* The transaction should be retried after a modest delay.
|
|
3236
|
+
* Consensus throttle did not allow execution of this transaction.<br/> The transaction should be retried after a modest delay.
|
|
3276
3237
|
*/
|
|
3277
3238
|
Status.ThrottledAtConsensus = new Status(366);
|
|
3278
3239
|
|
|
3279
3240
|
/**
|
|
3280
|
-
* The provided pending airdrop id is invalid.<br/>
|
|
3281
|
-
* This pending airdrop MAY already be claimed or cancelled.
|
|
3282
|
-
* <p>
|
|
3283
|
-
* The client SHOULD query a mirror node to determine the current status of
|
|
3284
|
-
* the pending airdrop.
|
|
3241
|
+
* The provided pending airdrop id is invalid.<br/> This pending airdrop MAY already be claimed or cancelled. <p> The client SHOULD query a mirror node to determine the current status of the pending airdrop.
|
|
3285
3242
|
*/
|
|
3286
3243
|
Status.InvalidPendingAirdropId = new Status(367);
|
|
3287
3244
|
|
|
3288
3245
|
/**
|
|
3289
|
-
* The token to be airdropped has a fallback royalty fee and cannot be
|
|
3290
|
-
* sent or claimed via an airdrop transaction.
|
|
3246
|
+
* The token to be airdropped has a fallback royalty fee and cannot be sent or claimed via an airdrop transaction.
|
|
3291
3247
|
*/
|
|
3292
3248
|
Status.TokenAirdropWithFallbackRoyalty = new Status(368);
|
|
3293
3249
|
|
|
3294
3250
|
/**
|
|
3295
|
-
* This airdrop claim is for a pending airdrop with an invalid token.<br/>
|
|
3296
|
-
* The token might be deleted, or the sender may not have enough tokens
|
|
3297
|
-
* to fulfill the offer.
|
|
3298
|
-
* <p>
|
|
3299
|
-
* The client SHOULD query mirror node to determine the status of the pending
|
|
3300
|
-
* airdrop and whether the sender can fulfill the offer.
|
|
3251
|
+
* This airdrop claim is for a pending airdrop with an invalid token.<br/> The token might be deleted, or the sender may not have enough tokens to fulfill the offer. <p> The client SHOULD query mirror node to determine the status of the pending airdrop and whether the sender can fulfill the offer.
|
|
3301
3252
|
*/
|
|
3302
3253
|
Status.InvalidTokenInPendingAirdrop = new Status(369);
|
|
3303
3254
|
|
|
3304
3255
|
/**
|
|
3305
|
-
* A scheduled transaction configured to wait for expiry to execute was given
|
|
3306
|
-
* an expiry time at which there is already too many transactions scheduled to
|
|
3307
|
-
* expire; its creation must be retried with a different expiry.
|
|
3256
|
+
* A scheduled transaction configured to wait for expiry to execute was given an expiry time at which there is already too many transactions scheduled to expire; its creation must be retried with a different expiry.
|
|
3308
3257
|
*/
|
|
3309
3258
|
Status.ScheduleExpiryIsBusy = new Status(370);
|
|
3310
3259
|
|
|
@@ -3314,26 +3263,22 @@ Status.ScheduleExpiryIsBusy = new Status(370);
|
|
|
3314
3263
|
Status.InvalidGrpcCertificateHash = new Status(371);
|
|
3315
3264
|
|
|
3316
3265
|
/**
|
|
3317
|
-
* A scheduled transaction configured to wait for expiry to execute was not
|
|
3318
|
-
* given an explicit expiration time.
|
|
3266
|
+
* A scheduled transaction configured to wait for expiry to execute was not given an explicit expiration time.
|
|
3319
3267
|
*/
|
|
3320
3268
|
Status.MissingExpiryTime = new Status(372);
|
|
3321
3269
|
|
|
3322
3270
|
/**
|
|
3323
|
-
* A contract operation attempted to schedule another transaction after it
|
|
3324
|
-
* had already scheduled a recursive contract call.
|
|
3271
|
+
* A contract operation attempted to schedule another transaction after it had already scheduled a recursive contract call.
|
|
3325
3272
|
*/
|
|
3326
3273
|
Status.NoSchedulingAllowedAfterScheduledRecursion = new Status(373);
|
|
3327
3274
|
|
|
3328
3275
|
/**
|
|
3329
|
-
* A contract can schedule recursive calls a finite number of times (this is
|
|
3330
|
-
* approximately four million times with typical network configuration.)
|
|
3276
|
+
* A contract can schedule recursive calls a finite number of times (this is approximately four million times with typical network configuration.)
|
|
3331
3277
|
*/
|
|
3332
3278
|
Status.RecursiveSchedulingLimitReached = new Status(374);
|
|
3333
3279
|
|
|
3334
3280
|
/**
|
|
3335
|
-
* The target network is waiting for the ledger ID to be set, which is a
|
|
3336
|
-
* side effect of finishing the network's TSS construction.
|
|
3281
|
+
* The target network is waiting for the ledger ID to be set, which is a side effect of finishing the network's TSS construction.
|
|
3337
3282
|
*/
|
|
3338
3283
|
Status.WaitingForLedgerId = new Status(375);
|
|
3339
3284
|
|
|
@@ -3358,20 +3303,17 @@ Status.InvalidKeyInFeeExemptKeyList = new Status(378);
|
|
|
3358
3303
|
Status.InvalidFeeScheduleKey = new Status(379);
|
|
3359
3304
|
|
|
3360
3305
|
/**
|
|
3361
|
-
* If a fee schedule key is not set when we create a topic
|
|
3362
|
-
* we cannot add it on update.
|
|
3306
|
+
* If a fee schedule key is not set when we create a topic we cannot add it on update.
|
|
3363
3307
|
*/
|
|
3364
3308
|
Status.FeeScheduleKeyCannotBeUpdated = new Status(380);
|
|
3365
3309
|
|
|
3366
3310
|
/**
|
|
3367
|
-
* If the topic's custom fees are updated the topic SHOULD have a
|
|
3368
|
-
* fee schedule key
|
|
3311
|
+
* If the topic's custom fees are updated the topic SHOULD have a fee schedule key
|
|
3369
3312
|
*/
|
|
3370
3313
|
Status.FeeScheduleKeyNotSet = new Status(381);
|
|
3371
3314
|
|
|
3372
3315
|
/**
|
|
3373
|
-
* The fee amount is exceeding the amount that the payer
|
|
3374
|
-
* is willing to pay.
|
|
3316
|
+
* The fee amount is exceeding the amount that the payer is willing to pay.
|
|
3375
3317
|
*/
|
|
3376
3318
|
Status.MaxCustomFeeLimitExceeded = new Status(382);
|
|
3377
3319
|
|
|
@@ -3386,14 +3328,12 @@ Status.NoValidMaxCustomFee = new Status(383);
|
|
|
3386
3328
|
Status.InvalidMaxCustomFees = new Status(384);
|
|
3387
3329
|
|
|
3388
3330
|
/**
|
|
3389
|
-
* The provided max custom fee list contains fees with
|
|
3390
|
-
* duplicate denominations.
|
|
3331
|
+
* The provided max custom fee list contains fees with duplicate denominations.
|
|
3391
3332
|
*/
|
|
3392
3333
|
Status.DuplicateDenominationInMaxCustomFeeList = new Status(385);
|
|
3393
3334
|
|
|
3394
3335
|
/**
|
|
3395
|
-
* The provided max custom fee list contains fees with
|
|
3396
|
-
* duplicate account id.
|
|
3336
|
+
* The provided max custom fee list contains fees with duplicate account id.
|
|
3397
3337
|
*/
|
|
3398
3338
|
Status.DuplicateAccountIdInMaxCustomFeeList = new Status(386);
|
|
3399
3339
|
|
|
@@ -3413,8 +3353,7 @@ Status.BatchListEmpty = new Status(388);
|
|
|
3413
3353
|
Status.BatchListContainsDuplicates = new Status(389);
|
|
3414
3354
|
|
|
3415
3355
|
/**
|
|
3416
|
-
* The list of batch transactions contains a transaction type that is
|
|
3417
|
-
* in the AtomicBatch blacklist as configured in the network.
|
|
3356
|
+
* The list of batch transactions contains a transaction type that is in the AtomicBatch blacklist as configured in the network.
|
|
3418
3357
|
*/
|
|
3419
3358
|
Status.BatchTransactionInBlacklist = new Status(390);
|
|
3420
3359
|
|
|
@@ -3439,12 +3378,12 @@ Status.BatchKeySetOnNonInnerTransaction = new Status(393);
|
|
|
3439
3378
|
Status.InvalidBatchKey = new Status(394);
|
|
3440
3379
|
|
|
3441
3380
|
/**
|
|
3442
|
-
* The schedule expiry is not configurable
|
|
3381
|
+
* The provided schedule expiry time is not configurable.
|
|
3443
3382
|
*/
|
|
3444
3383
|
Status.ScheduleExpiryNotConfigurable = new Status(395);
|
|
3445
3384
|
|
|
3446
3385
|
/**
|
|
3447
|
-
*
|
|
3386
|
+
* The network just started at genesis and is creating system entities.
|
|
3448
3387
|
*/
|
|
3449
3388
|
Status.CreatingSystemEntities = new Status(396);
|
|
3450
3389
|
|
|
@@ -3469,146 +3408,156 @@ Status.GrpcWebProxyNotSupported = new Status(399);
|
|
|
3469
3408
|
Status.NftTransfersOnlyAllowedForNonFungibleUnique = new Status(400);
|
|
3470
3409
|
|
|
3471
3410
|
/**
|
|
3472
|
-
*
|
|
3411
|
+
* A HAPI client cannot set the SignedTransaction#use_serialized_tx_message_hash_algorithm field.
|
|
3473
3412
|
*/
|
|
3474
3413
|
Status.InvalidSerializedTxMessageHashAlgorithm = new Status(401);
|
|
3475
3414
|
|
|
3476
3415
|
/**
|
|
3477
|
-
*
|
|
3416
|
+
* A HookStore referenced a valid entity number but with the wrong entity type.
|
|
3478
3417
|
*/
|
|
3479
3418
|
Status.WrongHookEntityType = new Status(499);
|
|
3480
3419
|
|
|
3481
3420
|
/**
|
|
3482
|
-
*
|
|
3421
|
+
* An EVM hook execution was throttled due to high network gas utilization.
|
|
3483
3422
|
*/
|
|
3484
3423
|
Status.EvmHookGasThrottled = new Status(500);
|
|
3485
3424
|
|
|
3486
3425
|
/**
|
|
3487
|
-
* hook id in use
|
|
3426
|
+
* A user tried to create a hook with an id already in use.
|
|
3488
3427
|
*/
|
|
3489
3428
|
Status.HookIdInUse = new Status(501);
|
|
3490
3429
|
|
|
3491
3430
|
/**
|
|
3492
|
-
*
|
|
3431
|
+
* A transaction tried to execute a hook that did not match the specified type or was malformed in some other way.
|
|
3493
3432
|
*/
|
|
3494
3433
|
Status.BadHookRequest = new Status(502);
|
|
3495
3434
|
|
|
3496
3435
|
/**
|
|
3497
|
-
*
|
|
3436
|
+
* A CryptoTransfer relying on a ACCOUNT_ALLOWANCE hook was rejected.
|
|
3498
3437
|
*/
|
|
3499
3438
|
Status.RejectedByAccountAllowanceHook = new Status(503);
|
|
3500
3439
|
|
|
3501
3440
|
/**
|
|
3502
|
-
* hook not found
|
|
3441
|
+
* A hook id was not found.
|
|
3503
3442
|
*/
|
|
3504
3443
|
Status.HookNotFound = new Status(504);
|
|
3505
3444
|
|
|
3506
3445
|
/**
|
|
3507
|
-
*
|
|
3446
|
+
* An EVM hook mapping slot, storage key, or storage value exceeded 32 bytes.
|
|
3508
3447
|
*/
|
|
3509
|
-
Status.
|
|
3448
|
+
Status.EvmHookStorageUpdateBytesTooLong = new Status(505);
|
|
3510
3449
|
|
|
3511
3450
|
/**
|
|
3512
|
-
*
|
|
3451
|
+
* An EVM hook's mapping slot, storage key, or storage value failed to use the minimal representation (i.e., no leading zeros).
|
|
3513
3452
|
*/
|
|
3514
|
-
Status.
|
|
3453
|
+
Status.EvmHookStorageUpdateBytesMustUseMinimalRepresentation = new Status(506);
|
|
3515
3454
|
|
|
3516
3455
|
/**
|
|
3517
|
-
*
|
|
3456
|
+
* A hook id was invalid.
|
|
3518
3457
|
*/
|
|
3519
3458
|
Status.InvalidHookId = new Status(507);
|
|
3520
3459
|
|
|
3521
3460
|
/**
|
|
3522
|
-
*
|
|
3461
|
+
* An EVM hook storage update had no contents.
|
|
3523
3462
|
*/
|
|
3524
|
-
Status.
|
|
3463
|
+
Status.EmptyEvmHookStorageUpdate = new Status(508);
|
|
3525
3464
|
|
|
3526
3465
|
/**
|
|
3527
|
-
* hook id
|
|
3466
|
+
* A user repeated the same hook id in a creation details list.
|
|
3528
3467
|
*/
|
|
3529
3468
|
Status.HookIdRepeatedInCreationDetails = new Status(509);
|
|
3530
3469
|
|
|
3531
3470
|
/**
|
|
3532
|
-
*
|
|
3471
|
+
* Hooks are not not enabled on the target Hiero network.
|
|
3533
3472
|
*/
|
|
3534
3473
|
Status.HooksNotEnabled = new Status(510);
|
|
3535
3474
|
|
|
3536
3475
|
/**
|
|
3537
|
-
* hook is not
|
|
3476
|
+
* The target hook is not an EVM hook.
|
|
3538
3477
|
*/
|
|
3539
|
-
Status.
|
|
3478
|
+
Status.HookIsNotAnEvmHook = new Status(511);
|
|
3540
3479
|
|
|
3541
3480
|
/**
|
|
3542
|
-
* hook deleted
|
|
3481
|
+
* A hook was deleted.
|
|
3543
3482
|
*/
|
|
3544
3483
|
Status.HookDeleted = new Status(512);
|
|
3545
3484
|
|
|
3546
3485
|
/**
|
|
3547
|
-
* too many
|
|
3486
|
+
* The HookStore tried to update too many storage slots in a single transaction.
|
|
3548
3487
|
*/
|
|
3549
|
-
Status.
|
|
3488
|
+
Status.TooManyEvmHookStorageUpdates = new Status(513);
|
|
3550
3489
|
|
|
3551
3490
|
/**
|
|
3552
|
-
* hook
|
|
3491
|
+
* An EVM hook mapping slot, storage key, or storage value failed to use the minimal representation (i.e., no leading zeros).
|
|
3553
3492
|
*/
|
|
3554
3493
|
Status.HookCreationBytesMustUseMinimalRepresentation = new Status(514);
|
|
3555
3494
|
|
|
3556
3495
|
/**
|
|
3557
|
-
* hook
|
|
3496
|
+
* A EVM hook mapping slot, storage key, or storage value exceeded 32 bytes.
|
|
3558
3497
|
*/
|
|
3559
3498
|
Status.HookCreationBytesTooLong = new Status(515);
|
|
3560
3499
|
|
|
3561
3500
|
/**
|
|
3562
|
-
*
|
|
3501
|
+
* A hook creation spec was not found.
|
|
3563
3502
|
*/
|
|
3564
3503
|
Status.InvalidHookCreationSpec = new Status(516);
|
|
3565
3504
|
|
|
3566
3505
|
/**
|
|
3567
|
-
* hook extension empty
|
|
3506
|
+
* A hook extension point was empty.
|
|
3568
3507
|
*/
|
|
3569
3508
|
Status.HookExtensionEmpty = new Status(517);
|
|
3570
3509
|
|
|
3571
3510
|
/**
|
|
3572
|
-
*
|
|
3511
|
+
* A hook admin key was invalid.
|
|
3573
3512
|
*/
|
|
3574
3513
|
Status.InvalidHookAdminKey = new Status(518);
|
|
3575
3514
|
|
|
3576
3515
|
/**
|
|
3577
|
-
* hook deletion requires zero storage slots
|
|
3516
|
+
* The hook deletion requires the hook to have zero storage slots.
|
|
3578
3517
|
*/
|
|
3579
3518
|
Status.HookDeletionRequiresZeroStorageSlots = new Status(519);
|
|
3580
3519
|
|
|
3581
3520
|
/**
|
|
3582
|
-
*
|
|
3521
|
+
* Cannot set both a hook call and an approval on the same AccountAmount or NftTransfer message.
|
|
3583
3522
|
*/
|
|
3584
3523
|
Status.CannotSetHooksAndApproval = new Status(520);
|
|
3585
3524
|
|
|
3586
3525
|
/**
|
|
3587
|
-
*
|
|
3526
|
+
* The attempted operation is invalid until all the target entity's hooks have been deleted.
|
|
3588
3527
|
*/
|
|
3589
3528
|
Status.TransactionRequiresZeroHooks = new Status(521);
|
|
3590
3529
|
|
|
3591
3530
|
/**
|
|
3592
|
-
*
|
|
3531
|
+
* The HookCall set in the transaction is invalid
|
|
3593
3532
|
*/
|
|
3594
3533
|
Status.InvalidHookCall = new Status(522);
|
|
3595
3534
|
|
|
3596
3535
|
/**
|
|
3597
|
-
*
|
|
3536
|
+
* Hooks are not supported to be used in TokenAirdrop transactions
|
|
3598
3537
|
*/
|
|
3599
3538
|
Status.HooksAreNotSupportedInAirdrops = new Status(523);
|
|
3600
3539
|
|
|
3601
3540
|
/**
|
|
3602
|
-
* account is
|
|
3541
|
+
* This operation cannot be completed because the target account is a "Node Account".<br/> This account is currently in use as the "Node Account" for a consensus node, and therefore the requested change is not permitted. The transaction may be resubmitted once the account is no longer in use as a "Node Account" for any consensus node.
|
|
3603
3542
|
*/
|
|
3604
3543
|
Status.AccountIsLinkedToANode = new Status(524);
|
|
3605
3544
|
|
|
3606
3545
|
/**
|
|
3607
|
-
*
|
|
3546
|
+
* Hooks are not supported to be used in Batch transactions and Scheduled transactions. They are only supported in a top level CryptoTransfer transaction.
|
|
3608
3547
|
*/
|
|
3609
3548
|
Status.HooksExecutionsRequireTopLevelCryptoTransfer = new Status(525);
|
|
3610
3549
|
|
|
3611
3550
|
/**
|
|
3612
|
-
*
|
|
3551
|
+
* This operation cannot be completed because the target account has a zero balance.<br/> Node accounts require a positive balance. The transaction may be resubmitted once the account has been funded.
|
|
3613
3552
|
*/
|
|
3614
3553
|
Status.NodeAccountHasZeroBalance = new Status(526);
|
|
3554
|
+
|
|
3555
|
+
/**
|
|
3556
|
+
* This operation cannot be completed because the target account is a "Fee Collection Account".<br/> Any attempt to transfer to a fee collection account is not permitted.
|
|
3557
|
+
*/
|
|
3558
|
+
Status.TransferToFeeCollectionAccountNotAllowed = new Status(527);
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* The number of hook invocations exceeds the maximum allowed per transaction.
|
|
3562
|
+
*/
|
|
3563
|
+
Status.TooManyHookInvocations = new Status(528);
|