@bitgo/account-lib 3.0.0-hotfix.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (621) hide show
  1. package/.mocharc.js +1 -1
  2. package/CHANGELOG.md +203 -29
  3. package/README.md +5 -7
  4. package/dist/resources/README.md +0 -22
  5. package/dist/src/index.d.ts +34 -20
  6. package/dist/src/index.d.ts.map +1 -1
  7. package/dist/src/index.js +57 -40
  8. package/dist/tsconfig.tsbuildinfo +26050 -40851
  9. package/package.json +29 -77
  10. package/resources/README.md +0 -22
  11. package/dist/browser/bitgo-account-lib.js +0 -2
  12. package/dist/browser/bitgo-account-lib.js.LICENSE.txt +0 -335
  13. package/dist/resources/hbar/protobuf/BasicTypes.proto +0 -424
  14. package/dist/resources/hbar/protobuf/CryptoCreate.proto +0 -47
  15. package/dist/resources/hbar/protobuf/CryptoTransfer.proto +0 -33
  16. package/dist/resources/hbar/protobuf/Duration.proto +0 -28
  17. package/dist/resources/hbar/protobuf/Timestamp.proto +0 -34
  18. package/dist/resources/hbar/protobuf/Transaction.proto +0 -35
  19. package/dist/resources/hbar/protobuf/TransactionBody.proto +0 -24
  20. package/dist/resources/hbar/protobuf/TransactionContents.proto +0 -33
  21. package/dist/resources/hbar/protobuf/hedera.d.ts +0 -4612
  22. package/dist/resources/hbar/protobuf/hedera.js +0 -12192
  23. package/dist/resources/trx/protobuf/Contract.proto +0 -256
  24. package/dist/resources/trx/protobuf/Discover.proto +0 -44
  25. package/dist/resources/trx/protobuf/tron.d.ts +0 -11024
  26. package/dist/resources/trx/protobuf/tron.js +0 -31510
  27. package/dist/resources/trx/protobuf/tron.proto +0 -677
  28. package/dist/src/coin/algo/assetTransferBuilder.d.ts +0 -42
  29. package/dist/src/coin/algo/assetTransferBuilder.d.ts.map +0 -1
  30. package/dist/src/coin/algo/assetTransferBuilder.js +0 -105
  31. package/dist/src/coin/algo/errors.d.ts +0 -11
  32. package/dist/src/coin/algo/errors.d.ts.map +0 -1
  33. package/dist/src/coin/algo/errors.js +0 -27
  34. package/dist/src/coin/algo/ifaces.d.ts +0 -46
  35. package/dist/src/coin/algo/ifaces.d.ts.map +0 -1
  36. package/dist/src/coin/algo/ifaces.js +0 -3
  37. package/dist/src/coin/algo/index.d.ts +0 -13
  38. package/dist/src/coin/algo/index.d.ts.map +0 -1
  39. package/dist/src/coin/algo/index.js +0 -47
  40. package/dist/src/coin/algo/keyPair.d.ts +0 -25
  41. package/dist/src/coin/algo/keyPair.d.ts.map +0 -1
  42. package/dist/src/coin/algo/keyPair.js +0 -77
  43. package/dist/src/coin/algo/keyRegistrationBuilder.d.ts +0 -104
  44. package/dist/src/coin/algo/keyRegistrationBuilder.d.ts.map +0 -1
  45. package/dist/src/coin/algo/keyRegistrationBuilder.js +0 -239
  46. package/dist/src/coin/algo/seedEncoding.d.ts +0 -25
  47. package/dist/src/coin/algo/seedEncoding.d.ts.map +0 -1
  48. package/dist/src/coin/algo/seedEncoding.js +0 -97
  49. package/dist/src/coin/algo/transaction.d.ts +0 -75
  50. package/dist/src/coin/algo/transaction.d.ts.map +0 -1
  51. package/dist/src/coin/algo/transaction.js +0 -251
  52. package/dist/src/coin/algo/transactionBuilder.d.ts +0 -204
  53. package/dist/src/coin/algo/transactionBuilder.d.ts.map +0 -1
  54. package/dist/src/coin/algo/transactionBuilder.js +0 -373
  55. package/dist/src/coin/algo/transactionBuilderFactory.d.ts +0 -16
  56. package/dist/src/coin/algo/transactionBuilderFactory.d.ts.map +0 -1
  57. package/dist/src/coin/algo/transactionBuilderFactory.js +0 -52
  58. package/dist/src/coin/algo/transferBuilder.d.ts +0 -40
  59. package/dist/src/coin/algo/transferBuilder.d.ts.map +0 -1
  60. package/dist/src/coin/algo/transferBuilder.js +0 -89
  61. package/dist/src/coin/algo/txnSchema.d.ts +0 -7
  62. package/dist/src/coin/algo/txnSchema.d.ts.map +0 -1
  63. package/dist/src/coin/algo/txnSchema.js +0 -68
  64. package/dist/src/coin/algo/utils.d.ts +0 -249
  65. package/dist/src/coin/algo/utils.d.ts.map +0 -1
  66. package/dist/src/coin/algo/utils.js +0 -539
  67. package/dist/src/coin/avaxc/index.d.ts +0 -8
  68. package/dist/src/coin/avaxc/index.d.ts.map +0 -1
  69. package/dist/src/coin/avaxc/index.js +0 -35
  70. package/dist/src/coin/avaxc/keyPair.d.ts +0 -26
  71. package/dist/src/coin/avaxc/keyPair.d.ts.map +0 -1
  72. package/dist/src/coin/avaxc/keyPair.js +0 -83
  73. package/dist/src/coin/avaxc/resources.d.ts +0 -12
  74. package/dist/src/coin/avaxc/resources.d.ts.map +0 -1
  75. package/dist/src/coin/avaxc/resources.js +0 -27
  76. package/dist/src/coin/avaxc/transactionBuilder.d.ts +0 -17
  77. package/dist/src/coin/avaxc/transactionBuilder.d.ts.map +0 -1
  78. package/dist/src/coin/avaxc/transactionBuilder.js +0 -45
  79. package/dist/src/coin/avaxc/transferBuilder.d.ts +0 -17
  80. package/dist/src/coin/avaxc/transferBuilder.d.ts.map +0 -1
  81. package/dist/src/coin/avaxc/transferBuilder.js +0 -25
  82. package/dist/src/coin/avaxc/utils.d.ts +0 -39
  83. package/dist/src/coin/avaxc/utils.d.ts.map +0 -1
  84. package/dist/src/coin/avaxc/utils.js +0 -70
  85. package/dist/src/coin/avaxc/walletUtil.d.ts +0 -22
  86. package/dist/src/coin/avaxc/walletUtil.d.ts.map +0 -1
  87. package/dist/src/coin/avaxc/walletUtil.js +0 -62
  88. package/dist/src/coin/baseCoin/baseKeyPair.d.ts +0 -27
  89. package/dist/src/coin/baseCoin/baseKeyPair.d.ts.map +0 -1
  90. package/dist/src/coin/baseCoin/baseKeyPair.js +0 -3
  91. package/dist/src/coin/baseCoin/baseTransaction.d.ts +0 -71
  92. package/dist/src/coin/baseCoin/baseTransaction.d.ts.map +0 -1
  93. package/dist/src/coin/baseCoin/baseTransaction.js +0 -94
  94. package/dist/src/coin/baseCoin/baseTransactionBuilder.d.ts +0 -128
  95. package/dist/src/coin/baseCoin/baseTransactionBuilder.d.ts.map +0 -1
  96. package/dist/src/coin/baseCoin/baseTransactionBuilder.js +0 -179
  97. package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.d.ts +0 -30
  98. package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.d.ts.map +0 -1
  99. package/dist/src/coin/baseCoin/baseTransactionBuilderFactory.js +0 -20
  100. package/dist/src/coin/baseCoin/baseUtils.d.ts +0 -45
  101. package/dist/src/coin/baseCoin/baseUtils.d.ts.map +0 -1
  102. package/dist/src/coin/baseCoin/baseUtils.js +0 -3
  103. package/dist/src/coin/baseCoin/blsKeyPair.d.ts +0 -75
  104. package/dist/src/coin/baseCoin/blsKeyPair.d.ts.map +0 -1
  105. package/dist/src/coin/baseCoin/blsKeyPair.js +0 -232
  106. package/dist/src/coin/baseCoin/ed25519KeyPair.d.ts +0 -50
  107. package/dist/src/coin/baseCoin/ed25519KeyPair.d.ts.map +0 -1
  108. package/dist/src/coin/baseCoin/ed25519KeyPair.js +0 -141
  109. package/dist/src/coin/baseCoin/enum.d.ts +0 -43
  110. package/dist/src/coin/baseCoin/enum.d.ts.map +0 -1
  111. package/dist/src/coin/baseCoin/enum.js +0 -70
  112. package/dist/src/coin/baseCoin/errors.d.ts +0 -65
  113. package/dist/src/coin/baseCoin/errors.d.ts.map +0 -1
  114. package/dist/src/coin/baseCoin/errors.js +0 -156
  115. package/dist/src/coin/baseCoin/iface.d.ts +0 -162
  116. package/dist/src/coin/baseCoin/iface.d.ts.map +0 -1
  117. package/dist/src/coin/baseCoin/iface.js +0 -38
  118. package/dist/src/coin/baseCoin/index.d.ts +0 -12
  119. package/dist/src/coin/baseCoin/index.d.ts.map +0 -1
  120. package/dist/src/coin/baseCoin/index.js +0 -41
  121. package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.d.ts +0 -55
  122. package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.d.ts.map +0 -1
  123. package/dist/src/coin/baseCoin/secp256k1ExtendedKeyPair.js +0 -124
  124. package/dist/src/coin/celo/index.d.ts +0 -8
  125. package/dist/src/coin/celo/index.d.ts.map +0 -1
  126. package/dist/src/coin/celo/index.js +0 -35
  127. package/dist/src/coin/celo/resources.d.ts +0 -10
  128. package/dist/src/coin/celo/resources.d.ts.map +0 -1
  129. package/dist/src/coin/celo/resources.js +0 -26
  130. package/dist/src/coin/celo/stakingBuilder.d.ts +0 -91
  131. package/dist/src/coin/celo/stakingBuilder.d.ts.map +0 -1
  132. package/dist/src/coin/celo/stakingBuilder.js +0 -277
  133. package/dist/src/coin/celo/stakingCall.d.ts +0 -7
  134. package/dist/src/coin/celo/stakingCall.d.ts.map +0 -1
  135. package/dist/src/coin/celo/stakingCall.js +0 -13
  136. package/dist/src/coin/celo/stakingUtils.d.ts +0 -15
  137. package/dist/src/coin/celo/stakingUtils.d.ts.map +0 -1
  138. package/dist/src/coin/celo/stakingUtils.js +0 -98
  139. package/dist/src/coin/celo/transaction.d.ts +0 -10
  140. package/dist/src/coin/celo/transaction.d.ts.map +0 -1
  141. package/dist/src/coin/celo/transaction.js +0 -37
  142. package/dist/src/coin/celo/transactionBuilder.d.ts +0 -86
  143. package/dist/src/coin/celo/transactionBuilder.d.ts.map +0 -1
  144. package/dist/src/coin/celo/transactionBuilder.js +0 -228
  145. package/dist/src/coin/celo/transferBuilder.d.ts +0 -19
  146. package/dist/src/coin/celo/transferBuilder.d.ts.map +0 -1
  147. package/dist/src/coin/celo/transferBuilder.js +0 -27
  148. package/dist/src/coin/celo/types.d.ts +0 -52
  149. package/dist/src/coin/celo/types.d.ts.map +0 -1
  150. package/dist/src/coin/celo/types.js +0 -222
  151. package/dist/src/coin/celo/utils.d.ts +0 -18
  152. package/dist/src/coin/celo/utils.d.ts.map +0 -1
  153. package/dist/src/coin/celo/utils.js +0 -99
  154. package/dist/src/coin/cspr/constants.d.ts +0 -19
  155. package/dist/src/coin/cspr/constants.d.ts.map +0 -1
  156. package/dist/src/coin/cspr/constants.js +0 -28
  157. package/dist/src/coin/cspr/delegateBuilder.d.ts +0 -49
  158. package/dist/src/coin/cspr/delegateBuilder.d.ts.map +0 -1
  159. package/dist/src/coin/cspr/delegateBuilder.js +0 -111
  160. package/dist/src/coin/cspr/ifaces.d.ts +0 -69
  161. package/dist/src/coin/cspr/ifaces.d.ts.map +0 -1
  162. package/dist/src/coin/cspr/ifaces.js +0 -3
  163. package/dist/src/coin/cspr/index.d.ts +0 -5
  164. package/dist/src/coin/cspr/index.d.ts.map +0 -1
  165. package/dist/src/coin/cspr/index.js +0 -29
  166. package/dist/src/coin/cspr/keyPair.d.ts +0 -18
  167. package/dist/src/coin/cspr/keyPair.d.ts.map +0 -1
  168. package/dist/src/coin/cspr/keyPair.js +0 -75
  169. package/dist/src/coin/cspr/transaction.d.ts +0 -55
  170. package/dist/src/coin/cspr/transaction.d.ts.map +0 -1
  171. package/dist/src/coin/cspr/transaction.js +0 -227
  172. package/dist/src/coin/cspr/transactionBuilder.d.ts +0 -124
  173. package/dist/src/coin/cspr/transactionBuilder.d.ts.map +0 -1
  174. package/dist/src/coin/cspr/transactionBuilder.js +0 -312
  175. package/dist/src/coin/cspr/transactionBuilderFactory.d.ts +0 -46
  176. package/dist/src/coin/cspr/transactionBuilderFactory.d.ts.map +0 -1
  177. package/dist/src/coin/cspr/transactionBuilderFactory.js +0 -98
  178. package/dist/src/coin/cspr/transferBuilder.d.ts +0 -39
  179. package/dist/src/coin/cspr/transferBuilder.d.ts.map +0 -1
  180. package/dist/src/coin/cspr/transferBuilder.js +0 -106
  181. package/dist/src/coin/cspr/undelegateBuilder.d.ts +0 -49
  182. package/dist/src/coin/cspr/undelegateBuilder.d.ts.map +0 -1
  183. package/dist/src/coin/cspr/undelegateBuilder.js +0 -111
  184. package/dist/src/coin/cspr/utils.d.ts +0 -188
  185. package/dist/src/coin/cspr/utils.d.ts.map +0 -1
  186. package/dist/src/coin/cspr/utils.js +0 -478
  187. package/dist/src/coin/cspr/walletInitializationBuilder.d.ts +0 -27
  188. package/dist/src/coin/cspr/walletInitializationBuilder.d.ts.map +0 -1
  189. package/dist/src/coin/cspr/walletInitializationBuilder.js +0 -95
  190. package/dist/src/coin/dot/addressInitializationBuilder.d.ts +0 -79
  191. package/dist/src/coin/dot/addressInitializationBuilder.d.ts.map +0 -1
  192. package/dist/src/coin/dot/addressInitializationBuilder.js +0 -182
  193. package/dist/src/coin/dot/batchTransactionBuilder.d.ts +0 -47
  194. package/dist/src/coin/dot/batchTransactionBuilder.d.ts.map +0 -1
  195. package/dist/src/coin/dot/batchTransactionBuilder.js +0 -122
  196. package/dist/src/coin/dot/claimBuilder.d.ts +0 -58
  197. package/dist/src/coin/dot/claimBuilder.d.ts.map +0 -1
  198. package/dist/src/coin/dot/claimBuilder.js +0 -117
  199. package/dist/src/coin/dot/errors.d.ts +0 -8
  200. package/dist/src/coin/dot/errors.d.ts.map +0 -1
  201. package/dist/src/coin/dot/errors.js +0 -19
  202. package/dist/src/coin/dot/iface.d.ts +0 -194
  203. package/dist/src/coin/dot/iface.d.ts.map +0 -1
  204. package/dist/src/coin/dot/iface.js +0 -39
  205. package/dist/src/coin/dot/index.d.ts +0 -17
  206. package/dist/src/coin/dot/index.d.ts.map +0 -1
  207. package/dist/src/coin/dot/index.js +0 -53
  208. package/dist/src/coin/dot/keyPair.d.ts +0 -31
  209. package/dist/src/coin/dot/keyPair.d.ts.map +0 -1
  210. package/dist/src/coin/dot/keyPair.js +0 -74
  211. package/dist/src/coin/dot/singletonRegistry.d.ts +0 -7
  212. package/dist/src/coin/dot/singletonRegistry.d.ts.map +0 -1
  213. package/dist/src/coin/dot/singletonRegistry.js +0 -20
  214. package/dist/src/coin/dot/stakingBuilder.d.ts +0 -58
  215. package/dist/src/coin/dot/stakingBuilder.d.ts.map +0 -1
  216. package/dist/src/coin/dot/stakingBuilder.js +0 -135
  217. package/dist/src/coin/dot/transaction.d.ts +0 -65
  218. package/dist/src/coin/dot/transaction.d.ts.map +0 -1
  219. package/dist/src/coin/dot/transaction.js +0 -396
  220. package/dist/src/coin/dot/transactionBuilder.d.ts +0 -131
  221. package/dist/src/coin/dot/transactionBuilder.d.ts.map +0 -1
  222. package/dist/src/coin/dot/transactionBuilder.js +0 -332
  223. package/dist/src/coin/dot/transactionBuilderFactory.d.ts +0 -26
  224. package/dist/src/coin/dot/transactionBuilderFactory.d.ts.map +0 -1
  225. package/dist/src/coin/dot/transactionBuilderFactory.js +0 -93
  226. package/dist/src/coin/dot/transferBuilder.d.ts +0 -71
  227. package/dist/src/coin/dot/transferBuilder.d.ts.map +0 -1
  228. package/dist/src/coin/dot/transferBuilder.js +0 -171
  229. package/dist/src/coin/dot/txnSchema.d.ts +0 -14
  230. package/dist/src/coin/dot/txnSchema.d.ts.map +0 -1
  231. package/dist/src/coin/dot/txnSchema.js +0 -104
  232. package/dist/src/coin/dot/unnominateBuilder.d.ts +0 -24
  233. package/dist/src/coin/dot/unnominateBuilder.d.ts.map +0 -1
  234. package/dist/src/coin/dot/unnominateBuilder.js +0 -50
  235. package/dist/src/coin/dot/unstakeBuilder.d.ts +0 -38
  236. package/dist/src/coin/dot/unstakeBuilder.d.ts.map +0 -1
  237. package/dist/src/coin/dot/unstakeBuilder.js +0 -89
  238. package/dist/src/coin/dot/utils.d.ts +0 -138
  239. package/dist/src/coin/dot/utils.d.ts.map +0 -1
  240. package/dist/src/coin/dot/utils.js +0 -269
  241. package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts +0 -38
  242. package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts.map +0 -1
  243. package/dist/src/coin/dot/withdrawUnstakedBuilder.js +0 -90
  244. package/dist/src/coin/etc/index.d.ts +0 -8
  245. package/dist/src/coin/etc/index.d.ts.map +0 -1
  246. package/dist/src/coin/etc/index.js +0 -35
  247. package/dist/src/coin/etc/resources.d.ts +0 -10
  248. package/dist/src/coin/etc/resources.d.ts.map +0 -1
  249. package/dist/src/coin/etc/resources.js +0 -26
  250. package/dist/src/coin/etc/transactionBuilder.d.ts +0 -17
  251. package/dist/src/coin/etc/transactionBuilder.d.ts.map +0 -1
  252. package/dist/src/coin/etc/transactionBuilder.js +0 -45
  253. package/dist/src/coin/etc/transferBuilder.d.ts +0 -19
  254. package/dist/src/coin/etc/transferBuilder.d.ts.map +0 -1
  255. package/dist/src/coin/etc/transferBuilder.js +0 -27
  256. package/dist/src/coin/etc/utils.d.ts +0 -18
  257. package/dist/src/coin/etc/utils.d.ts.map +0 -1
  258. package/dist/src/coin/etc/utils.js +0 -42
  259. package/dist/src/coin/eth/contractCall.d.ts +0 -8
  260. package/dist/src/coin/eth/contractCall.d.ts.map +0 -1
  261. package/dist/src/coin/eth/contractCall.js +0 -17
  262. package/dist/src/coin/eth/iface.d.ts +0 -122
  263. package/dist/src/coin/eth/iface.d.ts.map +0 -1
  264. package/dist/src/coin/eth/iface.js +0 -8
  265. package/dist/src/coin/eth/index.d.ts +0 -10
  266. package/dist/src/coin/eth/index.d.ts.map +0 -1
  267. package/dist/src/coin/eth/index.js +0 -39
  268. package/dist/src/coin/eth/keyPair.d.ts +0 -26
  269. package/dist/src/coin/eth/keyPair.d.ts.map +0 -1
  270. package/dist/src/coin/eth/keyPair.js +0 -85
  271. package/dist/src/coin/eth/transaction.d.ts +0 -64
  272. package/dist/src/coin/eth/transaction.d.ts.map +0 -1
  273. package/dist/src/coin/eth/transaction.js +0 -137
  274. package/dist/src/coin/eth/transactionBuilder.d.ts +0 -194
  275. package/dist/src/coin/eth/transactionBuilder.d.ts.map +0 -1
  276. package/dist/src/coin/eth/transactionBuilder.js +0 -624
  277. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts +0 -47
  278. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts.map +0 -1
  279. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.js +0 -113
  280. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts +0 -14
  281. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts.map +0 -1
  282. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.js +0 -83
  283. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts +0 -13
  284. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts.map +0 -1
  285. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.js +0 -68
  286. package/dist/src/coin/eth/transferBuilder.d.ts +0 -65
  287. package/dist/src/coin/eth/transferBuilder.d.ts.map +0 -1
  288. package/dist/src/coin/eth/transferBuilder.js +0 -197
  289. package/dist/src/coin/eth/types.d.ts +0 -39
  290. package/dist/src/coin/eth/types.d.ts.map +0 -1
  291. package/dist/src/coin/eth/types.js +0 -135
  292. package/dist/src/coin/eth/utils.d.ts +0 -202
  293. package/dist/src/coin/eth/utils.d.ts.map +0 -1
  294. package/dist/src/coin/eth/utils.js +0 -485
  295. package/dist/src/coin/eth/walletUtil.d.ts +0 -19
  296. package/dist/src/coin/eth/walletUtil.d.ts.map +0 -1
  297. package/dist/src/coin/eth/walletUtil.js +0 -29
  298. package/dist/src/coin/eth2/index.d.ts +0 -2
  299. package/dist/src/coin/eth2/index.d.ts.map +0 -1
  300. package/dist/src/coin/eth2/index.js +0 -6
  301. package/dist/src/coin/eth2/keyPair.d.ts +0 -33
  302. package/dist/src/coin/eth2/keyPair.d.ts.map +0 -1
  303. package/dist/src/coin/eth2/keyPair.js +0 -65
  304. package/dist/src/coin/hbar/ifaces.d.ts +0 -26
  305. package/dist/src/coin/hbar/ifaces.d.ts.map +0 -1
  306. package/dist/src/coin/hbar/ifaces.js +0 -3
  307. package/dist/src/coin/hbar/index.d.ts +0 -6
  308. package/dist/src/coin/hbar/index.d.ts.map +0 -1
  309. package/dist/src/coin/hbar/index.js +0 -31
  310. package/dist/src/coin/hbar/keyPair.d.ts +0 -23
  311. package/dist/src/coin/hbar/keyPair.d.ts.map +0 -1
  312. package/dist/src/coin/hbar/keyPair.js +0 -70
  313. package/dist/src/coin/hbar/transaction.d.ts +0 -98
  314. package/dist/src/coin/hbar/transaction.d.ts.map +0 -1
  315. package/dist/src/coin/hbar/transaction.js +0 -245
  316. package/dist/src/coin/hbar/transactionBuilder.d.ts +0 -112
  317. package/dist/src/coin/hbar/transactionBuilder.d.ts.map +0 -1
  318. package/dist/src/coin/hbar/transactionBuilder.js +0 -264
  319. package/dist/src/coin/hbar/transactionBuilderFactory.d.ts +0 -37
  320. package/dist/src/coin/hbar/transactionBuilderFactory.d.ts.map +0 -1
  321. package/dist/src/coin/hbar/transactionBuilderFactory.js +0 -77
  322. package/dist/src/coin/hbar/transferBuilder.d.ts +0 -44
  323. package/dist/src/coin/hbar/transferBuilder.d.ts.map +0 -1
  324. package/dist/src/coin/hbar/transferBuilder.js +0 -130
  325. package/dist/src/coin/hbar/utils.d.ts +0 -139
  326. package/dist/src/coin/hbar/utils.d.ts.map +0 -1
  327. package/dist/src/coin/hbar/utils.js +0 -310
  328. package/dist/src/coin/hbar/walletInitializationBuilder.d.ts +0 -28
  329. package/dist/src/coin/hbar/walletInitializationBuilder.d.ts.map +0 -1
  330. package/dist/src/coin/hbar/walletInitializationBuilder.js +0 -90
  331. package/dist/src/coin/near/constants.d.ts +0 -12
  332. package/dist/src/coin/near/constants.d.ts.map +0 -1
  333. package/dist/src/coin/near/constants.js +0 -15
  334. package/dist/src/coin/near/contractCallWrapper.d.ts +0 -33
  335. package/dist/src/coin/near/contractCallWrapper.d.ts.map +0 -1
  336. package/dist/src/coin/near/contractCallWrapper.js +0 -68
  337. package/dist/src/coin/near/errors.d.ts +0 -5
  338. package/dist/src/coin/near/errors.d.ts.map +0 -1
  339. package/dist/src/coin/near/errors.js +0 -12
  340. package/dist/src/coin/near/iface.d.ts +0 -40
  341. package/dist/src/coin/near/iface.d.ts.map +0 -1
  342. package/dist/src/coin/near/iface.js +0 -8
  343. package/dist/src/coin/near/index.d.ts +0 -11
  344. package/dist/src/coin/near/index.d.ts.map +0 -1
  345. package/dist/src/coin/near/index.js +0 -41
  346. package/dist/src/coin/near/keyPair.d.ts +0 -25
  347. package/dist/src/coin/near/keyPair.d.ts.map +0 -1
  348. package/dist/src/coin/near/keyPair.js +0 -73
  349. package/dist/src/coin/near/stakingActivateBuilder.d.ts +0 -32
  350. package/dist/src/coin/near/stakingActivateBuilder.d.ts.map +0 -1
  351. package/dist/src/coin/near/stakingActivateBuilder.js +0 -90
  352. package/dist/src/coin/near/stakingDeactivateBuilder.d.ts +0 -32
  353. package/dist/src/coin/near/stakingDeactivateBuilder.d.ts.map +0 -1
  354. package/dist/src/coin/near/stakingDeactivateBuilder.js +0 -89
  355. package/dist/src/coin/near/stakingWithdrawBuilder.d.ts +0 -32
  356. package/dist/src/coin/near/stakingWithdrawBuilder.d.ts.map +0 -1
  357. package/dist/src/coin/near/stakingWithdrawBuilder.js +0 -89
  358. package/dist/src/coin/near/transaction.d.ts +0 -90
  359. package/dist/src/coin/near/transaction.d.ts.map +0 -1
  360. package/dist/src/coin/near/transaction.js +0 -368
  361. package/dist/src/coin/near/transactionBuilder.d.ts +0 -89
  362. package/dist/src/coin/near/transactionBuilder.d.ts.map +0 -1
  363. package/dist/src/coin/near/transactionBuilder.js +0 -216
  364. package/dist/src/coin/near/transactionBuilderFactory.d.ts +0 -30
  365. package/dist/src/coin/near/transactionBuilderFactory.d.ts.map +0 -1
  366. package/dist/src/coin/near/transactionBuilderFactory.js +0 -71
  367. package/dist/src/coin/near/transferBuilder.d.ts +0 -26
  368. package/dist/src/coin/near/transferBuilder.d.ts.map +0 -1
  369. package/dist/src/coin/near/transferBuilder.js +0 -72
  370. package/dist/src/coin/near/utils.d.ts +0 -42
  371. package/dist/src/coin/near/utils.d.ts.map +0 -1
  372. package/dist/src/coin/near/utils.js +0 -92
  373. package/dist/src/coin/near/walletInitializationBuilder.d.ts +0 -12
  374. package/dist/src/coin/near/walletInitializationBuilder.d.ts.map +0 -1
  375. package/dist/src/coin/near/walletInitializationBuilder.js +0 -20
  376. package/dist/src/coin/rbtc/index.d.ts +0 -8
  377. package/dist/src/coin/rbtc/index.d.ts.map +0 -1
  378. package/dist/src/coin/rbtc/index.js +0 -35
  379. package/dist/src/coin/rbtc/resources.d.ts +0 -10
  380. package/dist/src/coin/rbtc/resources.d.ts.map +0 -1
  381. package/dist/src/coin/rbtc/resources.js +0 -25
  382. package/dist/src/coin/rbtc/transactionBuilder.d.ts +0 -17
  383. package/dist/src/coin/rbtc/transactionBuilder.d.ts.map +0 -1
  384. package/dist/src/coin/rbtc/transactionBuilder.js +0 -44
  385. package/dist/src/coin/rbtc/transferBuilder.d.ts +0 -19
  386. package/dist/src/coin/rbtc/transferBuilder.d.ts.map +0 -1
  387. package/dist/src/coin/rbtc/transferBuilder.js +0 -27
  388. package/dist/src/coin/rbtc/utils.d.ts +0 -18
  389. package/dist/src/coin/rbtc/utils.d.ts.map +0 -1
  390. package/dist/src/coin/rbtc/utils.js +0 -42
  391. package/dist/src/coin/sol/ataInitializationBuilder.d.ts +0 -33
  392. package/dist/src/coin/sol/ataInitializationBuilder.d.ts.map +0 -1
  393. package/dist/src/coin/sol/ataInitializationBuilder.js +0 -93
  394. package/dist/src/coin/sol/ataInitializationTransaction.d.ts +0 -14
  395. package/dist/src/coin/sol/ataInitializationTransaction.d.ts.map +0 -1
  396. package/dist/src/coin/sol/ataInitializationTransaction.js +0 -81
  397. package/dist/src/coin/sol/constants.d.ts +0 -58
  398. package/dist/src/coin/sol/constants.d.ts.map +0 -1
  399. package/dist/src/coin/sol/constants.js +0 -76
  400. package/dist/src/coin/sol/iface.d.ts +0 -99
  401. package/dist/src/coin/sol/iface.d.ts.map +0 -1
  402. package/dist/src/coin/sol/iface.js +0 -3
  403. package/dist/src/coin/sol/index.d.ts +0 -11
  404. package/dist/src/coin/sol/index.d.ts.map +0 -1
  405. package/dist/src/coin/sol/index.js +0 -41
  406. package/dist/src/coin/sol/instructionParamsFactory.d.ts +0 -12
  407. package/dist/src/coin/sol/instructionParamsFactory.d.ts.map +0 -1
  408. package/dist/src/coin/sol/instructionParamsFactory.js +0 -260
  409. package/dist/src/coin/sol/keyPair.d.ts +0 -26
  410. package/dist/src/coin/sol/keyPair.d.ts.map +0 -1
  411. package/dist/src/coin/sol/keyPair.js +0 -63
  412. package/dist/src/coin/sol/solInstructionFactory.d.ts +0 -10
  413. package/dist/src/coin/sol/solInstructionFactory.d.ts.map +0 -1
  414. package/dist/src/coin/sol/solInstructionFactory.js +0 -213
  415. package/dist/src/coin/sol/stakingActivateBuilder.d.ts +0 -41
  416. package/dist/src/coin/sol/stakingActivateBuilder.d.ts.map +0 -1
  417. package/dist/src/coin/sol/stakingActivateBuilder.js +0 -94
  418. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts +0 -23
  419. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts.map +0 -1
  420. package/dist/src/coin/sol/stakingDeactivateBuilder.js +0 -62
  421. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts +0 -31
  422. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts.map +0 -1
  423. package/dist/src/coin/sol/stakingWithdrawBuilder.js +0 -78
  424. package/dist/src/coin/sol/tokenEncodeDecode.d.ts +0 -85
  425. package/dist/src/coin/sol/tokenEncodeDecode.d.ts.map +0 -1
  426. package/dist/src/coin/sol/tokenEncodeDecode.js +0 -133
  427. package/dist/src/coin/sol/tokenTransferBuilder.d.ts +0 -27
  428. package/dist/src/coin/sol/tokenTransferBuilder.d.ts.map +0 -1
  429. package/dist/src/coin/sol/tokenTransferBuilder.js +0 -73
  430. package/dist/src/coin/sol/transaction.d.ts +0 -61
  431. package/dist/src/coin/sol/transaction.d.ts.map +0 -1
  432. package/dist/src/coin/sol/transaction.js +0 -369
  433. package/dist/src/coin/sol/transactionBuilder.d.ts +0 -101
  434. package/dist/src/coin/sol/transactionBuilder.d.ts.map +0 -1
  435. package/dist/src/coin/sol/transactionBuilder.js +0 -261
  436. package/dist/src/coin/sol/transactionBuilderFactory.d.ts +0 -76
  437. package/dist/src/coin/sol/transactionBuilderFactory.d.ts.map +0 -1
  438. package/dist/src/coin/sol/transactionBuilderFactory.js +0 -136
  439. package/dist/src/coin/sol/transferBuilder.d.ts +0 -26
  440. package/dist/src/coin/sol/transferBuilder.d.ts.map +0 -1
  441. package/dist/src/coin/sol/transferBuilder.js +0 -67
  442. package/dist/src/coin/sol/utils.d.ts +0 -146
  443. package/dist/src/coin/sol/utils.d.ts.map +0 -1
  444. package/dist/src/coin/sol/utils.js +0 -361
  445. package/dist/src/coin/sol/walletInitializationBuilder.d.ts +0 -26
  446. package/dist/src/coin/sol/walletInitializationBuilder.d.ts.map +0 -1
  447. package/dist/src/coin/sol/walletInitializationBuilder.js +0 -71
  448. package/dist/src/coin/stx/abstractContractBuilder.d.ts +0 -19
  449. package/dist/src/coin/stx/abstractContractBuilder.d.ts.map +0 -1
  450. package/dist/src/coin/stx/abstractContractBuilder.js +0 -70
  451. package/dist/src/coin/stx/constants.d.ts +0 -8
  452. package/dist/src/coin/stx/constants.d.ts.map +0 -1
  453. package/dist/src/coin/stx/constants.js +0 -19
  454. package/dist/src/coin/stx/contractBuilder.d.ts +0 -33
  455. package/dist/src/coin/stx/contractBuilder.d.ts.map +0 -1
  456. package/dist/src/coin/stx/contractBuilder.js +0 -116
  457. package/dist/src/coin/stx/iface.d.ts +0 -48
  458. package/dist/src/coin/stx/iface.d.ts.map +0 -1
  459. package/dist/src/coin/stx/iface.js +0 -3
  460. package/dist/src/coin/stx/index.d.ts +0 -6
  461. package/dist/src/coin/stx/index.d.ts.map +0 -1
  462. package/dist/src/coin/stx/index.js +0 -32
  463. package/dist/src/coin/stx/keyPair.d.ts +0 -55
  464. package/dist/src/coin/stx/keyPair.d.ts.map +0 -1
  465. package/dist/src/coin/stx/keyPair.js +0 -140
  466. package/dist/src/coin/stx/sendmanyBuilder.d.ts +0 -23
  467. package/dist/src/coin/stx/sendmanyBuilder.d.ts.map +0 -1
  468. package/dist/src/coin/stx/sendmanyBuilder.js +0 -75
  469. package/dist/src/coin/stx/transaction.d.ts +0 -49
  470. package/dist/src/coin/stx/transaction.d.ts.map +0 -1
  471. package/dist/src/coin/stx/transaction.js +0 -225
  472. package/dist/src/coin/stx/transactionBuilder.d.ts +0 -86
  473. package/dist/src/coin/stx/transactionBuilder.d.ts.map +0 -1
  474. package/dist/src/coin/stx/transactionBuilder.js +0 -263
  475. package/dist/src/coin/stx/transactionBuilderFactory.d.ts +0 -30
  476. package/dist/src/coin/stx/transactionBuilderFactory.d.ts.map +0 -1
  477. package/dist/src/coin/stx/transactionBuilderFactory.js +0 -81
  478. package/dist/src/coin/stx/transferBuilder.d.ts +0 -30
  479. package/dist/src/coin/stx/transferBuilder.d.ts.map +0 -1
  480. package/dist/src/coin/stx/transferBuilder.js +0 -99
  481. package/dist/src/coin/stx/utils.d.ts +0 -207
  482. package/dist/src/coin/stx/utils.d.ts.map +0 -1
  483. package/dist/src/coin/stx/utils.js +0 -504
  484. package/dist/src/coin/trx/address.d.ts +0 -11
  485. package/dist/src/coin/trx/address.d.ts.map +0 -1
  486. package/dist/src/coin/trx/address.js +0 -13
  487. package/dist/src/coin/trx/contractCallBuilder.d.ts +0 -96
  488. package/dist/src/coin/trx/contractCallBuilder.d.ts.map +0 -1
  489. package/dist/src/coin/trx/contractCallBuilder.js +0 -281
  490. package/dist/src/coin/trx/enum.d.ts +0 -23
  491. package/dist/src/coin/trx/enum.d.ts.map +0 -1
  492. package/dist/src/coin/trx/enum.js +0 -28
  493. package/dist/src/coin/trx/iface.d.ts +0 -92
  494. package/dist/src/coin/trx/iface.d.ts.map +0 -1
  495. package/dist/src/coin/trx/iface.js +0 -3
  496. package/dist/src/coin/trx/index.d.ts +0 -10
  497. package/dist/src/coin/trx/index.d.ts.map +0 -1
  498. package/dist/src/coin/trx/index.js +0 -39
  499. package/dist/src/coin/trx/keyPair.d.ts +0 -44
  500. package/dist/src/coin/trx/keyPair.d.ts.map +0 -1
  501. package/dist/src/coin/trx/keyPair.js +0 -121
  502. package/dist/src/coin/trx/transaction.d.ts +0 -74
  503. package/dist/src/coin/trx/transaction.d.ts.map +0 -1
  504. package/dist/src/coin/trx/transaction.js +0 -205
  505. package/dist/src/coin/trx/transactionBuilder.d.ts +0 -65
  506. package/dist/src/coin/trx/transactionBuilder.d.ts.map +0 -1
  507. package/dist/src/coin/trx/transactionBuilder.js +0 -215
  508. package/dist/src/coin/trx/utils.d.ts +0 -127
  509. package/dist/src/coin/trx/utils.d.ts.map +0 -1
  510. package/dist/src/coin/trx/utils.js +0 -369
  511. package/dist/src/coin/trx/wrappedBuilder.d.ts +0 -52
  512. package/dist/src/coin/trx/wrappedBuilder.d.ts.map +0 -1
  513. package/dist/src/coin/trx/wrappedBuilder.js +0 -104
  514. package/dist/src/coin/xrp/index.d.ts +0 -5
  515. package/dist/src/coin/xrp/index.d.ts.map +0 -1
  516. package/dist/src/coin/xrp/index.js +0 -29
  517. package/dist/src/coin/xrp/keyPair.d.ts +0 -10
  518. package/dist/src/coin/xrp/keyPair.d.ts.map +0 -1
  519. package/dist/src/coin/xrp/keyPair.js +0 -16
  520. package/dist/src/coin/xrp/transaction.d.ts +0 -10
  521. package/dist/src/coin/xrp/transaction.d.ts.map +0 -1
  522. package/dist/src/coin/xrp/transaction.js +0 -20
  523. package/dist/src/coin/xrp/transactionBuilder.d.ts +0 -27
  524. package/dist/src/coin/xrp/transactionBuilder.d.ts.map +0 -1
  525. package/dist/src/coin/xrp/transactionBuilder.js +0 -46
  526. package/dist/src/coin/xrp/transactionBuilderFactory.d.ts +0 -24
  527. package/dist/src/coin/xrp/transactionBuilderFactory.d.ts.map +0 -1
  528. package/dist/src/coin/xrp/transactionBuilderFactory.js +0 -38
  529. package/dist/src/coin/xrp/transferBuilder.d.ts +0 -14
  530. package/dist/src/coin/xrp/transferBuilder.d.ts.map +0 -1
  531. package/dist/src/coin/xrp/transferBuilder.js +0 -24
  532. package/dist/src/coin/xrp/utils.d.ts +0 -16
  533. package/dist/src/coin/xrp/utils.d.ts.map +0 -1
  534. package/dist/src/coin/xrp/utils.js +0 -32
  535. package/dist/src/coin/xrp/walletInitializationBuilder.d.ts +0 -14
  536. package/dist/src/coin/xrp/walletInitializationBuilder.d.ts.map +0 -1
  537. package/dist/src/coin/xrp/walletInitializationBuilder.js +0 -24
  538. package/dist/src/coin/xtz/address.d.ts +0 -8
  539. package/dist/src/coin/xtz/address.d.ts.map +0 -1
  540. package/dist/src/coin/xtz/address.js +0 -10
  541. package/dist/src/coin/xtz/iface.d.ts +0 -81
  542. package/dist/src/coin/xtz/iface.d.ts.map +0 -1
  543. package/dist/src/coin/xtz/iface.js +0 -3
  544. package/dist/src/coin/xtz/index.d.ts +0 -8
  545. package/dist/src/coin/xtz/index.d.ts.map +0 -1
  546. package/dist/src/coin/xtz/index.js +0 -37
  547. package/dist/src/coin/xtz/keyPair.d.ts +0 -40
  548. package/dist/src/coin/xtz/keyPair.d.ts.map +0 -1
  549. package/dist/src/coin/xtz/keyPair.js +0 -136
  550. package/dist/src/coin/xtz/multisigUtils.d.ts +0 -134
  551. package/dist/src/coin/xtz/multisigUtils.d.ts.map +0 -1
  552. package/dist/src/coin/xtz/multisigUtils.js +0 -1180
  553. package/dist/src/coin/xtz/transaction.d.ts +0 -119
  554. package/dist/src/coin/xtz/transaction.d.ts.map +0 -1
  555. package/dist/src/coin/xtz/transaction.js +0 -315
  556. package/dist/src/coin/xtz/transactionBuilder.d.ts +0 -171
  557. package/dist/src/coin/xtz/transactionBuilder.d.ts.map +0 -1
  558. package/dist/src/coin/xtz/transactionBuilder.js +0 -453
  559. package/dist/src/coin/xtz/transferBuilder.d.ts +0 -24
  560. package/dist/src/coin/xtz/transferBuilder.d.ts.map +0 -1
  561. package/dist/src/coin/xtz/transferBuilder.js +0 -64
  562. package/dist/src/coin/xtz/utils.d.ts +0 -265
  563. package/dist/src/coin/xtz/utils.d.ts.map +0 -1
  564. package/dist/src/coin/xtz/utils.js +0 -460
  565. package/dist/src/mpc/curves/baseCurve.d.ts +0 -18
  566. package/dist/src/mpc/curves/baseCurve.d.ts.map +0 -1
  567. package/dist/src/mpc/curves/baseCurve.js +0 -6
  568. package/dist/src/mpc/curves/ed25519.d.ts +0 -17
  569. package/dist/src/mpc/curves/ed25519.d.ts.map +0 -1
  570. package/dist/src/mpc/curves/ed25519.js +0 -48
  571. package/dist/src/mpc/curves/index.d.ts +0 -5
  572. package/dist/src/mpc/curves/index.d.ts.map +0 -1
  573. package/dist/src/mpc/curves/index.js +0 -6
  574. package/dist/src/mpc/curves/secp256k1.d.ts +0 -16
  575. package/dist/src/mpc/curves/secp256k1.d.ts.map +0 -1
  576. package/dist/src/mpc/curves/secp256k1.js +0 -66
  577. package/dist/src/mpc/hdTree.d.ts +0 -24
  578. package/dist/src/mpc/hdTree.d.ts.map +0 -1
  579. package/dist/src/mpc/hdTree.js +0 -94
  580. package/dist/src/mpc/shamir.d.ts +0 -26
  581. package/dist/src/mpc/shamir.d.ts.map +0 -1
  582. package/dist/src/mpc/shamir.js +0 -86
  583. package/dist/src/mpc/tss/eddsa/eddsa.d.ts +0 -29
  584. package/dist/src/mpc/tss/eddsa/eddsa.d.ts.map +0 -1
  585. package/dist/src/mpc/tss/eddsa/eddsa.js +0 -273
  586. package/dist/src/mpc/tss/eddsa/index.d.ts +0 -4
  587. package/dist/src/mpc/tss/eddsa/index.d.ts.map +0 -1
  588. package/dist/src/mpc/tss/eddsa/index.js +0 -30
  589. package/dist/src/mpc/tss/eddsa/types.d.ts +0 -70
  590. package/dist/src/mpc/tss/eddsa/types.d.ts.map +0 -1
  591. package/dist/src/mpc/tss/eddsa/types.js +0 -3
  592. package/dist/src/mpc/tss/index.d.ts +0 -5
  593. package/dist/src/mpc/tss/index.d.ts.map +0 -1
  594. package/dist/src/mpc/tss/index.js +0 -32
  595. package/dist/src/mpc/tss.d.ts +0 -98
  596. package/dist/src/mpc/tss.d.ts.map +0 -1
  597. package/dist/src/mpc/tss.js +0 -277
  598. package/dist/src/mpc/util.d.ts +0 -7
  599. package/dist/src/mpc/util.d.ts.map +0 -1
  600. package/dist/src/mpc/util.js +0 -38
  601. package/dist/src/utils/crypto.d.ts +0 -99
  602. package/dist/src/utils/crypto.d.ts.map +0 -1
  603. package/dist/src/utils/crypto.js +0 -260
  604. package/dist/src/utils/ed25519KeyDeriver.d.ts +0 -49
  605. package/dist/src/utils/ed25519KeyDeriver.d.ts.map +0 -1
  606. package/dist/src/utils/ed25519KeyDeriver.js +0 -92
  607. package/resources/hbar/protobuf/BasicTypes.proto +0 -424
  608. package/resources/hbar/protobuf/CryptoCreate.proto +0 -47
  609. package/resources/hbar/protobuf/CryptoTransfer.proto +0 -33
  610. package/resources/hbar/protobuf/Duration.proto +0 -28
  611. package/resources/hbar/protobuf/Timestamp.proto +0 -34
  612. package/resources/hbar/protobuf/Transaction.proto +0 -35
  613. package/resources/hbar/protobuf/TransactionBody.proto +0 -24
  614. package/resources/hbar/protobuf/TransactionContents.proto +0 -33
  615. package/resources/hbar/protobuf/hedera.d.ts +0 -4612
  616. package/resources/hbar/protobuf/hedera.js +0 -12192
  617. package/resources/trx/protobuf/Contract.proto +0 -256
  618. package/resources/trx/protobuf/Discover.proto +0 -44
  619. package/resources/trx/protobuf/tron.d.ts +0 -11024
  620. package/resources/trx/protobuf/tron.js +0 -31510
  621. package/resources/trx/protobuf/tron.proto +0 -677
@@ -1,4612 +0,0 @@
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
- }