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