@bitgo/account-lib 2.20.1 → 2.21.0-hotfix.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -0
- package/README.md +5 -7
- package/dist/browser/bitgo-account-lib.js +2 -0
- package/dist/browser/bitgo-account-lib.js.LICENSE.txt +337 -0
- package/dist/resources/hbar/protobuf/BasicTypes.proto +424 -0
- package/dist/resources/hbar/protobuf/CryptoCreate.proto +47 -0
- package/dist/resources/hbar/protobuf/CryptoTransfer.proto +33 -0
- package/dist/resources/hbar/protobuf/Duration.proto +28 -0
- package/dist/resources/hbar/protobuf/Timestamp.proto +34 -0
- package/dist/resources/hbar/protobuf/Transaction.proto +35 -0
- package/dist/resources/hbar/protobuf/TransactionBody.proto +24 -0
- package/dist/resources/hbar/protobuf/TransactionContents.proto +33 -0
- package/dist/resources/hbar/protobuf/hedera.d.ts +4612 -0
- package/dist/resources/hbar/protobuf/hedera.js +12192 -0
- package/dist/resources/trx/protobuf/Contract.proto +256 -0
- package/dist/resources/trx/protobuf/Discover.proto +44 -0
- package/dist/resources/trx/protobuf/tron.d.ts +11024 -0
- package/dist/resources/trx/protobuf/tron.js +31510 -0
- package/dist/resources/trx/protobuf/tron.proto +677 -0
- package/dist/src/coin/algo/assetTransferBuilder.d.ts +42 -0
- package/dist/src/coin/algo/assetTransferBuilder.d.ts.map +1 -0
- package/dist/src/coin/algo/assetTransferBuilder.js +105 -0
- package/dist/src/coin/algo/errors.d.ts +11 -0
- package/dist/src/coin/algo/errors.d.ts.map +1 -0
- package/dist/src/coin/algo/errors.js +27 -0
- package/dist/src/coin/algo/ifaces.d.ts +46 -0
- package/dist/src/coin/algo/ifaces.d.ts.map +1 -0
- package/dist/src/coin/algo/ifaces.js +3 -0
- package/dist/src/coin/algo/index.d.ts +13 -0
- package/dist/src/coin/algo/index.d.ts.map +1 -0
- package/dist/src/coin/algo/index.js +47 -0
- package/dist/src/coin/algo/keyPair.d.ts +25 -0
- package/dist/src/coin/algo/keyPair.d.ts.map +1 -0
- package/dist/src/coin/algo/keyPair.js +77 -0
- package/dist/src/coin/algo/keyRegistrationBuilder.d.ts +104 -0
- package/dist/src/coin/algo/keyRegistrationBuilder.d.ts.map +1 -0
- package/dist/src/coin/algo/keyRegistrationBuilder.js +239 -0
- package/dist/src/coin/algo/seedEncoding.d.ts +25 -0
- package/dist/src/coin/algo/seedEncoding.d.ts.map +1 -0
- package/dist/src/coin/algo/seedEncoding.js +97 -0
- package/dist/src/coin/algo/transaction.d.ts +75 -0
- package/dist/src/coin/algo/transaction.d.ts.map +1 -0
- package/dist/src/coin/algo/transaction.js +251 -0
- package/dist/src/coin/algo/transactionBuilder.d.ts +204 -0
- package/dist/src/coin/algo/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/algo/transactionBuilder.js +373 -0
- package/dist/src/coin/algo/transactionBuilderFactory.d.ts +16 -0
- package/dist/src/coin/algo/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/algo/transactionBuilderFactory.js +52 -0
- package/dist/src/coin/algo/transferBuilder.d.ts +40 -0
- package/dist/src/coin/algo/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/algo/transferBuilder.js +89 -0
- package/dist/src/coin/algo/txnSchema.d.ts +7 -0
- package/dist/src/coin/algo/txnSchema.d.ts.map +1 -0
- package/dist/src/coin/algo/txnSchema.js +68 -0
- package/dist/src/coin/algo/utils.d.ts +249 -0
- package/dist/src/coin/algo/utils.d.ts.map +1 -0
- package/dist/src/coin/algo/utils.js +539 -0
- package/dist/src/coin/avaxc/index.d.ts +8 -0
- package/dist/src/coin/avaxc/index.d.ts.map +1 -0
- package/dist/src/coin/avaxc/index.js +35 -0
- package/dist/src/coin/avaxc/keyPair.d.ts +26 -0
- package/dist/src/coin/avaxc/keyPair.d.ts.map +1 -0
- package/dist/src/coin/avaxc/keyPair.js +83 -0
- package/dist/src/coin/avaxc/resources.d.ts +12 -0
- package/dist/src/coin/avaxc/resources.d.ts.map +1 -0
- package/dist/src/coin/avaxc/resources.js +27 -0
- package/dist/src/coin/avaxc/transactionBuilder.d.ts +17 -0
- package/dist/src/coin/avaxc/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/avaxc/transactionBuilder.js +45 -0
- package/dist/src/coin/avaxc/transferBuilder.d.ts +17 -0
- package/dist/src/coin/avaxc/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/avaxc/transferBuilder.js +25 -0
- package/dist/src/coin/avaxc/utils.d.ts +39 -0
- package/dist/src/coin/avaxc/utils.d.ts.map +1 -0
- package/dist/src/coin/avaxc/utils.js +70 -0
- package/dist/src/coin/avaxc/walletUtil.d.ts +22 -0
- package/dist/src/coin/avaxc/walletUtil.d.ts.map +1 -0
- package/dist/src/coin/avaxc/walletUtil.js +62 -0
- package/dist/src/coin/baseCoin/baseKeyPair.d.ts +27 -0
- package/dist/src/coin/baseCoin/baseKeyPair.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/baseKeyPair.js +3 -0
- package/dist/src/coin/baseCoin/baseTransaction.d.ts +71 -0
- package/dist/src/coin/baseCoin/baseTransaction.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/baseTransaction.js +94 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilder.d.ts +128 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilder.js +179 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.d.ts +30 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.js +20 -0
- package/dist/src/coin/baseCoin/baseUtils.d.ts +45 -0
- package/dist/src/coin/baseCoin/baseUtils.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/baseUtils.js +3 -0
- package/dist/src/coin/baseCoin/blsKeyPair.d.ts +75 -0
- package/dist/src/coin/baseCoin/blsKeyPair.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/blsKeyPair.js +232 -0
- package/dist/src/coin/baseCoin/ed25519KeyPair.d.ts +50 -0
- package/dist/src/coin/baseCoin/ed25519KeyPair.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/ed25519KeyPair.js +141 -0
- package/dist/src/coin/baseCoin/enum.d.ts +43 -0
- package/dist/src/coin/baseCoin/enum.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/enum.js +70 -0
- package/dist/src/coin/baseCoin/errors.d.ts +65 -0
- package/dist/src/coin/baseCoin/errors.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/errors.js +156 -0
- package/dist/src/coin/baseCoin/iface.d.ts +162 -0
- package/dist/src/coin/baseCoin/iface.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/iface.js +38 -0
- package/dist/src/coin/baseCoin/index.d.ts +12 -0
- package/dist/src/coin/baseCoin/index.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/index.js +41 -0
- package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.d.ts +55 -0
- package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.d.ts.map +1 -0
- package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.js +124 -0
- package/dist/src/coin/celo/index.d.ts +8 -0
- package/dist/src/coin/celo/index.d.ts.map +1 -0
- package/dist/src/coin/celo/index.js +35 -0
- package/dist/src/coin/celo/resources.d.ts +10 -0
- package/dist/src/coin/celo/resources.d.ts.map +1 -0
- package/dist/src/coin/celo/resources.js +26 -0
- package/dist/src/coin/celo/stakingBuilder.d.ts +91 -0
- package/dist/src/coin/celo/stakingBuilder.d.ts.map +1 -0
- package/dist/src/coin/celo/stakingBuilder.js +277 -0
- package/dist/src/coin/celo/stakingCall.d.ts +7 -0
- package/dist/src/coin/celo/stakingCall.d.ts.map +1 -0
- package/dist/src/coin/celo/stakingCall.js +13 -0
- package/dist/src/coin/celo/stakingUtils.d.ts +15 -0
- package/dist/src/coin/celo/stakingUtils.d.ts.map +1 -0
- package/dist/src/coin/celo/stakingUtils.js +98 -0
- package/dist/src/coin/celo/transaction.d.ts +10 -0
- package/dist/src/coin/celo/transaction.d.ts.map +1 -0
- package/dist/src/coin/celo/transaction.js +37 -0
- package/dist/src/coin/celo/transactionBuilder.d.ts +86 -0
- package/dist/src/coin/celo/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/celo/transactionBuilder.js +228 -0
- package/dist/src/coin/celo/transferBuilder.d.ts +19 -0
- package/dist/src/coin/celo/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/celo/transferBuilder.js +27 -0
- package/dist/src/coin/celo/types.d.ts +52 -0
- package/dist/src/coin/celo/types.d.ts.map +1 -0
- package/dist/src/coin/celo/types.js +222 -0
- package/dist/src/coin/celo/utils.d.ts +18 -0
- package/dist/src/coin/celo/utils.d.ts.map +1 -0
- package/dist/src/coin/celo/utils.js +99 -0
- package/dist/src/coin/cspr/constants.d.ts +19 -0
- package/dist/src/coin/cspr/constants.d.ts.map +1 -0
- package/dist/src/coin/cspr/constants.js +28 -0
- package/dist/src/coin/cspr/delegateBuilder.d.ts +49 -0
- package/dist/src/coin/cspr/delegateBuilder.d.ts.map +1 -0
- package/dist/src/coin/cspr/delegateBuilder.js +111 -0
- package/dist/src/coin/cspr/ifaces.d.ts +69 -0
- package/dist/src/coin/cspr/ifaces.d.ts.map +1 -0
- package/dist/src/coin/cspr/ifaces.js +3 -0
- package/dist/src/coin/cspr/index.d.ts +6 -0
- package/dist/src/coin/cspr/index.d.ts.map +1 -0
- package/dist/src/coin/cspr/index.js +31 -0
- package/dist/src/coin/cspr/keyPair.d.ts +18 -0
- package/dist/src/coin/cspr/keyPair.d.ts.map +1 -0
- package/dist/src/coin/cspr/keyPair.js +75 -0
- package/dist/src/coin/cspr/transaction.d.ts +55 -0
- package/dist/src/coin/cspr/transaction.d.ts.map +1 -0
- package/dist/src/coin/cspr/transaction.js +227 -0
- package/dist/src/coin/cspr/transactionBuilder.d.ts +124 -0
- package/dist/src/coin/cspr/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/cspr/transactionBuilder.js +312 -0
- package/dist/src/coin/cspr/transactionBuilderFactory.d.ts +46 -0
- package/dist/src/coin/cspr/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/cspr/transactionBuilderFactory.js +98 -0
- package/dist/src/coin/cspr/transferBuilder.d.ts +39 -0
- package/dist/src/coin/cspr/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/cspr/transferBuilder.js +106 -0
- package/dist/src/coin/cspr/undelegateBuilder.d.ts +49 -0
- package/dist/src/coin/cspr/undelegateBuilder.d.ts.map +1 -0
- package/dist/src/coin/cspr/undelegateBuilder.js +111 -0
- package/dist/src/coin/cspr/utils.d.ts +188 -0
- package/dist/src/coin/cspr/utils.d.ts.map +1 -0
- package/dist/src/coin/cspr/utils.js +477 -0
- package/dist/src/coin/cspr/walletInitializationBuilder.d.ts +27 -0
- package/dist/src/coin/cspr/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/cspr/walletInitializationBuilder.js +95 -0
- package/dist/src/coin/dot/addressInitializationBuilder.d.ts +79 -0
- package/dist/src/coin/dot/addressInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/addressInitializationBuilder.js +182 -0
- package/dist/src/coin/dot/batchTransactionBuilder.d.ts +47 -0
- package/dist/src/coin/dot/batchTransactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/batchTransactionBuilder.js +122 -0
- package/dist/src/coin/dot/claimBuilder.d.ts +58 -0
- package/dist/src/coin/dot/claimBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/claimBuilder.js +119 -0
- package/dist/src/coin/dot/errors.d.ts +8 -0
- package/dist/src/coin/dot/errors.d.ts.map +1 -0
- package/dist/src/coin/dot/errors.js +19 -0
- package/dist/src/coin/dot/iface.d.ts +194 -0
- package/dist/src/coin/dot/iface.d.ts.map +1 -0
- package/dist/src/coin/dot/iface.js +39 -0
- package/dist/src/coin/dot/index.d.ts +17 -0
- package/dist/src/coin/dot/index.d.ts.map +1 -0
- package/dist/src/coin/dot/index.js +53 -0
- package/dist/src/coin/dot/keyPair.d.ts +31 -0
- package/dist/src/coin/dot/keyPair.d.ts.map +1 -0
- package/dist/src/coin/dot/keyPair.js +70 -0
- package/dist/src/coin/dot/singletonRegistry.d.ts +7 -0
- package/dist/src/coin/dot/singletonRegistry.d.ts.map +1 -0
- package/dist/src/coin/dot/singletonRegistry.js +20 -0
- package/dist/src/coin/dot/stakingBuilder.d.ts +58 -0
- package/dist/src/coin/dot/stakingBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/stakingBuilder.js +139 -0
- package/dist/src/coin/dot/transaction.d.ts +65 -0
- package/dist/src/coin/dot/transaction.d.ts.map +1 -0
- package/dist/src/coin/dot/transaction.js +396 -0
- package/dist/src/coin/dot/transactionBuilder.d.ts +131 -0
- package/dist/src/coin/dot/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/transactionBuilder.js +332 -0
- package/dist/src/coin/dot/transactionBuilderFactory.d.ts +26 -0
- package/dist/src/coin/dot/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/dot/transactionBuilderFactory.js +93 -0
- package/dist/src/coin/dot/transferBuilder.d.ts +71 -0
- package/dist/src/coin/dot/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/transferBuilder.js +177 -0
- package/dist/src/coin/dot/txnSchema.d.ts +14 -0
- package/dist/src/coin/dot/txnSchema.d.ts.map +1 -0
- package/dist/src/coin/dot/txnSchema.js +104 -0
- package/dist/src/coin/dot/unnominateBuilder.d.ts +24 -0
- package/dist/src/coin/dot/unnominateBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/unnominateBuilder.js +50 -0
- package/dist/src/coin/dot/unstakeBuilder.d.ts +38 -0
- package/dist/src/coin/dot/unstakeBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/unstakeBuilder.js +89 -0
- package/dist/src/coin/dot/utils.d.ts +145 -0
- package/dist/src/coin/dot/utils.d.ts.map +1 -0
- package/dist/src/coin/dot/utils.js +283 -0
- package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts +38 -0
- package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts.map +1 -0
- package/dist/src/coin/dot/withdrawUnstakedBuilder.js +90 -0
- package/dist/src/coin/etc/index.d.ts +8 -0
- package/dist/src/coin/etc/index.d.ts.map +1 -0
- package/dist/src/coin/etc/index.js +35 -0
- package/dist/src/coin/etc/resources.d.ts +10 -0
- package/dist/src/coin/etc/resources.d.ts.map +1 -0
- package/dist/src/coin/etc/resources.js +26 -0
- package/dist/src/coin/etc/transactionBuilder.d.ts +17 -0
- package/dist/src/coin/etc/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/etc/transactionBuilder.js +45 -0
- package/dist/src/coin/etc/transferBuilder.d.ts +19 -0
- package/dist/src/coin/etc/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/etc/transferBuilder.js +27 -0
- package/dist/src/coin/etc/utils.d.ts +18 -0
- package/dist/src/coin/etc/utils.d.ts.map +1 -0
- package/dist/src/coin/etc/utils.js +42 -0
- package/dist/src/coin/eth/contractCall.d.ts +8 -0
- package/dist/src/coin/eth/contractCall.d.ts.map +1 -0
- package/dist/src/coin/eth/contractCall.js +17 -0
- package/dist/src/coin/eth/iface.d.ts +122 -0
- package/dist/src/coin/eth/iface.d.ts.map +1 -0
- package/dist/src/coin/eth/iface.js +8 -0
- package/dist/src/coin/eth/index.d.ts +10 -0
- package/dist/src/coin/eth/index.d.ts.map +1 -0
- package/dist/src/coin/eth/index.js +39 -0
- package/dist/src/coin/eth/keyPair.d.ts +26 -0
- package/dist/src/coin/eth/keyPair.d.ts.map +1 -0
- package/dist/src/coin/eth/keyPair.js +85 -0
- package/dist/src/coin/eth/transaction.d.ts +64 -0
- package/dist/src/coin/eth/transaction.d.ts.map +1 -0
- package/dist/src/coin/eth/transaction.js +137 -0
- package/dist/src/coin/eth/transactionBuilder.d.ts +194 -0
- package/dist/src/coin/eth/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/eth/transactionBuilder.js +624 -0
- package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts +47 -0
- package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts.map +1 -0
- package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.js +113 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts +14 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts.map +1 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.js +83 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts +13 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts.map +1 -0
- package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.js +68 -0
- package/dist/src/coin/eth/transferBuilder.d.ts +65 -0
- package/dist/src/coin/eth/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/eth/transferBuilder.js +197 -0
- package/dist/src/coin/eth/types.d.ts +39 -0
- package/dist/src/coin/eth/types.d.ts.map +1 -0
- package/dist/src/coin/eth/types.js +135 -0
- package/dist/src/coin/eth/utils.d.ts +201 -0
- package/dist/src/coin/eth/utils.d.ts.map +1 -0
- package/dist/src/coin/eth/utils.js +486 -0
- package/dist/src/coin/eth/walletUtil.d.ts +21 -0
- package/dist/src/coin/eth/walletUtil.d.ts.map +1 -0
- package/dist/src/coin/eth/walletUtil.js +31 -0
- package/dist/src/coin/eth2/index.d.ts +2 -0
- package/dist/src/coin/eth2/index.d.ts.map +1 -0
- package/dist/src/coin/eth2/index.js +6 -0
- package/dist/src/coin/eth2/keyPair.d.ts +33 -0
- package/dist/src/coin/eth2/keyPair.d.ts.map +1 -0
- package/dist/src/coin/eth2/keyPair.js +65 -0
- package/dist/src/coin/hbar/constants.d.ts +8 -0
- package/dist/src/coin/hbar/constants.d.ts.map +1 -0
- package/dist/src/coin/hbar/constants.js +12 -0
- package/dist/src/coin/hbar/iface.d.ts +26 -0
- package/dist/src/coin/hbar/iface.d.ts.map +1 -0
- package/dist/src/coin/hbar/iface.js +3 -0
- package/dist/src/coin/hbar/ifaces.d.ts +26 -0
- package/dist/src/coin/hbar/ifaces.d.ts.map +1 -0
- package/dist/src/coin/hbar/ifaces.js +3 -0
- package/dist/src/coin/hbar/index.d.ts +6 -0
- package/dist/src/coin/hbar/index.d.ts.map +1 -0
- package/dist/src/coin/hbar/index.js +31 -0
- package/dist/src/coin/hbar/keyPair.d.ts +23 -0
- package/dist/src/coin/hbar/keyPair.d.ts.map +1 -0
- package/dist/src/coin/hbar/keyPair.js +70 -0
- package/dist/src/coin/hbar/tokenAssociateBuilder.d.ts +35 -0
- package/dist/src/coin/hbar/tokenAssociateBuilder.d.ts.map +1 -0
- package/dist/src/coin/hbar/tokenAssociateBuilder.js +118 -0
- package/dist/src/coin/hbar/transaction.d.ts +97 -0
- package/dist/src/coin/hbar/transaction.d.ts.map +1 -0
- package/dist/src/coin/hbar/transaction.js +255 -0
- package/dist/src/coin/hbar/transactionBuilder.d.ts +111 -0
- package/dist/src/coin/hbar/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/hbar/transactionBuilder.js +270 -0
- package/dist/src/coin/hbar/transactionBuilderFactory.d.ts +42 -0
- package/dist/src/coin/hbar/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/hbar/transactionBuilderFactory.js +79 -0
- package/dist/src/coin/hbar/transferBuilder.d.ts +43 -0
- package/dist/src/coin/hbar/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/hbar/transferBuilder.js +124 -0
- package/dist/src/coin/hbar/utils.d.ts +186 -0
- package/dist/src/coin/hbar/utils.d.ts.map +1 -0
- package/dist/src/coin/hbar/utils.js +400 -0
- package/dist/src/coin/hbar/walletInitializationBuilder.d.ts +28 -0
- package/dist/src/coin/hbar/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/hbar/walletInitializationBuilder.js +110 -0
- package/dist/src/coin/near/constants.d.ts +12 -0
- package/dist/src/coin/near/constants.d.ts.map +1 -0
- package/dist/src/coin/near/constants.js +15 -0
- package/dist/src/coin/near/contractCallWrapper.d.ts +33 -0
- package/dist/src/coin/near/contractCallWrapper.d.ts.map +1 -0
- package/dist/src/coin/near/contractCallWrapper.js +68 -0
- package/dist/src/coin/near/errors.d.ts +5 -0
- package/dist/src/coin/near/errors.d.ts.map +1 -0
- package/dist/src/coin/near/errors.js +12 -0
- package/dist/src/coin/near/iface.d.ts +40 -0
- package/dist/src/coin/near/iface.d.ts.map +1 -0
- package/dist/src/coin/near/iface.js +8 -0
- package/dist/src/coin/near/index.d.ts +11 -0
- package/dist/src/coin/near/index.d.ts.map +1 -0
- package/dist/src/coin/near/index.js +41 -0
- package/dist/src/coin/near/keyPair.d.ts +25 -0
- package/dist/src/coin/near/keyPair.d.ts.map +1 -0
- package/dist/src/coin/near/keyPair.js +73 -0
- package/dist/src/coin/near/stakingActivateBuilder.d.ts +32 -0
- package/dist/src/coin/near/stakingActivateBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/stakingActivateBuilder.js +90 -0
- package/dist/src/coin/near/stakingDeactivateBuilder.d.ts +32 -0
- package/dist/src/coin/near/stakingDeactivateBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/stakingDeactivateBuilder.js +89 -0
- package/dist/src/coin/near/stakingWithdrawBuilder.d.ts +32 -0
- package/dist/src/coin/near/stakingWithdrawBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/stakingWithdrawBuilder.js +89 -0
- package/dist/src/coin/near/transaction.d.ts +90 -0
- package/dist/src/coin/near/transaction.d.ts.map +1 -0
- package/dist/src/coin/near/transaction.js +368 -0
- package/dist/src/coin/near/transactionBuilder.d.ts +89 -0
- package/dist/src/coin/near/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/transactionBuilder.js +216 -0
- package/dist/src/coin/near/transactionBuilderFactory.d.ts +30 -0
- package/dist/src/coin/near/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/near/transactionBuilderFactory.js +71 -0
- package/dist/src/coin/near/transferBuilder.d.ts +26 -0
- package/dist/src/coin/near/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/transferBuilder.js +72 -0
- package/dist/src/coin/near/utils.d.ts +42 -0
- package/dist/src/coin/near/utils.d.ts.map +1 -0
- package/dist/src/coin/near/utils.js +85 -0
- package/dist/src/coin/near/walletInitializationBuilder.d.ts +12 -0
- package/dist/src/coin/near/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/near/walletInitializationBuilder.js +20 -0
- package/dist/src/coin/polygon/index.d.ts +8 -0
- package/dist/src/coin/polygon/index.d.ts.map +1 -0
- package/dist/src/coin/polygon/index.js +35 -0
- package/dist/src/coin/polygon/resources.d.ts +10 -0
- package/dist/src/coin/polygon/resources.d.ts.map +1 -0
- package/dist/src/coin/polygon/resources.js +25 -0
- package/dist/src/coin/polygon/transactionBuilder.d.ts +17 -0
- package/dist/src/coin/polygon/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/polygon/transactionBuilder.js +44 -0
- package/dist/src/coin/polygon/transferBuilder.d.ts +19 -0
- package/dist/src/coin/polygon/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/polygon/transferBuilder.js +27 -0
- package/dist/src/coin/polygon/utils.d.ts +18 -0
- package/dist/src/coin/polygon/utils.d.ts.map +1 -0
- package/dist/src/coin/polygon/utils.js +42 -0
- package/dist/src/coin/polygon/walletUtil.d.ts +48 -0
- package/dist/src/coin/polygon/walletUtil.d.ts.map +1 -0
- package/dist/src/coin/polygon/walletUtil.js +632 -0
- package/dist/src/coin/rbtc/index.d.ts +8 -0
- package/dist/src/coin/rbtc/index.d.ts.map +1 -0
- package/dist/src/coin/rbtc/index.js +35 -0
- package/dist/src/coin/rbtc/resources.d.ts +10 -0
- package/dist/src/coin/rbtc/resources.d.ts.map +1 -0
- package/dist/src/coin/rbtc/resources.js +25 -0
- package/dist/src/coin/rbtc/transactionBuilder.d.ts +17 -0
- package/dist/src/coin/rbtc/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/rbtc/transactionBuilder.js +44 -0
- package/dist/src/coin/rbtc/transferBuilder.d.ts +19 -0
- package/dist/src/coin/rbtc/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/rbtc/transferBuilder.js +27 -0
- package/dist/src/coin/rbtc/utils.d.ts +18 -0
- package/dist/src/coin/rbtc/utils.d.ts.map +1 -0
- package/dist/src/coin/rbtc/utils.js +42 -0
- package/dist/src/coin/sol/ataInitializationBuilder.d.ts +41 -0
- package/dist/src/coin/sol/ataInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/ataInitializationBuilder.js +110 -0
- package/dist/src/coin/sol/ataInitializationTransaction.d.ts +14 -0
- package/dist/src/coin/sol/ataInitializationTransaction.d.ts.map +1 -0
- package/dist/src/coin/sol/ataInitializationTransaction.js +81 -0
- package/dist/src/coin/sol/constants.d.ts +58 -0
- package/dist/src/coin/sol/constants.d.ts.map +1 -0
- package/dist/src/coin/sol/constants.js +76 -0
- package/dist/src/coin/sol/iface.d.ts +99 -0
- package/dist/src/coin/sol/iface.d.ts.map +1 -0
- package/dist/src/coin/sol/iface.js +3 -0
- package/dist/src/coin/sol/index.d.ts +11 -0
- package/dist/src/coin/sol/index.d.ts.map +1 -0
- package/dist/src/coin/sol/index.js +41 -0
- package/dist/src/coin/sol/instructionParamsFactory.d.ts +12 -0
- package/dist/src/coin/sol/instructionParamsFactory.d.ts.map +1 -0
- package/dist/src/coin/sol/instructionParamsFactory.js +260 -0
- package/dist/src/coin/sol/keyPair.d.ts +26 -0
- package/dist/src/coin/sol/keyPair.d.ts.map +1 -0
- package/dist/src/coin/sol/keyPair.js +63 -0
- package/dist/src/coin/sol/solInstructionFactory.d.ts +10 -0
- package/dist/src/coin/sol/solInstructionFactory.d.ts.map +1 -0
- package/dist/src/coin/sol/solInstructionFactory.js +213 -0
- package/dist/src/coin/sol/stakingActivateBuilder.d.ts +41 -0
- package/dist/src/coin/sol/stakingActivateBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/stakingActivateBuilder.js +94 -0
- package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts +23 -0
- package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/stakingDeactivateBuilder.js +62 -0
- package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts +31 -0
- package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/stakingWithdrawBuilder.js +78 -0
- package/dist/src/coin/sol/tokenEncodeDecode.d.ts +85 -0
- package/dist/src/coin/sol/tokenEncodeDecode.d.ts.map +1 -0
- package/dist/src/coin/sol/tokenEncodeDecode.js +133 -0
- package/dist/src/coin/sol/tokenTransferBuilder.d.ts +27 -0
- package/dist/src/coin/sol/tokenTransferBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/tokenTransferBuilder.js +73 -0
- package/dist/src/coin/sol/transaction.d.ts +61 -0
- package/dist/src/coin/sol/transaction.d.ts.map +1 -0
- package/dist/src/coin/sol/transaction.js +369 -0
- package/dist/src/coin/sol/transactionBuilder.d.ts +101 -0
- package/dist/src/coin/sol/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/transactionBuilder.js +261 -0
- package/dist/src/coin/sol/transactionBuilderFactory.d.ts +76 -0
- package/dist/src/coin/sol/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/sol/transactionBuilderFactory.js +136 -0
- package/dist/src/coin/sol/transferBuilder.d.ts +26 -0
- package/dist/src/coin/sol/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/transferBuilder.js +67 -0
- package/dist/src/coin/sol/utils.d.ts +146 -0
- package/dist/src/coin/sol/utils.d.ts.map +1 -0
- package/dist/src/coin/sol/utils.js +361 -0
- package/dist/src/coin/sol/walletInitializationBuilder.d.ts +26 -0
- package/dist/src/coin/sol/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/sol/walletInitializationBuilder.js +71 -0
- package/dist/src/coin/stx/abstractContractBuilder.d.ts +19 -0
- package/dist/src/coin/stx/abstractContractBuilder.d.ts.map +1 -0
- package/dist/src/coin/stx/abstractContractBuilder.js +70 -0
- package/dist/src/coin/stx/constants.d.ts +8 -0
- package/dist/src/coin/stx/constants.d.ts.map +1 -0
- package/dist/src/coin/stx/constants.js +19 -0
- package/dist/src/coin/stx/contractBuilder.d.ts +33 -0
- package/dist/src/coin/stx/contractBuilder.d.ts.map +1 -0
- package/dist/src/coin/stx/contractBuilder.js +116 -0
- package/dist/src/coin/stx/iface.d.ts +48 -0
- package/dist/src/coin/stx/iface.d.ts.map +1 -0
- package/dist/src/coin/stx/iface.js +3 -0
- package/dist/src/coin/stx/index.d.ts +6 -0
- package/dist/src/coin/stx/index.d.ts.map +1 -0
- package/dist/src/coin/stx/index.js +32 -0
- package/dist/src/coin/stx/keyPair.d.ts +55 -0
- package/dist/src/coin/stx/keyPair.d.ts.map +1 -0
- package/dist/src/coin/stx/keyPair.js +140 -0
- package/dist/src/coin/stx/sendmanyBuilder.d.ts +23 -0
- package/dist/src/coin/stx/sendmanyBuilder.d.ts.map +1 -0
- package/dist/src/coin/stx/sendmanyBuilder.js +75 -0
- package/dist/src/coin/stx/transaction.d.ts +49 -0
- package/dist/src/coin/stx/transaction.d.ts.map +1 -0
- package/dist/src/coin/stx/transaction.js +225 -0
- package/dist/src/coin/stx/transactionBuilder.d.ts +86 -0
- package/dist/src/coin/stx/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/stx/transactionBuilder.js +263 -0
- package/dist/src/coin/stx/transactionBuilderFactory.d.ts +30 -0
- package/dist/src/coin/stx/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/stx/transactionBuilderFactory.js +81 -0
- package/dist/src/coin/stx/transferBuilder.d.ts +30 -0
- package/dist/src/coin/stx/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/stx/transferBuilder.js +99 -0
- package/dist/src/coin/stx/utils.d.ts +207 -0
- package/dist/src/coin/stx/utils.d.ts.map +1 -0
- package/dist/src/coin/stx/utils.js +503 -0
- package/dist/src/coin/trx/address.d.ts +11 -0
- package/dist/src/coin/trx/address.d.ts.map +1 -0
- package/dist/src/coin/trx/address.js +13 -0
- package/dist/src/coin/trx/contractCallBuilder.d.ts +96 -0
- package/dist/src/coin/trx/contractCallBuilder.d.ts.map +1 -0
- package/dist/src/coin/trx/contractCallBuilder.js +281 -0
- package/dist/src/coin/trx/enum.d.ts +23 -0
- package/dist/src/coin/trx/enum.d.ts.map +1 -0
- package/dist/src/coin/trx/enum.js +28 -0
- package/dist/src/coin/trx/iface.d.ts +92 -0
- package/dist/src/coin/trx/iface.d.ts.map +1 -0
- package/dist/src/coin/trx/iface.js +3 -0
- package/dist/src/coin/trx/index.d.ts +10 -0
- package/dist/src/coin/trx/index.d.ts.map +1 -0
- package/dist/src/coin/trx/index.js +39 -0
- package/dist/src/coin/trx/keyPair.d.ts +44 -0
- package/dist/src/coin/trx/keyPair.d.ts.map +1 -0
- package/dist/src/coin/trx/keyPair.js +121 -0
- package/dist/src/coin/trx/transaction.d.ts +74 -0
- package/dist/src/coin/trx/transaction.d.ts.map +1 -0
- package/dist/src/coin/trx/transaction.js +205 -0
- package/dist/src/coin/trx/transactionBuilder.d.ts +65 -0
- package/dist/src/coin/trx/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/trx/transactionBuilder.js +215 -0
- package/dist/src/coin/trx/utils.d.ts +127 -0
- package/dist/src/coin/trx/utils.d.ts.map +1 -0
- package/dist/src/coin/trx/utils.js +369 -0
- package/dist/src/coin/trx/wrappedBuilder.d.ts +52 -0
- package/dist/src/coin/trx/wrappedBuilder.d.ts.map +1 -0
- package/dist/src/coin/trx/wrappedBuilder.js +104 -0
- package/dist/src/coin/xrp/index.d.ts +5 -0
- package/dist/src/coin/xrp/index.d.ts.map +1 -0
- package/dist/src/coin/xrp/index.js +29 -0
- package/dist/src/coin/xrp/keyPair.d.ts +10 -0
- package/dist/src/coin/xrp/keyPair.d.ts.map +1 -0
- package/dist/src/coin/xrp/keyPair.js +16 -0
- package/dist/src/coin/xrp/transaction.d.ts +10 -0
- package/dist/src/coin/xrp/transaction.d.ts.map +1 -0
- package/dist/src/coin/xrp/transaction.js +20 -0
- package/dist/src/coin/xrp/transactionBuilder.d.ts +27 -0
- package/dist/src/coin/xrp/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/xrp/transactionBuilder.js +46 -0
- package/dist/src/coin/xrp/transactionBuilderFactory.d.ts +24 -0
- package/dist/src/coin/xrp/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/coin/xrp/transactionBuilderFactory.js +38 -0
- package/dist/src/coin/xrp/transferBuilder.d.ts +14 -0
- package/dist/src/coin/xrp/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/xrp/transferBuilder.js +24 -0
- package/dist/src/coin/xrp/utils.d.ts +16 -0
- package/dist/src/coin/xrp/utils.d.ts.map +1 -0
- package/dist/src/coin/xrp/utils.js +32 -0
- package/dist/src/coin/xrp/walletInitializationBuilder.d.ts +14 -0
- package/dist/src/coin/xrp/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/coin/xrp/walletInitializationBuilder.js +24 -0
- package/dist/src/coin/xtz/address.d.ts +8 -0
- package/dist/src/coin/xtz/address.d.ts.map +1 -0
- package/dist/src/coin/xtz/address.js +10 -0
- package/dist/src/coin/xtz/iface.d.ts +81 -0
- package/dist/src/coin/xtz/iface.d.ts.map +1 -0
- package/dist/src/coin/xtz/iface.js +3 -0
- package/dist/src/coin/xtz/index.d.ts +8 -0
- package/dist/src/coin/xtz/index.d.ts.map +1 -0
- package/dist/src/coin/xtz/index.js +37 -0
- package/dist/src/coin/xtz/keyPair.d.ts +40 -0
- package/dist/src/coin/xtz/keyPair.d.ts.map +1 -0
- package/dist/src/coin/xtz/keyPair.js +136 -0
- package/dist/src/coin/xtz/multisigUtils.d.ts +134 -0
- package/dist/src/coin/xtz/multisigUtils.d.ts.map +1 -0
- package/dist/src/coin/xtz/multisigUtils.js +1180 -0
- package/dist/src/coin/xtz/transaction.d.ts +119 -0
- package/dist/src/coin/xtz/transaction.d.ts.map +1 -0
- package/dist/src/coin/xtz/transaction.js +315 -0
- package/dist/src/coin/xtz/transactionBuilder.d.ts +171 -0
- package/dist/src/coin/xtz/transactionBuilder.d.ts.map +1 -0
- package/dist/src/coin/xtz/transactionBuilder.js +453 -0
- package/dist/src/coin/xtz/transferBuilder.d.ts +24 -0
- package/dist/src/coin/xtz/transferBuilder.d.ts.map +1 -0
- package/dist/src/coin/xtz/transferBuilder.js +64 -0
- package/dist/src/coin/xtz/utils.d.ts +265 -0
- package/dist/src/coin/xtz/utils.d.ts.map +1 -0
- package/dist/src/coin/xtz/utils.js +460 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -2
- package/dist/src/mpc/curves/baseCurve.d.ts +18 -0
- package/dist/src/mpc/curves/baseCurve.d.ts.map +1 -0
- package/dist/src/mpc/curves/baseCurve.js +6 -0
- package/dist/src/mpc/curves/ed25519.d.ts +17 -0
- package/dist/src/mpc/curves/ed25519.d.ts.map +1 -0
- package/dist/src/mpc/curves/ed25519.js +48 -0
- package/dist/src/mpc/curves/index.d.ts +5 -0
- package/dist/src/mpc/curves/index.d.ts.map +1 -0
- package/dist/src/mpc/curves/index.js +6 -0
- package/dist/src/mpc/curves/secp256k1.d.ts +16 -0
- package/dist/src/mpc/curves/secp256k1.d.ts.map +1 -0
- package/dist/src/mpc/curves/secp256k1.js +66 -0
- package/dist/src/mpc/curves.d.ts +29 -0
- package/dist/src/mpc/curves.d.ts.map +1 -0
- package/dist/src/mpc/curves.js +96 -0
- package/dist/src/mpc/hdTree.d.ts +24 -0
- package/dist/src/mpc/hdTree.d.ts.map +1 -0
- package/dist/src/mpc/hdTree.js +143 -0
- package/dist/src/mpc/shamir.d.ts +26 -0
- package/dist/src/mpc/shamir.d.ts.map +1 -0
- package/dist/src/mpc/shamir.js +87 -0
- package/dist/src/mpc/tss/eddsa/eddsa.d.ts +29 -0
- package/dist/src/mpc/tss/eddsa/eddsa.d.ts.map +1 -0
- package/dist/src/mpc/tss/eddsa/eddsa.js +273 -0
- package/dist/src/mpc/tss/eddsa/index.d.ts +4 -0
- package/dist/src/mpc/tss/eddsa/index.d.ts.map +1 -0
- package/dist/src/mpc/tss/eddsa/index.js +30 -0
- package/dist/src/mpc/tss/eddsa/types.d.ts +70 -0
- package/dist/src/mpc/tss/eddsa/types.d.ts.map +1 -0
- package/dist/src/mpc/tss/eddsa/types.js +3 -0
- package/dist/src/mpc/tss/index.d.ts +5 -0
- package/dist/src/mpc/tss/index.d.ts.map +1 -0
- package/dist/src/mpc/tss/index.js +32 -0
- package/dist/src/mpc/tss.d.ts +98 -0
- package/dist/src/mpc/tss.d.ts.map +1 -0
- package/dist/src/mpc/tss.js +344 -0
- package/dist/src/mpc/util.d.ts +7 -0
- package/dist/src/mpc/util.d.ts.map +1 -0
- package/dist/src/mpc/util.js +38 -0
- package/dist/src/utils/crypto.d.ts +99 -0
- package/dist/src/utils/crypto.d.ts.map +1 -0
- package/dist/src/utils/crypto.js +260 -0
- package/dist/src/utils/ed25519KeyDeriver.d.ts +49 -0
- package/dist/src/utils/ed25519KeyDeriver.d.ts.map +1 -0
- package/dist/src/utils/ed25519KeyDeriver.js +92 -0
- package/dist/tsconfig.tsbuildinfo +7282 -1934
- package/package.json +24 -27
|
@@ -0,0 +1,4612 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
/** Namespace proto. */
|
|
3
|
+
export namespace proto {
|
|
4
|
+
|
|
5
|
+
/** Properties of a Timestamp. */
|
|
6
|
+
interface ITimestamp {
|
|
7
|
+
|
|
8
|
+
/** Timestamp seconds */
|
|
9
|
+
seconds?: (number|Long|null);
|
|
10
|
+
|
|
11
|
+
/** Timestamp nanos */
|
|
12
|
+
nanos?: (number|null);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Represents a Timestamp. */
|
|
16
|
+
class Timestamp implements ITimestamp {
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Constructs a new Timestamp.
|
|
20
|
+
* @param [properties] Properties to set
|
|
21
|
+
*/
|
|
22
|
+
constructor(properties?: proto.ITimestamp);
|
|
23
|
+
|
|
24
|
+
/** Timestamp seconds. */
|
|
25
|
+
public seconds: (number|Long);
|
|
26
|
+
|
|
27
|
+
/** Timestamp nanos. */
|
|
28
|
+
public nanos: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Creates a new Timestamp instance using the specified properties.
|
|
32
|
+
* @param [properties] Properties to set
|
|
33
|
+
* @returns Timestamp instance
|
|
34
|
+
*/
|
|
35
|
+
public static create(properties?: proto.ITimestamp): proto.Timestamp;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Encodes the specified Timestamp message. Does not implicitly {@link proto.Timestamp.verify|verify} messages.
|
|
39
|
+
* @param message Timestamp message or plain object to encode
|
|
40
|
+
* @param [writer] Writer to encode to
|
|
41
|
+
* @returns Writer
|
|
42
|
+
*/
|
|
43
|
+
public static encode(message: proto.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Encodes the specified Timestamp message, length delimited. Does not implicitly {@link proto.Timestamp.verify|verify} messages.
|
|
47
|
+
* @param message Timestamp message or plain object to encode
|
|
48
|
+
* @param [writer] Writer to encode to
|
|
49
|
+
* @returns Writer
|
|
50
|
+
*/
|
|
51
|
+
public static encodeDelimited(message: proto.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Decodes a Timestamp message from the specified reader or buffer.
|
|
55
|
+
* @param reader Reader or buffer to decode from
|
|
56
|
+
* @param [length] Message length if known beforehand
|
|
57
|
+
* @returns Timestamp
|
|
58
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
59
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60
|
+
*/
|
|
61
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Timestamp;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Decodes a Timestamp message from the specified reader or buffer, length delimited.
|
|
65
|
+
* @param reader Reader or buffer to decode from
|
|
66
|
+
* @returns Timestamp
|
|
67
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
69
|
+
*/
|
|
70
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Timestamp;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Verifies a Timestamp message.
|
|
74
|
+
* @param message Plain object to verify
|
|
75
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
76
|
+
*/
|
|
77
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
|
|
81
|
+
* @param object Plain object
|
|
82
|
+
* @returns Timestamp
|
|
83
|
+
*/
|
|
84
|
+
public static fromObject(object: { [k: string]: any }): proto.Timestamp;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Creates a plain object from a Timestamp message. Also converts values to other types if specified.
|
|
88
|
+
* @param message Timestamp
|
|
89
|
+
* @param [options] Conversion options
|
|
90
|
+
* @returns Plain object
|
|
91
|
+
*/
|
|
92
|
+
public static toObject(message: proto.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Converts this Timestamp to JSON.
|
|
96
|
+
* @returns JSON object
|
|
97
|
+
*/
|
|
98
|
+
public toJSON(): { [k: string]: any };
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Properties of a TimestampSeconds. */
|
|
102
|
+
interface ITimestampSeconds {
|
|
103
|
+
|
|
104
|
+
/** TimestampSeconds seconds */
|
|
105
|
+
seconds?: (number|Long|null);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Represents a TimestampSeconds. */
|
|
109
|
+
class TimestampSeconds implements ITimestampSeconds {
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Constructs a new TimestampSeconds.
|
|
113
|
+
* @param [properties] Properties to set
|
|
114
|
+
*/
|
|
115
|
+
constructor(properties?: proto.ITimestampSeconds);
|
|
116
|
+
|
|
117
|
+
/** TimestampSeconds seconds. */
|
|
118
|
+
public seconds: (number|Long);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Creates a new TimestampSeconds instance using the specified properties.
|
|
122
|
+
* @param [properties] Properties to set
|
|
123
|
+
* @returns TimestampSeconds instance
|
|
124
|
+
*/
|
|
125
|
+
public static create(properties?: proto.ITimestampSeconds): proto.TimestampSeconds;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Encodes the specified TimestampSeconds message. Does not implicitly {@link proto.TimestampSeconds.verify|verify} messages.
|
|
129
|
+
* @param message TimestampSeconds message or plain object to encode
|
|
130
|
+
* @param [writer] Writer to encode to
|
|
131
|
+
* @returns Writer
|
|
132
|
+
*/
|
|
133
|
+
public static encode(message: proto.ITimestampSeconds, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Encodes the specified TimestampSeconds message, length delimited. Does not implicitly {@link proto.TimestampSeconds.verify|verify} messages.
|
|
137
|
+
* @param message TimestampSeconds message or plain object to encode
|
|
138
|
+
* @param [writer] Writer to encode to
|
|
139
|
+
* @returns Writer
|
|
140
|
+
*/
|
|
141
|
+
public static encodeDelimited(message: proto.ITimestampSeconds, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Decodes a TimestampSeconds message from the specified reader or buffer.
|
|
145
|
+
* @param reader Reader or buffer to decode from
|
|
146
|
+
* @param [length] Message length if known beforehand
|
|
147
|
+
* @returns TimestampSeconds
|
|
148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
150
|
+
*/
|
|
151
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TimestampSeconds;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Decodes a TimestampSeconds message from the specified reader or buffer, length delimited.
|
|
155
|
+
* @param reader Reader or buffer to decode from
|
|
156
|
+
* @returns TimestampSeconds
|
|
157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
159
|
+
*/
|
|
160
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TimestampSeconds;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Verifies a TimestampSeconds message.
|
|
164
|
+
* @param message Plain object to verify
|
|
165
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
166
|
+
*/
|
|
167
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Creates a TimestampSeconds message from a plain object. Also converts values to their respective internal types.
|
|
171
|
+
* @param object Plain object
|
|
172
|
+
* @returns TimestampSeconds
|
|
173
|
+
*/
|
|
174
|
+
public static fromObject(object: { [k: string]: any }): proto.TimestampSeconds;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Creates a plain object from a TimestampSeconds message. Also converts values to other types if specified.
|
|
178
|
+
* @param message TimestampSeconds
|
|
179
|
+
* @param [options] Conversion options
|
|
180
|
+
* @returns Plain object
|
|
181
|
+
*/
|
|
182
|
+
public static toObject(message: proto.TimestampSeconds, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Converts this TimestampSeconds to JSON.
|
|
186
|
+
* @returns JSON object
|
|
187
|
+
*/
|
|
188
|
+
public toJSON(): { [k: string]: any };
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** Properties of a ShardID. */
|
|
192
|
+
interface IShardID {
|
|
193
|
+
|
|
194
|
+
/** ShardID shardNum */
|
|
195
|
+
shardNum?: (number|Long|null);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Represents a ShardID. */
|
|
199
|
+
class ShardID implements IShardID {
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Constructs a new ShardID.
|
|
203
|
+
* @param [properties] Properties to set
|
|
204
|
+
*/
|
|
205
|
+
constructor(properties?: proto.IShardID);
|
|
206
|
+
|
|
207
|
+
/** ShardID shardNum. */
|
|
208
|
+
public shardNum: (number|Long);
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Creates a new ShardID instance using the specified properties.
|
|
212
|
+
* @param [properties] Properties to set
|
|
213
|
+
* @returns ShardID instance
|
|
214
|
+
*/
|
|
215
|
+
public static create(properties?: proto.IShardID): proto.ShardID;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Encodes the specified ShardID message. Does not implicitly {@link proto.ShardID.verify|verify} messages.
|
|
219
|
+
* @param message ShardID message or plain object to encode
|
|
220
|
+
* @param [writer] Writer to encode to
|
|
221
|
+
* @returns Writer
|
|
222
|
+
*/
|
|
223
|
+
public static encode(message: proto.IShardID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Encodes the specified ShardID message, length delimited. Does not implicitly {@link proto.ShardID.verify|verify} messages.
|
|
227
|
+
* @param message ShardID message or plain object to encode
|
|
228
|
+
* @param [writer] Writer to encode to
|
|
229
|
+
* @returns Writer
|
|
230
|
+
*/
|
|
231
|
+
public static encodeDelimited(message: proto.IShardID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Decodes a ShardID message from the specified reader or buffer.
|
|
235
|
+
* @param reader Reader or buffer to decode from
|
|
236
|
+
* @param [length] Message length if known beforehand
|
|
237
|
+
* @returns ShardID
|
|
238
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
239
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
240
|
+
*/
|
|
241
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ShardID;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Decodes a ShardID message from the specified reader or buffer, length delimited.
|
|
245
|
+
* @param reader Reader or buffer to decode from
|
|
246
|
+
* @returns ShardID
|
|
247
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
248
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
249
|
+
*/
|
|
250
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ShardID;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Verifies a ShardID message.
|
|
254
|
+
* @param message Plain object to verify
|
|
255
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
256
|
+
*/
|
|
257
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Creates a ShardID message from a plain object. Also converts values to their respective internal types.
|
|
261
|
+
* @param object Plain object
|
|
262
|
+
* @returns ShardID
|
|
263
|
+
*/
|
|
264
|
+
public static fromObject(object: { [k: string]: any }): proto.ShardID;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Creates a plain object from a ShardID message. Also converts values to other types if specified.
|
|
268
|
+
* @param message ShardID
|
|
269
|
+
* @param [options] Conversion options
|
|
270
|
+
* @returns Plain object
|
|
271
|
+
*/
|
|
272
|
+
public static toObject(message: proto.ShardID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Converts this ShardID to JSON.
|
|
276
|
+
* @returns JSON object
|
|
277
|
+
*/
|
|
278
|
+
public toJSON(): { [k: string]: any };
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Properties of a RealmID. */
|
|
282
|
+
interface IRealmID {
|
|
283
|
+
|
|
284
|
+
/** RealmID shardNum */
|
|
285
|
+
shardNum?: (number|Long|null);
|
|
286
|
+
|
|
287
|
+
/** RealmID realmNum */
|
|
288
|
+
realmNum?: (number|Long|null);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** Represents a RealmID. */
|
|
292
|
+
class RealmID implements IRealmID {
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Constructs a new RealmID.
|
|
296
|
+
* @param [properties] Properties to set
|
|
297
|
+
*/
|
|
298
|
+
constructor(properties?: proto.IRealmID);
|
|
299
|
+
|
|
300
|
+
/** RealmID shardNum. */
|
|
301
|
+
public shardNum: (number|Long);
|
|
302
|
+
|
|
303
|
+
/** RealmID realmNum. */
|
|
304
|
+
public realmNum: (number|Long);
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Creates a new RealmID instance using the specified properties.
|
|
308
|
+
* @param [properties] Properties to set
|
|
309
|
+
* @returns RealmID instance
|
|
310
|
+
*/
|
|
311
|
+
public static create(properties?: proto.IRealmID): proto.RealmID;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Encodes the specified RealmID message. Does not implicitly {@link proto.RealmID.verify|verify} messages.
|
|
315
|
+
* @param message RealmID message or plain object to encode
|
|
316
|
+
* @param [writer] Writer to encode to
|
|
317
|
+
* @returns Writer
|
|
318
|
+
*/
|
|
319
|
+
public static encode(message: proto.IRealmID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Encodes the specified RealmID message, length delimited. Does not implicitly {@link proto.RealmID.verify|verify} messages.
|
|
323
|
+
* @param message RealmID message or plain object to encode
|
|
324
|
+
* @param [writer] Writer to encode to
|
|
325
|
+
* @returns Writer
|
|
326
|
+
*/
|
|
327
|
+
public static encodeDelimited(message: proto.IRealmID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Decodes a RealmID message from the specified reader or buffer.
|
|
331
|
+
* @param reader Reader or buffer to decode from
|
|
332
|
+
* @param [length] Message length if known beforehand
|
|
333
|
+
* @returns RealmID
|
|
334
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
335
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
336
|
+
*/
|
|
337
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.RealmID;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Decodes a RealmID message from the specified reader or buffer, length delimited.
|
|
341
|
+
* @param reader Reader or buffer to decode from
|
|
342
|
+
* @returns RealmID
|
|
343
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
344
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
345
|
+
*/
|
|
346
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.RealmID;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Verifies a RealmID message.
|
|
350
|
+
* @param message Plain object to verify
|
|
351
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
352
|
+
*/
|
|
353
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Creates a RealmID message from a plain object. Also converts values to their respective internal types.
|
|
357
|
+
* @param object Plain object
|
|
358
|
+
* @returns RealmID
|
|
359
|
+
*/
|
|
360
|
+
public static fromObject(object: { [k: string]: any }): proto.RealmID;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Creates a plain object from a RealmID message. Also converts values to other types if specified.
|
|
364
|
+
* @param message RealmID
|
|
365
|
+
* @param [options] Conversion options
|
|
366
|
+
* @returns Plain object
|
|
367
|
+
*/
|
|
368
|
+
public static toObject(message: proto.RealmID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Converts this RealmID to JSON.
|
|
372
|
+
* @returns JSON object
|
|
373
|
+
*/
|
|
374
|
+
public toJSON(): { [k: string]: any };
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** Properties of an AccountID. */
|
|
378
|
+
interface IAccountID {
|
|
379
|
+
|
|
380
|
+
/** AccountID shardNum */
|
|
381
|
+
shardNum?: (number|Long|null);
|
|
382
|
+
|
|
383
|
+
/** AccountID realmNum */
|
|
384
|
+
realmNum?: (number|Long|null);
|
|
385
|
+
|
|
386
|
+
/** AccountID accountNum */
|
|
387
|
+
accountNum?: (number|Long|null);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** Represents an AccountID. */
|
|
391
|
+
class AccountID implements IAccountID {
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Constructs a new AccountID.
|
|
395
|
+
* @param [properties] Properties to set
|
|
396
|
+
*/
|
|
397
|
+
constructor(properties?: proto.IAccountID);
|
|
398
|
+
|
|
399
|
+
/** AccountID shardNum. */
|
|
400
|
+
public shardNum: (number|Long);
|
|
401
|
+
|
|
402
|
+
/** AccountID realmNum. */
|
|
403
|
+
public realmNum: (number|Long);
|
|
404
|
+
|
|
405
|
+
/** AccountID accountNum. */
|
|
406
|
+
public accountNum: (number|Long);
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Creates a new AccountID instance using the specified properties.
|
|
410
|
+
* @param [properties] Properties to set
|
|
411
|
+
* @returns AccountID instance
|
|
412
|
+
*/
|
|
413
|
+
public static create(properties?: proto.IAccountID): proto.AccountID;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Encodes the specified AccountID message. Does not implicitly {@link proto.AccountID.verify|verify} messages.
|
|
417
|
+
* @param message AccountID message or plain object to encode
|
|
418
|
+
* @param [writer] Writer to encode to
|
|
419
|
+
* @returns Writer
|
|
420
|
+
*/
|
|
421
|
+
public static encode(message: proto.IAccountID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Encodes the specified AccountID message, length delimited. Does not implicitly {@link proto.AccountID.verify|verify} messages.
|
|
425
|
+
* @param message AccountID message or plain object to encode
|
|
426
|
+
* @param [writer] Writer to encode to
|
|
427
|
+
* @returns Writer
|
|
428
|
+
*/
|
|
429
|
+
public static encodeDelimited(message: proto.IAccountID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Decodes an AccountID message from the specified reader or buffer.
|
|
433
|
+
* @param reader Reader or buffer to decode from
|
|
434
|
+
* @param [length] Message length if known beforehand
|
|
435
|
+
* @returns AccountID
|
|
436
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
437
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
438
|
+
*/
|
|
439
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AccountID;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Decodes an AccountID message from the specified reader or buffer, length delimited.
|
|
443
|
+
* @param reader Reader or buffer to decode from
|
|
444
|
+
* @returns AccountID
|
|
445
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
446
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
447
|
+
*/
|
|
448
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AccountID;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Verifies an AccountID message.
|
|
452
|
+
* @param message Plain object to verify
|
|
453
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
454
|
+
*/
|
|
455
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Creates an AccountID message from a plain object. Also converts values to their respective internal types.
|
|
459
|
+
* @param object Plain object
|
|
460
|
+
* @returns AccountID
|
|
461
|
+
*/
|
|
462
|
+
public static fromObject(object: { [k: string]: any }): proto.AccountID;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Creates a plain object from an AccountID message. Also converts values to other types if specified.
|
|
466
|
+
* @param message AccountID
|
|
467
|
+
* @param [options] Conversion options
|
|
468
|
+
* @returns Plain object
|
|
469
|
+
*/
|
|
470
|
+
public static toObject(message: proto.AccountID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Converts this AccountID to JSON.
|
|
474
|
+
* @returns JSON object
|
|
475
|
+
*/
|
|
476
|
+
public toJSON(): { [k: string]: any };
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/** Properties of a FileID. */
|
|
480
|
+
interface IFileID {
|
|
481
|
+
|
|
482
|
+
/** FileID shardNum */
|
|
483
|
+
shardNum?: (number|Long|null);
|
|
484
|
+
|
|
485
|
+
/** FileID realmNum */
|
|
486
|
+
realmNum?: (number|Long|null);
|
|
487
|
+
|
|
488
|
+
/** FileID fileNum */
|
|
489
|
+
fileNum?: (number|Long|null);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/** Represents a FileID. */
|
|
493
|
+
class FileID implements IFileID {
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Constructs a new FileID.
|
|
497
|
+
* @param [properties] Properties to set
|
|
498
|
+
*/
|
|
499
|
+
constructor(properties?: proto.IFileID);
|
|
500
|
+
|
|
501
|
+
/** FileID shardNum. */
|
|
502
|
+
public shardNum: (number|Long);
|
|
503
|
+
|
|
504
|
+
/** FileID realmNum. */
|
|
505
|
+
public realmNum: (number|Long);
|
|
506
|
+
|
|
507
|
+
/** FileID fileNum. */
|
|
508
|
+
public fileNum: (number|Long);
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Creates a new FileID instance using the specified properties.
|
|
512
|
+
* @param [properties] Properties to set
|
|
513
|
+
* @returns FileID instance
|
|
514
|
+
*/
|
|
515
|
+
public static create(properties?: proto.IFileID): proto.FileID;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Encodes the specified FileID message. Does not implicitly {@link proto.FileID.verify|verify} messages.
|
|
519
|
+
* @param message FileID message or plain object to encode
|
|
520
|
+
* @param [writer] Writer to encode to
|
|
521
|
+
* @returns Writer
|
|
522
|
+
*/
|
|
523
|
+
public static encode(message: proto.IFileID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Encodes the specified FileID message, length delimited. Does not implicitly {@link proto.FileID.verify|verify} messages.
|
|
527
|
+
* @param message FileID message or plain object to encode
|
|
528
|
+
* @param [writer] Writer to encode to
|
|
529
|
+
* @returns Writer
|
|
530
|
+
*/
|
|
531
|
+
public static encodeDelimited(message: proto.IFileID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* Decodes a FileID message from the specified reader or buffer.
|
|
535
|
+
* @param reader Reader or buffer to decode from
|
|
536
|
+
* @param [length] Message length if known beforehand
|
|
537
|
+
* @returns FileID
|
|
538
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
539
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
540
|
+
*/
|
|
541
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FileID;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Decodes a FileID message from the specified reader or buffer, length delimited.
|
|
545
|
+
* @param reader Reader or buffer to decode from
|
|
546
|
+
* @returns FileID
|
|
547
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
548
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
549
|
+
*/
|
|
550
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FileID;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Verifies a FileID message.
|
|
554
|
+
* @param message Plain object to verify
|
|
555
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
556
|
+
*/
|
|
557
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Creates a FileID message from a plain object. Also converts values to their respective internal types.
|
|
561
|
+
* @param object Plain object
|
|
562
|
+
* @returns FileID
|
|
563
|
+
*/
|
|
564
|
+
public static fromObject(object: { [k: string]: any }): proto.FileID;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Creates a plain object from a FileID message. Also converts values to other types if specified.
|
|
568
|
+
* @param message FileID
|
|
569
|
+
* @param [options] Conversion options
|
|
570
|
+
* @returns Plain object
|
|
571
|
+
*/
|
|
572
|
+
public static toObject(message: proto.FileID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Converts this FileID to JSON.
|
|
576
|
+
* @returns JSON object
|
|
577
|
+
*/
|
|
578
|
+
public toJSON(): { [k: string]: any };
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** Properties of a ContractID. */
|
|
582
|
+
interface IContractID {
|
|
583
|
+
|
|
584
|
+
/** ContractID shardNum */
|
|
585
|
+
shardNum?: (number|Long|null);
|
|
586
|
+
|
|
587
|
+
/** ContractID realmNum */
|
|
588
|
+
realmNum?: (number|Long|null);
|
|
589
|
+
|
|
590
|
+
/** ContractID contractNum */
|
|
591
|
+
contractNum?: (number|Long|null);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/** Represents a ContractID. */
|
|
595
|
+
class ContractID implements IContractID {
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Constructs a new ContractID.
|
|
599
|
+
* @param [properties] Properties to set
|
|
600
|
+
*/
|
|
601
|
+
constructor(properties?: proto.IContractID);
|
|
602
|
+
|
|
603
|
+
/** ContractID shardNum. */
|
|
604
|
+
public shardNum: (number|Long);
|
|
605
|
+
|
|
606
|
+
/** ContractID realmNum. */
|
|
607
|
+
public realmNum: (number|Long);
|
|
608
|
+
|
|
609
|
+
/** ContractID contractNum. */
|
|
610
|
+
public contractNum: (number|Long);
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Creates a new ContractID instance using the specified properties.
|
|
614
|
+
* @param [properties] Properties to set
|
|
615
|
+
* @returns ContractID instance
|
|
616
|
+
*/
|
|
617
|
+
public static create(properties?: proto.IContractID): proto.ContractID;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Encodes the specified ContractID message. Does not implicitly {@link proto.ContractID.verify|verify} messages.
|
|
621
|
+
* @param message ContractID message or plain object to encode
|
|
622
|
+
* @param [writer] Writer to encode to
|
|
623
|
+
* @returns Writer
|
|
624
|
+
*/
|
|
625
|
+
public static encode(message: proto.IContractID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Encodes the specified ContractID message, length delimited. Does not implicitly {@link proto.ContractID.verify|verify} messages.
|
|
629
|
+
* @param message ContractID message or plain object to encode
|
|
630
|
+
* @param [writer] Writer to encode to
|
|
631
|
+
* @returns Writer
|
|
632
|
+
*/
|
|
633
|
+
public static encodeDelimited(message: proto.IContractID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Decodes a ContractID message from the specified reader or buffer.
|
|
637
|
+
* @param reader Reader or buffer to decode from
|
|
638
|
+
* @param [length] Message length if known beforehand
|
|
639
|
+
* @returns ContractID
|
|
640
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
641
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
642
|
+
*/
|
|
643
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ContractID;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Decodes a ContractID message from the specified reader or buffer, length delimited.
|
|
647
|
+
* @param reader Reader or buffer to decode from
|
|
648
|
+
* @returns ContractID
|
|
649
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
650
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
651
|
+
*/
|
|
652
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ContractID;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Verifies a ContractID message.
|
|
656
|
+
* @param message Plain object to verify
|
|
657
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
658
|
+
*/
|
|
659
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Creates a ContractID message from a plain object. Also converts values to their respective internal types.
|
|
663
|
+
* @param object Plain object
|
|
664
|
+
* @returns ContractID
|
|
665
|
+
*/
|
|
666
|
+
public static fromObject(object: { [k: string]: any }): proto.ContractID;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Creates a plain object from a ContractID message. Also converts values to other types if specified.
|
|
670
|
+
* @param message ContractID
|
|
671
|
+
* @param [options] Conversion options
|
|
672
|
+
* @returns Plain object
|
|
673
|
+
*/
|
|
674
|
+
public static toObject(message: proto.ContractID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Converts this ContractID to JSON.
|
|
678
|
+
* @returns JSON object
|
|
679
|
+
*/
|
|
680
|
+
public toJSON(): { [k: string]: any };
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/** Properties of a TransactionID. */
|
|
684
|
+
interface ITransactionID {
|
|
685
|
+
|
|
686
|
+
/** TransactionID transactionValidStart */
|
|
687
|
+
transactionValidStart?: (proto.ITimestamp|null);
|
|
688
|
+
|
|
689
|
+
/** TransactionID accountID */
|
|
690
|
+
accountID?: (proto.IAccountID|null);
|
|
691
|
+
|
|
692
|
+
/** TransactionID scheduled */
|
|
693
|
+
scheduled?: (boolean|null);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/** Represents a TransactionID. */
|
|
697
|
+
class TransactionID implements ITransactionID {
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Constructs a new TransactionID.
|
|
701
|
+
* @param [properties] Properties to set
|
|
702
|
+
*/
|
|
703
|
+
constructor(properties?: proto.ITransactionID);
|
|
704
|
+
|
|
705
|
+
/** TransactionID transactionValidStart. */
|
|
706
|
+
public transactionValidStart?: (proto.ITimestamp|null);
|
|
707
|
+
|
|
708
|
+
/** TransactionID accountID. */
|
|
709
|
+
public accountID?: (proto.IAccountID|null);
|
|
710
|
+
|
|
711
|
+
/** TransactionID scheduled. */
|
|
712
|
+
public scheduled: boolean;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Creates a new TransactionID instance using the specified properties.
|
|
716
|
+
* @param [properties] Properties to set
|
|
717
|
+
* @returns TransactionID instance
|
|
718
|
+
*/
|
|
719
|
+
public static create(properties?: proto.ITransactionID): proto.TransactionID;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Encodes the specified TransactionID message. Does not implicitly {@link proto.TransactionID.verify|verify} messages.
|
|
723
|
+
* @param message TransactionID message or plain object to encode
|
|
724
|
+
* @param [writer] Writer to encode to
|
|
725
|
+
* @returns Writer
|
|
726
|
+
*/
|
|
727
|
+
public static encode(message: proto.ITransactionID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Encodes the specified TransactionID message, length delimited. Does not implicitly {@link proto.TransactionID.verify|verify} messages.
|
|
731
|
+
* @param message TransactionID message or plain object to encode
|
|
732
|
+
* @param [writer] Writer to encode to
|
|
733
|
+
* @returns Writer
|
|
734
|
+
*/
|
|
735
|
+
public static encodeDelimited(message: proto.ITransactionID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Decodes a TransactionID message from the specified reader or buffer.
|
|
739
|
+
* @param reader Reader or buffer to decode from
|
|
740
|
+
* @param [length] Message length if known beforehand
|
|
741
|
+
* @returns TransactionID
|
|
742
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
743
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
744
|
+
*/
|
|
745
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TransactionID;
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Decodes a TransactionID message from the specified reader or buffer, length delimited.
|
|
749
|
+
* @param reader Reader or buffer to decode from
|
|
750
|
+
* @returns TransactionID
|
|
751
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
752
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
753
|
+
*/
|
|
754
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TransactionID;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Verifies a TransactionID message.
|
|
758
|
+
* @param message Plain object to verify
|
|
759
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
760
|
+
*/
|
|
761
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Creates a TransactionID message from a plain object. Also converts values to their respective internal types.
|
|
765
|
+
* @param object Plain object
|
|
766
|
+
* @returns TransactionID
|
|
767
|
+
*/
|
|
768
|
+
public static fromObject(object: { [k: string]: any }): proto.TransactionID;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Creates a plain object from a TransactionID message. Also converts values to other types if specified.
|
|
772
|
+
* @param message TransactionID
|
|
773
|
+
* @param [options] Conversion options
|
|
774
|
+
* @returns Plain object
|
|
775
|
+
*/
|
|
776
|
+
public static toObject(message: proto.TransactionID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Converts this TransactionID to JSON.
|
|
780
|
+
* @returns JSON object
|
|
781
|
+
*/
|
|
782
|
+
public toJSON(): { [k: string]: any };
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/** Properties of an AccountAmount. */
|
|
786
|
+
interface IAccountAmount {
|
|
787
|
+
|
|
788
|
+
/** AccountAmount accountID */
|
|
789
|
+
accountID?: (proto.IAccountID|null);
|
|
790
|
+
|
|
791
|
+
/** AccountAmount amount */
|
|
792
|
+
amount?: (number|Long|null);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** Represents an AccountAmount. */
|
|
796
|
+
class AccountAmount implements IAccountAmount {
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Constructs a new AccountAmount.
|
|
800
|
+
* @param [properties] Properties to set
|
|
801
|
+
*/
|
|
802
|
+
constructor(properties?: proto.IAccountAmount);
|
|
803
|
+
|
|
804
|
+
/** AccountAmount accountID. */
|
|
805
|
+
public accountID?: (proto.IAccountID|null);
|
|
806
|
+
|
|
807
|
+
/** AccountAmount amount. */
|
|
808
|
+
public amount: (number|Long);
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Creates a new AccountAmount instance using the specified properties.
|
|
812
|
+
* @param [properties] Properties to set
|
|
813
|
+
* @returns AccountAmount instance
|
|
814
|
+
*/
|
|
815
|
+
public static create(properties?: proto.IAccountAmount): proto.AccountAmount;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Encodes the specified AccountAmount message. Does not implicitly {@link proto.AccountAmount.verify|verify} messages.
|
|
819
|
+
* @param message AccountAmount message or plain object to encode
|
|
820
|
+
* @param [writer] Writer to encode to
|
|
821
|
+
* @returns Writer
|
|
822
|
+
*/
|
|
823
|
+
public static encode(message: proto.IAccountAmount, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Encodes the specified AccountAmount message, length delimited. Does not implicitly {@link proto.AccountAmount.verify|verify} messages.
|
|
827
|
+
* @param message AccountAmount message or plain object to encode
|
|
828
|
+
* @param [writer] Writer to encode to
|
|
829
|
+
* @returns Writer
|
|
830
|
+
*/
|
|
831
|
+
public static encodeDelimited(message: proto.IAccountAmount, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Decodes an AccountAmount message from the specified reader or buffer.
|
|
835
|
+
* @param reader Reader or buffer to decode from
|
|
836
|
+
* @param [length] Message length if known beforehand
|
|
837
|
+
* @returns AccountAmount
|
|
838
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
839
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
840
|
+
*/
|
|
841
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AccountAmount;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Decodes an AccountAmount message from the specified reader or buffer, length delimited.
|
|
845
|
+
* @param reader Reader or buffer to decode from
|
|
846
|
+
* @returns AccountAmount
|
|
847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
849
|
+
*/
|
|
850
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AccountAmount;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Verifies an AccountAmount message.
|
|
854
|
+
* @param message Plain object to verify
|
|
855
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
856
|
+
*/
|
|
857
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Creates an AccountAmount message from a plain object. Also converts values to their respective internal types.
|
|
861
|
+
* @param object Plain object
|
|
862
|
+
* @returns AccountAmount
|
|
863
|
+
*/
|
|
864
|
+
public static fromObject(object: { [k: string]: any }): proto.AccountAmount;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Creates a plain object from an AccountAmount message. Also converts values to other types if specified.
|
|
868
|
+
* @param message AccountAmount
|
|
869
|
+
* @param [options] Conversion options
|
|
870
|
+
* @returns Plain object
|
|
871
|
+
*/
|
|
872
|
+
public static toObject(message: proto.AccountAmount, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Converts this AccountAmount to JSON.
|
|
876
|
+
* @returns JSON object
|
|
877
|
+
*/
|
|
878
|
+
public toJSON(): { [k: string]: any };
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/** Properties of a TransferList. */
|
|
882
|
+
interface ITransferList {
|
|
883
|
+
|
|
884
|
+
/** TransferList accountAmounts */
|
|
885
|
+
accountAmounts?: (proto.IAccountAmount[]|null);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/** Represents a TransferList. */
|
|
889
|
+
class TransferList implements ITransferList {
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Constructs a new TransferList.
|
|
893
|
+
* @param [properties] Properties to set
|
|
894
|
+
*/
|
|
895
|
+
constructor(properties?: proto.ITransferList);
|
|
896
|
+
|
|
897
|
+
/** TransferList accountAmounts. */
|
|
898
|
+
public accountAmounts: proto.IAccountAmount[];
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Creates a new TransferList instance using the specified properties.
|
|
902
|
+
* @param [properties] Properties to set
|
|
903
|
+
* @returns TransferList instance
|
|
904
|
+
*/
|
|
905
|
+
public static create(properties?: proto.ITransferList): proto.TransferList;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Encodes the specified TransferList message. Does not implicitly {@link proto.TransferList.verify|verify} messages.
|
|
909
|
+
* @param message TransferList message or plain object to encode
|
|
910
|
+
* @param [writer] Writer to encode to
|
|
911
|
+
* @returns Writer
|
|
912
|
+
*/
|
|
913
|
+
public static encode(message: proto.ITransferList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Encodes the specified TransferList message, length delimited. Does not implicitly {@link proto.TransferList.verify|verify} messages.
|
|
917
|
+
* @param message TransferList message or plain object to encode
|
|
918
|
+
* @param [writer] Writer to encode to
|
|
919
|
+
* @returns Writer
|
|
920
|
+
*/
|
|
921
|
+
public static encodeDelimited(message: proto.ITransferList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Decodes a TransferList message from the specified reader or buffer.
|
|
925
|
+
* @param reader Reader or buffer to decode from
|
|
926
|
+
* @param [length] Message length if known beforehand
|
|
927
|
+
* @returns TransferList
|
|
928
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
929
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
930
|
+
*/
|
|
931
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TransferList;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Decodes a TransferList message from the specified reader or buffer, length delimited.
|
|
935
|
+
* @param reader Reader or buffer to decode from
|
|
936
|
+
* @returns TransferList
|
|
937
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
938
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
939
|
+
*/
|
|
940
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TransferList;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Verifies a TransferList message.
|
|
944
|
+
* @param message Plain object to verify
|
|
945
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
946
|
+
*/
|
|
947
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Creates a TransferList message from a plain object. Also converts values to their respective internal types.
|
|
951
|
+
* @param object Plain object
|
|
952
|
+
* @returns TransferList
|
|
953
|
+
*/
|
|
954
|
+
public static fromObject(object: { [k: string]: any }): proto.TransferList;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Creates a plain object from a TransferList message. Also converts values to other types if specified.
|
|
958
|
+
* @param message TransferList
|
|
959
|
+
* @param [options] Conversion options
|
|
960
|
+
* @returns Plain object
|
|
961
|
+
*/
|
|
962
|
+
public static toObject(message: proto.TransferList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* Converts this TransferList to JSON.
|
|
966
|
+
* @returns JSON object
|
|
967
|
+
*/
|
|
968
|
+
public toJSON(): { [k: string]: any };
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/** Properties of a TokenTransferList. */
|
|
972
|
+
interface ITokenTransferList {
|
|
973
|
+
|
|
974
|
+
/** TokenTransferList token */
|
|
975
|
+
token?: (proto.ITokenID|null);
|
|
976
|
+
|
|
977
|
+
/** TokenTransferList transfers */
|
|
978
|
+
transfers?: (proto.IAccountAmount[]|null);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/** Represents a TokenTransferList. */
|
|
982
|
+
class TokenTransferList implements ITokenTransferList {
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Constructs a new TokenTransferList.
|
|
986
|
+
* @param [properties] Properties to set
|
|
987
|
+
*/
|
|
988
|
+
constructor(properties?: proto.ITokenTransferList);
|
|
989
|
+
|
|
990
|
+
/** TokenTransferList token. */
|
|
991
|
+
public token?: (proto.ITokenID|null);
|
|
992
|
+
|
|
993
|
+
/** TokenTransferList transfers. */
|
|
994
|
+
public transfers: proto.IAccountAmount[];
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Creates a new TokenTransferList instance using the specified properties.
|
|
998
|
+
* @param [properties] Properties to set
|
|
999
|
+
* @returns TokenTransferList instance
|
|
1000
|
+
*/
|
|
1001
|
+
public static create(properties?: proto.ITokenTransferList): proto.TokenTransferList;
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Encodes the specified TokenTransferList message. Does not implicitly {@link proto.TokenTransferList.verify|verify} messages.
|
|
1005
|
+
* @param message TokenTransferList message or plain object to encode
|
|
1006
|
+
* @param [writer] Writer to encode to
|
|
1007
|
+
* @returns Writer
|
|
1008
|
+
*/
|
|
1009
|
+
public static encode(message: proto.ITokenTransferList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* Encodes the specified TokenTransferList message, length delimited. Does not implicitly {@link proto.TokenTransferList.verify|verify} messages.
|
|
1013
|
+
* @param message TokenTransferList message or plain object to encode
|
|
1014
|
+
* @param [writer] Writer to encode to
|
|
1015
|
+
* @returns Writer
|
|
1016
|
+
*/
|
|
1017
|
+
public static encodeDelimited(message: proto.ITokenTransferList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Decodes a TokenTransferList message from the specified reader or buffer.
|
|
1021
|
+
* @param reader Reader or buffer to decode from
|
|
1022
|
+
* @param [length] Message length if known beforehand
|
|
1023
|
+
* @returns TokenTransferList
|
|
1024
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1025
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1026
|
+
*/
|
|
1027
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TokenTransferList;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Decodes a TokenTransferList message from the specified reader or buffer, length delimited.
|
|
1031
|
+
* @param reader Reader or buffer to decode from
|
|
1032
|
+
* @returns TokenTransferList
|
|
1033
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1034
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1035
|
+
*/
|
|
1036
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TokenTransferList;
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Verifies a TokenTransferList message.
|
|
1040
|
+
* @param message Plain object to verify
|
|
1041
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1042
|
+
*/
|
|
1043
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Creates a TokenTransferList message from a plain object. Also converts values to their respective internal types.
|
|
1047
|
+
* @param object Plain object
|
|
1048
|
+
* @returns TokenTransferList
|
|
1049
|
+
*/
|
|
1050
|
+
public static fromObject(object: { [k: string]: any }): proto.TokenTransferList;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Creates a plain object from a TokenTransferList message. Also converts values to other types if specified.
|
|
1054
|
+
* @param message TokenTransferList
|
|
1055
|
+
* @param [options] Conversion options
|
|
1056
|
+
* @returns Plain object
|
|
1057
|
+
*/
|
|
1058
|
+
public static toObject(message: proto.TokenTransferList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Converts this TokenTransferList to JSON.
|
|
1062
|
+
* @returns JSON object
|
|
1063
|
+
*/
|
|
1064
|
+
public toJSON(): { [k: string]: any };
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/** Properties of a TopicID. */
|
|
1068
|
+
interface ITopicID {
|
|
1069
|
+
|
|
1070
|
+
/** TopicID shardNum */
|
|
1071
|
+
shardNum?: (number|Long|null);
|
|
1072
|
+
|
|
1073
|
+
/** TopicID realmNum */
|
|
1074
|
+
realmNum?: (number|Long|null);
|
|
1075
|
+
|
|
1076
|
+
/** TopicID topicNum */
|
|
1077
|
+
topicNum?: (number|Long|null);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/** Represents a TopicID. */
|
|
1081
|
+
class TopicID implements ITopicID {
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Constructs a new TopicID.
|
|
1085
|
+
* @param [properties] Properties to set
|
|
1086
|
+
*/
|
|
1087
|
+
constructor(properties?: proto.ITopicID);
|
|
1088
|
+
|
|
1089
|
+
/** TopicID shardNum. */
|
|
1090
|
+
public shardNum: (number|Long);
|
|
1091
|
+
|
|
1092
|
+
/** TopicID realmNum. */
|
|
1093
|
+
public realmNum: (number|Long);
|
|
1094
|
+
|
|
1095
|
+
/** TopicID topicNum. */
|
|
1096
|
+
public topicNum: (number|Long);
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Creates a new TopicID instance using the specified properties.
|
|
1100
|
+
* @param [properties] Properties to set
|
|
1101
|
+
* @returns TopicID instance
|
|
1102
|
+
*/
|
|
1103
|
+
public static create(properties?: proto.ITopicID): proto.TopicID;
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Encodes the specified TopicID message. Does not implicitly {@link proto.TopicID.verify|verify} messages.
|
|
1107
|
+
* @param message TopicID message or plain object to encode
|
|
1108
|
+
* @param [writer] Writer to encode to
|
|
1109
|
+
* @returns Writer
|
|
1110
|
+
*/
|
|
1111
|
+
public static encode(message: proto.ITopicID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Encodes the specified TopicID message, length delimited. Does not implicitly {@link proto.TopicID.verify|verify} messages.
|
|
1115
|
+
* @param message TopicID message or plain object to encode
|
|
1116
|
+
* @param [writer] Writer to encode to
|
|
1117
|
+
* @returns Writer
|
|
1118
|
+
*/
|
|
1119
|
+
public static encodeDelimited(message: proto.ITopicID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Decodes a TopicID message from the specified reader or buffer.
|
|
1123
|
+
* @param reader Reader or buffer to decode from
|
|
1124
|
+
* @param [length] Message length if known beforehand
|
|
1125
|
+
* @returns TopicID
|
|
1126
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1127
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1128
|
+
*/
|
|
1129
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TopicID;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Decodes a TopicID message from the specified reader or buffer, length delimited.
|
|
1133
|
+
* @param reader Reader or buffer to decode from
|
|
1134
|
+
* @returns TopicID
|
|
1135
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1136
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1137
|
+
*/
|
|
1138
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TopicID;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* Verifies a TopicID message.
|
|
1142
|
+
* @param message Plain object to verify
|
|
1143
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1144
|
+
*/
|
|
1145
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Creates a TopicID message from a plain object. Also converts values to their respective internal types.
|
|
1149
|
+
* @param object Plain object
|
|
1150
|
+
* @returns TopicID
|
|
1151
|
+
*/
|
|
1152
|
+
public static fromObject(object: { [k: string]: any }): proto.TopicID;
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Creates a plain object from a TopicID message. Also converts values to other types if specified.
|
|
1156
|
+
* @param message TopicID
|
|
1157
|
+
* @param [options] Conversion options
|
|
1158
|
+
* @returns Plain object
|
|
1159
|
+
*/
|
|
1160
|
+
public static toObject(message: proto.TopicID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Converts this TopicID to JSON.
|
|
1164
|
+
* @returns JSON object
|
|
1165
|
+
*/
|
|
1166
|
+
public toJSON(): { [k: string]: any };
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/** Properties of a TokenID. */
|
|
1170
|
+
interface ITokenID {
|
|
1171
|
+
|
|
1172
|
+
/** TokenID shardNum */
|
|
1173
|
+
shardNum?: (number|Long|null);
|
|
1174
|
+
|
|
1175
|
+
/** TokenID realmNum */
|
|
1176
|
+
realmNum?: (number|Long|null);
|
|
1177
|
+
|
|
1178
|
+
/** TokenID tokenNum */
|
|
1179
|
+
tokenNum?: (number|Long|null);
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/** Represents a TokenID. */
|
|
1183
|
+
class TokenID implements ITokenID {
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Constructs a new TokenID.
|
|
1187
|
+
* @param [properties] Properties to set
|
|
1188
|
+
*/
|
|
1189
|
+
constructor(properties?: proto.ITokenID);
|
|
1190
|
+
|
|
1191
|
+
/** TokenID shardNum. */
|
|
1192
|
+
public shardNum: (number|Long);
|
|
1193
|
+
|
|
1194
|
+
/** TokenID realmNum. */
|
|
1195
|
+
public realmNum: (number|Long);
|
|
1196
|
+
|
|
1197
|
+
/** TokenID tokenNum. */
|
|
1198
|
+
public tokenNum: (number|Long);
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Creates a new TokenID instance using the specified properties.
|
|
1202
|
+
* @param [properties] Properties to set
|
|
1203
|
+
* @returns TokenID instance
|
|
1204
|
+
*/
|
|
1205
|
+
public static create(properties?: proto.ITokenID): proto.TokenID;
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Encodes the specified TokenID message. Does not implicitly {@link proto.TokenID.verify|verify} messages.
|
|
1209
|
+
* @param message TokenID message or plain object to encode
|
|
1210
|
+
* @param [writer] Writer to encode to
|
|
1211
|
+
* @returns Writer
|
|
1212
|
+
*/
|
|
1213
|
+
public static encode(message: proto.ITokenID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Encodes the specified TokenID message, length delimited. Does not implicitly {@link proto.TokenID.verify|verify} messages.
|
|
1217
|
+
* @param message TokenID message or plain object to encode
|
|
1218
|
+
* @param [writer] Writer to encode to
|
|
1219
|
+
* @returns Writer
|
|
1220
|
+
*/
|
|
1221
|
+
public static encodeDelimited(message: proto.ITokenID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Decodes a TokenID message from the specified reader or buffer.
|
|
1225
|
+
* @param reader Reader or buffer to decode from
|
|
1226
|
+
* @param [length] Message length if known beforehand
|
|
1227
|
+
* @returns TokenID
|
|
1228
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1229
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1230
|
+
*/
|
|
1231
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TokenID;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Decodes a TokenID message from the specified reader or buffer, length delimited.
|
|
1235
|
+
* @param reader Reader or buffer to decode from
|
|
1236
|
+
* @returns TokenID
|
|
1237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1239
|
+
*/
|
|
1240
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TokenID;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Verifies a TokenID message.
|
|
1244
|
+
* @param message Plain object to verify
|
|
1245
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1246
|
+
*/
|
|
1247
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Creates a TokenID message from a plain object. Also converts values to their respective internal types.
|
|
1251
|
+
* @param object Plain object
|
|
1252
|
+
* @returns TokenID
|
|
1253
|
+
*/
|
|
1254
|
+
public static fromObject(object: { [k: string]: any }): proto.TokenID;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Creates a plain object from a TokenID message. Also converts values to other types if specified.
|
|
1258
|
+
* @param message TokenID
|
|
1259
|
+
* @param [options] Conversion options
|
|
1260
|
+
* @returns Plain object
|
|
1261
|
+
*/
|
|
1262
|
+
public static toObject(message: proto.TokenID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Converts this TokenID to JSON.
|
|
1266
|
+
* @returns JSON object
|
|
1267
|
+
*/
|
|
1268
|
+
public toJSON(): { [k: string]: any };
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/** Properties of a ScheduleID. */
|
|
1272
|
+
interface IScheduleID {
|
|
1273
|
+
|
|
1274
|
+
/** ScheduleID shardNum */
|
|
1275
|
+
shardNum?: (number|Long|null);
|
|
1276
|
+
|
|
1277
|
+
/** ScheduleID realmNum */
|
|
1278
|
+
realmNum?: (number|Long|null);
|
|
1279
|
+
|
|
1280
|
+
/** ScheduleID scheduleNum */
|
|
1281
|
+
scheduleNum?: (number|Long|null);
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/** Represents a ScheduleID. */
|
|
1285
|
+
class ScheduleID implements IScheduleID {
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Constructs a new ScheduleID.
|
|
1289
|
+
* @param [properties] Properties to set
|
|
1290
|
+
*/
|
|
1291
|
+
constructor(properties?: proto.IScheduleID);
|
|
1292
|
+
|
|
1293
|
+
/** ScheduleID shardNum. */
|
|
1294
|
+
public shardNum: (number|Long);
|
|
1295
|
+
|
|
1296
|
+
/** ScheduleID realmNum. */
|
|
1297
|
+
public realmNum: (number|Long);
|
|
1298
|
+
|
|
1299
|
+
/** ScheduleID scheduleNum. */
|
|
1300
|
+
public scheduleNum: (number|Long);
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Creates a new ScheduleID instance using the specified properties.
|
|
1304
|
+
* @param [properties] Properties to set
|
|
1305
|
+
* @returns ScheduleID instance
|
|
1306
|
+
*/
|
|
1307
|
+
public static create(properties?: proto.IScheduleID): proto.ScheduleID;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Encodes the specified ScheduleID message. Does not implicitly {@link proto.ScheduleID.verify|verify} messages.
|
|
1311
|
+
* @param message ScheduleID message or plain object to encode
|
|
1312
|
+
* @param [writer] Writer to encode to
|
|
1313
|
+
* @returns Writer
|
|
1314
|
+
*/
|
|
1315
|
+
public static encode(message: proto.IScheduleID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Encodes the specified ScheduleID message, length delimited. Does not implicitly {@link proto.ScheduleID.verify|verify} messages.
|
|
1319
|
+
* @param message ScheduleID message or plain object to encode
|
|
1320
|
+
* @param [writer] Writer to encode to
|
|
1321
|
+
* @returns Writer
|
|
1322
|
+
*/
|
|
1323
|
+
public static encodeDelimited(message: proto.IScheduleID, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Decodes a ScheduleID message from the specified reader or buffer.
|
|
1327
|
+
* @param reader Reader or buffer to decode from
|
|
1328
|
+
* @param [length] Message length if known beforehand
|
|
1329
|
+
* @returns ScheduleID
|
|
1330
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1331
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1332
|
+
*/
|
|
1333
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ScheduleID;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Decodes a ScheduleID message from the specified reader or buffer, length delimited.
|
|
1337
|
+
* @param reader Reader or buffer to decode from
|
|
1338
|
+
* @returns ScheduleID
|
|
1339
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1340
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1341
|
+
*/
|
|
1342
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ScheduleID;
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Verifies a ScheduleID message.
|
|
1346
|
+
* @param message Plain object to verify
|
|
1347
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1348
|
+
*/
|
|
1349
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Creates a ScheduleID message from a plain object. Also converts values to their respective internal types.
|
|
1353
|
+
* @param object Plain object
|
|
1354
|
+
* @returns ScheduleID
|
|
1355
|
+
*/
|
|
1356
|
+
public static fromObject(object: { [k: string]: any }): proto.ScheduleID;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Creates a plain object from a ScheduleID message. Also converts values to other types if specified.
|
|
1360
|
+
* @param message ScheduleID
|
|
1361
|
+
* @param [options] Conversion options
|
|
1362
|
+
* @returns Plain object
|
|
1363
|
+
*/
|
|
1364
|
+
public static toObject(message: proto.ScheduleID, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Converts this ScheduleID to JSON.
|
|
1368
|
+
* @returns JSON object
|
|
1369
|
+
*/
|
|
1370
|
+
public toJSON(): { [k: string]: any };
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/** TokenFreezeStatus enum. */
|
|
1374
|
+
enum TokenFreezeStatus {
|
|
1375
|
+
FreezeNotApplicable = 0,
|
|
1376
|
+
Frozen = 1,
|
|
1377
|
+
Unfrozen = 2
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
/** TokenKycStatus enum. */
|
|
1381
|
+
enum TokenKycStatus {
|
|
1382
|
+
KycNotApplicable = 0,
|
|
1383
|
+
Granted = 1,
|
|
1384
|
+
Revoked = 2
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/** Properties of a Key. */
|
|
1388
|
+
interface IKey {
|
|
1389
|
+
|
|
1390
|
+
/** Key contractID */
|
|
1391
|
+
contractID?: (proto.IContractID|null);
|
|
1392
|
+
|
|
1393
|
+
/** Key ed25519 */
|
|
1394
|
+
ed25519?: (Uint8Array|null);
|
|
1395
|
+
|
|
1396
|
+
/** Key RSA_3072 */
|
|
1397
|
+
RSA_3072?: (Uint8Array|null);
|
|
1398
|
+
|
|
1399
|
+
/** Key ECDSA_384 */
|
|
1400
|
+
ECDSA_384?: (Uint8Array|null);
|
|
1401
|
+
|
|
1402
|
+
/** Key thresholdKey */
|
|
1403
|
+
thresholdKey?: (proto.IThresholdKey|null);
|
|
1404
|
+
|
|
1405
|
+
/** Key keyList */
|
|
1406
|
+
keyList?: (proto.IKeyList|null);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/** Represents a Key. */
|
|
1410
|
+
class Key implements IKey {
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Constructs a new Key.
|
|
1414
|
+
* @param [properties] Properties to set
|
|
1415
|
+
*/
|
|
1416
|
+
constructor(properties?: proto.IKey);
|
|
1417
|
+
|
|
1418
|
+
/** Key contractID. */
|
|
1419
|
+
public contractID?: (proto.IContractID|null);
|
|
1420
|
+
|
|
1421
|
+
/** Key ed25519. */
|
|
1422
|
+
public ed25519?: (Uint8Array|null);
|
|
1423
|
+
|
|
1424
|
+
/** Key RSA_3072. */
|
|
1425
|
+
public RSA_3072?: (Uint8Array|null);
|
|
1426
|
+
|
|
1427
|
+
/** Key ECDSA_384. */
|
|
1428
|
+
public ECDSA_384?: (Uint8Array|null);
|
|
1429
|
+
|
|
1430
|
+
/** Key thresholdKey. */
|
|
1431
|
+
public thresholdKey?: (proto.IThresholdKey|null);
|
|
1432
|
+
|
|
1433
|
+
/** Key keyList. */
|
|
1434
|
+
public keyList?: (proto.IKeyList|null);
|
|
1435
|
+
|
|
1436
|
+
/** Key key. */
|
|
1437
|
+
public key?: ("contractID"|"ed25519"|"RSA_3072"|"ECDSA_384"|"thresholdKey"|"keyList");
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Creates a new Key instance using the specified properties.
|
|
1441
|
+
* @param [properties] Properties to set
|
|
1442
|
+
* @returns Key instance
|
|
1443
|
+
*/
|
|
1444
|
+
public static create(properties?: proto.IKey): proto.Key;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Encodes the specified Key message. Does not implicitly {@link proto.Key.verify|verify} messages.
|
|
1448
|
+
* @param message Key message or plain object to encode
|
|
1449
|
+
* @param [writer] Writer to encode to
|
|
1450
|
+
* @returns Writer
|
|
1451
|
+
*/
|
|
1452
|
+
public static encode(message: proto.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* Encodes the specified Key message, length delimited. Does not implicitly {@link proto.Key.verify|verify} messages.
|
|
1456
|
+
* @param message Key message or plain object to encode
|
|
1457
|
+
* @param [writer] Writer to encode to
|
|
1458
|
+
* @returns Writer
|
|
1459
|
+
*/
|
|
1460
|
+
public static encodeDelimited(message: proto.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Decodes a Key message from the specified reader or buffer.
|
|
1464
|
+
* @param reader Reader or buffer to decode from
|
|
1465
|
+
* @param [length] Message length if known beforehand
|
|
1466
|
+
* @returns Key
|
|
1467
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1468
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1469
|
+
*/
|
|
1470
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Key;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Decodes a Key message from the specified reader or buffer, length delimited.
|
|
1474
|
+
* @param reader Reader or buffer to decode from
|
|
1475
|
+
* @returns Key
|
|
1476
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1477
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1478
|
+
*/
|
|
1479
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Key;
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Verifies a Key message.
|
|
1483
|
+
* @param message Plain object to verify
|
|
1484
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1485
|
+
*/
|
|
1486
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* Creates a Key message from a plain object. Also converts values to their respective internal types.
|
|
1490
|
+
* @param object Plain object
|
|
1491
|
+
* @returns Key
|
|
1492
|
+
*/
|
|
1493
|
+
public static fromObject(object: { [k: string]: any }): proto.Key;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Creates a plain object from a Key message. Also converts values to other types if specified.
|
|
1497
|
+
* @param message Key
|
|
1498
|
+
* @param [options] Conversion options
|
|
1499
|
+
* @returns Plain object
|
|
1500
|
+
*/
|
|
1501
|
+
public static toObject(message: proto.Key, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* Converts this Key to JSON.
|
|
1505
|
+
* @returns JSON object
|
|
1506
|
+
*/
|
|
1507
|
+
public toJSON(): { [k: string]: any };
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
/** Properties of a ThresholdKey. */
|
|
1511
|
+
interface IThresholdKey {
|
|
1512
|
+
|
|
1513
|
+
/** ThresholdKey threshold */
|
|
1514
|
+
threshold?: (number|null);
|
|
1515
|
+
|
|
1516
|
+
/** ThresholdKey keys */
|
|
1517
|
+
keys?: (proto.IKeyList|null);
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/** Represents a ThresholdKey. */
|
|
1521
|
+
class ThresholdKey implements IThresholdKey {
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* Constructs a new ThresholdKey.
|
|
1525
|
+
* @param [properties] Properties to set
|
|
1526
|
+
*/
|
|
1527
|
+
constructor(properties?: proto.IThresholdKey);
|
|
1528
|
+
|
|
1529
|
+
/** ThresholdKey threshold. */
|
|
1530
|
+
public threshold: number;
|
|
1531
|
+
|
|
1532
|
+
/** ThresholdKey keys. */
|
|
1533
|
+
public keys?: (proto.IKeyList|null);
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* Creates a new ThresholdKey instance using the specified properties.
|
|
1537
|
+
* @param [properties] Properties to set
|
|
1538
|
+
* @returns ThresholdKey instance
|
|
1539
|
+
*/
|
|
1540
|
+
public static create(properties?: proto.IThresholdKey): proto.ThresholdKey;
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Encodes the specified ThresholdKey message. Does not implicitly {@link proto.ThresholdKey.verify|verify} messages.
|
|
1544
|
+
* @param message ThresholdKey message or plain object to encode
|
|
1545
|
+
* @param [writer] Writer to encode to
|
|
1546
|
+
* @returns Writer
|
|
1547
|
+
*/
|
|
1548
|
+
public static encode(message: proto.IThresholdKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Encodes the specified ThresholdKey message, length delimited. Does not implicitly {@link proto.ThresholdKey.verify|verify} messages.
|
|
1552
|
+
* @param message ThresholdKey message or plain object to encode
|
|
1553
|
+
* @param [writer] Writer to encode to
|
|
1554
|
+
* @returns Writer
|
|
1555
|
+
*/
|
|
1556
|
+
public static encodeDelimited(message: proto.IThresholdKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Decodes a ThresholdKey message from the specified reader or buffer.
|
|
1560
|
+
* @param reader Reader or buffer to decode from
|
|
1561
|
+
* @param [length] Message length if known beforehand
|
|
1562
|
+
* @returns ThresholdKey
|
|
1563
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1564
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1565
|
+
*/
|
|
1566
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ThresholdKey;
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Decodes a ThresholdKey message from the specified reader or buffer, length delimited.
|
|
1570
|
+
* @param reader Reader or buffer to decode from
|
|
1571
|
+
* @returns ThresholdKey
|
|
1572
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1573
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1574
|
+
*/
|
|
1575
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ThresholdKey;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Verifies a ThresholdKey message.
|
|
1579
|
+
* @param message Plain object to verify
|
|
1580
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1581
|
+
*/
|
|
1582
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Creates a ThresholdKey message from a plain object. Also converts values to their respective internal types.
|
|
1586
|
+
* @param object Plain object
|
|
1587
|
+
* @returns ThresholdKey
|
|
1588
|
+
*/
|
|
1589
|
+
public static fromObject(object: { [k: string]: any }): proto.ThresholdKey;
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* Creates a plain object from a ThresholdKey message. Also converts values to other types if specified.
|
|
1593
|
+
* @param message ThresholdKey
|
|
1594
|
+
* @param [options] Conversion options
|
|
1595
|
+
* @returns Plain object
|
|
1596
|
+
*/
|
|
1597
|
+
public static toObject(message: proto.ThresholdKey, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Converts this ThresholdKey to JSON.
|
|
1601
|
+
* @returns JSON object
|
|
1602
|
+
*/
|
|
1603
|
+
public toJSON(): { [k: string]: any };
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
/** Properties of a KeyList. */
|
|
1607
|
+
interface IKeyList {
|
|
1608
|
+
|
|
1609
|
+
/** KeyList keys */
|
|
1610
|
+
keys?: (proto.IKey[]|null);
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/** Represents a KeyList. */
|
|
1614
|
+
class KeyList implements IKeyList {
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Constructs a new KeyList.
|
|
1618
|
+
* @param [properties] Properties to set
|
|
1619
|
+
*/
|
|
1620
|
+
constructor(properties?: proto.IKeyList);
|
|
1621
|
+
|
|
1622
|
+
/** KeyList keys. */
|
|
1623
|
+
public keys: proto.IKey[];
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* Creates a new KeyList instance using the specified properties.
|
|
1627
|
+
* @param [properties] Properties to set
|
|
1628
|
+
* @returns KeyList instance
|
|
1629
|
+
*/
|
|
1630
|
+
public static create(properties?: proto.IKeyList): proto.KeyList;
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Encodes the specified KeyList message. Does not implicitly {@link proto.KeyList.verify|verify} messages.
|
|
1634
|
+
* @param message KeyList message or plain object to encode
|
|
1635
|
+
* @param [writer] Writer to encode to
|
|
1636
|
+
* @returns Writer
|
|
1637
|
+
*/
|
|
1638
|
+
public static encode(message: proto.IKeyList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Encodes the specified KeyList message, length delimited. Does not implicitly {@link proto.KeyList.verify|verify} messages.
|
|
1642
|
+
* @param message KeyList message or plain object to encode
|
|
1643
|
+
* @param [writer] Writer to encode to
|
|
1644
|
+
* @returns Writer
|
|
1645
|
+
*/
|
|
1646
|
+
public static encodeDelimited(message: proto.IKeyList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Decodes a KeyList message from the specified reader or buffer.
|
|
1650
|
+
* @param reader Reader or buffer to decode from
|
|
1651
|
+
* @param [length] Message length if known beforehand
|
|
1652
|
+
* @returns KeyList
|
|
1653
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1654
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1655
|
+
*/
|
|
1656
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.KeyList;
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Decodes a KeyList message from the specified reader or buffer, length delimited.
|
|
1660
|
+
* @param reader Reader or buffer to decode from
|
|
1661
|
+
* @returns KeyList
|
|
1662
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1663
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1664
|
+
*/
|
|
1665
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.KeyList;
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Verifies a KeyList message.
|
|
1669
|
+
* @param message Plain object to verify
|
|
1670
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1671
|
+
*/
|
|
1672
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Creates a KeyList message from a plain object. Also converts values to their respective internal types.
|
|
1676
|
+
* @param object Plain object
|
|
1677
|
+
* @returns KeyList
|
|
1678
|
+
*/
|
|
1679
|
+
public static fromObject(object: { [k: string]: any }): proto.KeyList;
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Creates a plain object from a KeyList message. Also converts values to other types if specified.
|
|
1683
|
+
* @param message KeyList
|
|
1684
|
+
* @param [options] Conversion options
|
|
1685
|
+
* @returns Plain object
|
|
1686
|
+
*/
|
|
1687
|
+
public static toObject(message: proto.KeyList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* Converts this KeyList to JSON.
|
|
1691
|
+
* @returns JSON object
|
|
1692
|
+
*/
|
|
1693
|
+
public toJSON(): { [k: string]: any };
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
/** Properties of a Signature. */
|
|
1697
|
+
interface ISignature {
|
|
1698
|
+
|
|
1699
|
+
/** Signature contract */
|
|
1700
|
+
contract?: (Uint8Array|null);
|
|
1701
|
+
|
|
1702
|
+
/** Signature ed25519 */
|
|
1703
|
+
ed25519?: (Uint8Array|null);
|
|
1704
|
+
|
|
1705
|
+
/** Signature RSA_3072 */
|
|
1706
|
+
RSA_3072?: (Uint8Array|null);
|
|
1707
|
+
|
|
1708
|
+
/** Signature ECDSA_384 */
|
|
1709
|
+
ECDSA_384?: (Uint8Array|null);
|
|
1710
|
+
|
|
1711
|
+
/** Signature thresholdSignature */
|
|
1712
|
+
thresholdSignature?: (proto.IThresholdSignature|null);
|
|
1713
|
+
|
|
1714
|
+
/** Signature signatureList */
|
|
1715
|
+
signatureList?: (proto.ISignatureList|null);
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
/** Represents a Signature. */
|
|
1719
|
+
class Signature implements ISignature {
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Constructs a new Signature.
|
|
1723
|
+
* @param [properties] Properties to set
|
|
1724
|
+
*/
|
|
1725
|
+
constructor(properties?: proto.ISignature);
|
|
1726
|
+
|
|
1727
|
+
/** Signature contract. */
|
|
1728
|
+
public contract?: (Uint8Array|null);
|
|
1729
|
+
|
|
1730
|
+
/** Signature ed25519. */
|
|
1731
|
+
public ed25519?: (Uint8Array|null);
|
|
1732
|
+
|
|
1733
|
+
/** Signature RSA_3072. */
|
|
1734
|
+
public RSA_3072?: (Uint8Array|null);
|
|
1735
|
+
|
|
1736
|
+
/** Signature ECDSA_384. */
|
|
1737
|
+
public ECDSA_384?: (Uint8Array|null);
|
|
1738
|
+
|
|
1739
|
+
/** Signature thresholdSignature. */
|
|
1740
|
+
public thresholdSignature?: (proto.IThresholdSignature|null);
|
|
1741
|
+
|
|
1742
|
+
/** Signature signatureList. */
|
|
1743
|
+
public signatureList?: (proto.ISignatureList|null);
|
|
1744
|
+
|
|
1745
|
+
/** Signature signature. */
|
|
1746
|
+
public signature?: ("contract"|"ed25519"|"RSA_3072"|"ECDSA_384"|"thresholdSignature"|"signatureList");
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Creates a new Signature instance using the specified properties.
|
|
1750
|
+
* @param [properties] Properties to set
|
|
1751
|
+
* @returns Signature instance
|
|
1752
|
+
*/
|
|
1753
|
+
public static create(properties?: proto.ISignature): proto.Signature;
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* Encodes the specified Signature message. Does not implicitly {@link proto.Signature.verify|verify} messages.
|
|
1757
|
+
* @param message Signature message or plain object to encode
|
|
1758
|
+
* @param [writer] Writer to encode to
|
|
1759
|
+
* @returns Writer
|
|
1760
|
+
*/
|
|
1761
|
+
public static encode(message: proto.ISignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Encodes the specified Signature message, length delimited. Does not implicitly {@link proto.Signature.verify|verify} messages.
|
|
1765
|
+
* @param message Signature message or plain object to encode
|
|
1766
|
+
* @param [writer] Writer to encode to
|
|
1767
|
+
* @returns Writer
|
|
1768
|
+
*/
|
|
1769
|
+
public static encodeDelimited(message: proto.ISignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Decodes a Signature message from the specified reader or buffer.
|
|
1773
|
+
* @param reader Reader or buffer to decode from
|
|
1774
|
+
* @param [length] Message length if known beforehand
|
|
1775
|
+
* @returns Signature
|
|
1776
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1777
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1778
|
+
*/
|
|
1779
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Signature;
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* Decodes a Signature message from the specified reader or buffer, length delimited.
|
|
1783
|
+
* @param reader Reader or buffer to decode from
|
|
1784
|
+
* @returns Signature
|
|
1785
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1786
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1787
|
+
*/
|
|
1788
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Signature;
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* Verifies a Signature message.
|
|
1792
|
+
* @param message Plain object to verify
|
|
1793
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1794
|
+
*/
|
|
1795
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Creates a Signature message from a plain object. Also converts values to their respective internal types.
|
|
1799
|
+
* @param object Plain object
|
|
1800
|
+
* @returns Signature
|
|
1801
|
+
*/
|
|
1802
|
+
public static fromObject(object: { [k: string]: any }): proto.Signature;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Creates a plain object from a Signature message. Also converts values to other types if specified.
|
|
1806
|
+
* @param message Signature
|
|
1807
|
+
* @param [options] Conversion options
|
|
1808
|
+
* @returns Plain object
|
|
1809
|
+
*/
|
|
1810
|
+
public static toObject(message: proto.Signature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Converts this Signature to JSON.
|
|
1814
|
+
* @returns JSON object
|
|
1815
|
+
*/
|
|
1816
|
+
public toJSON(): { [k: string]: any };
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/** Properties of a ThresholdSignature. */
|
|
1820
|
+
interface IThresholdSignature {
|
|
1821
|
+
|
|
1822
|
+
/** ThresholdSignature sigs */
|
|
1823
|
+
sigs?: (proto.ISignatureList|null);
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
/** Represents a ThresholdSignature. */
|
|
1827
|
+
class ThresholdSignature implements IThresholdSignature {
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* Constructs a new ThresholdSignature.
|
|
1831
|
+
* @param [properties] Properties to set
|
|
1832
|
+
*/
|
|
1833
|
+
constructor(properties?: proto.IThresholdSignature);
|
|
1834
|
+
|
|
1835
|
+
/** ThresholdSignature sigs. */
|
|
1836
|
+
public sigs?: (proto.ISignatureList|null);
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Creates a new ThresholdSignature instance using the specified properties.
|
|
1840
|
+
* @param [properties] Properties to set
|
|
1841
|
+
* @returns ThresholdSignature instance
|
|
1842
|
+
*/
|
|
1843
|
+
public static create(properties?: proto.IThresholdSignature): proto.ThresholdSignature;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Encodes the specified ThresholdSignature message. Does not implicitly {@link proto.ThresholdSignature.verify|verify} messages.
|
|
1847
|
+
* @param message ThresholdSignature message or plain object to encode
|
|
1848
|
+
* @param [writer] Writer to encode to
|
|
1849
|
+
* @returns Writer
|
|
1850
|
+
*/
|
|
1851
|
+
public static encode(message: proto.IThresholdSignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* Encodes the specified ThresholdSignature message, length delimited. Does not implicitly {@link proto.ThresholdSignature.verify|verify} messages.
|
|
1855
|
+
* @param message ThresholdSignature message or plain object to encode
|
|
1856
|
+
* @param [writer] Writer to encode to
|
|
1857
|
+
* @returns Writer
|
|
1858
|
+
*/
|
|
1859
|
+
public static encodeDelimited(message: proto.IThresholdSignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* Decodes a ThresholdSignature message from the specified reader or buffer.
|
|
1863
|
+
* @param reader Reader or buffer to decode from
|
|
1864
|
+
* @param [length] Message length if known beforehand
|
|
1865
|
+
* @returns ThresholdSignature
|
|
1866
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1867
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1868
|
+
*/
|
|
1869
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ThresholdSignature;
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Decodes a ThresholdSignature message from the specified reader or buffer, length delimited.
|
|
1873
|
+
* @param reader Reader or buffer to decode from
|
|
1874
|
+
* @returns ThresholdSignature
|
|
1875
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1876
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1877
|
+
*/
|
|
1878
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ThresholdSignature;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Verifies a ThresholdSignature message.
|
|
1882
|
+
* @param message Plain object to verify
|
|
1883
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1884
|
+
*/
|
|
1885
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* Creates a ThresholdSignature message from a plain object. Also converts values to their respective internal types.
|
|
1889
|
+
* @param object Plain object
|
|
1890
|
+
* @returns ThresholdSignature
|
|
1891
|
+
*/
|
|
1892
|
+
public static fromObject(object: { [k: string]: any }): proto.ThresholdSignature;
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* Creates a plain object from a ThresholdSignature message. Also converts values to other types if specified.
|
|
1896
|
+
* @param message ThresholdSignature
|
|
1897
|
+
* @param [options] Conversion options
|
|
1898
|
+
* @returns Plain object
|
|
1899
|
+
*/
|
|
1900
|
+
public static toObject(message: proto.ThresholdSignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* Converts this ThresholdSignature to JSON.
|
|
1904
|
+
* @returns JSON object
|
|
1905
|
+
*/
|
|
1906
|
+
public toJSON(): { [k: string]: any };
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
/** Properties of a SignatureList. */
|
|
1910
|
+
interface ISignatureList {
|
|
1911
|
+
|
|
1912
|
+
/** SignatureList sigs */
|
|
1913
|
+
sigs?: (proto.ISignature[]|null);
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
/** Represents a SignatureList. */
|
|
1917
|
+
class SignatureList implements ISignatureList {
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* Constructs a new SignatureList.
|
|
1921
|
+
* @param [properties] Properties to set
|
|
1922
|
+
*/
|
|
1923
|
+
constructor(properties?: proto.ISignatureList);
|
|
1924
|
+
|
|
1925
|
+
/** SignatureList sigs. */
|
|
1926
|
+
public sigs: proto.ISignature[];
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Creates a new SignatureList instance using the specified properties.
|
|
1930
|
+
* @param [properties] Properties to set
|
|
1931
|
+
* @returns SignatureList instance
|
|
1932
|
+
*/
|
|
1933
|
+
public static create(properties?: proto.ISignatureList): proto.SignatureList;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Encodes the specified SignatureList message. Does not implicitly {@link proto.SignatureList.verify|verify} messages.
|
|
1937
|
+
* @param message SignatureList message or plain object to encode
|
|
1938
|
+
* @param [writer] Writer to encode to
|
|
1939
|
+
* @returns Writer
|
|
1940
|
+
*/
|
|
1941
|
+
public static encode(message: proto.ISignatureList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Encodes the specified SignatureList message, length delimited. Does not implicitly {@link proto.SignatureList.verify|verify} messages.
|
|
1945
|
+
* @param message SignatureList message or plain object to encode
|
|
1946
|
+
* @param [writer] Writer to encode to
|
|
1947
|
+
* @returns Writer
|
|
1948
|
+
*/
|
|
1949
|
+
public static encodeDelimited(message: proto.ISignatureList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* Decodes a SignatureList message from the specified reader or buffer.
|
|
1953
|
+
* @param reader Reader or buffer to decode from
|
|
1954
|
+
* @param [length] Message length if known beforehand
|
|
1955
|
+
* @returns SignatureList
|
|
1956
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1957
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1958
|
+
*/
|
|
1959
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SignatureList;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Decodes a SignatureList message from the specified reader or buffer, length delimited.
|
|
1963
|
+
* @param reader Reader or buffer to decode from
|
|
1964
|
+
* @returns SignatureList
|
|
1965
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1966
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1967
|
+
*/
|
|
1968
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SignatureList;
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Verifies a SignatureList message.
|
|
1972
|
+
* @param message Plain object to verify
|
|
1973
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1974
|
+
*/
|
|
1975
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Creates a SignatureList message from a plain object. Also converts values to their respective internal types.
|
|
1979
|
+
* @param object Plain object
|
|
1980
|
+
* @returns SignatureList
|
|
1981
|
+
*/
|
|
1982
|
+
public static fromObject(object: { [k: string]: any }): proto.SignatureList;
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* Creates a plain object from a SignatureList message. Also converts values to other types if specified.
|
|
1986
|
+
* @param message SignatureList
|
|
1987
|
+
* @param [options] Conversion options
|
|
1988
|
+
* @returns Plain object
|
|
1989
|
+
*/
|
|
1990
|
+
public static toObject(message: proto.SignatureList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Converts this SignatureList to JSON.
|
|
1994
|
+
* @returns JSON object
|
|
1995
|
+
*/
|
|
1996
|
+
public toJSON(): { [k: string]: any };
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
/** Properties of a SignaturePair. */
|
|
2000
|
+
interface ISignaturePair {
|
|
2001
|
+
|
|
2002
|
+
/** SignaturePair pubKeyPrefix */
|
|
2003
|
+
pubKeyPrefix?: (Uint8Array|null);
|
|
2004
|
+
|
|
2005
|
+
/** SignaturePair contract */
|
|
2006
|
+
contract?: (Uint8Array|null);
|
|
2007
|
+
|
|
2008
|
+
/** SignaturePair ed25519 */
|
|
2009
|
+
ed25519?: (Uint8Array|null);
|
|
2010
|
+
|
|
2011
|
+
/** SignaturePair RSA_3072 */
|
|
2012
|
+
RSA_3072?: (Uint8Array|null);
|
|
2013
|
+
|
|
2014
|
+
/** SignaturePair ECDSA_384 */
|
|
2015
|
+
ECDSA_384?: (Uint8Array|null);
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
/** Represents a SignaturePair. */
|
|
2019
|
+
class SignaturePair implements ISignaturePair {
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* Constructs a new SignaturePair.
|
|
2023
|
+
* @param [properties] Properties to set
|
|
2024
|
+
*/
|
|
2025
|
+
constructor(properties?: proto.ISignaturePair);
|
|
2026
|
+
|
|
2027
|
+
/** SignaturePair pubKeyPrefix. */
|
|
2028
|
+
public pubKeyPrefix: Uint8Array;
|
|
2029
|
+
|
|
2030
|
+
/** SignaturePair contract. */
|
|
2031
|
+
public contract?: (Uint8Array|null);
|
|
2032
|
+
|
|
2033
|
+
/** SignaturePair ed25519. */
|
|
2034
|
+
public ed25519?: (Uint8Array|null);
|
|
2035
|
+
|
|
2036
|
+
/** SignaturePair RSA_3072. */
|
|
2037
|
+
public RSA_3072?: (Uint8Array|null);
|
|
2038
|
+
|
|
2039
|
+
/** SignaturePair ECDSA_384. */
|
|
2040
|
+
public ECDSA_384?: (Uint8Array|null);
|
|
2041
|
+
|
|
2042
|
+
/** SignaturePair signature. */
|
|
2043
|
+
public signature?: ("contract"|"ed25519"|"RSA_3072"|"ECDSA_384");
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* Creates a new SignaturePair instance using the specified properties.
|
|
2047
|
+
* @param [properties] Properties to set
|
|
2048
|
+
* @returns SignaturePair instance
|
|
2049
|
+
*/
|
|
2050
|
+
public static create(properties?: proto.ISignaturePair): proto.SignaturePair;
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Encodes the specified SignaturePair message. Does not implicitly {@link proto.SignaturePair.verify|verify} messages.
|
|
2054
|
+
* @param message SignaturePair message or plain object to encode
|
|
2055
|
+
* @param [writer] Writer to encode to
|
|
2056
|
+
* @returns Writer
|
|
2057
|
+
*/
|
|
2058
|
+
public static encode(message: proto.ISignaturePair, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Encodes the specified SignaturePair message, length delimited. Does not implicitly {@link proto.SignaturePair.verify|verify} messages.
|
|
2062
|
+
* @param message SignaturePair message or plain object to encode
|
|
2063
|
+
* @param [writer] Writer to encode to
|
|
2064
|
+
* @returns Writer
|
|
2065
|
+
*/
|
|
2066
|
+
public static encodeDelimited(message: proto.ISignaturePair, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Decodes a SignaturePair message from the specified reader or buffer.
|
|
2070
|
+
* @param reader Reader or buffer to decode from
|
|
2071
|
+
* @param [length] Message length if known beforehand
|
|
2072
|
+
* @returns SignaturePair
|
|
2073
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2074
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2075
|
+
*/
|
|
2076
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SignaturePair;
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* Decodes a SignaturePair message from the specified reader or buffer, length delimited.
|
|
2080
|
+
* @param reader Reader or buffer to decode from
|
|
2081
|
+
* @returns SignaturePair
|
|
2082
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2083
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2084
|
+
*/
|
|
2085
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SignaturePair;
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Verifies a SignaturePair message.
|
|
2089
|
+
* @param message Plain object to verify
|
|
2090
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2091
|
+
*/
|
|
2092
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Creates a SignaturePair message from a plain object. Also converts values to their respective internal types.
|
|
2096
|
+
* @param object Plain object
|
|
2097
|
+
* @returns SignaturePair
|
|
2098
|
+
*/
|
|
2099
|
+
public static fromObject(object: { [k: string]: any }): proto.SignaturePair;
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Creates a plain object from a SignaturePair message. Also converts values to other types if specified.
|
|
2103
|
+
* @param message SignaturePair
|
|
2104
|
+
* @param [options] Conversion options
|
|
2105
|
+
* @returns Plain object
|
|
2106
|
+
*/
|
|
2107
|
+
public static toObject(message: proto.SignaturePair, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* Converts this SignaturePair to JSON.
|
|
2111
|
+
* @returns JSON object
|
|
2112
|
+
*/
|
|
2113
|
+
public toJSON(): { [k: string]: any };
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
/** Properties of a SignatureMap. */
|
|
2117
|
+
interface ISignatureMap {
|
|
2118
|
+
|
|
2119
|
+
/** SignatureMap sigPair */
|
|
2120
|
+
sigPair?: (proto.ISignaturePair[]|null);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
/** Represents a SignatureMap. */
|
|
2124
|
+
class SignatureMap implements ISignatureMap {
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* Constructs a new SignatureMap.
|
|
2128
|
+
* @param [properties] Properties to set
|
|
2129
|
+
*/
|
|
2130
|
+
constructor(properties?: proto.ISignatureMap);
|
|
2131
|
+
|
|
2132
|
+
/** SignatureMap sigPair. */
|
|
2133
|
+
public sigPair: proto.ISignaturePair[];
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* Creates a new SignatureMap instance using the specified properties.
|
|
2137
|
+
* @param [properties] Properties to set
|
|
2138
|
+
* @returns SignatureMap instance
|
|
2139
|
+
*/
|
|
2140
|
+
public static create(properties?: proto.ISignatureMap): proto.SignatureMap;
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Encodes the specified SignatureMap message. Does not implicitly {@link proto.SignatureMap.verify|verify} messages.
|
|
2144
|
+
* @param message SignatureMap message or plain object to encode
|
|
2145
|
+
* @param [writer] Writer to encode to
|
|
2146
|
+
* @returns Writer
|
|
2147
|
+
*/
|
|
2148
|
+
public static encode(message: proto.ISignatureMap, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Encodes the specified SignatureMap message, length delimited. Does not implicitly {@link proto.SignatureMap.verify|verify} messages.
|
|
2152
|
+
* @param message SignatureMap message or plain object to encode
|
|
2153
|
+
* @param [writer] Writer to encode to
|
|
2154
|
+
* @returns Writer
|
|
2155
|
+
*/
|
|
2156
|
+
public static encodeDelimited(message: proto.ISignatureMap, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* Decodes a SignatureMap message from the specified reader or buffer.
|
|
2160
|
+
* @param reader Reader or buffer to decode from
|
|
2161
|
+
* @param [length] Message length if known beforehand
|
|
2162
|
+
* @returns SignatureMap
|
|
2163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2165
|
+
*/
|
|
2166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SignatureMap;
|
|
2167
|
+
|
|
2168
|
+
/**
|
|
2169
|
+
* Decodes a SignatureMap message from the specified reader or buffer, length delimited.
|
|
2170
|
+
* @param reader Reader or buffer to decode from
|
|
2171
|
+
* @returns SignatureMap
|
|
2172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2174
|
+
*/
|
|
2175
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SignatureMap;
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* Verifies a SignatureMap message.
|
|
2179
|
+
* @param message Plain object to verify
|
|
2180
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2181
|
+
*/
|
|
2182
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* Creates a SignatureMap message from a plain object. Also converts values to their respective internal types.
|
|
2186
|
+
* @param object Plain object
|
|
2187
|
+
* @returns SignatureMap
|
|
2188
|
+
*/
|
|
2189
|
+
public static fromObject(object: { [k: string]: any }): proto.SignatureMap;
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Creates a plain object from a SignatureMap message. Also converts values to other types if specified.
|
|
2193
|
+
* @param message SignatureMap
|
|
2194
|
+
* @param [options] Conversion options
|
|
2195
|
+
* @returns Plain object
|
|
2196
|
+
*/
|
|
2197
|
+
public static toObject(message: proto.SignatureMap, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2198
|
+
|
|
2199
|
+
/**
|
|
2200
|
+
* Converts this SignatureMap to JSON.
|
|
2201
|
+
* @returns JSON object
|
|
2202
|
+
*/
|
|
2203
|
+
public toJSON(): { [k: string]: any };
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
/** HederaFunctionality enum. */
|
|
2207
|
+
enum HederaFunctionality {
|
|
2208
|
+
NONE = 0,
|
|
2209
|
+
CryptoTransfer = 1,
|
|
2210
|
+
CryptoUpdate = 2,
|
|
2211
|
+
CryptoDelete = 3,
|
|
2212
|
+
CryptoAddLiveHash = 4,
|
|
2213
|
+
CryptoDeleteLiveHash = 5,
|
|
2214
|
+
ContractCall = 6,
|
|
2215
|
+
ContractCreate = 7,
|
|
2216
|
+
ContractUpdate = 8,
|
|
2217
|
+
FileCreate = 9,
|
|
2218
|
+
FileAppend = 10,
|
|
2219
|
+
FileUpdate = 11,
|
|
2220
|
+
FileDelete = 12,
|
|
2221
|
+
CryptoGetAccountBalance = 13,
|
|
2222
|
+
CryptoGetAccountRecords = 14,
|
|
2223
|
+
CryptoGetInfo = 15,
|
|
2224
|
+
ContractCallLocal = 16,
|
|
2225
|
+
ContractGetInfo = 17,
|
|
2226
|
+
ContractGetBytecode = 18,
|
|
2227
|
+
GetBySolidityID = 19,
|
|
2228
|
+
GetByKey = 20,
|
|
2229
|
+
CryptoGetLiveHash = 21,
|
|
2230
|
+
CryptoGetStakers = 22,
|
|
2231
|
+
FileGetContents = 23,
|
|
2232
|
+
FileGetInfo = 24,
|
|
2233
|
+
TransactionGetRecord = 25,
|
|
2234
|
+
ContractGetRecords = 26,
|
|
2235
|
+
CryptoCreate = 27,
|
|
2236
|
+
SystemDelete = 28,
|
|
2237
|
+
SystemUndelete = 29,
|
|
2238
|
+
ContractDelete = 30,
|
|
2239
|
+
Freeze = 31,
|
|
2240
|
+
CreateTransactionRecord = 32,
|
|
2241
|
+
CryptoAccountAutoRenew = 33,
|
|
2242
|
+
ContractAutoRenew = 34,
|
|
2243
|
+
GetVersionInfo = 35,
|
|
2244
|
+
TransactionGetReceipt = 36,
|
|
2245
|
+
ConsensusCreateTopic = 50,
|
|
2246
|
+
ConsensusUpdateTopic = 51,
|
|
2247
|
+
ConsensusDeleteTopic = 52,
|
|
2248
|
+
ConsensusGetTopicInfo = 53,
|
|
2249
|
+
ConsensusSubmitMessage = 54,
|
|
2250
|
+
UncheckedSubmit = 55,
|
|
2251
|
+
TokenCreate = 56,
|
|
2252
|
+
TokenGetInfo = 58,
|
|
2253
|
+
TokenFreezeAccount = 59,
|
|
2254
|
+
TokenUnfreezeAccount = 60,
|
|
2255
|
+
TokenGrantKycToAccount = 61,
|
|
2256
|
+
TokenRevokeKycFromAccount = 62,
|
|
2257
|
+
TokenDelete = 63,
|
|
2258
|
+
TokenUpdate = 64,
|
|
2259
|
+
TokenMint = 65,
|
|
2260
|
+
TokenBurn = 66,
|
|
2261
|
+
TokenAccountWipe = 67,
|
|
2262
|
+
TokenAssociateToAccount = 68,
|
|
2263
|
+
TokenDissociateFromAccount = 69,
|
|
2264
|
+
ScheduleCreate = 70,
|
|
2265
|
+
ScheduleDelete = 71,
|
|
2266
|
+
ScheduleSign = 72,
|
|
2267
|
+
ScheduleGetInfo = 73
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
/** Properties of a FeeComponents. */
|
|
2271
|
+
interface IFeeComponents {
|
|
2272
|
+
|
|
2273
|
+
/** FeeComponents min */
|
|
2274
|
+
min?: (number|Long|null);
|
|
2275
|
+
|
|
2276
|
+
/** FeeComponents max */
|
|
2277
|
+
max?: (number|Long|null);
|
|
2278
|
+
|
|
2279
|
+
/** FeeComponents constant */
|
|
2280
|
+
constant?: (number|Long|null);
|
|
2281
|
+
|
|
2282
|
+
/** FeeComponents bpt */
|
|
2283
|
+
bpt?: (number|Long|null);
|
|
2284
|
+
|
|
2285
|
+
/** FeeComponents vpt */
|
|
2286
|
+
vpt?: (number|Long|null);
|
|
2287
|
+
|
|
2288
|
+
/** FeeComponents rbh */
|
|
2289
|
+
rbh?: (number|Long|null);
|
|
2290
|
+
|
|
2291
|
+
/** FeeComponents sbh */
|
|
2292
|
+
sbh?: (number|Long|null);
|
|
2293
|
+
|
|
2294
|
+
/** FeeComponents gas */
|
|
2295
|
+
gas?: (number|Long|null);
|
|
2296
|
+
|
|
2297
|
+
/** FeeComponents tv */
|
|
2298
|
+
tv?: (number|Long|null);
|
|
2299
|
+
|
|
2300
|
+
/** FeeComponents bpr */
|
|
2301
|
+
bpr?: (number|Long|null);
|
|
2302
|
+
|
|
2303
|
+
/** FeeComponents sbpr */
|
|
2304
|
+
sbpr?: (number|Long|null);
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
/** Represents a FeeComponents. */
|
|
2308
|
+
class FeeComponents implements IFeeComponents {
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* Constructs a new FeeComponents.
|
|
2312
|
+
* @param [properties] Properties to set
|
|
2313
|
+
*/
|
|
2314
|
+
constructor(properties?: proto.IFeeComponents);
|
|
2315
|
+
|
|
2316
|
+
/** FeeComponents min. */
|
|
2317
|
+
public min: (number|Long);
|
|
2318
|
+
|
|
2319
|
+
/** FeeComponents max. */
|
|
2320
|
+
public max: (number|Long);
|
|
2321
|
+
|
|
2322
|
+
/** FeeComponents constant. */
|
|
2323
|
+
public constant: (number|Long);
|
|
2324
|
+
|
|
2325
|
+
/** FeeComponents bpt. */
|
|
2326
|
+
public bpt: (number|Long);
|
|
2327
|
+
|
|
2328
|
+
/** FeeComponents vpt. */
|
|
2329
|
+
public vpt: (number|Long);
|
|
2330
|
+
|
|
2331
|
+
/** FeeComponents rbh. */
|
|
2332
|
+
public rbh: (number|Long);
|
|
2333
|
+
|
|
2334
|
+
/** FeeComponents sbh. */
|
|
2335
|
+
public sbh: (number|Long);
|
|
2336
|
+
|
|
2337
|
+
/** FeeComponents gas. */
|
|
2338
|
+
public gas: (number|Long);
|
|
2339
|
+
|
|
2340
|
+
/** FeeComponents tv. */
|
|
2341
|
+
public tv: (number|Long);
|
|
2342
|
+
|
|
2343
|
+
/** FeeComponents bpr. */
|
|
2344
|
+
public bpr: (number|Long);
|
|
2345
|
+
|
|
2346
|
+
/** FeeComponents sbpr. */
|
|
2347
|
+
public sbpr: (number|Long);
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Creates a new FeeComponents instance using the specified properties.
|
|
2351
|
+
* @param [properties] Properties to set
|
|
2352
|
+
* @returns FeeComponents instance
|
|
2353
|
+
*/
|
|
2354
|
+
public static create(properties?: proto.IFeeComponents): proto.FeeComponents;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Encodes the specified FeeComponents message. Does not implicitly {@link proto.FeeComponents.verify|verify} messages.
|
|
2358
|
+
* @param message FeeComponents message or plain object to encode
|
|
2359
|
+
* @param [writer] Writer to encode to
|
|
2360
|
+
* @returns Writer
|
|
2361
|
+
*/
|
|
2362
|
+
public static encode(message: proto.IFeeComponents, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Encodes the specified FeeComponents message, length delimited. Does not implicitly {@link proto.FeeComponents.verify|verify} messages.
|
|
2366
|
+
* @param message FeeComponents message or plain object to encode
|
|
2367
|
+
* @param [writer] Writer to encode to
|
|
2368
|
+
* @returns Writer
|
|
2369
|
+
*/
|
|
2370
|
+
public static encodeDelimited(message: proto.IFeeComponents, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Decodes a FeeComponents message from the specified reader or buffer.
|
|
2374
|
+
* @param reader Reader or buffer to decode from
|
|
2375
|
+
* @param [length] Message length if known beforehand
|
|
2376
|
+
* @returns FeeComponents
|
|
2377
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2378
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2379
|
+
*/
|
|
2380
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FeeComponents;
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Decodes a FeeComponents message from the specified reader or buffer, length delimited.
|
|
2384
|
+
* @param reader Reader or buffer to decode from
|
|
2385
|
+
* @returns FeeComponents
|
|
2386
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2387
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2388
|
+
*/
|
|
2389
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FeeComponents;
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Verifies a FeeComponents message.
|
|
2393
|
+
* @param message Plain object to verify
|
|
2394
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2395
|
+
*/
|
|
2396
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Creates a FeeComponents message from a plain object. Also converts values to their respective internal types.
|
|
2400
|
+
* @param object Plain object
|
|
2401
|
+
* @returns FeeComponents
|
|
2402
|
+
*/
|
|
2403
|
+
public static fromObject(object: { [k: string]: any }): proto.FeeComponents;
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Creates a plain object from a FeeComponents message. Also converts values to other types if specified.
|
|
2407
|
+
* @param message FeeComponents
|
|
2408
|
+
* @param [options] Conversion options
|
|
2409
|
+
* @returns Plain object
|
|
2410
|
+
*/
|
|
2411
|
+
public static toObject(message: proto.FeeComponents, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* Converts this FeeComponents to JSON.
|
|
2415
|
+
* @returns JSON object
|
|
2416
|
+
*/
|
|
2417
|
+
public toJSON(): { [k: string]: any };
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
/** Properties of a TransactionFeeSchedule. */
|
|
2421
|
+
interface ITransactionFeeSchedule {
|
|
2422
|
+
|
|
2423
|
+
/** TransactionFeeSchedule hederaFunctionality */
|
|
2424
|
+
hederaFunctionality?: (proto.HederaFunctionality|null);
|
|
2425
|
+
|
|
2426
|
+
/** TransactionFeeSchedule feeData */
|
|
2427
|
+
feeData?: (proto.IFeeData|null);
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
/** Represents a TransactionFeeSchedule. */
|
|
2431
|
+
class TransactionFeeSchedule implements ITransactionFeeSchedule {
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* Constructs a new TransactionFeeSchedule.
|
|
2435
|
+
* @param [properties] Properties to set
|
|
2436
|
+
*/
|
|
2437
|
+
constructor(properties?: proto.ITransactionFeeSchedule);
|
|
2438
|
+
|
|
2439
|
+
/** TransactionFeeSchedule hederaFunctionality. */
|
|
2440
|
+
public hederaFunctionality: proto.HederaFunctionality;
|
|
2441
|
+
|
|
2442
|
+
/** TransactionFeeSchedule feeData. */
|
|
2443
|
+
public feeData?: (proto.IFeeData|null);
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Creates a new TransactionFeeSchedule instance using the specified properties.
|
|
2447
|
+
* @param [properties] Properties to set
|
|
2448
|
+
* @returns TransactionFeeSchedule instance
|
|
2449
|
+
*/
|
|
2450
|
+
public static create(properties?: proto.ITransactionFeeSchedule): proto.TransactionFeeSchedule;
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* Encodes the specified TransactionFeeSchedule message. Does not implicitly {@link proto.TransactionFeeSchedule.verify|verify} messages.
|
|
2454
|
+
* @param message TransactionFeeSchedule message or plain object to encode
|
|
2455
|
+
* @param [writer] Writer to encode to
|
|
2456
|
+
* @returns Writer
|
|
2457
|
+
*/
|
|
2458
|
+
public static encode(message: proto.ITransactionFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2459
|
+
|
|
2460
|
+
/**
|
|
2461
|
+
* Encodes the specified TransactionFeeSchedule message, length delimited. Does not implicitly {@link proto.TransactionFeeSchedule.verify|verify} messages.
|
|
2462
|
+
* @param message TransactionFeeSchedule message or plain object to encode
|
|
2463
|
+
* @param [writer] Writer to encode to
|
|
2464
|
+
* @returns Writer
|
|
2465
|
+
*/
|
|
2466
|
+
public static encodeDelimited(message: proto.ITransactionFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2467
|
+
|
|
2468
|
+
/**
|
|
2469
|
+
* Decodes a TransactionFeeSchedule message from the specified reader or buffer.
|
|
2470
|
+
* @param reader Reader or buffer to decode from
|
|
2471
|
+
* @param [length] Message length if known beforehand
|
|
2472
|
+
* @returns TransactionFeeSchedule
|
|
2473
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2474
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2475
|
+
*/
|
|
2476
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TransactionFeeSchedule;
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Decodes a TransactionFeeSchedule message from the specified reader or buffer, length delimited.
|
|
2480
|
+
* @param reader Reader or buffer to decode from
|
|
2481
|
+
* @returns TransactionFeeSchedule
|
|
2482
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2483
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2484
|
+
*/
|
|
2485
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TransactionFeeSchedule;
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Verifies a TransactionFeeSchedule message.
|
|
2489
|
+
* @param message Plain object to verify
|
|
2490
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2491
|
+
*/
|
|
2492
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Creates a TransactionFeeSchedule message from a plain object. Also converts values to their respective internal types.
|
|
2496
|
+
* @param object Plain object
|
|
2497
|
+
* @returns TransactionFeeSchedule
|
|
2498
|
+
*/
|
|
2499
|
+
public static fromObject(object: { [k: string]: any }): proto.TransactionFeeSchedule;
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Creates a plain object from a TransactionFeeSchedule message. Also converts values to other types if specified.
|
|
2503
|
+
* @param message TransactionFeeSchedule
|
|
2504
|
+
* @param [options] Conversion options
|
|
2505
|
+
* @returns Plain object
|
|
2506
|
+
*/
|
|
2507
|
+
public static toObject(message: proto.TransactionFeeSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* Converts this TransactionFeeSchedule to JSON.
|
|
2511
|
+
* @returns JSON object
|
|
2512
|
+
*/
|
|
2513
|
+
public toJSON(): { [k: string]: any };
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
/** Properties of a FeeData. */
|
|
2517
|
+
interface IFeeData {
|
|
2518
|
+
|
|
2519
|
+
/** FeeData nodedata */
|
|
2520
|
+
nodedata?: (proto.IFeeComponents|null);
|
|
2521
|
+
|
|
2522
|
+
/** FeeData networkdata */
|
|
2523
|
+
networkdata?: (proto.IFeeComponents|null);
|
|
2524
|
+
|
|
2525
|
+
/** FeeData servicedata */
|
|
2526
|
+
servicedata?: (proto.IFeeComponents|null);
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
/** Represents a FeeData. */
|
|
2530
|
+
class FeeData implements IFeeData {
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Constructs a new FeeData.
|
|
2534
|
+
* @param [properties] Properties to set
|
|
2535
|
+
*/
|
|
2536
|
+
constructor(properties?: proto.IFeeData);
|
|
2537
|
+
|
|
2538
|
+
/** FeeData nodedata. */
|
|
2539
|
+
public nodedata?: (proto.IFeeComponents|null);
|
|
2540
|
+
|
|
2541
|
+
/** FeeData networkdata. */
|
|
2542
|
+
public networkdata?: (proto.IFeeComponents|null);
|
|
2543
|
+
|
|
2544
|
+
/** FeeData servicedata. */
|
|
2545
|
+
public servicedata?: (proto.IFeeComponents|null);
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* Creates a new FeeData instance using the specified properties.
|
|
2549
|
+
* @param [properties] Properties to set
|
|
2550
|
+
* @returns FeeData instance
|
|
2551
|
+
*/
|
|
2552
|
+
public static create(properties?: proto.IFeeData): proto.FeeData;
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* Encodes the specified FeeData message. Does not implicitly {@link proto.FeeData.verify|verify} messages.
|
|
2556
|
+
* @param message FeeData message or plain object to encode
|
|
2557
|
+
* @param [writer] Writer to encode to
|
|
2558
|
+
* @returns Writer
|
|
2559
|
+
*/
|
|
2560
|
+
public static encode(message: proto.IFeeData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* Encodes the specified FeeData message, length delimited. Does not implicitly {@link proto.FeeData.verify|verify} messages.
|
|
2564
|
+
* @param message FeeData message or plain object to encode
|
|
2565
|
+
* @param [writer] Writer to encode to
|
|
2566
|
+
* @returns Writer
|
|
2567
|
+
*/
|
|
2568
|
+
public static encodeDelimited(message: proto.IFeeData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Decodes a FeeData message from the specified reader or buffer.
|
|
2572
|
+
* @param reader Reader or buffer to decode from
|
|
2573
|
+
* @param [length] Message length if known beforehand
|
|
2574
|
+
* @returns FeeData
|
|
2575
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2576
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2577
|
+
*/
|
|
2578
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FeeData;
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* Decodes a FeeData message from the specified reader or buffer, length delimited.
|
|
2582
|
+
* @param reader Reader or buffer to decode from
|
|
2583
|
+
* @returns FeeData
|
|
2584
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2585
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2586
|
+
*/
|
|
2587
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FeeData;
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Verifies a FeeData message.
|
|
2591
|
+
* @param message Plain object to verify
|
|
2592
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2593
|
+
*/
|
|
2594
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2595
|
+
|
|
2596
|
+
/**
|
|
2597
|
+
* Creates a FeeData message from a plain object. Also converts values to their respective internal types.
|
|
2598
|
+
* @param object Plain object
|
|
2599
|
+
* @returns FeeData
|
|
2600
|
+
*/
|
|
2601
|
+
public static fromObject(object: { [k: string]: any }): proto.FeeData;
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Creates a plain object from a FeeData message. Also converts values to other types if specified.
|
|
2605
|
+
* @param message FeeData
|
|
2606
|
+
* @param [options] Conversion options
|
|
2607
|
+
* @returns Plain object
|
|
2608
|
+
*/
|
|
2609
|
+
public static toObject(message: proto.FeeData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* Converts this FeeData to JSON.
|
|
2613
|
+
* @returns JSON object
|
|
2614
|
+
*/
|
|
2615
|
+
public toJSON(): { [k: string]: any };
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
/** Properties of a FeeSchedule. */
|
|
2619
|
+
interface IFeeSchedule {
|
|
2620
|
+
|
|
2621
|
+
/** FeeSchedule transactionFeeSchedule */
|
|
2622
|
+
transactionFeeSchedule?: (proto.ITransactionFeeSchedule[]|null);
|
|
2623
|
+
|
|
2624
|
+
/** FeeSchedule expiryTime */
|
|
2625
|
+
expiryTime?: (proto.ITimestampSeconds|null);
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
/** Represents a FeeSchedule. */
|
|
2629
|
+
class FeeSchedule implements IFeeSchedule {
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Constructs a new FeeSchedule.
|
|
2633
|
+
* @param [properties] Properties to set
|
|
2634
|
+
*/
|
|
2635
|
+
constructor(properties?: proto.IFeeSchedule);
|
|
2636
|
+
|
|
2637
|
+
/** FeeSchedule transactionFeeSchedule. */
|
|
2638
|
+
public transactionFeeSchedule: proto.ITransactionFeeSchedule[];
|
|
2639
|
+
|
|
2640
|
+
/** FeeSchedule expiryTime. */
|
|
2641
|
+
public expiryTime?: (proto.ITimestampSeconds|null);
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* Creates a new FeeSchedule instance using the specified properties.
|
|
2645
|
+
* @param [properties] Properties to set
|
|
2646
|
+
* @returns FeeSchedule instance
|
|
2647
|
+
*/
|
|
2648
|
+
public static create(properties?: proto.IFeeSchedule): proto.FeeSchedule;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* Encodes the specified FeeSchedule message. Does not implicitly {@link proto.FeeSchedule.verify|verify} messages.
|
|
2652
|
+
* @param message FeeSchedule message or plain object to encode
|
|
2653
|
+
* @param [writer] Writer to encode to
|
|
2654
|
+
* @returns Writer
|
|
2655
|
+
*/
|
|
2656
|
+
public static encode(message: proto.IFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* Encodes the specified FeeSchedule message, length delimited. Does not implicitly {@link proto.FeeSchedule.verify|verify} messages.
|
|
2660
|
+
* @param message FeeSchedule message or plain object to encode
|
|
2661
|
+
* @param [writer] Writer to encode to
|
|
2662
|
+
* @returns Writer
|
|
2663
|
+
*/
|
|
2664
|
+
public static encodeDelimited(message: proto.IFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Decodes a FeeSchedule message from the specified reader or buffer.
|
|
2668
|
+
* @param reader Reader or buffer to decode from
|
|
2669
|
+
* @param [length] Message length if known beforehand
|
|
2670
|
+
* @returns FeeSchedule
|
|
2671
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2672
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2673
|
+
*/
|
|
2674
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.FeeSchedule;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Decodes a FeeSchedule message from the specified reader or buffer, length delimited.
|
|
2678
|
+
* @param reader Reader or buffer to decode from
|
|
2679
|
+
* @returns FeeSchedule
|
|
2680
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2681
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2682
|
+
*/
|
|
2683
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.FeeSchedule;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Verifies a FeeSchedule message.
|
|
2687
|
+
* @param message Plain object to verify
|
|
2688
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2689
|
+
*/
|
|
2690
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* Creates a FeeSchedule message from a plain object. Also converts values to their respective internal types.
|
|
2694
|
+
* @param object Plain object
|
|
2695
|
+
* @returns FeeSchedule
|
|
2696
|
+
*/
|
|
2697
|
+
public static fromObject(object: { [k: string]: any }): proto.FeeSchedule;
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Creates a plain object from a FeeSchedule message. Also converts values to other types if specified.
|
|
2701
|
+
* @param message FeeSchedule
|
|
2702
|
+
* @param [options] Conversion options
|
|
2703
|
+
* @returns Plain object
|
|
2704
|
+
*/
|
|
2705
|
+
public static toObject(message: proto.FeeSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Converts this FeeSchedule to JSON.
|
|
2709
|
+
* @returns JSON object
|
|
2710
|
+
*/
|
|
2711
|
+
public toJSON(): { [k: string]: any };
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
/** Properties of a CurrentAndNextFeeSchedule. */
|
|
2715
|
+
interface ICurrentAndNextFeeSchedule {
|
|
2716
|
+
|
|
2717
|
+
/** CurrentAndNextFeeSchedule currentFeeSchedule */
|
|
2718
|
+
currentFeeSchedule?: (proto.IFeeSchedule|null);
|
|
2719
|
+
|
|
2720
|
+
/** CurrentAndNextFeeSchedule nextFeeSchedule */
|
|
2721
|
+
nextFeeSchedule?: (proto.IFeeSchedule|null);
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
/** Represents a CurrentAndNextFeeSchedule. */
|
|
2725
|
+
class CurrentAndNextFeeSchedule implements ICurrentAndNextFeeSchedule {
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* Constructs a new CurrentAndNextFeeSchedule.
|
|
2729
|
+
* @param [properties] Properties to set
|
|
2730
|
+
*/
|
|
2731
|
+
constructor(properties?: proto.ICurrentAndNextFeeSchedule);
|
|
2732
|
+
|
|
2733
|
+
/** CurrentAndNextFeeSchedule currentFeeSchedule. */
|
|
2734
|
+
public currentFeeSchedule?: (proto.IFeeSchedule|null);
|
|
2735
|
+
|
|
2736
|
+
/** CurrentAndNextFeeSchedule nextFeeSchedule. */
|
|
2737
|
+
public nextFeeSchedule?: (proto.IFeeSchedule|null);
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* Creates a new CurrentAndNextFeeSchedule instance using the specified properties.
|
|
2741
|
+
* @param [properties] Properties to set
|
|
2742
|
+
* @returns CurrentAndNextFeeSchedule instance
|
|
2743
|
+
*/
|
|
2744
|
+
public static create(properties?: proto.ICurrentAndNextFeeSchedule): proto.CurrentAndNextFeeSchedule;
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* Encodes the specified CurrentAndNextFeeSchedule message. Does not implicitly {@link proto.CurrentAndNextFeeSchedule.verify|verify} messages.
|
|
2748
|
+
* @param message CurrentAndNextFeeSchedule message or plain object to encode
|
|
2749
|
+
* @param [writer] Writer to encode to
|
|
2750
|
+
* @returns Writer
|
|
2751
|
+
*/
|
|
2752
|
+
public static encode(message: proto.ICurrentAndNextFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* Encodes the specified CurrentAndNextFeeSchedule message, length delimited. Does not implicitly {@link proto.CurrentAndNextFeeSchedule.verify|verify} messages.
|
|
2756
|
+
* @param message CurrentAndNextFeeSchedule message or plain object to encode
|
|
2757
|
+
* @param [writer] Writer to encode to
|
|
2758
|
+
* @returns Writer
|
|
2759
|
+
*/
|
|
2760
|
+
public static encodeDelimited(message: proto.ICurrentAndNextFeeSchedule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* Decodes a CurrentAndNextFeeSchedule message from the specified reader or buffer.
|
|
2764
|
+
* @param reader Reader or buffer to decode from
|
|
2765
|
+
* @param [length] Message length if known beforehand
|
|
2766
|
+
* @returns CurrentAndNextFeeSchedule
|
|
2767
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2768
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2769
|
+
*/
|
|
2770
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CurrentAndNextFeeSchedule;
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Decodes a CurrentAndNextFeeSchedule message from the specified reader or buffer, length delimited.
|
|
2774
|
+
* @param reader Reader or buffer to decode from
|
|
2775
|
+
* @returns CurrentAndNextFeeSchedule
|
|
2776
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2777
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2778
|
+
*/
|
|
2779
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CurrentAndNextFeeSchedule;
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* Verifies a CurrentAndNextFeeSchedule message.
|
|
2783
|
+
* @param message Plain object to verify
|
|
2784
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2785
|
+
*/
|
|
2786
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Creates a CurrentAndNextFeeSchedule message from a plain object. Also converts values to their respective internal types.
|
|
2790
|
+
* @param object Plain object
|
|
2791
|
+
* @returns CurrentAndNextFeeSchedule
|
|
2792
|
+
*/
|
|
2793
|
+
public static fromObject(object: { [k: string]: any }): proto.CurrentAndNextFeeSchedule;
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* Creates a plain object from a CurrentAndNextFeeSchedule message. Also converts values to other types if specified.
|
|
2797
|
+
* @param message CurrentAndNextFeeSchedule
|
|
2798
|
+
* @param [options] Conversion options
|
|
2799
|
+
* @returns Plain object
|
|
2800
|
+
*/
|
|
2801
|
+
public static toObject(message: proto.CurrentAndNextFeeSchedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* Converts this CurrentAndNextFeeSchedule to JSON.
|
|
2805
|
+
* @returns JSON object
|
|
2806
|
+
*/
|
|
2807
|
+
public toJSON(): { [k: string]: any };
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
/** Properties of a NodeEndpoint. */
|
|
2811
|
+
interface INodeEndpoint {
|
|
2812
|
+
|
|
2813
|
+
/** NodeEndpoint ipAddress */
|
|
2814
|
+
ipAddress?: (string|null);
|
|
2815
|
+
|
|
2816
|
+
/** NodeEndpoint port */
|
|
2817
|
+
port?: (string|null);
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
/** Represents a NodeEndpoint. */
|
|
2821
|
+
class NodeEndpoint implements INodeEndpoint {
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* Constructs a new NodeEndpoint.
|
|
2825
|
+
* @param [properties] Properties to set
|
|
2826
|
+
*/
|
|
2827
|
+
constructor(properties?: proto.INodeEndpoint);
|
|
2828
|
+
|
|
2829
|
+
/** NodeEndpoint ipAddress. */
|
|
2830
|
+
public ipAddress: string;
|
|
2831
|
+
|
|
2832
|
+
/** NodeEndpoint port. */
|
|
2833
|
+
public port: string;
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* Creates a new NodeEndpoint instance using the specified properties.
|
|
2837
|
+
* @param [properties] Properties to set
|
|
2838
|
+
* @returns NodeEndpoint instance
|
|
2839
|
+
*/
|
|
2840
|
+
public static create(properties?: proto.INodeEndpoint): proto.NodeEndpoint;
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* Encodes the specified NodeEndpoint message. Does not implicitly {@link proto.NodeEndpoint.verify|verify} messages.
|
|
2844
|
+
* @param message NodeEndpoint message or plain object to encode
|
|
2845
|
+
* @param [writer] Writer to encode to
|
|
2846
|
+
* @returns Writer
|
|
2847
|
+
*/
|
|
2848
|
+
public static encode(message: proto.INodeEndpoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2849
|
+
|
|
2850
|
+
/**
|
|
2851
|
+
* Encodes the specified NodeEndpoint message, length delimited. Does not implicitly {@link proto.NodeEndpoint.verify|verify} messages.
|
|
2852
|
+
* @param message NodeEndpoint message or plain object to encode
|
|
2853
|
+
* @param [writer] Writer to encode to
|
|
2854
|
+
* @returns Writer
|
|
2855
|
+
*/
|
|
2856
|
+
public static encodeDelimited(message: proto.INodeEndpoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Decodes a NodeEndpoint message from the specified reader or buffer.
|
|
2860
|
+
* @param reader Reader or buffer to decode from
|
|
2861
|
+
* @param [length] Message length if known beforehand
|
|
2862
|
+
* @returns NodeEndpoint
|
|
2863
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2864
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2865
|
+
*/
|
|
2866
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NodeEndpoint;
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* Decodes a NodeEndpoint message from the specified reader or buffer, length delimited.
|
|
2870
|
+
* @param reader Reader or buffer to decode from
|
|
2871
|
+
* @returns NodeEndpoint
|
|
2872
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2873
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2874
|
+
*/
|
|
2875
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NodeEndpoint;
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Verifies a NodeEndpoint message.
|
|
2879
|
+
* @param message Plain object to verify
|
|
2880
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2881
|
+
*/
|
|
2882
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* Creates a NodeEndpoint message from a plain object. Also converts values to their respective internal types.
|
|
2886
|
+
* @param object Plain object
|
|
2887
|
+
* @returns NodeEndpoint
|
|
2888
|
+
*/
|
|
2889
|
+
public static fromObject(object: { [k: string]: any }): proto.NodeEndpoint;
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* Creates a plain object from a NodeEndpoint message. Also converts values to other types if specified.
|
|
2893
|
+
* @param message NodeEndpoint
|
|
2894
|
+
* @param [options] Conversion options
|
|
2895
|
+
* @returns Plain object
|
|
2896
|
+
*/
|
|
2897
|
+
public static toObject(message: proto.NodeEndpoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* Converts this NodeEndpoint to JSON.
|
|
2901
|
+
* @returns JSON object
|
|
2902
|
+
*/
|
|
2903
|
+
public toJSON(): { [k: string]: any };
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
/** Properties of a NodeAddress. */
|
|
2907
|
+
interface INodeAddress {
|
|
2908
|
+
|
|
2909
|
+
/** NodeAddress ipAddress */
|
|
2910
|
+
ipAddress?: (Uint8Array|null);
|
|
2911
|
+
|
|
2912
|
+
/** NodeAddress portno */
|
|
2913
|
+
portno?: (number|null);
|
|
2914
|
+
|
|
2915
|
+
/** NodeAddress memo */
|
|
2916
|
+
memo?: (Uint8Array|null);
|
|
2917
|
+
|
|
2918
|
+
/** NodeAddress RSA_PubKey */
|
|
2919
|
+
RSA_PubKey?: (string|null);
|
|
2920
|
+
|
|
2921
|
+
/** NodeAddress nodeId */
|
|
2922
|
+
nodeId?: (number|Long|null);
|
|
2923
|
+
|
|
2924
|
+
/** NodeAddress nodeAccountId */
|
|
2925
|
+
nodeAccountId?: (proto.IAccountID|null);
|
|
2926
|
+
|
|
2927
|
+
/** NodeAddress nodeCertHash */
|
|
2928
|
+
nodeCertHash?: (Uint8Array|null);
|
|
2929
|
+
|
|
2930
|
+
/** NodeAddress nodeEndpoint */
|
|
2931
|
+
nodeEndpoint?: (proto.INodeEndpoint[]|null);
|
|
2932
|
+
|
|
2933
|
+
/** NodeAddress description */
|
|
2934
|
+
description?: (string|null);
|
|
2935
|
+
|
|
2936
|
+
/** NodeAddress stake */
|
|
2937
|
+
stake?: (number|Long|null);
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
/** Represents a NodeAddress. */
|
|
2941
|
+
class NodeAddress implements INodeAddress {
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* Constructs a new NodeAddress.
|
|
2945
|
+
* @param [properties] Properties to set
|
|
2946
|
+
*/
|
|
2947
|
+
constructor(properties?: proto.INodeAddress);
|
|
2948
|
+
|
|
2949
|
+
/** NodeAddress ipAddress. */
|
|
2950
|
+
public ipAddress: Uint8Array;
|
|
2951
|
+
|
|
2952
|
+
/** NodeAddress portno. */
|
|
2953
|
+
public portno: number;
|
|
2954
|
+
|
|
2955
|
+
/** NodeAddress memo. */
|
|
2956
|
+
public memo: Uint8Array;
|
|
2957
|
+
|
|
2958
|
+
/** NodeAddress RSA_PubKey. */
|
|
2959
|
+
public RSA_PubKey: string;
|
|
2960
|
+
|
|
2961
|
+
/** NodeAddress nodeId. */
|
|
2962
|
+
public nodeId: (number|Long);
|
|
2963
|
+
|
|
2964
|
+
/** NodeAddress nodeAccountId. */
|
|
2965
|
+
public nodeAccountId?: (proto.IAccountID|null);
|
|
2966
|
+
|
|
2967
|
+
/** NodeAddress nodeCertHash. */
|
|
2968
|
+
public nodeCertHash: Uint8Array;
|
|
2969
|
+
|
|
2970
|
+
/** NodeAddress nodeEndpoint. */
|
|
2971
|
+
public nodeEndpoint: proto.INodeEndpoint[];
|
|
2972
|
+
|
|
2973
|
+
/** NodeAddress description. */
|
|
2974
|
+
public description: string;
|
|
2975
|
+
|
|
2976
|
+
/** NodeAddress stake. */
|
|
2977
|
+
public stake: (number|Long);
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* Creates a new NodeAddress instance using the specified properties.
|
|
2981
|
+
* @param [properties] Properties to set
|
|
2982
|
+
* @returns NodeAddress instance
|
|
2983
|
+
*/
|
|
2984
|
+
public static create(properties?: proto.INodeAddress): proto.NodeAddress;
|
|
2985
|
+
|
|
2986
|
+
/**
|
|
2987
|
+
* Encodes the specified NodeAddress message. Does not implicitly {@link proto.NodeAddress.verify|verify} messages.
|
|
2988
|
+
* @param message NodeAddress message or plain object to encode
|
|
2989
|
+
* @param [writer] Writer to encode to
|
|
2990
|
+
* @returns Writer
|
|
2991
|
+
*/
|
|
2992
|
+
public static encode(message: proto.INodeAddress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* Encodes the specified NodeAddress message, length delimited. Does not implicitly {@link proto.NodeAddress.verify|verify} messages.
|
|
2996
|
+
* @param message NodeAddress message or plain object to encode
|
|
2997
|
+
* @param [writer] Writer to encode to
|
|
2998
|
+
* @returns Writer
|
|
2999
|
+
*/
|
|
3000
|
+
public static encodeDelimited(message: proto.INodeAddress, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3001
|
+
|
|
3002
|
+
/**
|
|
3003
|
+
* Decodes a NodeAddress message from the specified reader or buffer.
|
|
3004
|
+
* @param reader Reader or buffer to decode from
|
|
3005
|
+
* @param [length] Message length if known beforehand
|
|
3006
|
+
* @returns NodeAddress
|
|
3007
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3008
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3009
|
+
*/
|
|
3010
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NodeAddress;
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Decodes a NodeAddress message from the specified reader or buffer, length delimited.
|
|
3014
|
+
* @param reader Reader or buffer to decode from
|
|
3015
|
+
* @returns NodeAddress
|
|
3016
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3017
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3018
|
+
*/
|
|
3019
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NodeAddress;
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* Verifies a NodeAddress message.
|
|
3023
|
+
* @param message Plain object to verify
|
|
3024
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3025
|
+
*/
|
|
3026
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Creates a NodeAddress message from a plain object. Also converts values to their respective internal types.
|
|
3030
|
+
* @param object Plain object
|
|
3031
|
+
* @returns NodeAddress
|
|
3032
|
+
*/
|
|
3033
|
+
public static fromObject(object: { [k: string]: any }): proto.NodeAddress;
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Creates a plain object from a NodeAddress message. Also converts values to other types if specified.
|
|
3037
|
+
* @param message NodeAddress
|
|
3038
|
+
* @param [options] Conversion options
|
|
3039
|
+
* @returns Plain object
|
|
3040
|
+
*/
|
|
3041
|
+
public static toObject(message: proto.NodeAddress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* Converts this NodeAddress to JSON.
|
|
3045
|
+
* @returns JSON object
|
|
3046
|
+
*/
|
|
3047
|
+
public toJSON(): { [k: string]: any };
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
/** Properties of an AddressBook. */
|
|
3051
|
+
interface IAddressBook {
|
|
3052
|
+
|
|
3053
|
+
/** AddressBook nodeAddress */
|
|
3054
|
+
nodeAddress?: (proto.INodeAddress[]|null);
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
/** Represents an AddressBook. */
|
|
3058
|
+
class AddressBook implements IAddressBook {
|
|
3059
|
+
|
|
3060
|
+
/**
|
|
3061
|
+
* Constructs a new AddressBook.
|
|
3062
|
+
* @param [properties] Properties to set
|
|
3063
|
+
*/
|
|
3064
|
+
constructor(properties?: proto.IAddressBook);
|
|
3065
|
+
|
|
3066
|
+
/** AddressBook nodeAddress. */
|
|
3067
|
+
public nodeAddress: proto.INodeAddress[];
|
|
3068
|
+
|
|
3069
|
+
/**
|
|
3070
|
+
* Creates a new AddressBook instance using the specified properties.
|
|
3071
|
+
* @param [properties] Properties to set
|
|
3072
|
+
* @returns AddressBook instance
|
|
3073
|
+
*/
|
|
3074
|
+
public static create(properties?: proto.IAddressBook): proto.AddressBook;
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* Encodes the specified AddressBook message. Does not implicitly {@link proto.AddressBook.verify|verify} messages.
|
|
3078
|
+
* @param message AddressBook message or plain object to encode
|
|
3079
|
+
* @param [writer] Writer to encode to
|
|
3080
|
+
* @returns Writer
|
|
3081
|
+
*/
|
|
3082
|
+
public static encode(message: proto.IAddressBook, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3083
|
+
|
|
3084
|
+
/**
|
|
3085
|
+
* Encodes the specified AddressBook message, length delimited. Does not implicitly {@link proto.AddressBook.verify|verify} messages.
|
|
3086
|
+
* @param message AddressBook message or plain object to encode
|
|
3087
|
+
* @param [writer] Writer to encode to
|
|
3088
|
+
* @returns Writer
|
|
3089
|
+
*/
|
|
3090
|
+
public static encodeDelimited(message: proto.IAddressBook, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* Decodes an AddressBook message from the specified reader or buffer.
|
|
3094
|
+
* @param reader Reader or buffer to decode from
|
|
3095
|
+
* @param [length] Message length if known beforehand
|
|
3096
|
+
* @returns AddressBook
|
|
3097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3099
|
+
*/
|
|
3100
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AddressBook;
|
|
3101
|
+
|
|
3102
|
+
/**
|
|
3103
|
+
* Decodes an AddressBook message from the specified reader or buffer, length delimited.
|
|
3104
|
+
* @param reader Reader or buffer to decode from
|
|
3105
|
+
* @returns AddressBook
|
|
3106
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3107
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3108
|
+
*/
|
|
3109
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AddressBook;
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Verifies an AddressBook message.
|
|
3113
|
+
* @param message Plain object to verify
|
|
3114
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3115
|
+
*/
|
|
3116
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* Creates an AddressBook message from a plain object. Also converts values to their respective internal types.
|
|
3120
|
+
* @param object Plain object
|
|
3121
|
+
* @returns AddressBook
|
|
3122
|
+
*/
|
|
3123
|
+
public static fromObject(object: { [k: string]: any }): proto.AddressBook;
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* Creates a plain object from an AddressBook message. Also converts values to other types if specified.
|
|
3127
|
+
* @param message AddressBook
|
|
3128
|
+
* @param [options] Conversion options
|
|
3129
|
+
* @returns Plain object
|
|
3130
|
+
*/
|
|
3131
|
+
public static toObject(message: proto.AddressBook, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* Converts this AddressBook to JSON.
|
|
3135
|
+
* @returns JSON object
|
|
3136
|
+
*/
|
|
3137
|
+
public toJSON(): { [k: string]: any };
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
/** Properties of a NodeAddressForClients. */
|
|
3141
|
+
interface INodeAddressForClients {
|
|
3142
|
+
|
|
3143
|
+
/** NodeAddressForClients nodeId */
|
|
3144
|
+
nodeId?: (number|Long|null);
|
|
3145
|
+
|
|
3146
|
+
/** NodeAddressForClients nodeAccountId */
|
|
3147
|
+
nodeAccountId?: (proto.IAccountID|null);
|
|
3148
|
+
|
|
3149
|
+
/** NodeAddressForClients nodeCertHash */
|
|
3150
|
+
nodeCertHash?: (Uint8Array|null);
|
|
3151
|
+
|
|
3152
|
+
/** NodeAddressForClients nodeEndpoint */
|
|
3153
|
+
nodeEndpoint?: (proto.INodeEndpoint[]|null);
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
/** Represents a NodeAddressForClients. */
|
|
3157
|
+
class NodeAddressForClients implements INodeAddressForClients {
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* Constructs a new NodeAddressForClients.
|
|
3161
|
+
* @param [properties] Properties to set
|
|
3162
|
+
*/
|
|
3163
|
+
constructor(properties?: proto.INodeAddressForClients);
|
|
3164
|
+
|
|
3165
|
+
/** NodeAddressForClients nodeId. */
|
|
3166
|
+
public nodeId: (number|Long);
|
|
3167
|
+
|
|
3168
|
+
/** NodeAddressForClients nodeAccountId. */
|
|
3169
|
+
public nodeAccountId?: (proto.IAccountID|null);
|
|
3170
|
+
|
|
3171
|
+
/** NodeAddressForClients nodeCertHash. */
|
|
3172
|
+
public nodeCertHash: Uint8Array;
|
|
3173
|
+
|
|
3174
|
+
/** NodeAddressForClients nodeEndpoint. */
|
|
3175
|
+
public nodeEndpoint: proto.INodeEndpoint[];
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* Creates a new NodeAddressForClients instance using the specified properties.
|
|
3179
|
+
* @param [properties] Properties to set
|
|
3180
|
+
* @returns NodeAddressForClients instance
|
|
3181
|
+
*/
|
|
3182
|
+
public static create(properties?: proto.INodeAddressForClients): proto.NodeAddressForClients;
|
|
3183
|
+
|
|
3184
|
+
/**
|
|
3185
|
+
* Encodes the specified NodeAddressForClients message. Does not implicitly {@link proto.NodeAddressForClients.verify|verify} messages.
|
|
3186
|
+
* @param message NodeAddressForClients message or plain object to encode
|
|
3187
|
+
* @param [writer] Writer to encode to
|
|
3188
|
+
* @returns Writer
|
|
3189
|
+
*/
|
|
3190
|
+
public static encode(message: proto.INodeAddressForClients, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* Encodes the specified NodeAddressForClients message, length delimited. Does not implicitly {@link proto.NodeAddressForClients.verify|verify} messages.
|
|
3194
|
+
* @param message NodeAddressForClients message or plain object to encode
|
|
3195
|
+
* @param [writer] Writer to encode to
|
|
3196
|
+
* @returns Writer
|
|
3197
|
+
*/
|
|
3198
|
+
public static encodeDelimited(message: proto.INodeAddressForClients, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Decodes a NodeAddressForClients message from the specified reader or buffer.
|
|
3202
|
+
* @param reader Reader or buffer to decode from
|
|
3203
|
+
* @param [length] Message length if known beforehand
|
|
3204
|
+
* @returns NodeAddressForClients
|
|
3205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3207
|
+
*/
|
|
3208
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.NodeAddressForClients;
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* Decodes a NodeAddressForClients message from the specified reader or buffer, length delimited.
|
|
3212
|
+
* @param reader Reader or buffer to decode from
|
|
3213
|
+
* @returns NodeAddressForClients
|
|
3214
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3215
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3216
|
+
*/
|
|
3217
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.NodeAddressForClients;
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* Verifies a NodeAddressForClients message.
|
|
3221
|
+
* @param message Plain object to verify
|
|
3222
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3223
|
+
*/
|
|
3224
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3225
|
+
|
|
3226
|
+
/**
|
|
3227
|
+
* Creates a NodeAddressForClients message from a plain object. Also converts values to their respective internal types.
|
|
3228
|
+
* @param object Plain object
|
|
3229
|
+
* @returns NodeAddressForClients
|
|
3230
|
+
*/
|
|
3231
|
+
public static fromObject(object: { [k: string]: any }): proto.NodeAddressForClients;
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* Creates a plain object from a NodeAddressForClients message. Also converts values to other types if specified.
|
|
3235
|
+
* @param message NodeAddressForClients
|
|
3236
|
+
* @param [options] Conversion options
|
|
3237
|
+
* @returns Plain object
|
|
3238
|
+
*/
|
|
3239
|
+
public static toObject(message: proto.NodeAddressForClients, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* Converts this NodeAddressForClients to JSON.
|
|
3243
|
+
* @returns JSON object
|
|
3244
|
+
*/
|
|
3245
|
+
public toJSON(): { [k: string]: any };
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
/** Properties of an AddressBookForClients. */
|
|
3249
|
+
interface IAddressBookForClients {
|
|
3250
|
+
|
|
3251
|
+
/** AddressBookForClients nodeAddressForClients */
|
|
3252
|
+
nodeAddressForClients?: (proto.INodeAddressForClients[]|null);
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
/** Represents an AddressBookForClients. */
|
|
3256
|
+
class AddressBookForClients implements IAddressBookForClients {
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Constructs a new AddressBookForClients.
|
|
3260
|
+
* @param [properties] Properties to set
|
|
3261
|
+
*/
|
|
3262
|
+
constructor(properties?: proto.IAddressBookForClients);
|
|
3263
|
+
|
|
3264
|
+
/** AddressBookForClients nodeAddressForClients. */
|
|
3265
|
+
public nodeAddressForClients: proto.INodeAddressForClients[];
|
|
3266
|
+
|
|
3267
|
+
/**
|
|
3268
|
+
* Creates a new AddressBookForClients instance using the specified properties.
|
|
3269
|
+
* @param [properties] Properties to set
|
|
3270
|
+
* @returns AddressBookForClients instance
|
|
3271
|
+
*/
|
|
3272
|
+
public static create(properties?: proto.IAddressBookForClients): proto.AddressBookForClients;
|
|
3273
|
+
|
|
3274
|
+
/**
|
|
3275
|
+
* Encodes the specified AddressBookForClients message. Does not implicitly {@link proto.AddressBookForClients.verify|verify} messages.
|
|
3276
|
+
* @param message AddressBookForClients message or plain object to encode
|
|
3277
|
+
* @param [writer] Writer to encode to
|
|
3278
|
+
* @returns Writer
|
|
3279
|
+
*/
|
|
3280
|
+
public static encode(message: proto.IAddressBookForClients, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* Encodes the specified AddressBookForClients message, length delimited. Does not implicitly {@link proto.AddressBookForClients.verify|verify} messages.
|
|
3284
|
+
* @param message AddressBookForClients message or plain object to encode
|
|
3285
|
+
* @param [writer] Writer to encode to
|
|
3286
|
+
* @returns Writer
|
|
3287
|
+
*/
|
|
3288
|
+
public static encodeDelimited(message: proto.IAddressBookForClients, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* Decodes an AddressBookForClients message from the specified reader or buffer.
|
|
3292
|
+
* @param reader Reader or buffer to decode from
|
|
3293
|
+
* @param [length] Message length if known beforehand
|
|
3294
|
+
* @returns AddressBookForClients
|
|
3295
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3296
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3297
|
+
*/
|
|
3298
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AddressBookForClients;
|
|
3299
|
+
|
|
3300
|
+
/**
|
|
3301
|
+
* Decodes an AddressBookForClients message from the specified reader or buffer, length delimited.
|
|
3302
|
+
* @param reader Reader or buffer to decode from
|
|
3303
|
+
* @returns AddressBookForClients
|
|
3304
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3305
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3306
|
+
*/
|
|
3307
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AddressBookForClients;
|
|
3308
|
+
|
|
3309
|
+
/**
|
|
3310
|
+
* Verifies an AddressBookForClients message.
|
|
3311
|
+
* @param message Plain object to verify
|
|
3312
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3313
|
+
*/
|
|
3314
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3315
|
+
|
|
3316
|
+
/**
|
|
3317
|
+
* Creates an AddressBookForClients message from a plain object. Also converts values to their respective internal types.
|
|
3318
|
+
* @param object Plain object
|
|
3319
|
+
* @returns AddressBookForClients
|
|
3320
|
+
*/
|
|
3321
|
+
public static fromObject(object: { [k: string]: any }): proto.AddressBookForClients;
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* Creates a plain object from an AddressBookForClients message. Also converts values to other types if specified.
|
|
3325
|
+
* @param message AddressBookForClients
|
|
3326
|
+
* @param [options] Conversion options
|
|
3327
|
+
* @returns Plain object
|
|
3328
|
+
*/
|
|
3329
|
+
public static toObject(message: proto.AddressBookForClients, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* Converts this AddressBookForClients to JSON.
|
|
3333
|
+
* @returns JSON object
|
|
3334
|
+
*/
|
|
3335
|
+
public toJSON(): { [k: string]: any };
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
/** Properties of a SemanticVersion. */
|
|
3339
|
+
interface ISemanticVersion {
|
|
3340
|
+
|
|
3341
|
+
/** SemanticVersion major */
|
|
3342
|
+
major?: (number|null);
|
|
3343
|
+
|
|
3344
|
+
/** SemanticVersion minor */
|
|
3345
|
+
minor?: (number|null);
|
|
3346
|
+
|
|
3347
|
+
/** SemanticVersion patch */
|
|
3348
|
+
patch?: (number|null);
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
/** Represents a SemanticVersion. */
|
|
3352
|
+
class SemanticVersion implements ISemanticVersion {
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* Constructs a new SemanticVersion.
|
|
3356
|
+
* @param [properties] Properties to set
|
|
3357
|
+
*/
|
|
3358
|
+
constructor(properties?: proto.ISemanticVersion);
|
|
3359
|
+
|
|
3360
|
+
/** SemanticVersion major. */
|
|
3361
|
+
public major: number;
|
|
3362
|
+
|
|
3363
|
+
/** SemanticVersion minor. */
|
|
3364
|
+
public minor: number;
|
|
3365
|
+
|
|
3366
|
+
/** SemanticVersion patch. */
|
|
3367
|
+
public patch: number;
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* Creates a new SemanticVersion instance using the specified properties.
|
|
3371
|
+
* @param [properties] Properties to set
|
|
3372
|
+
* @returns SemanticVersion instance
|
|
3373
|
+
*/
|
|
3374
|
+
public static create(properties?: proto.ISemanticVersion): proto.SemanticVersion;
|
|
3375
|
+
|
|
3376
|
+
/**
|
|
3377
|
+
* Encodes the specified SemanticVersion message. Does not implicitly {@link proto.SemanticVersion.verify|verify} messages.
|
|
3378
|
+
* @param message SemanticVersion message or plain object to encode
|
|
3379
|
+
* @param [writer] Writer to encode to
|
|
3380
|
+
* @returns Writer
|
|
3381
|
+
*/
|
|
3382
|
+
public static encode(message: proto.ISemanticVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3383
|
+
|
|
3384
|
+
/**
|
|
3385
|
+
* Encodes the specified SemanticVersion message, length delimited. Does not implicitly {@link proto.SemanticVersion.verify|verify} messages.
|
|
3386
|
+
* @param message SemanticVersion message or plain object to encode
|
|
3387
|
+
* @param [writer] Writer to encode to
|
|
3388
|
+
* @returns Writer
|
|
3389
|
+
*/
|
|
3390
|
+
public static encodeDelimited(message: proto.ISemanticVersion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3391
|
+
|
|
3392
|
+
/**
|
|
3393
|
+
* Decodes a SemanticVersion message from the specified reader or buffer.
|
|
3394
|
+
* @param reader Reader or buffer to decode from
|
|
3395
|
+
* @param [length] Message length if known beforehand
|
|
3396
|
+
* @returns SemanticVersion
|
|
3397
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3398
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3399
|
+
*/
|
|
3400
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SemanticVersion;
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* Decodes a SemanticVersion message from the specified reader or buffer, length delimited.
|
|
3404
|
+
* @param reader Reader or buffer to decode from
|
|
3405
|
+
* @returns SemanticVersion
|
|
3406
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3407
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3408
|
+
*/
|
|
3409
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SemanticVersion;
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Verifies a SemanticVersion message.
|
|
3413
|
+
* @param message Plain object to verify
|
|
3414
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3415
|
+
*/
|
|
3416
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3417
|
+
|
|
3418
|
+
/**
|
|
3419
|
+
* Creates a SemanticVersion message from a plain object. Also converts values to their respective internal types.
|
|
3420
|
+
* @param object Plain object
|
|
3421
|
+
* @returns SemanticVersion
|
|
3422
|
+
*/
|
|
3423
|
+
public static fromObject(object: { [k: string]: any }): proto.SemanticVersion;
|
|
3424
|
+
|
|
3425
|
+
/**
|
|
3426
|
+
* Creates a plain object from a SemanticVersion message. Also converts values to other types if specified.
|
|
3427
|
+
* @param message SemanticVersion
|
|
3428
|
+
* @param [options] Conversion options
|
|
3429
|
+
* @returns Plain object
|
|
3430
|
+
*/
|
|
3431
|
+
public static toObject(message: proto.SemanticVersion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3432
|
+
|
|
3433
|
+
/**
|
|
3434
|
+
* Converts this SemanticVersion to JSON.
|
|
3435
|
+
* @returns JSON object
|
|
3436
|
+
*/
|
|
3437
|
+
public toJSON(): { [k: string]: any };
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
/** Properties of a Setting. */
|
|
3441
|
+
interface ISetting {
|
|
3442
|
+
|
|
3443
|
+
/** Setting name */
|
|
3444
|
+
name?: (string|null);
|
|
3445
|
+
|
|
3446
|
+
/** Setting value */
|
|
3447
|
+
value?: (string|null);
|
|
3448
|
+
|
|
3449
|
+
/** Setting data */
|
|
3450
|
+
data?: (Uint8Array|null);
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
/** Represents a Setting. */
|
|
3454
|
+
class Setting implements ISetting {
|
|
3455
|
+
|
|
3456
|
+
/**
|
|
3457
|
+
* Constructs a new Setting.
|
|
3458
|
+
* @param [properties] Properties to set
|
|
3459
|
+
*/
|
|
3460
|
+
constructor(properties?: proto.ISetting);
|
|
3461
|
+
|
|
3462
|
+
/** Setting name. */
|
|
3463
|
+
public name: string;
|
|
3464
|
+
|
|
3465
|
+
/** Setting value. */
|
|
3466
|
+
public value: string;
|
|
3467
|
+
|
|
3468
|
+
/** Setting data. */
|
|
3469
|
+
public data: Uint8Array;
|
|
3470
|
+
|
|
3471
|
+
/**
|
|
3472
|
+
* Creates a new Setting instance using the specified properties.
|
|
3473
|
+
* @param [properties] Properties to set
|
|
3474
|
+
* @returns Setting instance
|
|
3475
|
+
*/
|
|
3476
|
+
public static create(properties?: proto.ISetting): proto.Setting;
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Encodes the specified Setting message. Does not implicitly {@link proto.Setting.verify|verify} messages.
|
|
3480
|
+
* @param message Setting message or plain object to encode
|
|
3481
|
+
* @param [writer] Writer to encode to
|
|
3482
|
+
* @returns Writer
|
|
3483
|
+
*/
|
|
3484
|
+
public static encode(message: proto.ISetting, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Encodes the specified Setting message, length delimited. Does not implicitly {@link proto.Setting.verify|verify} messages.
|
|
3488
|
+
* @param message Setting message or plain object to encode
|
|
3489
|
+
* @param [writer] Writer to encode to
|
|
3490
|
+
* @returns Writer
|
|
3491
|
+
*/
|
|
3492
|
+
public static encodeDelimited(message: proto.ISetting, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3493
|
+
|
|
3494
|
+
/**
|
|
3495
|
+
* Decodes a Setting message from the specified reader or buffer.
|
|
3496
|
+
* @param reader Reader or buffer to decode from
|
|
3497
|
+
* @param [length] Message length if known beforehand
|
|
3498
|
+
* @returns Setting
|
|
3499
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3500
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3501
|
+
*/
|
|
3502
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Setting;
|
|
3503
|
+
|
|
3504
|
+
/**
|
|
3505
|
+
* Decodes a Setting message from the specified reader or buffer, length delimited.
|
|
3506
|
+
* @param reader Reader or buffer to decode from
|
|
3507
|
+
* @returns Setting
|
|
3508
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3509
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3510
|
+
*/
|
|
3511
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Setting;
|
|
3512
|
+
|
|
3513
|
+
/**
|
|
3514
|
+
* Verifies a Setting message.
|
|
3515
|
+
* @param message Plain object to verify
|
|
3516
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3517
|
+
*/
|
|
3518
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* Creates a Setting message from a plain object. Also converts values to their respective internal types.
|
|
3522
|
+
* @param object Plain object
|
|
3523
|
+
* @returns Setting
|
|
3524
|
+
*/
|
|
3525
|
+
public static fromObject(object: { [k: string]: any }): proto.Setting;
|
|
3526
|
+
|
|
3527
|
+
/**
|
|
3528
|
+
* Creates a plain object from a Setting message. Also converts values to other types if specified.
|
|
3529
|
+
* @param message Setting
|
|
3530
|
+
* @param [options] Conversion options
|
|
3531
|
+
* @returns Plain object
|
|
3532
|
+
*/
|
|
3533
|
+
public static toObject(message: proto.Setting, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3534
|
+
|
|
3535
|
+
/**
|
|
3536
|
+
* Converts this Setting to JSON.
|
|
3537
|
+
* @returns JSON object
|
|
3538
|
+
*/
|
|
3539
|
+
public toJSON(): { [k: string]: any };
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
/** Properties of a ServicesConfigurationList. */
|
|
3543
|
+
interface IServicesConfigurationList {
|
|
3544
|
+
|
|
3545
|
+
/** ServicesConfigurationList nameValue */
|
|
3546
|
+
nameValue?: (proto.ISetting[]|null);
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
/** Represents a ServicesConfigurationList. */
|
|
3550
|
+
class ServicesConfigurationList implements IServicesConfigurationList {
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* Constructs a new ServicesConfigurationList.
|
|
3554
|
+
* @param [properties] Properties to set
|
|
3555
|
+
*/
|
|
3556
|
+
constructor(properties?: proto.IServicesConfigurationList);
|
|
3557
|
+
|
|
3558
|
+
/** ServicesConfigurationList nameValue. */
|
|
3559
|
+
public nameValue: proto.ISetting[];
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* Creates a new ServicesConfigurationList instance using the specified properties.
|
|
3563
|
+
* @param [properties] Properties to set
|
|
3564
|
+
* @returns ServicesConfigurationList instance
|
|
3565
|
+
*/
|
|
3566
|
+
public static create(properties?: proto.IServicesConfigurationList): proto.ServicesConfigurationList;
|
|
3567
|
+
|
|
3568
|
+
/**
|
|
3569
|
+
* Encodes the specified ServicesConfigurationList message. Does not implicitly {@link proto.ServicesConfigurationList.verify|verify} messages.
|
|
3570
|
+
* @param message ServicesConfigurationList message or plain object to encode
|
|
3571
|
+
* @param [writer] Writer to encode to
|
|
3572
|
+
* @returns Writer
|
|
3573
|
+
*/
|
|
3574
|
+
public static encode(message: proto.IServicesConfigurationList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* Encodes the specified ServicesConfigurationList message, length delimited. Does not implicitly {@link proto.ServicesConfigurationList.verify|verify} messages.
|
|
3578
|
+
* @param message ServicesConfigurationList message or plain object to encode
|
|
3579
|
+
* @param [writer] Writer to encode to
|
|
3580
|
+
* @returns Writer
|
|
3581
|
+
*/
|
|
3582
|
+
public static encodeDelimited(message: proto.IServicesConfigurationList, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3583
|
+
|
|
3584
|
+
/**
|
|
3585
|
+
* Decodes a ServicesConfigurationList message from the specified reader or buffer.
|
|
3586
|
+
* @param reader Reader or buffer to decode from
|
|
3587
|
+
* @param [length] Message length if known beforehand
|
|
3588
|
+
* @returns ServicesConfigurationList
|
|
3589
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3590
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3591
|
+
*/
|
|
3592
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ServicesConfigurationList;
|
|
3593
|
+
|
|
3594
|
+
/**
|
|
3595
|
+
* Decodes a ServicesConfigurationList message from the specified reader or buffer, length delimited.
|
|
3596
|
+
* @param reader Reader or buffer to decode from
|
|
3597
|
+
* @returns ServicesConfigurationList
|
|
3598
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3599
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3600
|
+
*/
|
|
3601
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ServicesConfigurationList;
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* Verifies a ServicesConfigurationList message.
|
|
3605
|
+
* @param message Plain object to verify
|
|
3606
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3607
|
+
*/
|
|
3608
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* Creates a ServicesConfigurationList message from a plain object. Also converts values to their respective internal types.
|
|
3612
|
+
* @param object Plain object
|
|
3613
|
+
* @returns ServicesConfigurationList
|
|
3614
|
+
*/
|
|
3615
|
+
public static fromObject(object: { [k: string]: any }): proto.ServicesConfigurationList;
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* Creates a plain object from a ServicesConfigurationList message. Also converts values to other types if specified.
|
|
3619
|
+
* @param message ServicesConfigurationList
|
|
3620
|
+
* @param [options] Conversion options
|
|
3621
|
+
* @returns Plain object
|
|
3622
|
+
*/
|
|
3623
|
+
public static toObject(message: proto.ServicesConfigurationList, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3624
|
+
|
|
3625
|
+
/**
|
|
3626
|
+
* Converts this ServicesConfigurationList to JSON.
|
|
3627
|
+
* @returns JSON object
|
|
3628
|
+
*/
|
|
3629
|
+
public toJSON(): { [k: string]: any };
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
/** Properties of a TokenRelationship. */
|
|
3633
|
+
interface ITokenRelationship {
|
|
3634
|
+
|
|
3635
|
+
/** TokenRelationship tokenId */
|
|
3636
|
+
tokenId?: (proto.ITokenID|null);
|
|
3637
|
+
|
|
3638
|
+
/** TokenRelationship symbol */
|
|
3639
|
+
symbol?: (string|null);
|
|
3640
|
+
|
|
3641
|
+
/** TokenRelationship balance */
|
|
3642
|
+
balance?: (number|Long|null);
|
|
3643
|
+
|
|
3644
|
+
/** TokenRelationship kycStatus */
|
|
3645
|
+
kycStatus?: (proto.TokenKycStatus|null);
|
|
3646
|
+
|
|
3647
|
+
/** TokenRelationship freezeStatus */
|
|
3648
|
+
freezeStatus?: (proto.TokenFreezeStatus|null);
|
|
3649
|
+
|
|
3650
|
+
/** TokenRelationship decimals */
|
|
3651
|
+
decimals?: (number|null);
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
/** Represents a TokenRelationship. */
|
|
3655
|
+
class TokenRelationship implements ITokenRelationship {
|
|
3656
|
+
|
|
3657
|
+
/**
|
|
3658
|
+
* Constructs a new TokenRelationship.
|
|
3659
|
+
* @param [properties] Properties to set
|
|
3660
|
+
*/
|
|
3661
|
+
constructor(properties?: proto.ITokenRelationship);
|
|
3662
|
+
|
|
3663
|
+
/** TokenRelationship tokenId. */
|
|
3664
|
+
public tokenId?: (proto.ITokenID|null);
|
|
3665
|
+
|
|
3666
|
+
/** TokenRelationship symbol. */
|
|
3667
|
+
public symbol: string;
|
|
3668
|
+
|
|
3669
|
+
/** TokenRelationship balance. */
|
|
3670
|
+
public balance: (number|Long);
|
|
3671
|
+
|
|
3672
|
+
/** TokenRelationship kycStatus. */
|
|
3673
|
+
public kycStatus: proto.TokenKycStatus;
|
|
3674
|
+
|
|
3675
|
+
/** TokenRelationship freezeStatus. */
|
|
3676
|
+
public freezeStatus: proto.TokenFreezeStatus;
|
|
3677
|
+
|
|
3678
|
+
/** TokenRelationship decimals. */
|
|
3679
|
+
public decimals: number;
|
|
3680
|
+
|
|
3681
|
+
/**
|
|
3682
|
+
* Creates a new TokenRelationship instance using the specified properties.
|
|
3683
|
+
* @param [properties] Properties to set
|
|
3684
|
+
* @returns TokenRelationship instance
|
|
3685
|
+
*/
|
|
3686
|
+
public static create(properties?: proto.ITokenRelationship): proto.TokenRelationship;
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* Encodes the specified TokenRelationship message. Does not implicitly {@link proto.TokenRelationship.verify|verify} messages.
|
|
3690
|
+
* @param message TokenRelationship message or plain object to encode
|
|
3691
|
+
* @param [writer] Writer to encode to
|
|
3692
|
+
* @returns Writer
|
|
3693
|
+
*/
|
|
3694
|
+
public static encode(message: proto.ITokenRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* Encodes the specified TokenRelationship message, length delimited. Does not implicitly {@link proto.TokenRelationship.verify|verify} messages.
|
|
3698
|
+
* @param message TokenRelationship message or plain object to encode
|
|
3699
|
+
* @param [writer] Writer to encode to
|
|
3700
|
+
* @returns Writer
|
|
3701
|
+
*/
|
|
3702
|
+
public static encodeDelimited(message: proto.ITokenRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3703
|
+
|
|
3704
|
+
/**
|
|
3705
|
+
* Decodes a TokenRelationship message from the specified reader or buffer.
|
|
3706
|
+
* @param reader Reader or buffer to decode from
|
|
3707
|
+
* @param [length] Message length if known beforehand
|
|
3708
|
+
* @returns TokenRelationship
|
|
3709
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3710
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3711
|
+
*/
|
|
3712
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TokenRelationship;
|
|
3713
|
+
|
|
3714
|
+
/**
|
|
3715
|
+
* Decodes a TokenRelationship message from the specified reader or buffer, length delimited.
|
|
3716
|
+
* @param reader Reader or buffer to decode from
|
|
3717
|
+
* @returns TokenRelationship
|
|
3718
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3719
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3720
|
+
*/
|
|
3721
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TokenRelationship;
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* Verifies a TokenRelationship message.
|
|
3725
|
+
* @param message Plain object to verify
|
|
3726
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3727
|
+
*/
|
|
3728
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3729
|
+
|
|
3730
|
+
/**
|
|
3731
|
+
* Creates a TokenRelationship message from a plain object. Also converts values to their respective internal types.
|
|
3732
|
+
* @param object Plain object
|
|
3733
|
+
* @returns TokenRelationship
|
|
3734
|
+
*/
|
|
3735
|
+
public static fromObject(object: { [k: string]: any }): proto.TokenRelationship;
|
|
3736
|
+
|
|
3737
|
+
/**
|
|
3738
|
+
* Creates a plain object from a TokenRelationship message. Also converts values to other types if specified.
|
|
3739
|
+
* @param message TokenRelationship
|
|
3740
|
+
* @param [options] Conversion options
|
|
3741
|
+
* @returns Plain object
|
|
3742
|
+
*/
|
|
3743
|
+
public static toObject(message: proto.TokenRelationship, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* Converts this TokenRelationship to JSON.
|
|
3747
|
+
* @returns JSON object
|
|
3748
|
+
*/
|
|
3749
|
+
public toJSON(): { [k: string]: any };
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
/** Properties of a TokenBalance. */
|
|
3753
|
+
interface ITokenBalance {
|
|
3754
|
+
|
|
3755
|
+
/** TokenBalance tokenId */
|
|
3756
|
+
tokenId?: (proto.ITokenID|null);
|
|
3757
|
+
|
|
3758
|
+
/** TokenBalance balance */
|
|
3759
|
+
balance?: (number|Long|null);
|
|
3760
|
+
|
|
3761
|
+
/** TokenBalance decimals */
|
|
3762
|
+
decimals?: (number|null);
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
/** Represents a TokenBalance. */
|
|
3766
|
+
class TokenBalance implements ITokenBalance {
|
|
3767
|
+
|
|
3768
|
+
/**
|
|
3769
|
+
* Constructs a new TokenBalance.
|
|
3770
|
+
* @param [properties] Properties to set
|
|
3771
|
+
*/
|
|
3772
|
+
constructor(properties?: proto.ITokenBalance);
|
|
3773
|
+
|
|
3774
|
+
/** TokenBalance tokenId. */
|
|
3775
|
+
public tokenId?: (proto.ITokenID|null);
|
|
3776
|
+
|
|
3777
|
+
/** TokenBalance balance. */
|
|
3778
|
+
public balance: (number|Long);
|
|
3779
|
+
|
|
3780
|
+
/** TokenBalance decimals. */
|
|
3781
|
+
public decimals: number;
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* Creates a new TokenBalance instance using the specified properties.
|
|
3785
|
+
* @param [properties] Properties to set
|
|
3786
|
+
* @returns TokenBalance instance
|
|
3787
|
+
*/
|
|
3788
|
+
public static create(properties?: proto.ITokenBalance): proto.TokenBalance;
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* Encodes the specified TokenBalance message. Does not implicitly {@link proto.TokenBalance.verify|verify} messages.
|
|
3792
|
+
* @param message TokenBalance message or plain object to encode
|
|
3793
|
+
* @param [writer] Writer to encode to
|
|
3794
|
+
* @returns Writer
|
|
3795
|
+
*/
|
|
3796
|
+
public static encode(message: proto.ITokenBalance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* Encodes the specified TokenBalance message, length delimited. Does not implicitly {@link proto.TokenBalance.verify|verify} messages.
|
|
3800
|
+
* @param message TokenBalance message or plain object to encode
|
|
3801
|
+
* @param [writer] Writer to encode to
|
|
3802
|
+
* @returns Writer
|
|
3803
|
+
*/
|
|
3804
|
+
public static encodeDelimited(message: proto.ITokenBalance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3805
|
+
|
|
3806
|
+
/**
|
|
3807
|
+
* Decodes a TokenBalance message from the specified reader or buffer.
|
|
3808
|
+
* @param reader Reader or buffer to decode from
|
|
3809
|
+
* @param [length] Message length if known beforehand
|
|
3810
|
+
* @returns TokenBalance
|
|
3811
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3812
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3813
|
+
*/
|
|
3814
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TokenBalance;
|
|
3815
|
+
|
|
3816
|
+
/**
|
|
3817
|
+
* Decodes a TokenBalance message from the specified reader or buffer, length delimited.
|
|
3818
|
+
* @param reader Reader or buffer to decode from
|
|
3819
|
+
* @returns TokenBalance
|
|
3820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3822
|
+
*/
|
|
3823
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TokenBalance;
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* Verifies a TokenBalance message.
|
|
3827
|
+
* @param message Plain object to verify
|
|
3828
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3829
|
+
*/
|
|
3830
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
* Creates a TokenBalance message from a plain object. Also converts values to their respective internal types.
|
|
3834
|
+
* @param object Plain object
|
|
3835
|
+
* @returns TokenBalance
|
|
3836
|
+
*/
|
|
3837
|
+
public static fromObject(object: { [k: string]: any }): proto.TokenBalance;
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Creates a plain object from a TokenBalance message. Also converts values to other types if specified.
|
|
3841
|
+
* @param message TokenBalance
|
|
3842
|
+
* @param [options] Conversion options
|
|
3843
|
+
* @returns Plain object
|
|
3844
|
+
*/
|
|
3845
|
+
public static toObject(message: proto.TokenBalance, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3846
|
+
|
|
3847
|
+
/**
|
|
3848
|
+
* Converts this TokenBalance to JSON.
|
|
3849
|
+
* @returns JSON object
|
|
3850
|
+
*/
|
|
3851
|
+
public toJSON(): { [k: string]: any };
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
/** Properties of a TokenBalances. */
|
|
3855
|
+
interface ITokenBalances {
|
|
3856
|
+
|
|
3857
|
+
/** TokenBalances tokenBalances */
|
|
3858
|
+
tokenBalances?: (proto.ITokenBalance[]|null);
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
/** Represents a TokenBalances. */
|
|
3862
|
+
class TokenBalances implements ITokenBalances {
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* Constructs a new TokenBalances.
|
|
3866
|
+
* @param [properties] Properties to set
|
|
3867
|
+
*/
|
|
3868
|
+
constructor(properties?: proto.ITokenBalances);
|
|
3869
|
+
|
|
3870
|
+
/** TokenBalances tokenBalances. */
|
|
3871
|
+
public tokenBalances: proto.ITokenBalance[];
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* Creates a new TokenBalances instance using the specified properties.
|
|
3875
|
+
* @param [properties] Properties to set
|
|
3876
|
+
* @returns TokenBalances instance
|
|
3877
|
+
*/
|
|
3878
|
+
public static create(properties?: proto.ITokenBalances): proto.TokenBalances;
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* Encodes the specified TokenBalances message. Does not implicitly {@link proto.TokenBalances.verify|verify} messages.
|
|
3882
|
+
* @param message TokenBalances message or plain object to encode
|
|
3883
|
+
* @param [writer] Writer to encode to
|
|
3884
|
+
* @returns Writer
|
|
3885
|
+
*/
|
|
3886
|
+
public static encode(message: proto.ITokenBalances, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3887
|
+
|
|
3888
|
+
/**
|
|
3889
|
+
* Encodes the specified TokenBalances message, length delimited. Does not implicitly {@link proto.TokenBalances.verify|verify} messages.
|
|
3890
|
+
* @param message TokenBalances message or plain object to encode
|
|
3891
|
+
* @param [writer] Writer to encode to
|
|
3892
|
+
* @returns Writer
|
|
3893
|
+
*/
|
|
3894
|
+
public static encodeDelimited(message: proto.ITokenBalances, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Decodes a TokenBalances message from the specified reader or buffer.
|
|
3898
|
+
* @param reader Reader or buffer to decode from
|
|
3899
|
+
* @param [length] Message length if known beforehand
|
|
3900
|
+
* @returns TokenBalances
|
|
3901
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3902
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3903
|
+
*/
|
|
3904
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TokenBalances;
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* Decodes a TokenBalances message from the specified reader or buffer, length delimited.
|
|
3908
|
+
* @param reader Reader or buffer to decode from
|
|
3909
|
+
* @returns TokenBalances
|
|
3910
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3911
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3912
|
+
*/
|
|
3913
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TokenBalances;
|
|
3914
|
+
|
|
3915
|
+
/**
|
|
3916
|
+
* Verifies a TokenBalances message.
|
|
3917
|
+
* @param message Plain object to verify
|
|
3918
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3919
|
+
*/
|
|
3920
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3921
|
+
|
|
3922
|
+
/**
|
|
3923
|
+
* Creates a TokenBalances message from a plain object. Also converts values to their respective internal types.
|
|
3924
|
+
* @param object Plain object
|
|
3925
|
+
* @returns TokenBalances
|
|
3926
|
+
*/
|
|
3927
|
+
public static fromObject(object: { [k: string]: any }): proto.TokenBalances;
|
|
3928
|
+
|
|
3929
|
+
/**
|
|
3930
|
+
* Creates a plain object from a TokenBalances message. Also converts values to other types if specified.
|
|
3931
|
+
* @param message TokenBalances
|
|
3932
|
+
* @param [options] Conversion options
|
|
3933
|
+
* @returns Plain object
|
|
3934
|
+
*/
|
|
3935
|
+
public static toObject(message: proto.TokenBalances, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* Converts this TokenBalances to JSON.
|
|
3939
|
+
* @returns JSON object
|
|
3940
|
+
*/
|
|
3941
|
+
public toJSON(): { [k: string]: any };
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
/** Properties of a Duration. */
|
|
3945
|
+
interface IDuration {
|
|
3946
|
+
|
|
3947
|
+
/** Duration seconds */
|
|
3948
|
+
seconds?: (number|Long|null);
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
/** Represents a Duration. */
|
|
3952
|
+
class Duration implements IDuration {
|
|
3953
|
+
|
|
3954
|
+
/**
|
|
3955
|
+
* Constructs a new Duration.
|
|
3956
|
+
* @param [properties] Properties to set
|
|
3957
|
+
*/
|
|
3958
|
+
constructor(properties?: proto.IDuration);
|
|
3959
|
+
|
|
3960
|
+
/** Duration seconds. */
|
|
3961
|
+
public seconds: (number|Long);
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* Creates a new Duration instance using the specified properties.
|
|
3965
|
+
* @param [properties] Properties to set
|
|
3966
|
+
* @returns Duration instance
|
|
3967
|
+
*/
|
|
3968
|
+
public static create(properties?: proto.IDuration): proto.Duration;
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
* Encodes the specified Duration message. Does not implicitly {@link proto.Duration.verify|verify} messages.
|
|
3972
|
+
* @param message Duration message or plain object to encode
|
|
3973
|
+
* @param [writer] Writer to encode to
|
|
3974
|
+
* @returns Writer
|
|
3975
|
+
*/
|
|
3976
|
+
public static encode(message: proto.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3977
|
+
|
|
3978
|
+
/**
|
|
3979
|
+
* Encodes the specified Duration message, length delimited. Does not implicitly {@link proto.Duration.verify|verify} messages.
|
|
3980
|
+
* @param message Duration message or plain object to encode
|
|
3981
|
+
* @param [writer] Writer to encode to
|
|
3982
|
+
* @returns Writer
|
|
3983
|
+
*/
|
|
3984
|
+
public static encodeDelimited(message: proto.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3985
|
+
|
|
3986
|
+
/**
|
|
3987
|
+
* Decodes a Duration message from the specified reader or buffer.
|
|
3988
|
+
* @param reader Reader or buffer to decode from
|
|
3989
|
+
* @param [length] Message length if known beforehand
|
|
3990
|
+
* @returns Duration
|
|
3991
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3992
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3993
|
+
*/
|
|
3994
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Duration;
|
|
3995
|
+
|
|
3996
|
+
/**
|
|
3997
|
+
* Decodes a Duration message from the specified reader or buffer, length delimited.
|
|
3998
|
+
* @param reader Reader or buffer to decode from
|
|
3999
|
+
* @returns Duration
|
|
4000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4002
|
+
*/
|
|
4003
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Duration;
|
|
4004
|
+
|
|
4005
|
+
/**
|
|
4006
|
+
* Verifies a Duration message.
|
|
4007
|
+
* @param message Plain object to verify
|
|
4008
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4009
|
+
*/
|
|
4010
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Creates a Duration message from a plain object. Also converts values to their respective internal types.
|
|
4014
|
+
* @param object Plain object
|
|
4015
|
+
* @returns Duration
|
|
4016
|
+
*/
|
|
4017
|
+
public static fromObject(object: { [k: string]: any }): proto.Duration;
|
|
4018
|
+
|
|
4019
|
+
/**
|
|
4020
|
+
* Creates a plain object from a Duration message. Also converts values to other types if specified.
|
|
4021
|
+
* @param message Duration
|
|
4022
|
+
* @param [options] Conversion options
|
|
4023
|
+
* @returns Plain object
|
|
4024
|
+
*/
|
|
4025
|
+
public static toObject(message: proto.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4026
|
+
|
|
4027
|
+
/**
|
|
4028
|
+
* Converts this Duration to JSON.
|
|
4029
|
+
* @returns JSON object
|
|
4030
|
+
*/
|
|
4031
|
+
public toJSON(): { [k: string]: any };
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
/** Properties of a CryptoCreateTransactionBody. */
|
|
4035
|
+
interface ICryptoCreateTransactionBody {
|
|
4036
|
+
|
|
4037
|
+
/** CryptoCreateTransactionBody key */
|
|
4038
|
+
key?: (proto.IKey|null);
|
|
4039
|
+
|
|
4040
|
+
/** CryptoCreateTransactionBody initialBalance */
|
|
4041
|
+
initialBalance?: (number|Long|null);
|
|
4042
|
+
|
|
4043
|
+
/** CryptoCreateTransactionBody proxyAccountID */
|
|
4044
|
+
proxyAccountID?: (proto.IAccountID|null);
|
|
4045
|
+
|
|
4046
|
+
/** CryptoCreateTransactionBody sendRecordThreshold */
|
|
4047
|
+
sendRecordThreshold?: (number|Long|null);
|
|
4048
|
+
|
|
4049
|
+
/** CryptoCreateTransactionBody receiveRecordThreshold */
|
|
4050
|
+
receiveRecordThreshold?: (number|Long|null);
|
|
4051
|
+
|
|
4052
|
+
/** CryptoCreateTransactionBody receiverSigRequired */
|
|
4053
|
+
receiverSigRequired?: (boolean|null);
|
|
4054
|
+
|
|
4055
|
+
/** CryptoCreateTransactionBody autoRenewPeriod */
|
|
4056
|
+
autoRenewPeriod?: (proto.IDuration|null);
|
|
4057
|
+
|
|
4058
|
+
/** CryptoCreateTransactionBody shardID */
|
|
4059
|
+
shardID?: (proto.IShardID|null);
|
|
4060
|
+
|
|
4061
|
+
/** CryptoCreateTransactionBody realmID */
|
|
4062
|
+
realmID?: (proto.IRealmID|null);
|
|
4063
|
+
|
|
4064
|
+
/** CryptoCreateTransactionBody newRealmAdminKey */
|
|
4065
|
+
newRealmAdminKey?: (proto.IKey|null);
|
|
4066
|
+
|
|
4067
|
+
/** CryptoCreateTransactionBody memo */
|
|
4068
|
+
memo?: (string|null);
|
|
4069
|
+
}
|
|
4070
|
+
|
|
4071
|
+
/** Represents a CryptoCreateTransactionBody. */
|
|
4072
|
+
class CryptoCreateTransactionBody implements ICryptoCreateTransactionBody {
|
|
4073
|
+
|
|
4074
|
+
/**
|
|
4075
|
+
* Constructs a new CryptoCreateTransactionBody.
|
|
4076
|
+
* @param [properties] Properties to set
|
|
4077
|
+
*/
|
|
4078
|
+
constructor(properties?: proto.ICryptoCreateTransactionBody);
|
|
4079
|
+
|
|
4080
|
+
/** CryptoCreateTransactionBody key. */
|
|
4081
|
+
public key?: (proto.IKey|null);
|
|
4082
|
+
|
|
4083
|
+
/** CryptoCreateTransactionBody initialBalance. */
|
|
4084
|
+
public initialBalance: (number|Long);
|
|
4085
|
+
|
|
4086
|
+
/** CryptoCreateTransactionBody proxyAccountID. */
|
|
4087
|
+
public proxyAccountID?: (proto.IAccountID|null);
|
|
4088
|
+
|
|
4089
|
+
/** CryptoCreateTransactionBody sendRecordThreshold. */
|
|
4090
|
+
public sendRecordThreshold: (number|Long);
|
|
4091
|
+
|
|
4092
|
+
/** CryptoCreateTransactionBody receiveRecordThreshold. */
|
|
4093
|
+
public receiveRecordThreshold: (number|Long);
|
|
4094
|
+
|
|
4095
|
+
/** CryptoCreateTransactionBody receiverSigRequired. */
|
|
4096
|
+
public receiverSigRequired: boolean;
|
|
4097
|
+
|
|
4098
|
+
/** CryptoCreateTransactionBody autoRenewPeriod. */
|
|
4099
|
+
public autoRenewPeriod?: (proto.IDuration|null);
|
|
4100
|
+
|
|
4101
|
+
/** CryptoCreateTransactionBody shardID. */
|
|
4102
|
+
public shardID?: (proto.IShardID|null);
|
|
4103
|
+
|
|
4104
|
+
/** CryptoCreateTransactionBody realmID. */
|
|
4105
|
+
public realmID?: (proto.IRealmID|null);
|
|
4106
|
+
|
|
4107
|
+
/** CryptoCreateTransactionBody newRealmAdminKey. */
|
|
4108
|
+
public newRealmAdminKey?: (proto.IKey|null);
|
|
4109
|
+
|
|
4110
|
+
/** CryptoCreateTransactionBody memo. */
|
|
4111
|
+
public memo: string;
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* Creates a new CryptoCreateTransactionBody instance using the specified properties.
|
|
4115
|
+
* @param [properties] Properties to set
|
|
4116
|
+
* @returns CryptoCreateTransactionBody instance
|
|
4117
|
+
*/
|
|
4118
|
+
public static create(properties?: proto.ICryptoCreateTransactionBody): proto.CryptoCreateTransactionBody;
|
|
4119
|
+
|
|
4120
|
+
/**
|
|
4121
|
+
* Encodes the specified CryptoCreateTransactionBody message. Does not implicitly {@link proto.CryptoCreateTransactionBody.verify|verify} messages.
|
|
4122
|
+
* @param message CryptoCreateTransactionBody message or plain object to encode
|
|
4123
|
+
* @param [writer] Writer to encode to
|
|
4124
|
+
* @returns Writer
|
|
4125
|
+
*/
|
|
4126
|
+
public static encode(message: proto.ICryptoCreateTransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* Encodes the specified CryptoCreateTransactionBody message, length delimited. Does not implicitly {@link proto.CryptoCreateTransactionBody.verify|verify} messages.
|
|
4130
|
+
* @param message CryptoCreateTransactionBody message or plain object to encode
|
|
4131
|
+
* @param [writer] Writer to encode to
|
|
4132
|
+
* @returns Writer
|
|
4133
|
+
*/
|
|
4134
|
+
public static encodeDelimited(message: proto.ICryptoCreateTransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* Decodes a CryptoCreateTransactionBody message from the specified reader or buffer.
|
|
4138
|
+
* @param reader Reader or buffer to decode from
|
|
4139
|
+
* @param [length] Message length if known beforehand
|
|
4140
|
+
* @returns CryptoCreateTransactionBody
|
|
4141
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4142
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4143
|
+
*/
|
|
4144
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CryptoCreateTransactionBody;
|
|
4145
|
+
|
|
4146
|
+
/**
|
|
4147
|
+
* Decodes a CryptoCreateTransactionBody message from the specified reader or buffer, length delimited.
|
|
4148
|
+
* @param reader Reader or buffer to decode from
|
|
4149
|
+
* @returns CryptoCreateTransactionBody
|
|
4150
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4151
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4152
|
+
*/
|
|
4153
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CryptoCreateTransactionBody;
|
|
4154
|
+
|
|
4155
|
+
/**
|
|
4156
|
+
* Verifies a CryptoCreateTransactionBody message.
|
|
4157
|
+
* @param message Plain object to verify
|
|
4158
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4159
|
+
*/
|
|
4160
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4161
|
+
|
|
4162
|
+
/**
|
|
4163
|
+
* Creates a CryptoCreateTransactionBody message from a plain object. Also converts values to their respective internal types.
|
|
4164
|
+
* @param object Plain object
|
|
4165
|
+
* @returns CryptoCreateTransactionBody
|
|
4166
|
+
*/
|
|
4167
|
+
public static fromObject(object: { [k: string]: any }): proto.CryptoCreateTransactionBody;
|
|
4168
|
+
|
|
4169
|
+
/**
|
|
4170
|
+
* Creates a plain object from a CryptoCreateTransactionBody message. Also converts values to other types if specified.
|
|
4171
|
+
* @param message CryptoCreateTransactionBody
|
|
4172
|
+
* @param [options] Conversion options
|
|
4173
|
+
* @returns Plain object
|
|
4174
|
+
*/
|
|
4175
|
+
public static toObject(message: proto.CryptoCreateTransactionBody, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* Converts this CryptoCreateTransactionBody to JSON.
|
|
4179
|
+
* @returns JSON object
|
|
4180
|
+
*/
|
|
4181
|
+
public toJSON(): { [k: string]: any };
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
/** Properties of a CryptoTransferTransactionBody. */
|
|
4185
|
+
interface ICryptoTransferTransactionBody {
|
|
4186
|
+
|
|
4187
|
+
/** CryptoTransferTransactionBody transfers */
|
|
4188
|
+
transfers?: (proto.ITransferList|null);
|
|
4189
|
+
|
|
4190
|
+
/** CryptoTransferTransactionBody tokenTransfers */
|
|
4191
|
+
tokenTransfers?: (proto.ITokenTransferList[]|null);
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
/** Represents a CryptoTransferTransactionBody. */
|
|
4195
|
+
class CryptoTransferTransactionBody implements ICryptoTransferTransactionBody {
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* Constructs a new CryptoTransferTransactionBody.
|
|
4199
|
+
* @param [properties] Properties to set
|
|
4200
|
+
*/
|
|
4201
|
+
constructor(properties?: proto.ICryptoTransferTransactionBody);
|
|
4202
|
+
|
|
4203
|
+
/** CryptoTransferTransactionBody transfers. */
|
|
4204
|
+
public transfers?: (proto.ITransferList|null);
|
|
4205
|
+
|
|
4206
|
+
/** CryptoTransferTransactionBody tokenTransfers. */
|
|
4207
|
+
public tokenTransfers: proto.ITokenTransferList[];
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
* Creates a new CryptoTransferTransactionBody instance using the specified properties.
|
|
4211
|
+
* @param [properties] Properties to set
|
|
4212
|
+
* @returns CryptoTransferTransactionBody instance
|
|
4213
|
+
*/
|
|
4214
|
+
public static create(properties?: proto.ICryptoTransferTransactionBody): proto.CryptoTransferTransactionBody;
|
|
4215
|
+
|
|
4216
|
+
/**
|
|
4217
|
+
* Encodes the specified CryptoTransferTransactionBody message. Does not implicitly {@link proto.CryptoTransferTransactionBody.verify|verify} messages.
|
|
4218
|
+
* @param message CryptoTransferTransactionBody message or plain object to encode
|
|
4219
|
+
* @param [writer] Writer to encode to
|
|
4220
|
+
* @returns Writer
|
|
4221
|
+
*/
|
|
4222
|
+
public static encode(message: proto.ICryptoTransferTransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* Encodes the specified CryptoTransferTransactionBody message, length delimited. Does not implicitly {@link proto.CryptoTransferTransactionBody.verify|verify} messages.
|
|
4226
|
+
* @param message CryptoTransferTransactionBody message or plain object to encode
|
|
4227
|
+
* @param [writer] Writer to encode to
|
|
4228
|
+
* @returns Writer
|
|
4229
|
+
*/
|
|
4230
|
+
public static encodeDelimited(message: proto.ICryptoTransferTransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* Decodes a CryptoTransferTransactionBody message from the specified reader or buffer.
|
|
4234
|
+
* @param reader Reader or buffer to decode from
|
|
4235
|
+
* @param [length] Message length if known beforehand
|
|
4236
|
+
* @returns CryptoTransferTransactionBody
|
|
4237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4239
|
+
*/
|
|
4240
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.CryptoTransferTransactionBody;
|
|
4241
|
+
|
|
4242
|
+
/**
|
|
4243
|
+
* Decodes a CryptoTransferTransactionBody message from the specified reader or buffer, length delimited.
|
|
4244
|
+
* @param reader Reader or buffer to decode from
|
|
4245
|
+
* @returns CryptoTransferTransactionBody
|
|
4246
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4247
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4248
|
+
*/
|
|
4249
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.CryptoTransferTransactionBody;
|
|
4250
|
+
|
|
4251
|
+
/**
|
|
4252
|
+
* Verifies a CryptoTransferTransactionBody message.
|
|
4253
|
+
* @param message Plain object to verify
|
|
4254
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4255
|
+
*/
|
|
4256
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4257
|
+
|
|
4258
|
+
/**
|
|
4259
|
+
* Creates a CryptoTransferTransactionBody message from a plain object. Also converts values to their respective internal types.
|
|
4260
|
+
* @param object Plain object
|
|
4261
|
+
* @returns CryptoTransferTransactionBody
|
|
4262
|
+
*/
|
|
4263
|
+
public static fromObject(object: { [k: string]: any }): proto.CryptoTransferTransactionBody;
|
|
4264
|
+
|
|
4265
|
+
/**
|
|
4266
|
+
* Creates a plain object from a CryptoTransferTransactionBody message. Also converts values to other types if specified.
|
|
4267
|
+
* @param message CryptoTransferTransactionBody
|
|
4268
|
+
* @param [options] Conversion options
|
|
4269
|
+
* @returns Plain object
|
|
4270
|
+
*/
|
|
4271
|
+
public static toObject(message: proto.CryptoTransferTransactionBody, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* Converts this CryptoTransferTransactionBody to JSON.
|
|
4275
|
+
* @returns JSON object
|
|
4276
|
+
*/
|
|
4277
|
+
public toJSON(): { [k: string]: any };
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
/** Properties of a TransactionBody. */
|
|
4281
|
+
interface ITransactionBody {
|
|
4282
|
+
|
|
4283
|
+
/** TransactionBody transactionID */
|
|
4284
|
+
transactionID?: (proto.ITransactionID|null);
|
|
4285
|
+
|
|
4286
|
+
/** TransactionBody nodeAccountID */
|
|
4287
|
+
nodeAccountID?: (proto.IAccountID|null);
|
|
4288
|
+
|
|
4289
|
+
/** TransactionBody transactionFee */
|
|
4290
|
+
transactionFee?: (number|Long|null);
|
|
4291
|
+
|
|
4292
|
+
/** TransactionBody transactionValidDuration */
|
|
4293
|
+
transactionValidDuration?: (proto.IDuration|null);
|
|
4294
|
+
|
|
4295
|
+
/** TransactionBody generateRecord */
|
|
4296
|
+
generateRecord?: (boolean|null);
|
|
4297
|
+
|
|
4298
|
+
/** TransactionBody memo */
|
|
4299
|
+
memo?: (string|null);
|
|
4300
|
+
|
|
4301
|
+
/** TransactionBody cryptoCreateAccount */
|
|
4302
|
+
cryptoCreateAccount?: (proto.ICryptoCreateTransactionBody|null);
|
|
4303
|
+
|
|
4304
|
+
/** TransactionBody cryptoTransfer */
|
|
4305
|
+
cryptoTransfer?: (proto.ICryptoTransferTransactionBody|null);
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
/** Represents a TransactionBody. */
|
|
4309
|
+
class TransactionBody implements ITransactionBody {
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* Constructs a new TransactionBody.
|
|
4313
|
+
* @param [properties] Properties to set
|
|
4314
|
+
*/
|
|
4315
|
+
constructor(properties?: proto.ITransactionBody);
|
|
4316
|
+
|
|
4317
|
+
/** TransactionBody transactionID. */
|
|
4318
|
+
public transactionID?: (proto.ITransactionID|null);
|
|
4319
|
+
|
|
4320
|
+
/** TransactionBody nodeAccountID. */
|
|
4321
|
+
public nodeAccountID?: (proto.IAccountID|null);
|
|
4322
|
+
|
|
4323
|
+
/** TransactionBody transactionFee. */
|
|
4324
|
+
public transactionFee: (number|Long);
|
|
4325
|
+
|
|
4326
|
+
/** TransactionBody transactionValidDuration. */
|
|
4327
|
+
public transactionValidDuration?: (proto.IDuration|null);
|
|
4328
|
+
|
|
4329
|
+
/** TransactionBody generateRecord. */
|
|
4330
|
+
public generateRecord: boolean;
|
|
4331
|
+
|
|
4332
|
+
/** TransactionBody memo. */
|
|
4333
|
+
public memo: string;
|
|
4334
|
+
|
|
4335
|
+
/** TransactionBody cryptoCreateAccount. */
|
|
4336
|
+
public cryptoCreateAccount?: (proto.ICryptoCreateTransactionBody|null);
|
|
4337
|
+
|
|
4338
|
+
/** TransactionBody cryptoTransfer. */
|
|
4339
|
+
public cryptoTransfer?: (proto.ICryptoTransferTransactionBody|null);
|
|
4340
|
+
|
|
4341
|
+
/** TransactionBody data. */
|
|
4342
|
+
public data?: ("cryptoCreateAccount"|"cryptoTransfer");
|
|
4343
|
+
|
|
4344
|
+
/**
|
|
4345
|
+
* Creates a new TransactionBody instance using the specified properties.
|
|
4346
|
+
* @param [properties] Properties to set
|
|
4347
|
+
* @returns TransactionBody instance
|
|
4348
|
+
*/
|
|
4349
|
+
public static create(properties?: proto.ITransactionBody): proto.TransactionBody;
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* Encodes the specified TransactionBody message. Does not implicitly {@link proto.TransactionBody.verify|verify} messages.
|
|
4353
|
+
* @param message TransactionBody message or plain object to encode
|
|
4354
|
+
* @param [writer] Writer to encode to
|
|
4355
|
+
* @returns Writer
|
|
4356
|
+
*/
|
|
4357
|
+
public static encode(message: proto.ITransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Encodes the specified TransactionBody message, length delimited. Does not implicitly {@link proto.TransactionBody.verify|verify} messages.
|
|
4361
|
+
* @param message TransactionBody message or plain object to encode
|
|
4362
|
+
* @param [writer] Writer to encode to
|
|
4363
|
+
* @returns Writer
|
|
4364
|
+
*/
|
|
4365
|
+
public static encodeDelimited(message: proto.ITransactionBody, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4366
|
+
|
|
4367
|
+
/**
|
|
4368
|
+
* Decodes a TransactionBody message from the specified reader or buffer.
|
|
4369
|
+
* @param reader Reader or buffer to decode from
|
|
4370
|
+
* @param [length] Message length if known beforehand
|
|
4371
|
+
* @returns TransactionBody
|
|
4372
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4373
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4374
|
+
*/
|
|
4375
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.TransactionBody;
|
|
4376
|
+
|
|
4377
|
+
/**
|
|
4378
|
+
* Decodes a TransactionBody message from the specified reader or buffer, length delimited.
|
|
4379
|
+
* @param reader Reader or buffer to decode from
|
|
4380
|
+
* @returns TransactionBody
|
|
4381
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4382
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4383
|
+
*/
|
|
4384
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.TransactionBody;
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
* Verifies a TransactionBody message.
|
|
4388
|
+
* @param message Plain object to verify
|
|
4389
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4390
|
+
*/
|
|
4391
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4392
|
+
|
|
4393
|
+
/**
|
|
4394
|
+
* Creates a TransactionBody message from a plain object. Also converts values to their respective internal types.
|
|
4395
|
+
* @param object Plain object
|
|
4396
|
+
* @returns TransactionBody
|
|
4397
|
+
*/
|
|
4398
|
+
public static fromObject(object: { [k: string]: any }): proto.TransactionBody;
|
|
4399
|
+
|
|
4400
|
+
/**
|
|
4401
|
+
* Creates a plain object from a TransactionBody message. Also converts values to other types if specified.
|
|
4402
|
+
* @param message TransactionBody
|
|
4403
|
+
* @param [options] Conversion options
|
|
4404
|
+
* @returns Plain object
|
|
4405
|
+
*/
|
|
4406
|
+
public static toObject(message: proto.TransactionBody, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4407
|
+
|
|
4408
|
+
/**
|
|
4409
|
+
* Converts this TransactionBody to JSON.
|
|
4410
|
+
* @returns JSON object
|
|
4411
|
+
*/
|
|
4412
|
+
public toJSON(): { [k: string]: any };
|
|
4413
|
+
}
|
|
4414
|
+
|
|
4415
|
+
/** Properties of a Transaction. */
|
|
4416
|
+
interface ITransaction {
|
|
4417
|
+
|
|
4418
|
+
/** Transaction signedTransactionBytes */
|
|
4419
|
+
signedTransactionBytes?: (Uint8Array|null);
|
|
4420
|
+
|
|
4421
|
+
/** Transaction bodyBytes */
|
|
4422
|
+
bodyBytes?: (Uint8Array|null);
|
|
4423
|
+
|
|
4424
|
+
/** Transaction sigMap */
|
|
4425
|
+
sigMap?: (proto.ISignatureMap|null);
|
|
4426
|
+
}
|
|
4427
|
+
|
|
4428
|
+
/** Represents a Transaction. */
|
|
4429
|
+
class Transaction implements ITransaction {
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* Constructs a new Transaction.
|
|
4433
|
+
* @param [properties] Properties to set
|
|
4434
|
+
*/
|
|
4435
|
+
constructor(properties?: proto.ITransaction);
|
|
4436
|
+
|
|
4437
|
+
/** Transaction signedTransactionBytes. */
|
|
4438
|
+
public signedTransactionBytes: Uint8Array;
|
|
4439
|
+
|
|
4440
|
+
/** Transaction bodyBytes. */
|
|
4441
|
+
public bodyBytes: Uint8Array;
|
|
4442
|
+
|
|
4443
|
+
/** Transaction sigMap. */
|
|
4444
|
+
public sigMap?: (proto.ISignatureMap|null);
|
|
4445
|
+
|
|
4446
|
+
/**
|
|
4447
|
+
* Creates a new Transaction instance using the specified properties.
|
|
4448
|
+
* @param [properties] Properties to set
|
|
4449
|
+
* @returns Transaction instance
|
|
4450
|
+
*/
|
|
4451
|
+
public static create(properties?: proto.ITransaction): proto.Transaction;
|
|
4452
|
+
|
|
4453
|
+
/**
|
|
4454
|
+
* Encodes the specified Transaction message. Does not implicitly {@link proto.Transaction.verify|verify} messages.
|
|
4455
|
+
* @param message Transaction message or plain object to encode
|
|
4456
|
+
* @param [writer] Writer to encode to
|
|
4457
|
+
* @returns Writer
|
|
4458
|
+
*/
|
|
4459
|
+
public static encode(message: proto.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4460
|
+
|
|
4461
|
+
/**
|
|
4462
|
+
* Encodes the specified Transaction message, length delimited. Does not implicitly {@link proto.Transaction.verify|verify} messages.
|
|
4463
|
+
* @param message Transaction message or plain object to encode
|
|
4464
|
+
* @param [writer] Writer to encode to
|
|
4465
|
+
* @returns Writer
|
|
4466
|
+
*/
|
|
4467
|
+
public static encodeDelimited(message: proto.ITransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* Decodes a Transaction message from the specified reader or buffer.
|
|
4471
|
+
* @param reader Reader or buffer to decode from
|
|
4472
|
+
* @param [length] Message length if known beforehand
|
|
4473
|
+
* @returns Transaction
|
|
4474
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4475
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4476
|
+
*/
|
|
4477
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Transaction;
|
|
4478
|
+
|
|
4479
|
+
/**
|
|
4480
|
+
* Decodes a Transaction message from the specified reader or buffer, length delimited.
|
|
4481
|
+
* @param reader Reader or buffer to decode from
|
|
4482
|
+
* @returns Transaction
|
|
4483
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4484
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4485
|
+
*/
|
|
4486
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Transaction;
|
|
4487
|
+
|
|
4488
|
+
/**
|
|
4489
|
+
* Verifies a Transaction message.
|
|
4490
|
+
* @param message Plain object to verify
|
|
4491
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4492
|
+
*/
|
|
4493
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* Creates a Transaction message from a plain object. Also converts values to their respective internal types.
|
|
4497
|
+
* @param object Plain object
|
|
4498
|
+
* @returns Transaction
|
|
4499
|
+
*/
|
|
4500
|
+
public static fromObject(object: { [k: string]: any }): proto.Transaction;
|
|
4501
|
+
|
|
4502
|
+
/**
|
|
4503
|
+
* Creates a plain object from a Transaction message. Also converts values to other types if specified.
|
|
4504
|
+
* @param message Transaction
|
|
4505
|
+
* @param [options] Conversion options
|
|
4506
|
+
* @returns Plain object
|
|
4507
|
+
*/
|
|
4508
|
+
public static toObject(message: proto.Transaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* Converts this Transaction to JSON.
|
|
4512
|
+
* @returns JSON object
|
|
4513
|
+
*/
|
|
4514
|
+
public toJSON(): { [k: string]: any };
|
|
4515
|
+
}
|
|
4516
|
+
|
|
4517
|
+
/** Properties of a SignedTransaction. */
|
|
4518
|
+
interface ISignedTransaction {
|
|
4519
|
+
|
|
4520
|
+
/** SignedTransaction bodyBytes */
|
|
4521
|
+
bodyBytes?: (Uint8Array|null);
|
|
4522
|
+
|
|
4523
|
+
/** SignedTransaction sigMap */
|
|
4524
|
+
sigMap?: (proto.ISignatureMap|null);
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
/** Represents a SignedTransaction. */
|
|
4528
|
+
class SignedTransaction implements ISignedTransaction {
|
|
4529
|
+
|
|
4530
|
+
/**
|
|
4531
|
+
* Constructs a new SignedTransaction.
|
|
4532
|
+
* @param [properties] Properties to set
|
|
4533
|
+
*/
|
|
4534
|
+
constructor(properties?: proto.ISignedTransaction);
|
|
4535
|
+
|
|
4536
|
+
/** SignedTransaction bodyBytes. */
|
|
4537
|
+
public bodyBytes: Uint8Array;
|
|
4538
|
+
|
|
4539
|
+
/** SignedTransaction sigMap. */
|
|
4540
|
+
public sigMap?: (proto.ISignatureMap|null);
|
|
4541
|
+
|
|
4542
|
+
/**
|
|
4543
|
+
* Creates a new SignedTransaction instance using the specified properties.
|
|
4544
|
+
* @param [properties] Properties to set
|
|
4545
|
+
* @returns SignedTransaction instance
|
|
4546
|
+
*/
|
|
4547
|
+
public static create(properties?: proto.ISignedTransaction): proto.SignedTransaction;
|
|
4548
|
+
|
|
4549
|
+
/**
|
|
4550
|
+
* Encodes the specified SignedTransaction message. Does not implicitly {@link proto.SignedTransaction.verify|verify} messages.
|
|
4551
|
+
* @param message SignedTransaction message or plain object to encode
|
|
4552
|
+
* @param [writer] Writer to encode to
|
|
4553
|
+
* @returns Writer
|
|
4554
|
+
*/
|
|
4555
|
+
public static encode(message: proto.ISignedTransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4556
|
+
|
|
4557
|
+
/**
|
|
4558
|
+
* Encodes the specified SignedTransaction message, length delimited. Does not implicitly {@link proto.SignedTransaction.verify|verify} messages.
|
|
4559
|
+
* @param message SignedTransaction message or plain object to encode
|
|
4560
|
+
* @param [writer] Writer to encode to
|
|
4561
|
+
* @returns Writer
|
|
4562
|
+
*/
|
|
4563
|
+
public static encodeDelimited(message: proto.ISignedTransaction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4564
|
+
|
|
4565
|
+
/**
|
|
4566
|
+
* Decodes a SignedTransaction message from the specified reader or buffer.
|
|
4567
|
+
* @param reader Reader or buffer to decode from
|
|
4568
|
+
* @param [length] Message length if known beforehand
|
|
4569
|
+
* @returns SignedTransaction
|
|
4570
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4571
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4572
|
+
*/
|
|
4573
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SignedTransaction;
|
|
4574
|
+
|
|
4575
|
+
/**
|
|
4576
|
+
* Decodes a SignedTransaction message from the specified reader or buffer, length delimited.
|
|
4577
|
+
* @param reader Reader or buffer to decode from
|
|
4578
|
+
* @returns SignedTransaction
|
|
4579
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4580
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4581
|
+
*/
|
|
4582
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SignedTransaction;
|
|
4583
|
+
|
|
4584
|
+
/**
|
|
4585
|
+
* Verifies a SignedTransaction message.
|
|
4586
|
+
* @param message Plain object to verify
|
|
4587
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4588
|
+
*/
|
|
4589
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4590
|
+
|
|
4591
|
+
/**
|
|
4592
|
+
* Creates a SignedTransaction message from a plain object. Also converts values to their respective internal types.
|
|
4593
|
+
* @param object Plain object
|
|
4594
|
+
* @returns SignedTransaction
|
|
4595
|
+
*/
|
|
4596
|
+
public static fromObject(object: { [k: string]: any }): proto.SignedTransaction;
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* Creates a plain object from a SignedTransaction message. Also converts values to other types if specified.
|
|
4600
|
+
* @param message SignedTransaction
|
|
4601
|
+
* @param [options] Conversion options
|
|
4602
|
+
* @returns Plain object
|
|
4603
|
+
*/
|
|
4604
|
+
public static toObject(message: proto.SignedTransaction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4605
|
+
|
|
4606
|
+
/**
|
|
4607
|
+
* Converts this SignedTransaction to JSON.
|
|
4608
|
+
* @returns JSON object
|
|
4609
|
+
*/
|
|
4610
|
+
public toJSON(): { [k: string]: any };
|
|
4611
|
+
}
|
|
4612
|
+
}
|