@hiero-ledger/sdk 2.70.0
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/LICENSE +190 -0
- package/README.md +167 -0
- package/dist/umd.js +98781 -0
- package/dist/umd.min.js +122 -0
- package/lib/BadEntityIdError.cjs +27 -0
- package/lib/BadEntityIdError.d.ts +15 -0
- package/lib/BadEntityIdError.js +2 -0
- package/lib/BadEntityIdError.js.map +1 -0
- package/lib/Cache.cjs +376 -0
- package/lib/Cache.d.ts +228 -0
- package/lib/Cache.js +2 -0
- package/lib/Cache.js.map +1 -0
- package/lib/Duration.cjs +53 -0
- package/lib/Duration.d.ts +37 -0
- package/lib/Duration.js +2 -0
- package/lib/Duration.js.map +1 -0
- package/lib/EntityIdHelper.cjs +547 -0
- package/lib/EntityIdHelper.d.ts +203 -0
- package/lib/EntityIdHelper.js +2 -0
- package/lib/EntityIdHelper.js.map +1 -0
- package/lib/EthereumFlow.cjs +207 -0
- package/lib/EthereumFlow.d.ts +134 -0
- package/lib/EthereumFlow.js +2 -0
- package/lib/EthereumFlow.js.map +1 -0
- package/lib/EthereumTransaction.cjs +260 -0
- package/lib/EthereumTransaction.d.ts +161 -0
- package/lib/EthereumTransaction.js +2 -0
- package/lib/EthereumTransaction.js.map +1 -0
- package/lib/EthereumTransactionData.cjs +66 -0
- package/lib/EthereumTransactionData.d.ts +33 -0
- package/lib/EthereumTransactionData.js +2 -0
- package/lib/EthereumTransactionData.js.map +1 -0
- package/lib/EthereumTransactionDataEip1559.cjs +134 -0
- package/lib/EthereumTransactionDataEip1559.d.ts +64 -0
- package/lib/EthereumTransactionDataEip1559.js +2 -0
- package/lib/EthereumTransactionDataEip1559.js.map +1 -0
- package/lib/EthereumTransactionDataEip2930.cjs +129 -0
- package/lib/EthereumTransactionDataEip2930.d.ts +60 -0
- package/lib/EthereumTransactionDataEip2930.js +2 -0
- package/lib/EthereumTransactionDataEip2930.js.map +1 -0
- package/lib/EthereumTransactionDataLegacy.cjs +112 -0
- package/lib/EthereumTransactionDataLegacy.d.ts +52 -0
- package/lib/EthereumTransactionDataLegacy.js +2 -0
- package/lib/EthereumTransactionDataLegacy.js.map +1 -0
- package/lib/EvmAddress.cjs +84 -0
- package/lib/EvmAddress.d.ts +47 -0
- package/lib/EvmAddress.js +2 -0
- package/lib/EvmAddress.js.map +1 -0
- package/lib/ExchangeRate.cjs +113 -0
- package/lib/ExchangeRate.d.ts +75 -0
- package/lib/ExchangeRate.js +2 -0
- package/lib/ExchangeRate.js.map +1 -0
- package/lib/ExchangeRates.cjs +75 -0
- package/lib/ExchangeRates.d.ts +39 -0
- package/lib/ExchangeRates.js +2 -0
- package/lib/ExchangeRates.js.map +1 -0
- package/lib/Executable.cjs +760 -0
- package/lib/Executable.d.ts +365 -0
- package/lib/Executable.js +2 -0
- package/lib/Executable.js.map +1 -0
- package/lib/FeeComponents.cjs +170 -0
- package/lib/FeeComponents.d.ts +66 -0
- package/lib/FeeComponents.js +2 -0
- package/lib/FeeComponents.js.map +1 -0
- package/lib/FeeData.cjs +111 -0
- package/lib/FeeData.d.ts +58 -0
- package/lib/FeeData.js +2 -0
- package/lib/FeeData.js.map +1 -0
- package/lib/FeeDataType.cjs +128 -0
- package/lib/FeeDataType.d.ts +44 -0
- package/lib/FeeDataType.js +2 -0
- package/lib/FeeDataType.js.map +1 -0
- package/lib/FeeSchedule.cjs +79 -0
- package/lib/FeeSchedule.d.ts +40 -0
- package/lib/FeeSchedule.js +2 -0
- package/lib/FeeSchedule.js.map +1 -0
- package/lib/FeeSchedules.cjs +79 -0
- package/lib/FeeSchedules.d.ts +40 -0
- package/lib/FeeSchedules.js +2 -0
- package/lib/FeeSchedules.js.map +1 -0
- package/lib/FreezeType.cjs +117 -0
- package/lib/FreezeType.d.ts +42 -0
- package/lib/FreezeType.js +2 -0
- package/lib/FreezeType.js.map +1 -0
- package/lib/Hbar.cjs +139 -0
- package/lib/Hbar.d.ts +62 -0
- package/lib/Hbar.js +2 -0
- package/lib/Hbar.js.map +1 -0
- package/lib/HbarUnit.cjs +77 -0
- package/lib/HbarUnit.d.ts +46 -0
- package/lib/HbarUnit.js +2 -0
- package/lib/HbarUnit.js.map +1 -0
- package/lib/Key.cjs +62 -0
- package/lib/Key.d.ts +23 -0
- package/lib/Key.js +2 -0
- package/lib/Key.js.map +1 -0
- package/lib/KeyList.cjs +181 -0
- package/lib/KeyList.d.ts +87 -0
- package/lib/KeyList.js +2 -0
- package/lib/KeyList.js.map +1 -0
- package/lib/LedgerId.cjs +137 -0
- package/lib/LedgerId.d.ts +64 -0
- package/lib/LedgerId.js +2 -0
- package/lib/LedgerId.js.map +1 -0
- package/lib/LocalProvider.cjs +159 -0
- package/lib/LocalProvider.d.ts +120 -0
- package/lib/LocalProvider.js +2 -0
- package/lib/LocalProvider.js.map +1 -0
- package/lib/ManagedNode.cjs +245 -0
- package/lib/ManagedNode.d.ts +127 -0
- package/lib/ManagedNode.js +2 -0
- package/lib/ManagedNode.js.map +1 -0
- package/lib/ManagedNodeAddress.cjs +104 -0
- package/lib/ManagedNodeAddress.d.ts +51 -0
- package/lib/ManagedNodeAddress.js +2 -0
- package/lib/ManagedNodeAddress.js.map +1 -0
- package/lib/MaxAttemptsOrTimeoutError.cjs +48 -0
- package/lib/MaxAttemptsOrTimeoutError.d.ts +26 -0
- package/lib/MaxAttemptsOrTimeoutError.js +2 -0
- package/lib/MaxAttemptsOrTimeoutError.js.map +1 -0
- package/lib/MaxQueryPaymentExceeded.cjs +34 -0
- package/lib/MaxQueryPaymentExceeded.d.ts +21 -0
- package/lib/MaxQueryPaymentExceeded.js +2 -0
- package/lib/MaxQueryPaymentExceeded.js.map +1 -0
- package/lib/MirrorNode.cjs +48 -0
- package/lib/MirrorNode.d.ts +39 -0
- package/lib/MirrorNode.js +2 -0
- package/lib/MirrorNode.js.map +1 -0
- package/lib/Mnemonic.cjs +232 -0
- package/lib/Mnemonic.d.ts +145 -0
- package/lib/Mnemonic.js +2 -0
- package/lib/Mnemonic.js.map +1 -0
- package/lib/Node.cjs +114 -0
- package/lib/Node.d.ts +72 -0
- package/lib/Node.js +2 -0
- package/lib/Node.js.map +1 -0
- package/lib/ObjectMap.cjs +137 -0
- package/lib/ObjectMap.d.ts +88 -0
- package/lib/ObjectMap.js +2 -0
- package/lib/ObjectMap.js.map +1 -0
- package/lib/PrecheckStatusError.cjs +77 -0
- package/lib/PrecheckStatusError.d.ts +68 -0
- package/lib/PrecheckStatusError.js +2 -0
- package/lib/PrecheckStatusError.js.map +1 -0
- package/lib/PrivateKey.cjs +529 -0
- package/lib/PrivateKey.d.ts +312 -0
- package/lib/PrivateKey.js +2 -0
- package/lib/PrivateKey.js.map +1 -0
- package/lib/PrngTransaction.cjs +136 -0
- package/lib/PrngTransaction.d.ts +74 -0
- package/lib/PrngTransaction.js +2 -0
- package/lib/PrngTransaction.js.map +1 -0
- package/lib/Provider.cjs +41 -0
- package/lib/Provider.d.ts +32 -0
- package/lib/Provider.js +2 -0
- package/lib/Provider.js.map +1 -0
- package/lib/PublicKey.cjs +285 -0
- package/lib/PublicKey.d.ts +142 -0
- package/lib/PublicKey.js +2 -0
- package/lib/PublicKey.js.map +1 -0
- package/lib/ReceiptStatusError.cjs +45 -0
- package/lib/ReceiptStatusError.d.ts +38 -0
- package/lib/ReceiptStatusError.js +2 -0
- package/lib/ReceiptStatusError.js.map +1 -0
- package/lib/RecordStatusError.cjs +34 -0
- package/lib/RecordStatusError.d.ts +27 -0
- package/lib/RecordStatusError.js +2 -0
- package/lib/RecordStatusError.js.map +1 -0
- package/lib/RequestType.cjs +922 -0
- package/lib/RequestType.d.ts +131 -0
- package/lib/RequestType.js +2 -0
- package/lib/RequestType.js.map +1 -0
- package/lib/Signer.cjs +47 -0
- package/lib/Signer.d.ts +38 -0
- package/lib/Signer.js +2 -0
- package/lib/Signer.js.map +1 -0
- package/lib/SignerSignature.cjs +34 -0
- package/lib/SignerSignature.d.ts +29 -0
- package/lib/SignerSignature.js +2 -0
- package/lib/SignerSignature.js.map +1 -0
- package/lib/StakingInfo.cjs +160 -0
- package/lib/StakingInfo.d.ts +109 -0
- package/lib/StakingInfo.js +2 -0
- package/lib/StakingInfo.js.map +1 -0
- package/lib/Status.cjs +3353 -0
- package/lib/Status.d.ts +395 -0
- package/lib/Status.js +2 -0
- package/lib/Status.js.map +1 -0
- package/lib/StatusError.cjs +66 -0
- package/lib/StatusError.d.ts +41 -0
- package/lib/StatusError.js +2 -0
- package/lib/StatusError.js.map +1 -0
- package/lib/Timestamp.cjs +144 -0
- package/lib/Timestamp.d.ts +69 -0
- package/lib/Timestamp.js +2 -0
- package/lib/Timestamp.js.map +1 -0
- package/lib/TransactionFeeSchedule.cjs +85 -0
- package/lib/TransactionFeeSchedule.d.ts +39 -0
- package/lib/TransactionFeeSchedule.js +2 -0
- package/lib/TransactionFeeSchedule.js.map +1 -0
- package/lib/Transfer.cjs +104 -0
- package/lib/Transfer.d.ts +77 -0
- package/lib/Transfer.js +2 -0
- package/lib/Transfer.js.map +1 -0
- package/lib/Wallet.cjs +253 -0
- package/lib/Wallet.d.ts +147 -0
- package/lib/Wallet.js +2 -0
- package/lib/Wallet.js.map +1 -0
- package/lib/account/AccountAllowanceAdjustTransaction.cjs +366 -0
- package/lib/account/AccountAllowanceAdjustTransaction.d.ts +208 -0
- package/lib/account/AccountAllowanceAdjustTransaction.js +2 -0
- package/lib/account/AccountAllowanceAdjustTransaction.js.map +1 -0
- package/lib/account/AccountAllowanceApproveTransaction.cjs +353 -0
- package/lib/account/AccountAllowanceApproveTransaction.d.ts +194 -0
- package/lib/account/AccountAllowanceApproveTransaction.js +2 -0
- package/lib/account/AccountAllowanceApproveTransaction.js.map +1 -0
- package/lib/account/AccountAllowanceDeleteTransaction.cjs +166 -0
- package/lib/account/AccountAllowanceDeleteTransaction.d.ts +90 -0
- package/lib/account/AccountAllowanceDeleteTransaction.js +2 -0
- package/lib/account/AccountAllowanceDeleteTransaction.js.map +1 -0
- package/lib/account/AccountBalance.cjs +145 -0
- package/lib/account/AccountBalance.d.ts +72 -0
- package/lib/account/AccountBalance.js +2 -0
- package/lib/account/AccountBalance.js.map +1 -0
- package/lib/account/AccountBalanceQuery.cjs +210 -0
- package/lib/account/AccountBalanceQuery.d.ts +92 -0
- package/lib/account/AccountBalanceQuery.js +2 -0
- package/lib/account/AccountBalanceQuery.js.map +1 -0
- package/lib/account/AccountCreateTransaction.cjs +566 -0
- package/lib/account/AccountCreateTransaction.d.ts +309 -0
- package/lib/account/AccountCreateTransaction.js +2 -0
- package/lib/account/AccountCreateTransaction.js.map +1 -0
- package/lib/account/AccountDeleteTransaction.cjs +181 -0
- package/lib/account/AccountDeleteTransaction.d.ts +97 -0
- package/lib/account/AccountDeleteTransaction.js +2 -0
- package/lib/account/AccountDeleteTransaction.js.map +1 -0
- package/lib/account/AccountId.cjs +400 -0
- package/lib/account/AccountId.d.ts +149 -0
- package/lib/account/AccountId.js +2 -0
- package/lib/account/AccountId.js.map +1 -0
- package/lib/account/AccountInfo.cjs +356 -0
- package/lib/account/AccountInfo.d.ts +234 -0
- package/lib/account/AccountInfo.js +2 -0
- package/lib/account/AccountInfo.js.map +1 -0
- package/lib/account/AccountInfoFlow.cjs +88 -0
- package/lib/account/AccountInfoFlow.d.ts +53 -0
- package/lib/account/AccountInfoFlow.js +2 -0
- package/lib/account/AccountInfoFlow.js.map +1 -0
- package/lib/account/AccountInfoQuery.cjs +170 -0
- package/lib/account/AccountInfoQuery.d.ts +67 -0
- package/lib/account/AccountInfoQuery.js +2 -0
- package/lib/account/AccountInfoQuery.js.map +1 -0
- package/lib/account/AccountRecordsQuery.cjs +163 -0
- package/lib/account/AccountRecordsQuery.d.ts +67 -0
- package/lib/account/AccountRecordsQuery.js +2 -0
- package/lib/account/AccountRecordsQuery.js.map +1 -0
- package/lib/account/AccountUpdateTransaction.cjs +503 -0
- package/lib/account/AccountUpdateTransaction.d.ts +271 -0
- package/lib/account/AccountUpdateTransaction.js +2 -0
- package/lib/account/AccountUpdateTransaction.js.map +1 -0
- package/lib/account/HbarAllowance.cjs +126 -0
- package/lib/account/HbarAllowance.d.ts +85 -0
- package/lib/account/HbarAllowance.js +2 -0
- package/lib/account/HbarAllowance.js.map +1 -0
- package/lib/account/HbarTransferMap.cjs +45 -0
- package/lib/account/HbarTransferMap.d.ts +31 -0
- package/lib/account/HbarTransferMap.js +2 -0
- package/lib/account/HbarTransferMap.js.map +1 -0
- package/lib/account/LiveHash.cjs +76 -0
- package/lib/account/LiveHash.d.ts +49 -0
- package/lib/account/LiveHash.js +2 -0
- package/lib/account/LiveHash.js.map +1 -0
- package/lib/account/LiveHashAddTransaction.cjs +238 -0
- package/lib/account/LiveHashAddTransaction.d.ts +125 -0
- package/lib/account/LiveHashAddTransaction.js +2 -0
- package/lib/account/LiveHashAddTransaction.js.map +1 -0
- package/lib/account/LiveHashDeleteTransaction.cjs +170 -0
- package/lib/account/LiveHashDeleteTransaction.d.ts +88 -0
- package/lib/account/LiveHashDeleteTransaction.js +2 -0
- package/lib/account/LiveHashDeleteTransaction.js.map +1 -0
- package/lib/account/LiveHashQuery.cjs +188 -0
- package/lib/account/LiveHashQuery.d.ts +91 -0
- package/lib/account/LiveHashQuery.js +2 -0
- package/lib/account/LiveHashQuery.js.map +1 -0
- package/lib/account/NullableTokenDecimalMap.cjs +26 -0
- package/lib/account/NullableTokenDecimalMap.d.ts +19 -0
- package/lib/account/NullableTokenDecimalMap.js +2 -0
- package/lib/account/NullableTokenDecimalMap.js.map +1 -0
- package/lib/account/ProxyStaker.cjs +73 -0
- package/lib/account/ProxyStaker.d.ts +53 -0
- package/lib/account/ProxyStaker.js +2 -0
- package/lib/account/ProxyStaker.js.map +1 -0
- package/lib/account/TokenAllowance.cjs +130 -0
- package/lib/account/TokenAllowance.d.ts +93 -0
- package/lib/account/TokenAllowance.js +2 -0
- package/lib/account/TokenAllowance.js.map +1 -0
- package/lib/account/TokenBalanceMap.cjs +30 -0
- package/lib/account/TokenBalanceMap.d.ts +23 -0
- package/lib/account/TokenBalanceMap.js +2 -0
- package/lib/account/TokenBalanceMap.js.map +1 -0
- package/lib/account/TokenDecimalMap.cjs +26 -0
- package/lib/account/TokenDecimalMap.d.ts +19 -0
- package/lib/account/TokenDecimalMap.js +2 -0
- package/lib/account/TokenDecimalMap.js.map +1 -0
- package/lib/account/TokenNftAllowance.cjs +168 -0
- package/lib/account/TokenNftAllowance.d.ts +110 -0
- package/lib/account/TokenNftAllowance.js +2 -0
- package/lib/account/TokenNftAllowance.js.map +1 -0
- package/lib/account/TokenNftTransferMap.cjs +116 -0
- package/lib/account/TokenNftTransferMap.d.ts +55 -0
- package/lib/account/TokenNftTransferMap.js +2 -0
- package/lib/account/TokenNftTransferMap.js.map +1 -0
- package/lib/account/TokenRelationship.cjs +113 -0
- package/lib/account/TokenRelationship.d.ts +87 -0
- package/lib/account/TokenRelationship.js +2 -0
- package/lib/account/TokenRelationship.js.map +1 -0
- package/lib/account/TokenRelationshipMap.cjs +57 -0
- package/lib/account/TokenRelationshipMap.d.ts +33 -0
- package/lib/account/TokenRelationshipMap.js +2 -0
- package/lib/account/TokenRelationshipMap.js.map +1 -0
- package/lib/account/TokenTransferAccountMap.cjs +28 -0
- package/lib/account/TokenTransferAccountMap.d.ts +8 -0
- package/lib/account/TokenTransferAccountMap.js +2 -0
- package/lib/account/TokenTransferAccountMap.js.map +1 -0
- package/lib/account/TokenTransferMap.cjs +86 -0
- package/lib/account/TokenTransferMap.d.ts +41 -0
- package/lib/account/TokenTransferMap.js +2 -0
- package/lib/account/TokenTransferMap.js.map +1 -0
- package/lib/account/TransferTransaction.cjs +303 -0
- package/lib/account/TransferTransaction.d.ts +173 -0
- package/lib/account/TransferTransaction.js +2 -0
- package/lib/account/TransferTransaction.js.map +1 -0
- package/lib/address_book/AddressBooks.cjs +17 -0
- package/lib/address_book/AddressBooks.d.ts +4 -0
- package/lib/address_book/AddressBooks.js +2 -0
- package/lib/address_book/AddressBooks.js.map +1 -0
- package/lib/address_book/Endpoint.cjs +140 -0
- package/lib/address_book/Endpoint.d.ts +79 -0
- package/lib/address_book/Endpoint.js +2 -0
- package/lib/address_book/Endpoint.js.map +1 -0
- package/lib/address_book/IPv4Address.cjs +116 -0
- package/lib/address_book/IPv4Address.d.ts +59 -0
- package/lib/address_book/IPv4Address.js +2 -0
- package/lib/address_book/IPv4Address.js.map +1 -0
- package/lib/address_book/IPv4AddressPart.cjs +76 -0
- package/lib/address_book/IPv4AddressPart.d.ts +41 -0
- package/lib/address_book/IPv4AddressPart.js +2 -0
- package/lib/address_book/IPv4AddressPart.js.map +1 -0
- package/lib/address_book/NodeAddress.cjs +287 -0
- package/lib/address_book/NodeAddress.d.ts +170 -0
- package/lib/address_book/NodeAddress.js +2 -0
- package/lib/address_book/NodeAddress.js.map +1 -0
- package/lib/address_book/NodeAddressBook.cjs +108 -0
- package/lib/address_book/NodeAddressBook.d.ts +66 -0
- package/lib/address_book/NodeAddressBook.js +2 -0
- package/lib/address_book/NodeAddressBook.js.map +1 -0
- package/lib/array.cjs +51 -0
- package/lib/array.d.ts +14 -0
- package/lib/array.js +2 -0
- package/lib/array.js.map +1 -0
- package/lib/base32.cjs +38 -0
- package/lib/base32.d.ts +18 -0
- package/lib/base32.js +2 -0
- package/lib/base32.js.map +1 -0
- package/lib/browser.cjs +36 -0
- package/lib/browser.d.ts +3 -0
- package/lib/browser.js +2 -0
- package/lib/browser.js.map +1 -0
- package/lib/channel/Channel.cjs +293 -0
- package/lib/channel/Channel.d.ts +121 -0
- package/lib/channel/Channel.js +2 -0
- package/lib/channel/Channel.js.map +1 -0
- package/lib/channel/MirrorChannel.cjs +55 -0
- package/lib/channel/MirrorChannel.d.ts +32 -0
- package/lib/channel/MirrorChannel.js +2 -0
- package/lib/channel/MirrorChannel.js.map +1 -0
- package/lib/channel/NativeChannel.cjs +97 -0
- package/lib/channel/NativeChannel.d.ts +12 -0
- package/lib/channel/NativeChannel.js +2 -0
- package/lib/channel/NativeChannel.js.map +1 -0
- package/lib/channel/NodeChannel.cjs +173 -0
- package/lib/channel/NodeChannel.d.ts +41 -0
- package/lib/channel/NodeChannel.js +2 -0
- package/lib/channel/NodeChannel.js.map +1 -0
- package/lib/channel/NodeMirrorChannel.cjs +78 -0
- package/lib/channel/NodeMirrorChannel.d.ts +22 -0
- package/lib/channel/NodeMirrorChannel.js +2 -0
- package/lib/channel/NodeMirrorChannel.js.map +1 -0
- package/lib/channel/WebChannel.cjs +90 -0
- package/lib/channel/WebChannel.d.ts +12 -0
- package/lib/channel/WebChannel.js +2 -0
- package/lib/channel/WebChannel.js.map +1 -0
- package/lib/client/Client.cjs +818 -0
- package/lib/client/Client.d.ts +487 -0
- package/lib/client/Client.js +2 -0
- package/lib/client/Client.js.map +1 -0
- package/lib/client/ManagedNetwork.cjs +427 -0
- package/lib/client/ManagedNetwork.d.ts +175 -0
- package/lib/client/ManagedNetwork.js +2 -0
- package/lib/client/ManagedNetwork.js.map +1 -0
- package/lib/client/MirrorNetwork.cjs +89 -0
- package/lib/client/MirrorNetwork.d.ts +27 -0
- package/lib/client/MirrorNetwork.js +2 -0
- package/lib/client/MirrorNetwork.js.map +1 -0
- package/lib/client/NativeClient.cjs +210 -0
- package/lib/client/NativeClient.d.ts +72 -0
- package/lib/client/NativeClient.js +2 -0
- package/lib/client/NativeClient.js.map +1 -0
- package/lib/client/Network.cjs +257 -0
- package/lib/client/Network.d.ts +90 -0
- package/lib/client/Network.js +2 -0
- package/lib/client/Network.js.map +1 -0
- package/lib/client/NodeClient.cjs +316 -0
- package/lib/client/NodeClient.d.ts +129 -0
- package/lib/client/NodeClient.js +2 -0
- package/lib/client/NodeClient.js.map +1 -0
- package/lib/client/WebClient.cjs +280 -0
- package/lib/client/WebClient.d.ts +90 -0
- package/lib/client/WebClient.js +2 -0
- package/lib/client/WebClient.js.map +1 -0
- package/lib/client/addressbooks/mainnet.cjs +7 -0
- package/lib/client/addressbooks/mainnet.d.ts +1 -0
- package/lib/client/addressbooks/mainnet.js +2 -0
- package/lib/client/addressbooks/mainnet.js.map +1 -0
- package/lib/client/addressbooks/previewnet.cjs +7 -0
- package/lib/client/addressbooks/previewnet.d.ts +1 -0
- package/lib/client/addressbooks/previewnet.js +2 -0
- package/lib/client/addressbooks/previewnet.js.map +1 -0
- package/lib/client/addressbooks/testnet.cjs +7 -0
- package/lib/client/addressbooks/testnet.d.ts +1 -0
- package/lib/client/addressbooks/testnet.js +2 -0
- package/lib/client/addressbooks/testnet.js.map +1 -0
- package/lib/constants/ClientConstants.cjs +201 -0
- package/lib/constants/ClientConstants.d.ts +74 -0
- package/lib/constants/ClientConstants.js +2 -0
- package/lib/constants/ClientConstants.js.map +1 -0
- package/lib/contract/ContractByteCodeQuery.cjs +158 -0
- package/lib/contract/ContractByteCodeQuery.d.ts +76 -0
- package/lib/contract/ContractByteCodeQuery.js +2 -0
- package/lib/contract/ContractByteCodeQuery.js.map +1 -0
- package/lib/contract/ContractCallQuery.cjs +338 -0
- package/lib/contract/ContractCallQuery.d.ts +141 -0
- package/lib/contract/ContractCallQuery.js +2 -0
- package/lib/contract/ContractCallQuery.js.map +1 -0
- package/lib/contract/ContractCreateFlow.cjs +452 -0
- package/lib/contract/ContractCreateFlow.d.ts +243 -0
- package/lib/contract/ContractCreateFlow.js +2 -0
- package/lib/contract/ContractCreateFlow.js.map +1 -0
- package/lib/contract/ContractCreateTransaction.cjs +556 -0
- package/lib/contract/ContractCreateTransaction.d.ts +315 -0
- package/lib/contract/ContractCreateTransaction.js +2 -0
- package/lib/contract/ContractCreateTransaction.js.map +1 -0
- package/lib/contract/ContractDeleteTransaction.cjs +235 -0
- package/lib/contract/ContractDeleteTransaction.d.ts +135 -0
- package/lib/contract/ContractDeleteTransaction.js +2 -0
- package/lib/contract/ContractDeleteTransaction.js.map +1 -0
- package/lib/contract/ContractExecuteTransaction.cjs +269 -0
- package/lib/contract/ContractExecuteTransaction.d.ts +164 -0
- package/lib/contract/ContractExecuteTransaction.js +2 -0
- package/lib/contract/ContractExecuteTransaction.js.map +1 -0
- package/lib/contract/ContractFunctionParameters.cjs +1703 -0
- package/lib/contract/ContractFunctionParameters.d.ts +725 -0
- package/lib/contract/ContractFunctionParameters.js +2 -0
- package/lib/contract/ContractFunctionParameters.js.map +1 -0
- package/lib/contract/ContractFunctionResult.cjs +846 -0
- package/lib/contract/ContractFunctionResult.d.ts +510 -0
- package/lib/contract/ContractFunctionResult.js +2 -0
- package/lib/contract/ContractFunctionResult.js.map +1 -0
- package/lib/contract/ContractFunctionSelector.cjs +1775 -0
- package/lib/contract/ContractFunctionSelector.d.ts +688 -0
- package/lib/contract/ContractFunctionSelector.js +2 -0
- package/lib/contract/ContractFunctionSelector.js.map +1 -0
- package/lib/contract/ContractId.cjs +267 -0
- package/lib/contract/ContractId.d.ts +123 -0
- package/lib/contract/ContractId.js +2 -0
- package/lib/contract/ContractId.js.map +1 -0
- package/lib/contract/ContractInfo.cjs +227 -0
- package/lib/contract/ContractInfo.d.ts +151 -0
- package/lib/contract/ContractInfo.js +2 -0
- package/lib/contract/ContractInfo.js.map +1 -0
- package/lib/contract/ContractInfoQuery.cjs +172 -0
- package/lib/contract/ContractInfoQuery.d.ts +70 -0
- package/lib/contract/ContractInfoQuery.js +2 -0
- package/lib/contract/ContractInfoQuery.js.map +1 -0
- package/lib/contract/ContractLogInfo.cjs +87 -0
- package/lib/contract/ContractLogInfo.d.ts +66 -0
- package/lib/contract/ContractLogInfo.js +2 -0
- package/lib/contract/ContractLogInfo.js.map +1 -0
- package/lib/contract/ContractNonceInfo.cjs +129 -0
- package/lib/contract/ContractNonceInfo.d.ts +90 -0
- package/lib/contract/ContractNonceInfo.js +2 -0
- package/lib/contract/ContractNonceInfo.js.map +1 -0
- package/lib/contract/ContractStateChange.cjs +75 -0
- package/lib/contract/ContractStateChange.d.ts +37 -0
- package/lib/contract/ContractUpdateTransaction.cjs +525 -0
- package/lib/contract/ContractUpdateTransaction.d.ts +280 -0
- package/lib/contract/ContractUpdateTransaction.js +2 -0
- package/lib/contract/ContractUpdateTransaction.js.map +1 -0
- package/lib/contract/DelegateContractId.cjs +100 -0
- package/lib/contract/DelegateContractId.d.ts +24 -0
- package/lib/contract/DelegateContractId.js +2 -0
- package/lib/contract/DelegateContractId.js.map +1 -0
- package/lib/contract/StorageChange.cjs +73 -0
- package/lib/contract/StorageChange.d.ts +37 -0
- package/lib/cryptography/keccak.cjs +335 -0
- package/lib/cryptography/keccak.d.ts +14 -0
- package/lib/cryptography/keccak.js +2 -0
- package/lib/cryptography/keccak.js.map +1 -0
- package/lib/cryptography/sha384.browser.cjs +19 -0
- package/lib/cryptography/sha384.browser.d.ts +5 -0
- package/lib/cryptography/sha384.browser.js +2 -0
- package/lib/cryptography/sha384.browser.js.map +1 -0
- package/lib/cryptography/sha384.cjs +27 -0
- package/lib/cryptography/sha384.d.ts +10 -0
- package/lib/cryptography/sha384.js +2 -0
- package/lib/cryptography/sha384.js.map +1 -0
- package/lib/cryptography/sha384.native.cjs +21 -0
- package/lib/cryptography/sha384.native.d.ts +5 -0
- package/lib/encoding/base64.native.cjs +25 -0
- package/lib/encoding/base64.native.d.ts +10 -0
- package/lib/encoding/base64.native.js +2 -0
- package/lib/encoding/base64.native.js.map +1 -0
- package/lib/encoding/hex.browser.cjs +95 -0
- package/lib/encoding/hex.browser.d.ts +26 -0
- package/lib/encoding/hex.browser.js +2 -0
- package/lib/encoding/hex.browser.js.map +1 -0
- package/lib/encoding/hex.cjs +82 -0
- package/lib/encoding/hex.d.ts +26 -0
- package/lib/encoding/hex.js +2 -0
- package/lib/encoding/hex.js.map +1 -0
- package/lib/encoding/hex.native.cjs +127 -0
- package/lib/encoding/hex.native.d.ts +36 -0
- package/lib/encoding/utf8.browser.cjs +26 -0
- package/lib/encoding/utf8.browser.d.ts +10 -0
- package/lib/encoding/utf8.browser.js +2 -0
- package/lib/encoding/utf8.browser.js.map +1 -0
- package/lib/encoding/utf8.cjs +24 -0
- package/lib/encoding/utf8.d.ts +10 -0
- package/lib/encoding/utf8.js +2 -0
- package/lib/encoding/utf8.js.map +1 -0
- package/lib/encoding/utf8.native.cjs +29 -0
- package/lib/encoding/utf8.native.d.ts +10 -0
- package/lib/exports.cjs +1264 -0
- package/lib/exports.d.ts +200 -0
- package/lib/exports.js +2 -0
- package/lib/exports.js.map +1 -0
- package/lib/file/FileAppendTransaction.cjs +482 -0
- package/lib/file/FileAppendTransaction.d.ts +196 -0
- package/lib/file/FileAppendTransaction.js +2 -0
- package/lib/file/FileAppendTransaction.js.map +1 -0
- package/lib/file/FileContentsQuery.cjs +159 -0
- package/lib/file/FileContentsQuery.d.ts +77 -0
- package/lib/file/FileContentsQuery.js +2 -0
- package/lib/file/FileContentsQuery.js.map +1 -0
- package/lib/file/FileCreateTransaction.cjs +259 -0
- package/lib/file/FileCreateTransaction.d.ts +153 -0
- package/lib/file/FileCreateTransaction.js +2 -0
- package/lib/file/FileCreateTransaction.js.map +1 -0
- package/lib/file/FileDeleteTransaction.cjs +149 -0
- package/lib/file/FileDeleteTransaction.d.ts +84 -0
- package/lib/file/FileDeleteTransaction.js +2 -0
- package/lib/file/FileDeleteTransaction.js.map +1 -0
- package/lib/file/FileId.cjs +240 -0
- package/lib/file/FileId.d.ts +126 -0
- package/lib/file/FileId.js +2 -0
- package/lib/file/FileId.js.map +1 -0
- package/lib/file/FileInfo.cjs +128 -0
- package/lib/file/FileInfo.d.ts +76 -0
- package/lib/file/FileInfo.js +2 -0
- package/lib/file/FileInfo.js.map +1 -0
- package/lib/file/FileInfoQuery.cjs +171 -0
- package/lib/file/FileInfoQuery.d.ts +68 -0
- package/lib/file/FileInfoQuery.js +2 -0
- package/lib/file/FileInfoQuery.js.map +1 -0
- package/lib/file/FileUpdateTransaction.cjs +319 -0
- package/lib/file/FileUpdateTransaction.d.ts +188 -0
- package/lib/file/FileUpdateTransaction.js +2 -0
- package/lib/file/FileUpdateTransaction.js.map +1 -0
- package/lib/grpc/GrpcServiceError.cjs +65 -0
- package/lib/grpc/GrpcServiceError.d.ts +32 -0
- package/lib/grpc/GrpcServiceError.js +2 -0
- package/lib/grpc/GrpcServiceError.js.map +1 -0
- package/lib/grpc/GrpcStatus.cjs +145 -0
- package/lib/grpc/GrpcStatus.d.ts +46 -0
- package/lib/grpc/GrpcStatus.js +2 -0
- package/lib/grpc/GrpcStatus.js.map +1 -0
- package/lib/http/HttpError.cjs +32 -0
- package/lib/http/HttpError.d.ts +14 -0
- package/lib/http/HttpError.js +2 -0
- package/lib/http/HttpError.js.map +1 -0
- package/lib/http/HttpStatus.cjs +44 -0
- package/lib/http/HttpStatus.d.ts +24 -0
- package/lib/http/HttpStatus.js +2 -0
- package/lib/http/HttpStatus.js.map +1 -0
- package/lib/index.cjs +44 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/logger/LogLevel.cjs +77 -0
- package/lib/logger/LogLevel.d.ts +29 -0
- package/lib/logger/LogLevel.js +2 -0
- package/lib/logger/LogLevel.js.map +1 -0
- package/lib/logger/Logger.cjs +221 -0
- package/lib/logger/Logger.d.ts +132 -0
- package/lib/logger/Logger.js +2 -0
- package/lib/logger/Logger.js.map +1 -0
- package/lib/long.cjs +26 -0
- package/lib/long.d.ts +16 -0
- package/lib/long.js +2 -0
- package/lib/long.js.map +1 -0
- package/lib/native.cjs +36 -0
- package/lib/native.d.ts +3 -0
- package/lib/native.js +2 -0
- package/lib/native.js.map +1 -0
- package/lib/network/AddressBookQuery.cjs +218 -0
- package/lib/network/AddressBookQuery.d.ts +104 -0
- package/lib/network/AddressBookQuery.js +2 -0
- package/lib/network/AddressBookQuery.js.map +1 -0
- package/lib/network/AddressBookQueryWeb.cjs +326 -0
- package/lib/network/AddressBookQueryWeb.d.ts +165 -0
- package/lib/network/AddressBookQueryWeb.js +2 -0
- package/lib/network/AddressBookQueryWeb.js.map +1 -0
- package/lib/network/NetworkVersionInfo.cjs +81 -0
- package/lib/network/NetworkVersionInfo.d.ts +46 -0
- package/lib/network/NetworkVersionInfo.js +2 -0
- package/lib/network/NetworkVersionInfo.js.map +1 -0
- package/lib/network/NetworkVersionInfoQuery.cjs +112 -0
- package/lib/network/NetworkVersionInfoQuery.d.ts +50 -0
- package/lib/network/NetworkVersionInfoQuery.js +2 -0
- package/lib/network/NetworkVersionInfoQuery.js.map +1 -0
- package/lib/network/SemanticVersion.cjs +78 -0
- package/lib/network/SemanticVersion.d.ts +45 -0
- package/lib/network/SemanticVersion.js +2 -0
- package/lib/network/SemanticVersion.js.map +1 -0
- package/lib/node/NodeCreateTransaction.cjs +413 -0
- package/lib/node/NodeCreateTransaction.d.ts +239 -0
- package/lib/node/NodeCreateTransaction.js +2 -0
- package/lib/node/NodeCreateTransaction.js.map +1 -0
- package/lib/node/NodeDeleteTransaction.cjs +143 -0
- package/lib/node/NodeDeleteTransaction.d.ts +80 -0
- package/lib/node/NodeDeleteTransaction.js +2 -0
- package/lib/node/NodeDeleteTransaction.js.map +1 -0
- package/lib/node/NodeUpdateTransaction.cjs +481 -0
- package/lib/node/NodeUpdateTransaction.d.ts +274 -0
- package/lib/node/NodeUpdateTransaction.js +2 -0
- package/lib/node/NodeUpdateTransaction.js.map +1 -0
- package/lib/node/ServiceEndpoint.cjs +140 -0
- package/lib/node/ServiceEndpoint.d.ts +91 -0
- package/lib/node/ServiceEndpoint.js +2 -0
- package/lib/node/ServiceEndpoint.js.map +1 -0
- package/lib/query/CostQuery.cjs +171 -0
- package/lib/query/CostQuery.d.ts +43 -0
- package/lib/query/CostQuery.js +2 -0
- package/lib/query/CostQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractCallQuery.cjs +53 -0
- package/lib/query/MirrorNodeContractCallQuery.d.ts +21 -0
- package/lib/query/MirrorNodeContractCallQuery.js +2 -0
- package/lib/query/MirrorNodeContractCallQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractEstimateQuery.cjs +53 -0
- package/lib/query/MirrorNodeContractEstimateQuery.d.ts +21 -0
- package/lib/query/MirrorNodeContractEstimateQuery.js +2 -0
- package/lib/query/MirrorNodeContractEstimateQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractQuery.cjs +260 -0
- package/lib/query/MirrorNodeContractQuery.d.ts +158 -0
- package/lib/query/MirrorNodeContractQuery.js +2 -0
- package/lib/query/MirrorNodeContractQuery.js.map +1 -0
- package/lib/query/Query.cjs +450 -0
- package/lib/query/Query.d.ts +173 -0
- package/lib/query/Query.js +2 -0
- package/lib/query/Query.js.map +1 -0
- package/lib/query/QueryBase.cjs +114 -0
- package/lib/query/QueryBase.d.ts +43 -0
- package/lib/query/QueryBase.js +2 -0
- package/lib/query/QueryBase.js.map +1 -0
- package/lib/schedule/ScheduleCreateTransaction.cjs +308 -0
- package/lib/schedule/ScheduleCreateTransaction.d.ts +153 -0
- package/lib/schedule/ScheduleCreateTransaction.js +2 -0
- package/lib/schedule/ScheduleCreateTransaction.js.map +1 -0
- package/lib/schedule/ScheduleDeleteTransaction.cjs +146 -0
- package/lib/schedule/ScheduleDeleteTransaction.d.ts +81 -0
- package/lib/schedule/ScheduleDeleteTransaction.js +2 -0
- package/lib/schedule/ScheduleDeleteTransaction.js.map +1 -0
- package/lib/schedule/ScheduleId.cjs +164 -0
- package/lib/schedule/ScheduleId.d.ts +96 -0
- package/lib/schedule/ScheduleId.js +2 -0
- package/lib/schedule/ScheduleId.js.map +1 -0
- package/lib/schedule/ScheduleInfo.cjs +176 -0
- package/lib/schedule/ScheduleInfo.d.ts +93 -0
- package/lib/schedule/ScheduleInfo.js +2 -0
- package/lib/schedule/ScheduleInfo.js.map +1 -0
- package/lib/schedule/ScheduleInfoQuery.cjs +170 -0
- package/lib/schedule/ScheduleInfoQuery.d.ts +66 -0
- package/lib/schedule/ScheduleInfoQuery.js +2 -0
- package/lib/schedule/ScheduleInfoQuery.js.map +1 -0
- package/lib/schedule/ScheduleSignTransaction.cjs +164 -0
- package/lib/schedule/ScheduleSignTransaction.d.ts +110 -0
- package/lib/schedule/ScheduleSignTransaction.js +2 -0
- package/lib/schedule/ScheduleSignTransaction.js.map +1 -0
- package/lib/system/FreezeTransaction.cjs +348 -0
- package/lib/system/FreezeTransaction.d.ts +188 -0
- package/lib/system/FreezeTransaction.js +2 -0
- package/lib/system/FreezeTransaction.js.map +1 -0
- package/lib/system/SystemDeleteTransaction.cjs +200 -0
- package/lib/system/SystemDeleteTransaction.d.ts +110 -0
- package/lib/system/SystemDeleteTransaction.js +2 -0
- package/lib/system/SystemDeleteTransaction.js.map +1 -0
- package/lib/system/SystemUndeleteTransaction.cjs +172 -0
- package/lib/system/SystemUndeleteTransaction.d.ts +97 -0
- package/lib/system/SystemUndeleteTransaction.js +2 -0
- package/lib/system/SystemUndeleteTransaction.js.map +1 -0
- package/lib/token/AbstractTokenTransferTransaction.cjs +406 -0
- package/lib/token/AbstractTokenTransferTransaction.d.ts +138 -0
- package/lib/token/AbstractTokenTransferTransaction.js +2 -0
- package/lib/token/AbstractTokenTransferTransaction.js.map +1 -0
- package/lib/token/AirdropPendingTransaction.cjs +65 -0
- package/lib/token/AirdropPendingTransaction.d.ts +35 -0
- package/lib/token/AirdropPendingTransaction.js +2 -0
- package/lib/token/AirdropPendingTransaction.js.map +1 -0
- package/lib/token/AssessedCustomFee.cjs +177 -0
- package/lib/token/AssessedCustomFee.d.ts +113 -0
- package/lib/token/AssessedCustomFee.js +2 -0
- package/lib/token/AssessedCustomFee.js.map +1 -0
- package/lib/token/CustomFee.cjs +88 -0
- package/lib/token/CustomFee.d.ts +57 -0
- package/lib/token/CustomFee.js +2 -0
- package/lib/token/CustomFee.js.map +1 -0
- package/lib/token/CustomFixedFee.cjs +155 -0
- package/lib/token/CustomFixedFee.d.ts +85 -0
- package/lib/token/CustomFixedFee.js +2 -0
- package/lib/token/CustomFixedFee.js.map +1 -0
- package/lib/token/CustomFractionalFee.cjs +200 -0
- package/lib/token/CustomFractionalFee.d.ts +103 -0
- package/lib/token/CustomFractionalFee.js +2 -0
- package/lib/token/CustomFractionalFee.js.map +1 -0
- package/lib/token/CustomRoyaltyFee.cjs +150 -0
- package/lib/token/CustomRoyaltyFee.d.ts +75 -0
- package/lib/token/CustomRoyaltyFee.js +2 -0
- package/lib/token/CustomRoyaltyFee.js.map +1 -0
- package/lib/token/FeeAssessmentMethod.cjs +58 -0
- package/lib/token/FeeAssessmentMethod.d.ts +29 -0
- package/lib/token/FeeAssessmentMethod.js +2 -0
- package/lib/token/FeeAssessmentMethod.js.map +1 -0
- package/lib/token/NftId.cjs +89 -0
- package/lib/token/NftId.d.ts +46 -0
- package/lib/token/NftId.js +2 -0
- package/lib/token/NftId.js.map +1 -0
- package/lib/token/PendingAirdropId.cjs +152 -0
- package/lib/token/PendingAirdropId.d.ts +81 -0
- package/lib/token/PendingAirdropId.js +2 -0
- package/lib/token/PendingAirdropId.js.map +1 -0
- package/lib/token/PendingAirdropRecord.cjs +55 -0
- package/lib/token/PendingAirdropRecord.d.ts +29 -0
- package/lib/token/PendingAirdropRecord.js +2 -0
- package/lib/token/PendingAirdropRecord.js.map +1 -0
- package/lib/token/TokenAirdropTransaction.cjs +179 -0
- package/lib/token/TokenAirdropTransaction.d.ts +119 -0
- package/lib/token/TokenAirdropTransaction.js +2 -0
- package/lib/token/TokenAirdropTransaction.js.map +1 -0
- package/lib/token/TokenAssociateTransaction.cjs +176 -0
- package/lib/token/TokenAssociateTransaction.d.ts +90 -0
- package/lib/token/TokenAssociateTransaction.js +2 -0
- package/lib/token/TokenAssociateTransaction.js.map +1 -0
- package/lib/token/TokenAssociation.cjs +117 -0
- package/lib/token/TokenAssociation.d.ts +76 -0
- package/lib/token/TokenAssociation.js +2 -0
- package/lib/token/TokenAssociation.js.map +1 -0
- package/lib/token/TokenBurnTransaction.cjs +199 -0
- package/lib/token/TokenBurnTransaction.d.ts +108 -0
- package/lib/token/TokenBurnTransaction.js +2 -0
- package/lib/token/TokenBurnTransaction.js.map +1 -0
- package/lib/token/TokenCancelAirdropTransaction.cjs +109 -0
- package/lib/token/TokenCancelAirdropTransaction.d.ts +50 -0
- package/lib/token/TokenCancelAirdropTransaction.js +2 -0
- package/lib/token/TokenCancelAirdropTransaction.js.map +1 -0
- package/lib/token/TokenClaimAirdropTransaction.cjs +109 -0
- package/lib/token/TokenClaimAirdropTransaction.d.ts +50 -0
- package/lib/token/TokenClaimAirdropTransaction.js +2 -0
- package/lib/token/TokenClaimAirdropTransaction.js.map +1 -0
- package/lib/token/TokenCreateTransaction.cjs +817 -0
- package/lib/token/TokenCreateTransaction.d.ts +446 -0
- package/lib/token/TokenCreateTransaction.js +2 -0
- package/lib/token/TokenCreateTransaction.js.map +1 -0
- package/lib/token/TokenDeleteTransaction.cjs +140 -0
- package/lib/token/TokenDeleteTransaction.d.ts +75 -0
- package/lib/token/TokenDeleteTransaction.js +2 -0
- package/lib/token/TokenDeleteTransaction.js.map +1 -0
- package/lib/token/TokenDissociateTransaction.cjs +176 -0
- package/lib/token/TokenDissociateTransaction.d.ts +90 -0
- package/lib/token/TokenDissociateTransaction.js +2 -0
- package/lib/token/TokenDissociateTransaction.js.map +1 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.cjs +172 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.d.ts +93 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.js +2 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.js.map +1 -0
- package/lib/token/TokenFreezeTransaction.cjs +172 -0
- package/lib/token/TokenFreezeTransaction.d.ts +90 -0
- package/lib/token/TokenFreezeTransaction.js +2 -0
- package/lib/token/TokenFreezeTransaction.js.map +1 -0
- package/lib/token/TokenGrantKycTransaction.cjs +172 -0
- package/lib/token/TokenGrantKycTransaction.d.ts +90 -0
- package/lib/token/TokenGrantKycTransaction.js +2 -0
- package/lib/token/TokenGrantKycTransaction.js.map +1 -0
- package/lib/token/TokenId.cjs +185 -0
- package/lib/token/TokenId.d.ts +103 -0
- package/lib/token/TokenId.js +2 -0
- package/lib/token/TokenId.js.map +1 -0
- package/lib/token/TokenInfo.cjs +349 -0
- package/lib/token/TokenInfo.d.ts +224 -0
- package/lib/token/TokenInfo.js +2 -0
- package/lib/token/TokenInfo.js.map +1 -0
- package/lib/token/TokenInfoQuery.cjs +170 -0
- package/lib/token/TokenInfoQuery.d.ts +67 -0
- package/lib/token/TokenInfoQuery.js +2 -0
- package/lib/token/TokenInfoQuery.js.map +1 -0
- package/lib/token/TokenKeyValidation.cjs +73 -0
- package/lib/token/TokenKeyValidation.d.ts +39 -0
- package/lib/token/TokenKeyValidation.js +2 -0
- package/lib/token/TokenKeyValidation.js.map +1 -0
- package/lib/token/TokenMintTransaction.cjs +219 -0
- package/lib/token/TokenMintTransaction.d.ts +113 -0
- package/lib/token/TokenMintTransaction.js +2 -0
- package/lib/token/TokenMintTransaction.js.map +1 -0
- package/lib/token/TokenNftInfo.cjs +127 -0
- package/lib/token/TokenNftInfo.d.ts +96 -0
- package/lib/token/TokenNftInfo.js +2 -0
- package/lib/token/TokenNftInfo.js.map +1 -0
- package/lib/token/TokenNftInfoQuery.cjs +312 -0
- package/lib/token/TokenNftInfoQuery.d.ts +149 -0
- package/lib/token/TokenNftInfoQuery.js +2 -0
- package/lib/token/TokenNftInfoQuery.js.map +1 -0
- package/lib/token/TokenNftTransfer.cjs +95 -0
- package/lib/token/TokenNftTransfer.d.ts +70 -0
- package/lib/token/TokenNftTransfer.js +2 -0
- package/lib/token/TokenNftTransfer.js.map +1 -0
- package/lib/token/TokenNftsUpdateTransaction.cjs +185 -0
- package/lib/token/TokenNftsUpdateTransaction.d.ts +97 -0
- package/lib/token/TokenPauseTransaction.cjs +140 -0
- package/lib/token/TokenPauseTransaction.d.ts +75 -0
- package/lib/token/TokenPauseTransaction.js +2 -0
- package/lib/token/TokenPauseTransaction.js.map +1 -0
- package/lib/token/TokenReference.cjs +41 -0
- package/lib/token/TokenReference.d.ts +29 -0
- package/lib/token/TokenReference.js +2 -0
- package/lib/token/TokenReference.js.map +1 -0
- package/lib/token/TokenRejectFlow.cjs +248 -0
- package/lib/token/TokenRejectFlow.d.ts +141 -0
- package/lib/token/TokenRejectFlow.js +2 -0
- package/lib/token/TokenRejectFlow.js.map +1 -0
- package/lib/token/TokenRejectTransaction.cjs +240 -0
- package/lib/token/TokenRejectTransaction.d.ts +120 -0
- package/lib/token/TokenRejectTransaction.js +2 -0
- package/lib/token/TokenRejectTransaction.js.map +1 -0
- package/lib/token/TokenRevokeKycTransaction.cjs +172 -0
- package/lib/token/TokenRevokeKycTransaction.d.ts +90 -0
- package/lib/token/TokenRevokeKycTransaction.js +2 -0
- package/lib/token/TokenRevokeKycTransaction.js.map +1 -0
- package/lib/token/TokenSupplyType.cjs +77 -0
- package/lib/token/TokenSupplyType.d.ts +38 -0
- package/lib/token/TokenSupplyType.js +2 -0
- package/lib/token/TokenSupplyType.js.map +1 -0
- package/lib/token/TokenTransfer.cjs +122 -0
- package/lib/token/TokenTransfer.d.ts +92 -0
- package/lib/token/TokenTransfer.js +2 -0
- package/lib/token/TokenTransfer.js.map +1 -0
- package/lib/token/TokenType.cjs +77 -0
- package/lib/token/TokenType.d.ts +38 -0
- package/lib/token/TokenType.js +2 -0
- package/lib/token/TokenType.js.map +1 -0
- package/lib/token/TokenUnfreezeTransaction.cjs +172 -0
- package/lib/token/TokenUnfreezeTransaction.d.ts +90 -0
- package/lib/token/TokenUnfreezeTransaction.js +2 -0
- package/lib/token/TokenUnfreezeTransaction.js.map +1 -0
- package/lib/token/TokenUnpauseTransaction.cjs +140 -0
- package/lib/token/TokenUnpauseTransaction.d.ts +75 -0
- package/lib/token/TokenUnpauseTransaction.js +2 -0
- package/lib/token/TokenUnpauseTransaction.js.map +1 -0
- package/lib/token/TokenUpdateNftsTransaction.cjs +189 -0
- package/lib/token/TokenUpdateNftsTransaction.d.ts +103 -0
- package/lib/token/TokenUpdateNftsTransaction.js +2 -0
- package/lib/token/TokenUpdateNftsTransaction.js.map +1 -0
- package/lib/token/TokenUpdateTransaction.cjs +672 -0
- package/lib/token/TokenUpdateTransaction.d.ts +366 -0
- package/lib/token/TokenUpdateTransaction.js +2 -0
- package/lib/token/TokenUpdateTransaction.js.map +1 -0
- package/lib/token/TokenWipeTransaction.cjs +231 -0
- package/lib/token/TokenWipeTransaction.d.ts +123 -0
- package/lib/token/TokenWipeTransaction.js +2 -0
- package/lib/token/TokenWipeTransaction.js.map +1 -0
- package/lib/topic/SubscriptionHandle.cjs +40 -0
- package/lib/topic/SubscriptionHandle.d.ts +22 -0
- package/lib/topic/SubscriptionHandle.js +2 -0
- package/lib/topic/SubscriptionHandle.js.map +1 -0
- package/lib/topic/TopicCreateTransaction.cjs +473 -0
- package/lib/topic/TopicCreateTransaction.d.ts +250 -0
- package/lib/topic/TopicCreateTransaction.js +2 -0
- package/lib/topic/TopicCreateTransaction.js.map +1 -0
- package/lib/topic/TopicDeleteTransaction.cjs +146 -0
- package/lib/topic/TopicDeleteTransaction.d.ts +80 -0
- package/lib/topic/TopicDeleteTransaction.js +2 -0
- package/lib/topic/TopicDeleteTransaction.js.map +1 -0
- package/lib/topic/TopicId.cjs +185 -0
- package/lib/topic/TopicId.d.ts +102 -0
- package/lib/topic/TopicId.js +2 -0
- package/lib/topic/TopicId.js.map +1 -0
- package/lib/topic/TopicInfo.cjs +187 -0
- package/lib/topic/TopicInfo.d.ts +119 -0
- package/lib/topic/TopicInfo.js +2 -0
- package/lib/topic/TopicInfo.js.map +1 -0
- package/lib/topic/TopicInfoQuery.cjs +174 -0
- package/lib/topic/TopicInfoQuery.d.ts +81 -0
- package/lib/topic/TopicInfoQuery.js +2 -0
- package/lib/topic/TopicInfoQuery.js.map +1 -0
- package/lib/topic/TopicMessage.cjs +116 -0
- package/lib/topic/TopicMessage.d.ts +65 -0
- package/lib/topic/TopicMessage.js +2 -0
- package/lib/topic/TopicMessage.js.map +1 -0
- package/lib/topic/TopicMessageChunk.cjs +71 -0
- package/lib/topic/TopicMessageChunk.d.ts +56 -0
- package/lib/topic/TopicMessageChunk.js +2 -0
- package/lib/topic/TopicMessageChunk.js.map +1 -0
- package/lib/topic/TopicMessageQuery.cjs +450 -0
- package/lib/topic/TopicMessageQuery.d.ts +220 -0
- package/lib/topic/TopicMessageQuery.js +2 -0
- package/lib/topic/TopicMessageQuery.js.map +1 -0
- package/lib/topic/TopicMessageSubmitTransaction.cjs +412 -0
- package/lib/topic/TopicMessageSubmitTransaction.d.ts +201 -0
- package/lib/topic/TopicMessageSubmitTransaction.js +2 -0
- package/lib/topic/TopicMessageSubmitTransaction.js.map +1 -0
- package/lib/topic/TopicUpdateTransaction.cjs +532 -0
- package/lib/topic/TopicUpdateTransaction.d.ts +284 -0
- package/lib/topic/TopicUpdateTransaction.js +2 -0
- package/lib/topic/TopicUpdateTransaction.js.map +1 -0
- package/lib/transaction/BatchTransaction.cjs +262 -0
- package/lib/transaction/BatchTransaction.d.ts +134 -0
- package/lib/transaction/BatchTransaction.js +2 -0
- package/lib/transaction/BatchTransaction.js.map +1 -0
- package/lib/transaction/CustomFeeLimit.cjs +116 -0
- package/lib/transaction/CustomFeeLimit.d.ts +64 -0
- package/lib/transaction/CustomFeeLimit.js +2 -0
- package/lib/transaction/CustomFeeLimit.js.map +1 -0
- package/lib/transaction/List.cjs +177 -0
- package/lib/transaction/List.d.ts +100 -0
- package/lib/transaction/List.js +2 -0
- package/lib/transaction/List.js.map +1 -0
- package/lib/transaction/NodeAccountIdSignatureMap.cjs +62 -0
- package/lib/transaction/NodeAccountIdSignatureMap.d.ts +23 -0
- package/lib/transaction/NodeAccountIdSignatureMap.js +2 -0
- package/lib/transaction/NodeAccountIdSignatureMap.js.map +1 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.cjs +39 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.d.ts +14 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.js +2 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.js.map +1 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.cjs +47 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.d.ts +38 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.js +2 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.js.map +1 -0
- package/lib/transaction/SignatureMap.cjs +95 -0
- package/lib/transaction/SignatureMap.d.ts +42 -0
- package/lib/transaction/SignatureMap.js +2 -0
- package/lib/transaction/SignatureMap.js.map +1 -0
- package/lib/transaction/SignatureMapLegacy.cjs +37 -0
- package/lib/transaction/SignatureMapLegacy.d.ts +15 -0
- package/lib/transaction/SignatureMapLegacy.js +2 -0
- package/lib/transaction/SignatureMapLegacy.js.map +1 -0
- package/lib/transaction/SignaturePairMap.cjs +50 -0
- package/lib/transaction/SignaturePairMap.d.ts +21 -0
- package/lib/transaction/SignaturePairMap.js +2 -0
- package/lib/transaction/SignaturePairMap.js.map +1 -0
- package/lib/transaction/TokenTransfer.cjs +2 -0
- package/lib/transaction/TokenTransfer.d.ts +0 -0
- package/lib/transaction/Transaction.cjs +1959 -0
- package/lib/transaction/Transaction.d.ts +698 -0
- package/lib/transaction/Transaction.js +2 -0
- package/lib/transaction/Transaction.js.map +1 -0
- package/lib/transaction/TransactionHashMap.cjs +44 -0
- package/lib/transaction/TransactionHashMap.d.ts +22 -0
- package/lib/transaction/TransactionHashMap.js +2 -0
- package/lib/transaction/TransactionHashMap.js.map +1 -0
- package/lib/transaction/TransactionId.cjs +224 -0
- package/lib/transaction/TransactionId.d.ts +122 -0
- package/lib/transaction/TransactionId.js +2 -0
- package/lib/transaction/TransactionId.js.map +1 -0
- package/lib/transaction/TransactionReceipt.cjs +303 -0
- package/lib/transaction/TransactionReceipt.d.ts +202 -0
- package/lib/transaction/TransactionReceipt.js +2 -0
- package/lib/transaction/TransactionReceipt.js.map +1 -0
- package/lib/transaction/TransactionReceiptQuery.cjs +347 -0
- package/lib/transaction/TransactionReceiptQuery.d.ts +96 -0
- package/lib/transaction/TransactionReceiptQuery.js +2 -0
- package/lib/transaction/TransactionReceiptQuery.js.map +1 -0
- package/lib/transaction/TransactionRecord.cjs +470 -0
- package/lib/transaction/TransactionRecord.d.ts +317 -0
- package/lib/transaction/TransactionRecord.js +2 -0
- package/lib/transaction/TransactionRecord.js.map +1 -0
- package/lib/transaction/TransactionRecordQuery.cjs +366 -0
- package/lib/transaction/TransactionRecordQuery.d.ts +99 -0
- package/lib/transaction/TransactionRecordQuery.js +2 -0
- package/lib/transaction/TransactionRecordQuery.js.map +1 -0
- package/lib/transaction/TransactionResponse.cjs +242 -0
- package/lib/transaction/TransactionResponse.d.ts +119 -0
- package/lib/transaction/TransactionResponse.js +2 -0
- package/lib/transaction/TransactionResponse.js.map +1 -0
- package/lib/util/ASN1-Decoder.cjs +276 -0
- package/lib/util/ASN1-Decoder.d.ts +104 -0
- package/lib/util/ASN1-Decoder.js +2 -0
- package/lib/util/ASN1-Decoder.js.map +1 -0
- package/lib/util.cjs +464 -0
- package/lib/util.d.ts +210 -0
- package/lib/util.js +2 -0
- package/lib/util.js.map +1 -0
- package/lib/version.cjs +8 -0
- package/lib/version.d.ts +2 -0
- package/lib/version.js +2 -0
- package/lib/version.js.map +1 -0
- package/package.json +139 -0
- package/src/BadEntityIdError.js +24 -0
- package/src/Cache.js +418 -0
- package/src/Duration.js +48 -0
- package/src/EntityIdHelper.js +620 -0
- package/src/EthereumFlow.js +244 -0
- package/src/EthereumTransaction.js +298 -0
- package/src/EthereumTransactionData.js +60 -0
- package/src/EthereumTransactionDataEip1559.js +146 -0
- package/src/EthereumTransactionDataEip2930.js +140 -0
- package/src/EthereumTransactionDataLegacy.js +121 -0
- package/src/EvmAddress.js +78 -0
- package/src/ExchangeRate.js +117 -0
- package/src/ExchangeRates.js +71 -0
- package/src/Executable.js +884 -0
- package/src/FeeComponents.js +199 -0
- package/src/FeeData.js +127 -0
- package/src/FeeDataType.js +125 -0
- package/src/FeeSchedule.js +88 -0
- package/src/FeeSchedules.js +82 -0
- package/src/FreezeType.js +113 -0
- package/src/Hbar.js +147 -0
- package/src/HbarUnit.js +90 -0
- package/src/Key.js +60 -0
- package/src/KeyList.js +179 -0
- package/src/LedgerId.js +134 -0
- package/src/LocalProvider.js +165 -0
- package/src/ManagedNode.js +269 -0
- package/src/ManagedNodeAddress.js +101 -0
- package/src/MaxAttemptsOrTimeoutError.js +42 -0
- package/src/MaxQueryPaymentExceeded.js +28 -0
- package/src/MirrorNode.js +41 -0
- package/src/Mnemonic.js +250 -0
- package/src/Node.js +106 -0
- package/src/ObjectMap.js +137 -0
- package/src/PrecheckStatusError.js +73 -0
- package/src/PrivateKey.js +547 -0
- package/src/PrngTransaction.js +152 -0
- package/src/Provider.js +40 -0
- package/src/PublicKey.js +294 -0
- package/src/ReceiptStatusError.js +41 -0
- package/src/RecordStatusError.js +30 -0
- package/src/RequestType.js +920 -0
- package/src/Signer.js +46 -0
- package/src/SignerSignature.js +27 -0
- package/src/StakingInfo.js +187 -0
- package/src/Status.js +3353 -0
- package/src/StatusError.js +64 -0
- package/src/Timestamp.js +160 -0
- package/src/TransactionFeeSchedule.js +100 -0
- package/src/Transfer.js +113 -0
- package/src/Wallet.js +300 -0
- package/src/account/AccountAllowanceAdjustTransaction.js +540 -0
- package/src/account/AccountAllowanceApproveTransaction.js +569 -0
- package/src/account/AccountAllowanceDeleteTransaction.js +199 -0
- package/src/account/AccountBalance.js +160 -0
- package/src/account/AccountBalanceQuery.js +238 -0
- package/src/account/AccountCreateTransaction.js +674 -0
- package/src/account/AccountDeleteTransaction.js +221 -0
- package/src/account/AccountId.js +486 -0
- package/src/account/AccountInfo.js +433 -0
- package/src/account/AccountInfoFlow.js +106 -0
- package/src/account/AccountInfoQuery.js +187 -0
- package/src/account/AccountRecordsQuery.js +186 -0
- package/src/account/AccountUpdateTransaction.js +634 -0
- package/src/account/HbarAllowance.js +147 -0
- package/src/account/HbarTransferMap.js +48 -0
- package/src/account/LiveHash.js +79 -0
- package/src/account/LiveHashAddTransaction.js +289 -0
- package/src/account/LiveHashDeleteTransaction.js +196 -0
- package/src/account/LiveHashQuery.js +209 -0
- package/src/account/NullableTokenDecimalMap.js +19 -0
- package/src/account/ProxyStaker.js +74 -0
- package/src/account/TokenAllowance.js +152 -0
- package/src/account/TokenBalanceMap.js +23 -0
- package/src/account/TokenDecimalMap.js +19 -0
- package/src/account/TokenNftAllowance.js +217 -0
- package/src/account/TokenNftTransferMap.js +134 -0
- package/src/account/TokenRelationship.js +125 -0
- package/src/account/TokenRelationshipMap.js +59 -0
- package/src/account/TokenTransferAccountMap.js +24 -0
- package/src/account/TokenTransferMap.js +99 -0
- package/src/account/TransferTransaction.js +372 -0
- package/src/address_book/AddressBooks.js +27 -0
- package/src/address_book/Endpoint.js +141 -0
- package/src/address_book/IPv4Address.js +125 -0
- package/src/address_book/IPv4AddressPart.js +71 -0
- package/src/address_book/NodeAddress.js +319 -0
- package/src/address_book/NodeAddressBook.js +114 -0
- package/src/array.js +60 -0
- package/src/base32.js +29 -0
- package/src/browser.js +10 -0
- package/src/channel/Channel.js +340 -0
- package/src/channel/MirrorChannel.js +49 -0
- package/src/channel/NativeChannel.js +120 -0
- package/src/channel/NodeChannel.js +196 -0
- package/src/channel/NodeMirrorChannel.js +91 -0
- package/src/channel/WebChannel.js +100 -0
- package/src/client/Client.js +871 -0
- package/src/client/ManagedNetwork.js +473 -0
- package/src/client/MirrorNetwork.js +87 -0
- package/src/client/NativeClient.js +218 -0
- package/src/client/Network.js +304 -0
- package/src/client/NodeClient.js +321 -0
- package/src/client/WebClient.js +302 -0
- package/src/client/addressbooks/mainnet.js +2 -0
- package/src/client/addressbooks/previewnet.js +2 -0
- package/src/client/addressbooks/testnet.js +2 -0
- package/src/constants/ClientConstants.js +204 -0
- package/src/contract/ContractByteCodeQuery.js +178 -0
- package/src/contract/ContractCallQuery.js +382 -0
- package/src/contract/ContractCreateFlow.js +551 -0
- package/src/contract/ContractCreateTransaction.js +677 -0
- package/src/contract/ContractDeleteTransaction.js +291 -0
- package/src/contract/ContractExecuteTransaction.js +313 -0
- package/src/contract/ContractFunctionParameters.js +1759 -0
- package/src/contract/ContractFunctionResult.js +1060 -0
- package/src/contract/ContractFunctionSelector.js +1360 -0
- package/src/contract/ContractId.js +316 -0
- package/src/contract/ContractInfo.js +264 -0
- package/src/contract/ContractInfoQuery.js +190 -0
- package/src/contract/ContractLogInfo.js +83 -0
- package/src/contract/ContractNonceInfo.js +129 -0
- package/src/contract/ContractStateChange.js +77 -0
- package/src/contract/ContractUpdateTransaction.js +665 -0
- package/src/contract/DelegateContractId.js +94 -0
- package/src/contract/StorageChange.js +71 -0
- package/src/cryptography/keccak.js +419 -0
- package/src/cryptography/sha384.browser.js +13 -0
- package/src/cryptography/sha384.js +20 -0
- package/src/cryptography/sha384.native.js +19 -0
- package/src/encoding/base64.native.js +19 -0
- package/src/encoding/hex.browser.js +95 -0
- package/src/encoding/hex.js +76 -0
- package/src/encoding/hex.native.js +386 -0
- package/src/encoding/utf8.browser.js +19 -0
- package/src/encoding/utf8.js +17 -0
- package/src/encoding/utf8.native.js +20 -0
- package/src/exports.js +213 -0
- package/src/file/FileAppendTransaction.js +586 -0
- package/src/file/FileContentsQuery.js +174 -0
- package/src/file/FileCreateTransaction.js +301 -0
- package/src/file/FileDeleteTransaction.js +167 -0
- package/src/file/FileId.js +247 -0
- package/src/file/FileInfo.js +136 -0
- package/src/file/FileInfoQuery.js +186 -0
- package/src/file/FileUpdateTransaction.js +375 -0
- package/src/grpc/GrpcServiceError.js +64 -0
- package/src/grpc/GrpcStatus.js +142 -0
- package/src/http/HttpError.js +26 -0
- package/src/http/HttpStatus.js +38 -0
- package/src/index.js +11 -0
- package/src/logger/LogLevel.js +72 -0
- package/src/logger/Logger.js +225 -0
- package/src/long.js +20 -0
- package/src/native.js +10 -0
- package/src/network/AddressBookQuery.js +272 -0
- package/src/network/AddressBookQueryWeb.js +388 -0
- package/src/network/NetworkVersionInfo.js +81 -0
- package/src/network/NetworkVersionInfoQuery.js +117 -0
- package/src/network/SemanticVersion.js +74 -0
- package/src/node/NodeCreateTransaction.js +513 -0
- package/src/node/NodeDeleteTransaction.js +161 -0
- package/src/node/NodeUpdateTransaction.js +592 -0
- package/src/node/ServiceEndpoint.js +145 -0
- package/src/query/CostQuery.js +187 -0
- package/src/query/MirrorNodeContractCallQuery.js +49 -0
- package/src/query/MirrorNodeContractEstimateQuery.js +48 -0
- package/src/query/MirrorNodeContractQuery.js +266 -0
- package/src/query/Query.js +527 -0
- package/src/query/QueryBase.js +116 -0
- package/src/schedule/ScheduleCreateTransaction.js +371 -0
- package/src/schedule/ScheduleDeleteTransaction.js +174 -0
- package/src/schedule/ScheduleId.js +173 -0
- package/src/schedule/ScheduleInfo.js +243 -0
- package/src/schedule/ScheduleInfoQuery.js +189 -0
- package/src/schedule/ScheduleSignTransaction.js +189 -0
- package/src/system/FreezeTransaction.js +390 -0
- package/src/system/SystemDeleteTransaction.js +239 -0
- package/src/system/SystemUndeleteTransaction.js +207 -0
- package/src/token/AbstractTokenTransferTransaction.js +589 -0
- package/src/token/AirdropPendingTransaction.js +58 -0
- package/src/token/AssessedCustomFee.js +198 -0
- package/src/token/CustomFee.js +87 -0
- package/src/token/CustomFixedFee.js +178 -0
- package/src/token/CustomFractionalFee.js +226 -0
- package/src/token/CustomRoyaltyFee.js +173 -0
- package/src/token/FeeAssessmentMethod.js +53 -0
- package/src/token/NftId.js +95 -0
- package/src/token/PendingAirdropId.js +157 -0
- package/src/token/PendingAirdropRecord.js +50 -0
- package/src/token/TokenAirdropTransaction.js +220 -0
- package/src/token/TokenAssociateTransaction.js +214 -0
- package/src/token/TokenAssociation.js +127 -0
- package/src/token/TokenBurnTransaction.js +229 -0
- package/src/token/TokenCancelAirdropTransaction.js +120 -0
- package/src/token/TokenClaimAirdropTransaction.js +121 -0
- package/src/token/TokenCreateTransaction.js +978 -0
- package/src/token/TokenDeleteTransaction.js +161 -0
- package/src/token/TokenDissociateTransaction.js +214 -0
- package/src/token/TokenFeeScheduleUpdateTransaction.js +198 -0
- package/src/token/TokenFreezeTransaction.js +203 -0
- package/src/token/TokenGrantKycTransaction.js +203 -0
- package/src/token/TokenId.js +203 -0
- package/src/token/TokenInfo.js +454 -0
- package/src/token/TokenInfoQuery.js +185 -0
- package/src/token/TokenKeyValidation.js +70 -0
- package/src/token/TokenMintTransaction.js +258 -0
- package/src/token/TokenNftInfo.js +135 -0
- package/src/token/TokenNftInfoQuery.js +369 -0
- package/src/token/TokenNftTransfer.js +115 -0
- package/src/token/TokenNftsUpdateTransaction.js +220 -0
- package/src/token/TokenPauseTransaction.js +161 -0
- package/src/token/TokenReference.js +40 -0
- package/src/token/TokenRejectFlow.js +261 -0
- package/src/token/TokenRejectTransaction.js +262 -0
- package/src/token/TokenRevokeKycTransaction.js +203 -0
- package/src/token/TokenSupplyType.js +74 -0
- package/src/token/TokenTransfer.js +142 -0
- package/src/token/TokenType.js +74 -0
- package/src/token/TokenUnfreezeTransaction.js +203 -0
- package/src/token/TokenUnpauseTransaction.js +161 -0
- package/src/token/TokenUpdateNftsTransaction.js +225 -0
- package/src/token/TokenUpdateTransaction.js +827 -0
- package/src/token/TokenWipeTransaction.js +271 -0
- package/src/topic/SubscriptionHandle.js +34 -0
- package/src/topic/TopicCreateTransaction.js +557 -0
- package/src/topic/TopicDeleteTransaction.js +167 -0
- package/src/topic/TopicId.js +204 -0
- package/src/topic/TopicInfo.js +254 -0
- package/src/topic/TopicInfoQuery.js +190 -0
- package/src/topic/TopicMessage.js +170 -0
- package/src/topic/TopicMessageChunk.js +76 -0
- package/src/topic/TopicMessageQuery.js +523 -0
- package/src/topic/TopicMessageSubmitTransaction.js +488 -0
- package/src/topic/TopicUpdateTransaction.js +659 -0
- package/src/transaction/BatchTransaction.js +293 -0
- package/src/transaction/CustomFeeLimit.js +121 -0
- package/src/transaction/List.js +175 -0
- package/src/transaction/NodeAccountIdSignatureMap.js +62 -0
- package/src/transaction/NodeAccountIdSignatureMapLegacy.js +41 -0
- package/src/transaction/SignableNodeTransactionBodyBytes.js +40 -0
- package/src/transaction/SignatureMap.js +104 -0
- package/src/transaction/SignatureMapLegacy.js +37 -0
- package/src/transaction/SignaturePairMap.js +53 -0
- package/src/transaction/TokenTransfer.js +1 -0
- package/src/transaction/Transaction.js +2295 -0
- package/src/transaction/TransactionHashMap.js +41 -0
- package/src/transaction/TransactionId.js +262 -0
- package/src/transaction/TransactionReceipt.js +414 -0
- package/src/transaction/TransactionReceiptQuery.js +418 -0
- package/src/transaction/TransactionRecord.js +638 -0
- package/src/transaction/TransactionRecordQuery.js +440 -0
- package/src/transaction/TransactionResponse.js +283 -0
- package/src/types.d.ts +5 -0
- package/src/util/ASN1-Decoder.js +256 -0
- package/src/util.js +479 -0
- package/src/version.js +3 -0
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {import("./ContractStateChange.js").default} ContractStateChange
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @namespace proto
|
|
6
|
+
* @typedef {import("@hashgraph/proto").proto.IContractFunctionResult} HieroProto.proto.IContractFunctionResult
|
|
7
|
+
* @typedef {import("@hashgraph/proto").proto.IContractID} HieroProto.proto.IContractID
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* The result returned by a call to a smart contract function. This is part of the response to
|
|
11
|
+
* a ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance
|
|
12
|
+
* transaction. The ContractCreateInstance transaction record has the results of the call to
|
|
13
|
+
* the constructor.
|
|
14
|
+
*/
|
|
15
|
+
export default class ContractFunctionResult {
|
|
16
|
+
/**
|
|
17
|
+
* @param {HieroProto.proto.IContractFunctionResult} result
|
|
18
|
+
* @param {boolean} _createResult
|
|
19
|
+
* @returns {ContractFunctionResult}
|
|
20
|
+
*/
|
|
21
|
+
static _fromProtobuf(result: HieroProto.proto.IContractFunctionResult, _createResult: boolean): ContractFunctionResult;
|
|
22
|
+
/**
|
|
23
|
+
* Constructor isn't part of the stable API
|
|
24
|
+
*
|
|
25
|
+
* @param {object} result
|
|
26
|
+
* @param {boolean} result._createResult
|
|
27
|
+
* @param {?ContractId} result.contractId
|
|
28
|
+
* @param {?string} result.errorMessage
|
|
29
|
+
* @param {Uint8Array} result.bloom
|
|
30
|
+
* @param {Long} result.gasUsed
|
|
31
|
+
* @param {ContractLogInfo[]} result.logs
|
|
32
|
+
* @param {ContractId[]} result.createdContractIds
|
|
33
|
+
* @param {Uint8Array | null} result.evmAddress
|
|
34
|
+
* @param {Uint8Array} result.bytes
|
|
35
|
+
* @param {Long} result.gas
|
|
36
|
+
* @param {Long} result.amount
|
|
37
|
+
* @param {Uint8Array} result.functionParameters
|
|
38
|
+
* @param {?AccountId} result.senderAccountId
|
|
39
|
+
* @param {ContractStateChange[]} result.stateChanges
|
|
40
|
+
* @param {ContractNonceInfo[]} result.contractNonces
|
|
41
|
+
* @param {Long | null} result.signerNonce
|
|
42
|
+
*/
|
|
43
|
+
constructor(result: {
|
|
44
|
+
_createResult: boolean;
|
|
45
|
+
contractId: ContractId | null;
|
|
46
|
+
errorMessage: string | null;
|
|
47
|
+
bloom: Uint8Array;
|
|
48
|
+
gasUsed: Long;
|
|
49
|
+
logs: ContractLogInfo[];
|
|
50
|
+
createdContractIds: ContractId[];
|
|
51
|
+
evmAddress: Uint8Array | null;
|
|
52
|
+
bytes: Uint8Array;
|
|
53
|
+
gas: Long;
|
|
54
|
+
amount: Long;
|
|
55
|
+
functionParameters: Uint8Array;
|
|
56
|
+
senderAccountId: AccountId | null;
|
|
57
|
+
stateChanges: ContractStateChange[];
|
|
58
|
+
contractNonces: ContractNonceInfo[];
|
|
59
|
+
signerNonce: Long | null;
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* Determines if this result came from `record.contractCreateResult` if true
|
|
63
|
+
* or `record.contractCallResult` if false
|
|
64
|
+
*/
|
|
65
|
+
_createResult: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* The smart contract instance whose function was called.
|
|
68
|
+
*/
|
|
69
|
+
contractId: ContractId | null;
|
|
70
|
+
bytes: Uint8Array<ArrayBufferLike>;
|
|
71
|
+
/**
|
|
72
|
+
* Message In case there was an error during smart contract execution.
|
|
73
|
+
*/
|
|
74
|
+
errorMessage: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Bloom filter for record
|
|
77
|
+
*/
|
|
78
|
+
bloom: Uint8Array<ArrayBufferLike>;
|
|
79
|
+
/**
|
|
80
|
+
* Units of gas used to execute contract.
|
|
81
|
+
*/
|
|
82
|
+
gasUsed: Long;
|
|
83
|
+
/**
|
|
84
|
+
* The log info for events returned by the function.
|
|
85
|
+
*/
|
|
86
|
+
logs: ContractLogInfo[];
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated the list of smart contracts that were created by the function call.
|
|
89
|
+
*
|
|
90
|
+
* The created ids will now _also_ be externalized through internal transaction
|
|
91
|
+
* records, where each record has its alias field populated with the new contract's
|
|
92
|
+
* EVM address. (This is needed for contracts created with CREATE2, since
|
|
93
|
+
* there is no longer a simple relationship between the new contract's 0.0.X id
|
|
94
|
+
* and its Solidity address.)
|
|
95
|
+
*/
|
|
96
|
+
createdContractIds: ContractId[];
|
|
97
|
+
evmAddress: Uint8Array<ArrayBufferLike> | null;
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated - Use mirror node for contract traceability instead
|
|
100
|
+
*/
|
|
101
|
+
stateChanges: import("./ContractStateChange.js").default[];
|
|
102
|
+
/**
|
|
103
|
+
* The amount of gas available for the call, aka the gasLimit.
|
|
104
|
+
*/
|
|
105
|
+
gas: Long;
|
|
106
|
+
/**
|
|
107
|
+
* Number of tinybars sent (the function must be payable if this is nonzero).
|
|
108
|
+
*/
|
|
109
|
+
amount: Long;
|
|
110
|
+
/**
|
|
111
|
+
* The parameters passed into the contract call.
|
|
112
|
+
*/
|
|
113
|
+
functionParameters: Uint8Array<ArrayBufferLike>;
|
|
114
|
+
/**
|
|
115
|
+
* The account that is the "sender." If not present it is the accountId from the transactionId.
|
|
116
|
+
*
|
|
117
|
+
* This field should only be populated when the paired TransactionBody in the record stream is not a
|
|
118
|
+
* ContractCreateTransactionBody or a ContractCallTransactionBody.
|
|
119
|
+
*/
|
|
120
|
+
senderAccountId: AccountId | null;
|
|
121
|
+
/**
|
|
122
|
+
* A list of updated contract account nonces containing the new nonce value for each contract account.
|
|
123
|
+
* This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.
|
|
124
|
+
*/
|
|
125
|
+
contractNonces: ContractNonceInfo[];
|
|
126
|
+
/**
|
|
127
|
+
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
|
|
128
|
+
* For transactions that don't update the signer nonce (like HAPI ContractCall and ContractCreate transactions) this field should be null.
|
|
129
|
+
*/
|
|
130
|
+
signerNonce: Long | null;
|
|
131
|
+
/**
|
|
132
|
+
* @returns {Uint8Array}
|
|
133
|
+
*/
|
|
134
|
+
asBytes(): Uint8Array;
|
|
135
|
+
/**
|
|
136
|
+
* @param {number} [index]
|
|
137
|
+
* @returns {string}
|
|
138
|
+
*/
|
|
139
|
+
getString(index?: number): string;
|
|
140
|
+
/**
|
|
141
|
+
* @private
|
|
142
|
+
* @param {number} [index]
|
|
143
|
+
* @returns {Uint8Array}
|
|
144
|
+
*/
|
|
145
|
+
private getBytes;
|
|
146
|
+
/**
|
|
147
|
+
* @param {number} [index]
|
|
148
|
+
* @returns {Uint8Array}
|
|
149
|
+
*/
|
|
150
|
+
getBytes32(index?: number): Uint8Array;
|
|
151
|
+
/**
|
|
152
|
+
* @param {number} [index]
|
|
153
|
+
* @returns {boolean}
|
|
154
|
+
*/
|
|
155
|
+
getBool(index?: number): boolean;
|
|
156
|
+
/**
|
|
157
|
+
* @param {number} [index]
|
|
158
|
+
* @returns {number}
|
|
159
|
+
*/
|
|
160
|
+
getInt8(index?: number): number;
|
|
161
|
+
/**
|
|
162
|
+
* @param {number} [index]
|
|
163
|
+
* @returns {number}
|
|
164
|
+
*/
|
|
165
|
+
getUint8(index?: number): number;
|
|
166
|
+
/**
|
|
167
|
+
* @param {number} [index]
|
|
168
|
+
* @returns {number}
|
|
169
|
+
*/
|
|
170
|
+
getInt16(index?: number): number;
|
|
171
|
+
/**
|
|
172
|
+
* @param {number} [index]
|
|
173
|
+
* @returns {number}
|
|
174
|
+
*/
|
|
175
|
+
getUint16(index?: number): number;
|
|
176
|
+
/**
|
|
177
|
+
* @param {number} [index]
|
|
178
|
+
* @returns {number}
|
|
179
|
+
*/
|
|
180
|
+
getInt24(index?: number): number;
|
|
181
|
+
/**
|
|
182
|
+
* @param {number} [index]
|
|
183
|
+
* @returns {number}
|
|
184
|
+
*/
|
|
185
|
+
getUint24(index?: number): number;
|
|
186
|
+
/**
|
|
187
|
+
* @param {number} [index]
|
|
188
|
+
* @returns {number}
|
|
189
|
+
*/
|
|
190
|
+
getInt32(index?: number): number;
|
|
191
|
+
/**
|
|
192
|
+
* @param {number} [index]
|
|
193
|
+
* @returns {number}
|
|
194
|
+
*/
|
|
195
|
+
getUint32(index?: number): number;
|
|
196
|
+
/**
|
|
197
|
+
* @param {number} [index]
|
|
198
|
+
* @returns {BigNumber}
|
|
199
|
+
*/
|
|
200
|
+
getInt40(index?: number): BigNumber;
|
|
201
|
+
/**
|
|
202
|
+
* @param {number} [index]
|
|
203
|
+
* @returns {BigNumber}
|
|
204
|
+
*/
|
|
205
|
+
getUint40(index?: number): BigNumber;
|
|
206
|
+
/**
|
|
207
|
+
* @param {number} [index]
|
|
208
|
+
* @returns {BigNumber}
|
|
209
|
+
*/
|
|
210
|
+
getInt48(index?: number): BigNumber;
|
|
211
|
+
/**
|
|
212
|
+
* @param {number} [index]
|
|
213
|
+
* @returns {BigNumber}
|
|
214
|
+
*/
|
|
215
|
+
getUint48(index?: number): BigNumber;
|
|
216
|
+
/**
|
|
217
|
+
* @param {number} [index]
|
|
218
|
+
* @returns {BigNumber}
|
|
219
|
+
*/
|
|
220
|
+
getInt56(index?: number): BigNumber;
|
|
221
|
+
/**
|
|
222
|
+
* @param {number} [index]
|
|
223
|
+
* @returns {BigNumber}
|
|
224
|
+
*/
|
|
225
|
+
getUint56(index?: number): BigNumber;
|
|
226
|
+
/**
|
|
227
|
+
* @param {number} [index]
|
|
228
|
+
* @returns {BigNumber}
|
|
229
|
+
*/
|
|
230
|
+
getInt64(index?: number): BigNumber;
|
|
231
|
+
/**
|
|
232
|
+
* @param {number} [index]
|
|
233
|
+
* @returns {BigNumber}
|
|
234
|
+
*/
|
|
235
|
+
getUint64(index?: number): BigNumber;
|
|
236
|
+
/**
|
|
237
|
+
* @param {number} [index]
|
|
238
|
+
* @returns {BigNumber}
|
|
239
|
+
*/
|
|
240
|
+
getInt72(index?: number): BigNumber;
|
|
241
|
+
/**
|
|
242
|
+
* @param {number} [index]
|
|
243
|
+
* @returns {BigNumber}
|
|
244
|
+
*/
|
|
245
|
+
getUint72(index?: number): BigNumber;
|
|
246
|
+
/**
|
|
247
|
+
* @param {number} [index]
|
|
248
|
+
* @returns {BigNumber}
|
|
249
|
+
*/
|
|
250
|
+
getInt80(index?: number): BigNumber;
|
|
251
|
+
/**
|
|
252
|
+
* @param {number} [index]
|
|
253
|
+
* @returns {BigNumber}
|
|
254
|
+
*/
|
|
255
|
+
getUint80(index?: number): BigNumber;
|
|
256
|
+
/**
|
|
257
|
+
* @param {number} [index]
|
|
258
|
+
* @returns {BigNumber}
|
|
259
|
+
*/
|
|
260
|
+
getInt88(index?: number): BigNumber;
|
|
261
|
+
/**
|
|
262
|
+
* @param {number} [index]
|
|
263
|
+
* @returns {BigNumber}
|
|
264
|
+
*/
|
|
265
|
+
getUint88(index?: number): BigNumber;
|
|
266
|
+
/**
|
|
267
|
+
* @param {number} [index]
|
|
268
|
+
* @returns {BigNumber}
|
|
269
|
+
*/
|
|
270
|
+
getInt96(index?: number): BigNumber;
|
|
271
|
+
/**
|
|
272
|
+
* @param {number} [index]
|
|
273
|
+
* @returns {BigNumber}
|
|
274
|
+
*/
|
|
275
|
+
getUint96(index?: number): BigNumber;
|
|
276
|
+
/**
|
|
277
|
+
* @param {number} [index]
|
|
278
|
+
* @returns {BigNumber}
|
|
279
|
+
*/
|
|
280
|
+
getInt104(index?: number): BigNumber;
|
|
281
|
+
/**
|
|
282
|
+
* @param {number} [index]
|
|
283
|
+
* @returns {BigNumber}
|
|
284
|
+
*/
|
|
285
|
+
getUint104(index?: number): BigNumber;
|
|
286
|
+
/**
|
|
287
|
+
* @param {number} [index]
|
|
288
|
+
* @returns {BigNumber}
|
|
289
|
+
*/
|
|
290
|
+
getInt112(index?: number): BigNumber;
|
|
291
|
+
/**
|
|
292
|
+
* @param {number} [index]
|
|
293
|
+
* @returns {BigNumber}
|
|
294
|
+
*/
|
|
295
|
+
getUint112(index?: number): BigNumber;
|
|
296
|
+
/**
|
|
297
|
+
* @param {number} [index]
|
|
298
|
+
* @returns {BigNumber}
|
|
299
|
+
*/
|
|
300
|
+
getInt120(index?: number): BigNumber;
|
|
301
|
+
/**
|
|
302
|
+
* @param {number} [index]
|
|
303
|
+
* @returns {BigNumber}
|
|
304
|
+
*/
|
|
305
|
+
getUint120(index?: number): BigNumber;
|
|
306
|
+
/**
|
|
307
|
+
* @param {number} [index]
|
|
308
|
+
* @returns {BigNumber}
|
|
309
|
+
*/
|
|
310
|
+
getInt128(index?: number): BigNumber;
|
|
311
|
+
/**
|
|
312
|
+
* @param {number} [index]
|
|
313
|
+
* @returns {BigNumber}
|
|
314
|
+
*/
|
|
315
|
+
getUint128(index?: number): BigNumber;
|
|
316
|
+
/**
|
|
317
|
+
* @param {number} [index]
|
|
318
|
+
* @returns {BigNumber}
|
|
319
|
+
*/
|
|
320
|
+
getInt136(index?: number): BigNumber;
|
|
321
|
+
/**
|
|
322
|
+
* @param {number} [index]
|
|
323
|
+
* @returns {BigNumber}
|
|
324
|
+
*/
|
|
325
|
+
getUint136(index?: number): BigNumber;
|
|
326
|
+
/**
|
|
327
|
+
* @param {number} [index]
|
|
328
|
+
* @returns {BigNumber}
|
|
329
|
+
*/
|
|
330
|
+
getInt144(index?: number): BigNumber;
|
|
331
|
+
/**
|
|
332
|
+
* @param {number} [index]
|
|
333
|
+
* @returns {BigNumber}
|
|
334
|
+
*/
|
|
335
|
+
getUint144(index?: number): BigNumber;
|
|
336
|
+
/**
|
|
337
|
+
* @param {number} [index]
|
|
338
|
+
* @returns {BigNumber}
|
|
339
|
+
*/
|
|
340
|
+
getInt152(index?: number): BigNumber;
|
|
341
|
+
/**
|
|
342
|
+
* @param {number} [index]
|
|
343
|
+
* @returns {BigNumber}
|
|
344
|
+
*/
|
|
345
|
+
getUint152(index?: number): BigNumber;
|
|
346
|
+
/**
|
|
347
|
+
* @param {number} [index]
|
|
348
|
+
* @returns {BigNumber}
|
|
349
|
+
*/
|
|
350
|
+
getInt160(index?: number): BigNumber;
|
|
351
|
+
/**
|
|
352
|
+
* @param {number} [index]
|
|
353
|
+
* @returns {BigNumber}
|
|
354
|
+
*/
|
|
355
|
+
getUint160(index?: number): BigNumber;
|
|
356
|
+
/**
|
|
357
|
+
* @param {number} [index]
|
|
358
|
+
* @returns {BigNumber}
|
|
359
|
+
*/
|
|
360
|
+
getInt168(index?: number): BigNumber;
|
|
361
|
+
/**
|
|
362
|
+
* @param {number} [index]
|
|
363
|
+
* @returns {BigNumber}
|
|
364
|
+
*/
|
|
365
|
+
getUint168(index?: number): BigNumber;
|
|
366
|
+
/**
|
|
367
|
+
* @param {number} [index]
|
|
368
|
+
* @returns {BigNumber}
|
|
369
|
+
*/
|
|
370
|
+
getInt176(index?: number): BigNumber;
|
|
371
|
+
/**
|
|
372
|
+
* @param {number} [index]
|
|
373
|
+
* @returns {BigNumber}
|
|
374
|
+
*/
|
|
375
|
+
getUint176(index?: number): BigNumber;
|
|
376
|
+
/**
|
|
377
|
+
* @param {number} [index]
|
|
378
|
+
* @returns {BigNumber}
|
|
379
|
+
*/
|
|
380
|
+
getInt184(index?: number): BigNumber;
|
|
381
|
+
/**
|
|
382
|
+
* @param {number} [index]
|
|
383
|
+
* @returns {BigNumber}
|
|
384
|
+
*/
|
|
385
|
+
getUint184(index?: number): BigNumber;
|
|
386
|
+
/**
|
|
387
|
+
* @param {number} [index]
|
|
388
|
+
* @returns {BigNumber}
|
|
389
|
+
*/
|
|
390
|
+
getInt192(index?: number): BigNumber;
|
|
391
|
+
/**
|
|
392
|
+
* @param {number} [index]
|
|
393
|
+
* @returns {BigNumber}
|
|
394
|
+
*/
|
|
395
|
+
getUint192(index?: number): BigNumber;
|
|
396
|
+
/**
|
|
397
|
+
* @param {number} [index]
|
|
398
|
+
* @returns {BigNumber}
|
|
399
|
+
*/
|
|
400
|
+
getInt200(index?: number): BigNumber;
|
|
401
|
+
/**
|
|
402
|
+
* @param {number} [index]
|
|
403
|
+
* @returns {BigNumber}
|
|
404
|
+
*/
|
|
405
|
+
getUint200(index?: number): BigNumber;
|
|
406
|
+
/**
|
|
407
|
+
* @param {number} [index]
|
|
408
|
+
* @returns {BigNumber}
|
|
409
|
+
*/
|
|
410
|
+
getInt208(index?: number): BigNumber;
|
|
411
|
+
/**
|
|
412
|
+
* @param {number} [index]
|
|
413
|
+
* @returns {BigNumber}
|
|
414
|
+
*/
|
|
415
|
+
getUint208(index?: number): BigNumber;
|
|
416
|
+
/**
|
|
417
|
+
* @param {number} [index]
|
|
418
|
+
* @returns {BigNumber}
|
|
419
|
+
*/
|
|
420
|
+
getInt216(index?: number): BigNumber;
|
|
421
|
+
/**
|
|
422
|
+
* @param {number} [index]
|
|
423
|
+
* @returns {BigNumber}
|
|
424
|
+
*/
|
|
425
|
+
getUint216(index?: number): BigNumber;
|
|
426
|
+
/**
|
|
427
|
+
* @param {number} [index]
|
|
428
|
+
* @returns {BigNumber}
|
|
429
|
+
*/
|
|
430
|
+
getInt224(index?: number): BigNumber;
|
|
431
|
+
/**
|
|
432
|
+
* @param {number} [index]
|
|
433
|
+
* @returns {BigNumber}
|
|
434
|
+
*/
|
|
435
|
+
getUint224(index?: number): BigNumber;
|
|
436
|
+
/**
|
|
437
|
+
* @param {number} [index]
|
|
438
|
+
* @returns {BigNumber}
|
|
439
|
+
*/
|
|
440
|
+
getInt232(index?: number): BigNumber;
|
|
441
|
+
/**
|
|
442
|
+
* @param {number} [index]
|
|
443
|
+
* @returns {BigNumber}
|
|
444
|
+
*/
|
|
445
|
+
getUint232(index?: number): BigNumber;
|
|
446
|
+
/**
|
|
447
|
+
* @param {number} [index]
|
|
448
|
+
* @returns {BigNumber}
|
|
449
|
+
*/
|
|
450
|
+
getInt240(index?: number): BigNumber;
|
|
451
|
+
/**
|
|
452
|
+
* @param {number} [index]
|
|
453
|
+
* @returns {BigNumber}
|
|
454
|
+
*/
|
|
455
|
+
getUint240(index?: number): BigNumber;
|
|
456
|
+
/**
|
|
457
|
+
* @param {number} [index]
|
|
458
|
+
* @returns {BigNumber}
|
|
459
|
+
*/
|
|
460
|
+
getInt248(index?: number): BigNumber;
|
|
461
|
+
/**
|
|
462
|
+
* @param {number} [index]
|
|
463
|
+
* @returns {BigNumber}
|
|
464
|
+
*/
|
|
465
|
+
getUint248(index?: number): BigNumber;
|
|
466
|
+
/**
|
|
467
|
+
* @param {number} [index]
|
|
468
|
+
* @returns {BigNumber}
|
|
469
|
+
*/
|
|
470
|
+
getInt256(index?: number): BigNumber;
|
|
471
|
+
/**
|
|
472
|
+
* @param {number} [index]
|
|
473
|
+
* @returns {BigNumber}
|
|
474
|
+
*/
|
|
475
|
+
getUint256(index?: number): BigNumber;
|
|
476
|
+
/**
|
|
477
|
+
* @param {number} [index]
|
|
478
|
+
* @returns {string}
|
|
479
|
+
*/
|
|
480
|
+
getAddress(index?: number): string;
|
|
481
|
+
/**
|
|
482
|
+
* @description Decode the data according to the array of types, each of which may be a string or ParamType.
|
|
483
|
+
* @param {Array<string | ParamType>} types
|
|
484
|
+
* @returns {string | any}
|
|
485
|
+
*/
|
|
486
|
+
getResult(types: Array<string | ParamType>): string | any;
|
|
487
|
+
/**
|
|
488
|
+
* @param {number} [index]
|
|
489
|
+
* @returns {Uint8Array}
|
|
490
|
+
*/
|
|
491
|
+
_getBytes32(index?: number): Uint8Array;
|
|
492
|
+
/**
|
|
493
|
+
* @returns {HieroProto.proto.IContractFunctionResult}
|
|
494
|
+
*/
|
|
495
|
+
_toProtobuf(): HieroProto.proto.IContractFunctionResult;
|
|
496
|
+
}
|
|
497
|
+
export type ContractStateChange = import("./ContractStateChange.js").default;
|
|
498
|
+
export namespace HieroProto {
|
|
499
|
+
namespace proto {
|
|
500
|
+
type IContractFunctionResult = import("@hashgraph/proto").proto.IContractFunctionResult;
|
|
501
|
+
type IContractID = import("@hashgraph/proto").proto.IContractID;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
import ContractId from "./ContractId.js";
|
|
505
|
+
import Long from "long";
|
|
506
|
+
import ContractLogInfo from "./ContractLogInfo.js";
|
|
507
|
+
import AccountId from "../account/AccountId.js";
|
|
508
|
+
import ContractNonceInfo from "./ContractNonceInfo.js";
|
|
509
|
+
import BigNumber from "bignumber.js";
|
|
510
|
+
import { ParamType } from "@ethersproject/abi";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import t from"./ContractLogInfo.js";import e from"./ContractId.js";import n from"../account/AccountId.js";import s from"bignumber.js";import{encode as r}from"../encoding/hex.js";import{decode as o}from"../encoding/utf8.js";import{safeView as i}from"../util.js";import{defaultAbiCoder as u}from"@ethersproject/abi";import g from"long";import a from"./ContractNonceInfo.js";class l{constructor(t){this._createResult=t._createResult,this.contractId=t.contractId,this.bytes=t.bytes,this.errorMessage=t.errorMessage,this.bloom=t.bloom,this.gasUsed=t.gasUsed,this.logs=t.logs,this.createdContractIds=t.createdContractIds,this.evmAddress=t.evmAddress,this.stateChanges=t.stateChanges,this.gas=t.gas,this.amount=t.amount,this.functionParameters=t.functionParameters,this.senderAccountId=t.senderAccountId,this.contractNonces=t.contractNonces,this.signerNonce=t.signerNonce}static _fromProtobuf(s,r){const o=s.contractID,i=s.gasUsed,u=s.gas?s.gas:-1,c=s.amount?s.amount:-1;return new l({_createResult:r,bytes:s.contractCallResult,contractId:null!=o?e._fromProtobuf(o):null,errorMessage:null!=s.errorMessage?s.errorMessage:null,bloom:s.bloom,gasUsed:i instanceof g?i:g.fromValue(i),logs:(null!=s.logInfo?s.logInfo:[]).map((e=>t._fromProtobuf(e))),createdContractIds:(null!=s.createdContractIDs?s.createdContractIDs:[]).map((t=>e._fromProtobuf(t))),evmAddress:null!=s.evmAddress&&Object.hasOwn(s.evmAddress,"value")&&null!=s.evmAddress.value?s.evmAddress.value:null,stateChanges:[],gas:u instanceof g?u:g.fromValue(u),amount:c instanceof g?c:g.fromValue(c),functionParameters:s.functionParameters,senderAccountId:null!=s.senderId?n._fromProtobuf(s.senderId):null,contractNonces:(null!=s.contractNonces?s.contractNonces:[]).map((t=>a._fromProtobuf(t))),signerNonce:null!=s.signerNonce&&Object.hasOwn(s.signerNonce,"value")&&s.signerNonce.value||null})}asBytes(){return this.bytes}getString(t){return o(this.getBytes(t))}getBytes(t){const e=this.getInt32(t),n=i(this.bytes).getInt32(e+28);return this.bytes.subarray(e+32,e+32+n)}getBytes32(t){return this.bytes.subarray(32*(null!=t?t:0),32*(null!=t?t:0)+32)}getBool(t){return 0!==this.bytes[32*(null!=t?t:0)+31]}getInt8(t){const e=32*(null!=t?t:0)+31;return i(this.bytes).getInt8(e)}getUint8(t){return this.bytes[32*(null!=t?t:0)+31]}getInt16(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getInt32(e)}getUint16(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getUint32(e)}getInt24(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getInt32(e)}getUint24(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getUint32(e)}getInt32(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getInt32(e)}getUint32(t){const e=32*(null!=t?t:0)+28;return i(this.bytes).getUint32(e)}getInt40(t){const e=u.decode(["int40"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint40(t){return new s(r(this._getBytes32(t).subarray(27,32)),16)}getInt48(t){const e=u.decode(["int48"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint48(t){return new s(r(this._getBytes32(t).subarray(26,32)),16)}getInt56(t){const e=u.decode(["int56"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint56(t){return new s(r(this._getBytes32(t).subarray(25,32)),16)}getInt64(t){const e=u.decode(["int64"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint64(t){return new s(r(this._getBytes32(t).subarray(24,32)),16)}getInt72(t){const e=u.decode(["int72"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint72(t){return new s(r(this._getBytes32(t).subarray(23,32)),16)}getInt80(t){const e=u.decode(["int80"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint80(t){return new s(r(this._getBytes32(t).subarray(22,32)),16)}getInt88(t){const e=u.decode(["int88"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint88(t){return new s(r(this._getBytes32(t).subarray(21,32)),16)}getInt96(t){const e=u.decode(["int96"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint96(t){return new s(r(this._getBytes32(t).subarray(20,32)),16)}getInt104(t){const e=u.decode(["int104"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint104(t){return new s(r(this._getBytes32(t).subarray(19,32)),16)}getInt112(t){const e=u.decode(["int112"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint112(t){return new s(r(this._getBytes32(t).subarray(18,32)),16)}getInt120(t){const e=u.decode(["int120"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint120(t){return new s(r(this._getBytes32(t).subarray(17,32)),16)}getInt128(t){const e=u.decode(["int128"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint128(t){return new s(r(this._getBytes32(t).subarray(16,32)),16)}getInt136(t){const e=u.decode(["int136"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint136(t){return new s(r(this._getBytes32(t).subarray(15,32)),16)}getInt144(t){const e=u.decode(["int144"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint144(t){return new s(r(this._getBytes32(t).subarray(14,32)),16)}getInt152(t){const e=u.decode(["int152"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint152(t){return new s(r(this._getBytes32(t).subarray(13,32)),16)}getInt160(t){const e=u.decode(["int160"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint160(t){return new s(r(this._getBytes32(t).subarray(12,32)),16)}getInt168(t){const e=u.decode(["int168"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint168(t){return new s(r(this._getBytes32(t).subarray(11,32)),16)}getInt176(t){const e=u.decode(["int176"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint176(t){return new s(r(this._getBytes32(t).subarray(10,32)),16)}getInt184(t){const e=u.decode(["int184"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint184(t){return new s(r(this._getBytes32(t).subarray(9,32)),16)}getInt192(t){const e=u.decode(["int192"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint192(t){return new s(r(this._getBytes32(t).subarray(8,32)),16)}getInt200(t){const e=u.decode(["int200"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint200(t){return new s(r(this._getBytes32(t).subarray(7,32)),16)}getInt208(t){const e=u.decode(["int208"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint208(t){return new s(r(this._getBytes32(t).subarray(6,32)),16)}getInt216(t){const e=u.decode(["int216"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint216(t){return new s(r(this._getBytes32(t).subarray(5,32)),16)}getInt224(t){const e=u.decode(["int224"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint224(t){return new s(r(this._getBytes32(t).subarray(4,32)),16)}getInt232(t){const e=u.decode(["int232"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint232(t){return new s(r(this._getBytes32(t).subarray(3,32)),16)}getInt240(t){const e=u.decode(["int240"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint240(t){return new s(r(this._getBytes32(t).subarray(2,32)),16)}getInt248(t){const e=u.decode(["int248"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint248(t){return new s(r(this._getBytes32(t).subarray(1,32)),16)}getInt256(t){const e=u.decode(["int256"],this._getBytes32(null!=t?t:0));return new s(e.toString())}getUint256(t){return new s(r(this._getBytes32(t)),16)}getAddress(t){return r(this.bytes.subarray(32*(null!=t?t:0)+12,32*(null!=t?t:0)+32))}getResult(t){return u.decode(t,this.bytes)}_getBytes32(t){return this.bytes.subarray(32*(null!=t?t:0),32*(null!=t?t:0)+32)}_toProtobuf(){return{contractID:null!=this.contractId?this.contractId._toProtobuf():null,contractCallResult:this.bytes,errorMessage:this.errorMessage,bloom:this.bloom,gasUsed:this.gasUsed,logInfo:this.logs.map((t=>t._toProtobuf())),createdContractIDs:this.createdContractIds.map((t=>t._toProtobuf())),evmAddress:null!=this.evmAddress?{value:this.evmAddress}:null,gas:this.gas,amount:this.amount,functionParameters:this.functionParameters,senderId:null!=this.senderAccountId?this.senderAccountId._toProtobuf():null,contractNonces:this.contractNonces.map((t=>t._toProtobuf())),signerNonce:null!=this.signerNonce?{value:this.signerNonce}:null}}}export{l as default};
|
|
2
|
+
//# sourceMappingURL=ContractFunctionResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContractFunctionResult.js","sources":["../../src/contract/ContractFunctionResult.js"],"sourcesContent":["// SPDX-License-Identifier: Apache-2.0\n\nimport ContractLogInfo from \"./ContractLogInfo.js\";\nimport ContractId from \"./ContractId.js\";\nimport AccountId from \"../account/AccountId.js\";\nimport BigNumber from \"bignumber.js\";\nimport * as hex from \"../encoding/hex.js\";\nimport * as utf8 from \"../encoding/utf8.js\";\nimport * as util from \"../util.js\";\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { ParamType, defaultAbiCoder } from \"@ethersproject/abi\";\nimport Long from \"long\";\nimport ContractNonceInfo from \"./ContractNonceInfo.js\";\n\n/**\n * @typedef {import(\"./ContractStateChange.js\").default} ContractStateChange\n */\n\n/**\n * @namespace proto\n * @typedef {import(\"@hashgraph/proto\").proto.IContractFunctionResult} HieroProto.proto.IContractFunctionResult\n * @typedef {import(\"@hashgraph/proto\").proto.IContractID} HieroProto.proto.IContractID\n */\n\n/**\n * The result returned by a call to a smart contract function. This is part of the response to\n * a ContractCallLocal query, and is in the record for a ContractCall or ContractCreateInstance\n * transaction. The ContractCreateInstance transaction record has the results of the call to\n * the constructor.\n */\nexport default class ContractFunctionResult {\n /**\n * Constructor isn't part of the stable API\n *\n * @param {object} result\n * @param {boolean} result._createResult\n * @param {?ContractId} result.contractId\n * @param {?string} result.errorMessage\n * @param {Uint8Array} result.bloom\n * @param {Long} result.gasUsed\n * @param {ContractLogInfo[]} result.logs\n * @param {ContractId[]} result.createdContractIds\n * @param {Uint8Array | null} result.evmAddress\n * @param {Uint8Array} result.bytes\n * @param {Long} result.gas\n * @param {Long} result.amount\n * @param {Uint8Array} result.functionParameters\n * @param {?AccountId} result.senderAccountId\n * @param {ContractStateChange[]} result.stateChanges\n * @param {ContractNonceInfo[]} result.contractNonces\n * @param {Long | null} result.signerNonce\n */\n constructor(result) {\n /**\n * Determines if this result came from `record.contractCreateResult` if true\n * or `record.contractCallResult` if false\n */\n this._createResult = result._createResult;\n\n /**\n * The smart contract instance whose function was called.\n */\n this.contractId = result.contractId;\n\n this.bytes = result.bytes;\n\n /**\n * Message In case there was an error during smart contract execution.\n */\n this.errorMessage = result.errorMessage;\n\n /**\n * Bloom filter for record\n */\n this.bloom = result.bloom;\n\n /**\n * Units of gas used to execute contract.\n */\n this.gasUsed = result.gasUsed;\n\n /**\n * The log info for events returned by the function.\n */\n this.logs = result.logs;\n\n /**\n * @deprecated the list of smart contracts that were created by the function call.\n *\n * The created ids will now _also_ be externalized through internal transaction\n * records, where each record has its alias field populated with the new contract's\n * EVM address. (This is needed for contracts created with CREATE2, since\n * there is no longer a simple relationship between the new contract's 0.0.X id\n * and its Solidity address.)\n */\n // eslint-disable-next-line deprecation/deprecation\n this.createdContractIds = result.createdContractIds;\n\n this.evmAddress = result.evmAddress;\n\n /**\n * @deprecated - Use mirror node for contract traceability instead\n */\n // eslint-disable-next-line deprecation/deprecation\n this.stateChanges = result.stateChanges;\n\n /**\n * The amount of gas available for the call, aka the gasLimit.\n */\n this.gas = result.gas;\n\n /**\n * Number of tinybars sent (the function must be payable if this is nonzero).\n */\n this.amount = result.amount;\n\n /**\n * The parameters passed into the contract call.\n */\n this.functionParameters = result.functionParameters;\n\n /**\n * The account that is the \"sender.\" If not present it is the accountId from the transactionId.\n *\n * This field should only be populated when the paired TransactionBody in the record stream is not a\n * ContractCreateTransactionBody or a ContractCallTransactionBody.\n */\n this.senderAccountId = result.senderAccountId;\n\n /**\n * A list of updated contract account nonces containing the new nonce value for each contract account.\n * This is always empty in a ContractCallLocalResponse#ContractFunctionResult message, since no internal creations can happen in a static EVM call.\n */\n this.contractNonces = result.contractNonces;\n\n /**\n * If not null this field specifies what the value of the signer account nonce is post transaction execution.\n * For transactions that don't update the signer nonce (like HAPI ContractCall and ContractCreate transactions) this field should be null.\n */\n this.signerNonce = result.signerNonce;\n }\n\n /**\n * @param {HieroProto.proto.IContractFunctionResult} result\n * @param {boolean} _createResult\n * @returns {ContractFunctionResult}\n */\n static _fromProtobuf(result, _createResult) {\n const contractId = /** @type {HieroProto.proto.IContractID | null} */ (\n result.contractID\n );\n const gasUsed = /** @type {Long} */ (result.gasUsed);\n const gas = /** @type {Long} */ (result.gas ? result.gas : -1);\n const amount = /** @type {Long} */ (result.amount ? result.amount : -1);\n\n return new ContractFunctionResult({\n _createResult,\n bytes: /** @type {Uint8Array} */ (result.contractCallResult),\n contractId:\n contractId != null\n ? ContractId._fromProtobuf(contractId)\n : null,\n errorMessage:\n result.errorMessage != null ? result.errorMessage : null,\n bloom: /** @type {Uint8Array} */ (result.bloom),\n gasUsed:\n gasUsed instanceof Long ? gasUsed : Long.fromValue(gasUsed),\n logs: (result.logInfo != null ? result.logInfo : []).map((info) =>\n ContractLogInfo._fromProtobuf(info),\n ),\n createdContractIds: (result.createdContractIDs != null\n ? result.createdContractIDs\n : []\n ).map((contractId) => ContractId._fromProtobuf(contractId)),\n evmAddress:\n result.evmAddress != null &&\n Object.hasOwn(result.evmAddress, \"value\") &&\n result.evmAddress.value != null\n ? result.evmAddress.value\n : null,\n stateChanges: [],\n gas: gas instanceof Long ? gas : Long.fromValue(gas),\n amount: amount instanceof Long ? amount : Long.fromValue(amount),\n functionParameters: /** @type {Uint8Array} */ (\n result.functionParameters\n ),\n senderAccountId:\n result.senderId != null\n ? AccountId._fromProtobuf(result.senderId)\n : null,\n contractNonces: (result.contractNonces != null\n ? result.contractNonces\n : []\n ).map((contractNonce) =>\n ContractNonceInfo._fromProtobuf(contractNonce),\n ),\n signerNonce:\n result.signerNonce != null\n ? Object.hasOwn(result.signerNonce, \"value\")\n ? result.signerNonce.value || null\n : null\n : null,\n });\n }\n\n /**\n * @returns {Uint8Array}\n */\n asBytes() {\n return this.bytes;\n }\n\n /**\n * @param {number} [index]\n * @returns {string}\n */\n getString(index) {\n return utf8.decode(this.getBytes(index));\n }\n\n /**\n * @private\n * @param {number} [index]\n * @returns {Uint8Array}\n */\n getBytes(index) {\n // Len should never be larger than Number.MAX\n // index * 32 is the position of the lenth\n // (index + 1) * 32 onward to (index + 1) * 32 + len will be the elements of the array\n // Arrays in solidity cannot be longer than 1024:\n // https://solidity.readthedocs.io/en/v0.4.21/introduction-to-smart-contracts.html\n const offset = this.getInt32(index);\n const len = util.safeView(this.bytes).getInt32(offset + 28);\n\n return this.bytes.subarray(offset + 32, offset + 32 + len);\n }\n\n /**\n * @param {number} [index]\n * @returns {Uint8Array}\n */\n getBytes32(index) {\n return this.bytes.subarray(\n (index != null ? index : 0) * 32,\n (index != null ? index : 0) * 32 + 32,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {boolean}\n */\n getBool(index) {\n return this.bytes[(index != null ? index : 0) * 32 + 31] !== 0;\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getInt8(index) {\n const position = (index != null ? index : 0) * 32 + 31;\n return util.safeView(this.bytes).getInt8(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getUint8(index) {\n return this.bytes[(index != null ? index : 0) * 32 + 31];\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getInt16(index) {\n // .getInt32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getInt32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getUint16(index) {\n // .getUint32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getUint32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getInt24(index) {\n // .getInt32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getInt32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getUint24(index) {\n // .getUint32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getUint32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getInt32(index) {\n // .getInt32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getInt32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {number}\n */\n getUint32(index) {\n // .getUint32() interprets as big-endian\n // Using DataView instead of Uint32Array because the latter interprets\n // using platform endianness which is little-endian on x86\n const position = (index != null ? index : 0) * 32 + 28;\n return util.safeView(this.bytes).getUint32(position);\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt40(index) {\n const result = defaultAbiCoder.decode(\n [\"int40\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint40(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(27, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt48(index) {\n const result = defaultAbiCoder.decode(\n [\"int48\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint48(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(26, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt56(index) {\n const result = defaultAbiCoder.decode(\n [\"int56\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint56(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(25, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt64(index) {\n const result = defaultAbiCoder.decode(\n [\"int64\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint64(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(24, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt72(index) {\n const result = defaultAbiCoder.decode(\n [\"int72\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint72(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(23, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt80(index) {\n const result = defaultAbiCoder.decode(\n [\"int80\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint80(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(22, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt88(index) {\n const result = defaultAbiCoder.decode(\n [\"int88\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint88(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(21, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt96(index) {\n const result = defaultAbiCoder.decode(\n [\"int96\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint96(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(20, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt104(index) {\n const result = defaultAbiCoder.decode(\n [\"int104\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint104(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(19, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt112(index) {\n const result = defaultAbiCoder.decode(\n [\"int112\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint112(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(18, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt120(index) {\n const result = defaultAbiCoder.decode(\n [\"int120\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint120(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(17, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt128(index) {\n const result = defaultAbiCoder.decode(\n [\"int128\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint128(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(16, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt136(index) {\n const result = defaultAbiCoder.decode(\n [\"int136\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint136(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(15, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt144(index) {\n const result = defaultAbiCoder.decode(\n [\"int144\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint144(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(14, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt152(index) {\n const result = defaultAbiCoder.decode(\n [\"int152\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint152(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(13, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt160(index) {\n const result = defaultAbiCoder.decode(\n [\"int160\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint160(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(12, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt168(index) {\n const result = defaultAbiCoder.decode(\n [\"int168\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint168(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(11, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt176(index) {\n const result = defaultAbiCoder.decode(\n [\"int176\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint176(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(10, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt184(index) {\n const result = defaultAbiCoder.decode(\n [\"int184\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint184(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(9, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt192(index) {\n const result = defaultAbiCoder.decode(\n [\"int192\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint192(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(8, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt200(index) {\n const result = defaultAbiCoder.decode(\n [\"int200\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint200(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(7, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt208(index) {\n const result = defaultAbiCoder.decode(\n [\"int208\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint208(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(6, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt216(index) {\n const result = defaultAbiCoder.decode(\n [\"int216\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint216(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(5, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt224(index) {\n const result = defaultAbiCoder.decode(\n [\"int224\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint224(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(4, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt232(index) {\n const result = defaultAbiCoder.decode(\n [\"int232\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint232(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(3, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt240(index) {\n const result = defaultAbiCoder.decode(\n [\"int240\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint240(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(2, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt248(index) {\n const result = defaultAbiCoder.decode(\n [\"int248\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint248(index) {\n return new BigNumber(\n hex.encode(this._getBytes32(index).subarray(1, 32)),\n 16,\n );\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getInt256(index) {\n const result = defaultAbiCoder.decode(\n [\"int256\"],\n this._getBytes32(index != null ? index : 0),\n );\n return new BigNumber(result.toString());\n }\n\n /**\n * @param {number} [index]\n * @returns {BigNumber}\n */\n getUint256(index) {\n return new BigNumber(hex.encode(this._getBytes32(index)), 16);\n }\n\n /**\n * @param {number} [index]\n * @returns {string}\n */\n getAddress(index) {\n return hex.encode(\n this.bytes.subarray(\n (index != null ? index : 0) * 32 + 12,\n (index != null ? index : 0) * 32 + 32,\n ),\n );\n }\n\n /**\n * @description Decode the data according to the array of types, each of which may be a string or ParamType.\n * @param {Array<string | ParamType>} types\n * @returns {string | any}\n */\n getResult(types) {\n return defaultAbiCoder.decode(types, this.bytes);\n }\n\n /**\n * @param {number} [index]\n * @returns {Uint8Array}\n */\n _getBytes32(index) {\n return this.bytes.subarray(\n (index != null ? index : 0) * 32,\n (index != null ? index : 0) * 32 + 32,\n );\n }\n\n /**\n * @returns {HieroProto.proto.IContractFunctionResult}\n */\n _toProtobuf() {\n return {\n contractID:\n this.contractId != null ? this.contractId._toProtobuf() : null,\n contractCallResult: this.bytes,\n errorMessage: this.errorMessage,\n bloom: this.bloom,\n gasUsed: this.gasUsed,\n logInfo: this.logs.map((log) => log._toProtobuf()),\n // eslint-disable-next-line deprecation/deprecation\n createdContractIDs: this.createdContractIds.map((id) =>\n id._toProtobuf(),\n ),\n evmAddress:\n this.evmAddress != null\n ? {\n value: this.evmAddress,\n }\n : null,\n gas: this.gas,\n amount: this.amount,\n functionParameters: this.functionParameters,\n senderId:\n this.senderAccountId != null\n ? this.senderAccountId._toProtobuf()\n : null,\n contractNonces: this.contractNonces.map((contractNonce) =>\n contractNonce._toProtobuf(),\n ),\n signerNonce:\n this.signerNonce != null\n ? {\n value: this.signerNonce,\n }\n : null,\n };\n }\n}\n"],"names":["ContractFunctionResult","constructor","result","this","_createResult","contractId","bytes","errorMessage","bloom","gasUsed","logs","createdContractIds","evmAddress","stateChanges","gas","amount","functionParameters","senderAccountId","contractNonces","signerNonce","_fromProtobuf","ContractId","Long","fromValue","logInfo","map","info","ContractLogInfo","createdContractIDs","Object","hasOwn","value","senderId","AccountId","contractNonce","ContractNonceInfo","asBytes","getString","index","utf8.decode","getBytes","offset","getInt32","len","util.safeView","subarray","getBytes32","getBool","getInt8","position","getUint8","getInt16","getUint16","getUint32","getInt24","getUint24","getInt40","defaultAbiCoder","decode","_getBytes32","BigNumber","toString","getUint40","hex.encode","getInt48","getUint48","getInt56","getUint56","getInt64","getUint64","getInt72","getUint72","getInt80","getUint80","getInt88","getUint88","getInt96","getUint96","getInt104","getUint104","getInt112","getUint112","getInt120","getUint120","getInt128","getUint128","getInt136","getUint136","getInt144","getUint144","getInt152","getUint152","getInt160","getUint160","getInt168","getUint168","getInt176","getUint176","getInt184","getUint184","getInt192","getUint192","getInt200","getUint200","getInt208","getUint208","getInt216","getUint216","getInt224","getUint224","getInt232","getUint232","getInt240","getUint240","getInt248","getUint248","getInt256","getUint256","getAddress","getResult","types","_toProtobuf","contractID","contractCallResult","log","id"],"mappings":"oXA8Be,MAAMA,EAsBjB,WAAAC,CAAYC,GAKRC,KAAKC,cAAgBF,EAAOE,cAK5BD,KAAKE,WAAaH,EAAOG,WAEzBF,KAAKG,MAAQJ,EAAOI,MAKpBH,KAAKI,aAAeL,EAAOK,aAK3BJ,KAAKK,MAAQN,EAAOM,MAKpBL,KAAKM,QAAUP,EAAOO,QAKtBN,KAAK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