kalvora.js 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (726) hide show
  1. package/CHANGELOG.md +162 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +10 -0
  4. package/README.md +391 -0
  5. package/dist/LICENSE +202 -0
  6. package/dist/README.md +391 -0
  7. package/dist/index.cjs +78254 -0
  8. package/dist/index.cjs.map +7 -0
  9. package/dist/index.d.ts +83 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +125 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/index.mjs +125 -0
  14. package/dist/proto/generated/google/protobuf/empty_pb.d.ts +63 -0
  15. package/dist/proto/generated/google/protobuf/empty_pb.js +49 -0
  16. package/dist/proto/generated/google/protobuf/timestamp_pb.d.ts +163 -0
  17. package/dist/proto/generated/google/protobuf/timestamp_pb.js +49 -0
  18. package/dist/proto/generated/guardian_pb.d.ts +1229 -0
  19. package/dist/proto/generated/guardian_pb.js +255 -0
  20. package/dist/proto/generated/kal_api_pb.d.ts +1350 -0
  21. package/dist/proto/generated/kal_api_pb.js +324 -0
  22. package/dist/proto/generated/txn_pb.d.ts +3653 -0
  23. package/dist/proto/generated/txn_pb.js +622 -0
  24. package/dist/proto/generated/validator_pb.d.ts +2385 -0
  25. package/dist/proto/generated/validator_pb.js +528 -0
  26. package/dist/proto/guardian.proto +266 -0
  27. package/dist/proto/kal_api.proto +289 -0
  28. package/dist/proto/txn.proto +718 -0
  29. package/dist/proto/validator.proto +469 -0
  30. package/dist/src/adapter/constants.d.ts +80 -0
  31. package/dist/src/adapter/constants.d.ts.map +1 -0
  32. package/dist/src/adapter/constants.js +89 -0
  33. package/dist/src/adapter/constants.js.map +1 -0
  34. package/dist/src/adapter/index.d.ts +45 -0
  35. package/dist/src/adapter/index.d.ts.map +1 -0
  36. package/dist/src/adapter/index.js +71 -0
  37. package/dist/src/adapter/index.js.map +1 -0
  38. package/dist/src/adapter/serialization.d.ts +94 -0
  39. package/dist/src/adapter/serialization.d.ts.map +1 -0
  40. package/dist/src/adapter/serialization.js +175 -0
  41. package/dist/src/adapter/serialization.js.map +1 -0
  42. package/dist/src/adapter/wallet-adapter.d.ts +230 -0
  43. package/dist/src/adapter/wallet-adapter.d.ts.map +1 -0
  44. package/dist/src/adapter/wallet-adapter.js +792 -0
  45. package/dist/src/adapter/wallet-adapter.js.map +1 -0
  46. package/dist/src/adapter/wallet-signer.d.ts +115 -0
  47. package/dist/src/adapter/wallet-signer.d.ts.map +1 -0
  48. package/dist/src/adapter/wallet-signer.js +357 -0
  49. package/dist/src/adapter/wallet-signer.js.map +1 -0
  50. package/dist/src/adapter/walletconnect.d.ts +148 -0
  51. package/dist/src/adapter/walletconnect.d.ts.map +1 -0
  52. package/dist/src/adapter/walletconnect.js +188 -0
  53. package/dist/src/adapter/walletconnect.js.map +1 -0
  54. package/dist/src/allowance/index.d.ts +2 -0
  55. package/dist/src/allowance/index.d.ts.map +1 -0
  56. package/dist/src/allowance/index.js +2 -0
  57. package/dist/src/allowance/index.js.map +1 -0
  58. package/dist/src/allowance/transaction.d.ts +227 -0
  59. package/dist/src/allowance/transaction.d.ts.map +1 -0
  60. package/dist/src/allowance/transaction.js +296 -0
  61. package/dist/src/allowance/transaction.js.map +1 -0
  62. package/dist/src/api/handler/fee-info/service.d.ts +126 -0
  63. package/dist/src/api/handler/fee-info/service.d.ts.map +1 -0
  64. package/dist/src/api/handler/fee-info/service.js +255 -0
  65. package/dist/src/api/handler/fee-info/service.js.map +1 -0
  66. package/dist/src/api/handler/index.d.ts +10 -0
  67. package/dist/src/api/handler/index.d.ts.map +1 -0
  68. package/dist/src/api/handler/index.js +14 -0
  69. package/dist/src/api/handler/index.js.map +1 -0
  70. package/dist/src/api/handler/nonce/service.d.ts +37 -0
  71. package/dist/src/api/handler/nonce/service.d.ts.map +1 -0
  72. package/dist/src/api/handler/nonce/service.js +64 -0
  73. package/dist/src/api/handler/nonce/service.js.map +1 -0
  74. package/dist/src/api/handler/token-info/service.d.ts +123 -0
  75. package/dist/src/api/handler/token-info/service.d.ts.map +1 -0
  76. package/dist/src/api/handler/token-info/service.js +218 -0
  77. package/dist/src/api/handler/token-info/service.js.map +1 -0
  78. package/dist/src/api/shared/indexer-utils.d.ts +14 -0
  79. package/dist/src/api/shared/indexer-utils.d.ts.map +1 -0
  80. package/dist/src/api/shared/indexer-utils.js +19 -0
  81. package/dist/src/api/shared/indexer-utils.js.map +1 -0
  82. package/dist/src/api/validator/balance/index.d.ts +8 -0
  83. package/dist/src/api/validator/balance/index.d.ts.map +1 -0
  84. package/dist/src/api/validator/balance/index.js +7 -0
  85. package/dist/src/api/validator/balance/index.js.map +1 -0
  86. package/dist/src/api/validator/balance/service.d.ts +42 -0
  87. package/dist/src/api/validator/balance/service.d.ts.map +1 -0
  88. package/dist/src/api/validator/balance/service.js +93 -0
  89. package/dist/src/api/validator/balance/service.js.map +1 -0
  90. package/dist/src/api/validator/base-fee/index.d.ts +8 -0
  91. package/dist/src/api/validator/base-fee/index.d.ts.map +1 -0
  92. package/dist/src/api/validator/base-fee/index.js +7 -0
  93. package/dist/src/api/validator/base-fee/index.js.map +1 -0
  94. package/dist/src/api/validator/base-fee/service.d.ts +39 -0
  95. package/dist/src/api/validator/base-fee/service.d.ts.map +1 -0
  96. package/dist/src/api/validator/base-fee/service.js +45 -0
  97. package/dist/src/api/validator/base-fee/service.js.map +1 -0
  98. package/dist/src/api/validator/fee-info/index.d.ts +7 -0
  99. package/dist/src/api/validator/fee-info/index.d.ts.map +1 -0
  100. package/dist/src/api/validator/fee-info/index.js +7 -0
  101. package/dist/src/api/validator/fee-info/index.js.map +1 -0
  102. package/dist/src/api/validator/fee-info/request.d.ts +25 -0
  103. package/dist/src/api/validator/fee-info/request.d.ts.map +1 -0
  104. package/dist/src/api/validator/fee-info/request.js +92 -0
  105. package/dist/src/api/validator/fee-info/request.js.map +1 -0
  106. package/dist/src/api/validator/nonce/index.d.ts +7 -0
  107. package/dist/src/api/validator/nonce/index.d.ts.map +1 -0
  108. package/dist/src/api/validator/nonce/index.js +7 -0
  109. package/dist/src/api/validator/nonce/index.js.map +1 -0
  110. package/dist/src/api/validator/nonce/service.d.ts +18 -0
  111. package/dist/src/api/validator/nonce/service.d.ts.map +1 -0
  112. package/dist/src/api/validator/nonce/service.js +51 -0
  113. package/dist/src/api/validator/nonce/service.js.map +1 -0
  114. package/dist/src/client/index.d.ts +8 -0
  115. package/dist/src/client/index.d.ts.map +1 -0
  116. package/dist/src/client/index.js +8 -0
  117. package/dist/src/client/index.js.map +1 -0
  118. package/dist/src/client/kalvora-client.d.ts +117 -0
  119. package/dist/src/client/kalvora-client.d.ts.map +1 -0
  120. package/dist/src/client/kalvora-client.js +112 -0
  121. package/dist/src/client/kalvora-client.js.map +1 -0
  122. package/dist/src/client/networks.d.ts +48 -0
  123. package/dist/src/client/networks.d.ts.map +1 -0
  124. package/dist/src/client/networks.js +41 -0
  125. package/dist/src/client/networks.js.map +1 -0
  126. package/dist/src/coin-txn/index.d.ts +9 -0
  127. package/dist/src/coin-txn/index.d.ts.map +1 -0
  128. package/dist/src/coin-txn/index.js +9 -0
  129. package/dist/src/coin-txn/index.js.map +1 -0
  130. package/dist/src/coin-txn/transaction.d.ts +94 -0
  131. package/dist/src/coin-txn/transaction.d.ts.map +1 -0
  132. package/dist/src/coin-txn/transaction.js +341 -0
  133. package/dist/src/coin-txn/transaction.js.map +1 -0
  134. package/dist/src/compliance/index.d.ts +2 -0
  135. package/dist/src/compliance/index.d.ts.map +1 -0
  136. package/dist/src/compliance/index.js +2 -0
  137. package/dist/src/compliance/index.js.map +1 -0
  138. package/dist/src/compliance/transaction.d.ts +150 -0
  139. package/dist/src/compliance/transaction.d.ts.map +1 -0
  140. package/dist/src/compliance/transaction.js +183 -0
  141. package/dist/src/compliance/transaction.js.map +1 -0
  142. package/dist/src/contract/create/index.d.ts +8 -0
  143. package/dist/src/contract/create/index.d.ts.map +1 -0
  144. package/dist/src/contract/create/index.js +7 -0
  145. package/dist/src/contract/create/index.js.map +1 -0
  146. package/dist/src/contract/create/transaction.d.ts +47 -0
  147. package/dist/src/contract/create/transaction.d.ts.map +1 -0
  148. package/dist/src/contract/create/transaction.js +137 -0
  149. package/dist/src/contract/create/transaction.js.map +1 -0
  150. package/dist/src/contract/index.d.ts +34 -0
  151. package/dist/src/contract/index.d.ts.map +1 -0
  152. package/dist/src/contract/index.js +34 -0
  153. package/dist/src/contract/index.js.map +1 -0
  154. package/dist/src/contract/shared/index.d.ts +6 -0
  155. package/dist/src/contract/shared/index.d.ts.map +1 -0
  156. package/dist/src/contract/shared/index.js +6 -0
  157. package/dist/src/contract/shared/index.js.map +1 -0
  158. package/dist/src/contract/shared/types.d.ts +114 -0
  159. package/dist/src/contract/shared/types.d.ts.map +1 -0
  160. package/dist/src/contract/shared/types.js +5 -0
  161. package/dist/src/contract/shared/types.js.map +1 -0
  162. package/dist/src/contract/shared/utils.d.ts +111 -0
  163. package/dist/src/contract/shared/utils.d.ts.map +1 -0
  164. package/dist/src/contract/shared/utils.js +182 -0
  165. package/dist/src/contract/shared/utils.js.map +1 -0
  166. package/dist/src/contract/update/index.d.ts +8 -0
  167. package/dist/src/contract/update/index.d.ts.map +1 -0
  168. package/dist/src/contract/update/index.js +7 -0
  169. package/dist/src/contract/update/index.js.map +1 -0
  170. package/dist/src/contract/update/transaction.d.ts +45 -0
  171. package/dist/src/contract/update/transaction.d.ts.map +1 -0
  172. package/dist/src/contract/update/transaction.js +123 -0
  173. package/dist/src/contract/update/transaction.js.map +1 -0
  174. package/dist/src/delegated-voting/index.d.ts +2 -0
  175. package/dist/src/delegated-voting/index.d.ts.map +1 -0
  176. package/dist/src/delegated-voting/index.js +2 -0
  177. package/dist/src/delegated-voting/index.js.map +1 -0
  178. package/dist/src/delegated-voting/transaction.d.ts +127 -0
  179. package/dist/src/delegated-voting/transaction.d.ts.map +1 -0
  180. package/dist/src/delegated-voting/transaction.js +195 -0
  181. package/dist/src/delegated-voting/transaction.js.map +1 -0
  182. package/dist/src/expense-ratio/index.d.ts +2 -0
  183. package/dist/src/expense-ratio/index.d.ts.map +1 -0
  184. package/dist/src/expense-ratio/index.js +2 -0
  185. package/dist/src/expense-ratio/index.js.map +1 -0
  186. package/dist/src/expense-ratio/transaction.d.ts +94 -0
  187. package/dist/src/expense-ratio/transaction.d.ts.map +1 -0
  188. package/dist/src/expense-ratio/transaction.js +122 -0
  189. package/dist/src/expense-ratio/transaction.js.map +1 -0
  190. package/dist/src/grpc/api/validator-api-client.d.ts +32 -0
  191. package/dist/src/grpc/api/validator-api-client.d.ts.map +1 -0
  192. package/dist/src/grpc/api/validator-api-client.js +61 -0
  193. package/dist/src/grpc/api/validator-api-client.js.map +1 -0
  194. package/dist/src/grpc/client-factory.d.ts +12 -0
  195. package/dist/src/grpc/client-factory.d.ts.map +1 -0
  196. package/dist/src/grpc/client-factory.js +248 -0
  197. package/dist/src/grpc/client-factory.js.map +1 -0
  198. package/dist/src/grpc/errors.d.ts +79 -0
  199. package/dist/src/grpc/errors.d.ts.map +1 -0
  200. package/dist/src/grpc/errors.js +108 -0
  201. package/dist/src/grpc/errors.js.map +1 -0
  202. package/dist/src/grpc/index.d.ts +21 -0
  203. package/dist/src/grpc/index.d.ts.map +1 -0
  204. package/dist/src/grpc/index.js +20 -0
  205. package/dist/src/grpc/index.js.map +1 -0
  206. package/dist/src/grpc/transaction/transaction-client.d.ts +97 -0
  207. package/dist/src/grpc/transaction/transaction-client.d.ts.map +1 -0
  208. package/dist/src/grpc/transaction/transaction-client.js +142 -0
  209. package/dist/src/grpc/transaction/transaction-client.js.map +1 -0
  210. package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts +2 -0
  211. package/dist/src/grpc/utils/grpc-web-fetch-wrapper.d.ts.map +1 -0
  212. package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js +213 -0
  213. package/dist/src/grpc/utils/grpc-web-fetch-wrapper.js.map +1 -0
  214. package/dist/src/items/index.d.ts +7 -0
  215. package/dist/src/items/index.d.ts.map +1 -0
  216. package/dist/src/items/index.js +7 -0
  217. package/dist/src/items/index.js.map +1 -0
  218. package/dist/src/items/transaction.d.ts +132 -0
  219. package/dist/src/items/transaction.d.ts.map +1 -0
  220. package/dist/src/items/transaction.js +276 -0
  221. package/dist/src/items/transaction.js.map +1 -0
  222. package/dist/src/mint/index.d.ts +2 -0
  223. package/dist/src/mint/index.d.ts.map +1 -0
  224. package/dist/src/mint/index.js +2 -0
  225. package/dist/src/mint/index.js.map +1 -0
  226. package/dist/src/mint/transaction.d.ts +128 -0
  227. package/dist/src/mint/transaction.d.ts.map +1 -0
  228. package/dist/src/mint/transaction.js +118 -0
  229. package/dist/src/mint/transaction.js.map +1 -0
  230. package/dist/src/proposal/index.d.ts +3 -0
  231. package/dist/src/proposal/index.d.ts.map +1 -0
  232. package/dist/src/proposal/index.js +3 -0
  233. package/dist/src/proposal/index.js.map +1 -0
  234. package/dist/src/proposal/transaction.d.ts +95 -0
  235. package/dist/src/proposal/transaction.d.ts.map +1 -0
  236. package/dist/src/proposal/transaction.js +321 -0
  237. package/dist/src/proposal/transaction.js.map +1 -0
  238. package/dist/src/proposal-cancel/index.d.ts +2 -0
  239. package/dist/src/proposal-cancel/index.d.ts.map +1 -0
  240. package/dist/src/proposal-cancel/index.js +2 -0
  241. package/dist/src/proposal-cancel/index.js.map +1 -0
  242. package/dist/src/proposal-cancel/transaction.d.ts +31 -0
  243. package/dist/src/proposal-cancel/transaction.d.ts.map +1 -0
  244. package/dist/src/proposal-cancel/transaction.js +98 -0
  245. package/dist/src/proposal-cancel/transaction.js.map +1 -0
  246. package/dist/src/protocol/guardian-names.d.ts +35 -0
  247. package/dist/src/protocol/guardian-names.d.ts.map +1 -0
  248. package/dist/src/protocol/guardian-names.js +25 -0
  249. package/dist/src/protocol/guardian-names.js.map +1 -0
  250. package/dist/src/protocol/index.d.ts +36 -0
  251. package/dist/src/protocol/index.d.ts.map +1 -0
  252. package/dist/src/protocol/index.js +36 -0
  253. package/dist/src/protocol/index.js.map +1 -0
  254. package/dist/src/quash/index.d.ts +2 -0
  255. package/dist/src/quash/index.d.ts.map +1 -0
  256. package/dist/src/quash/index.js +2 -0
  257. package/dist/src/quash/index.js.map +1 -0
  258. package/dist/src/quash/transaction.d.ts +124 -0
  259. package/dist/src/quash/transaction.d.ts.map +1 -0
  260. package/dist/src/quash/transaction.js +118 -0
  261. package/dist/src/quash/transaction.js.map +1 -0
  262. package/dist/src/query/api-client.d.ts +368 -0
  263. package/dist/src/query/api-client.d.ts.map +1 -0
  264. package/dist/src/query/api-client.js +497 -0
  265. package/dist/src/query/api-client.js.map +1 -0
  266. package/dist/src/query/decoders.d.ts +184 -0
  267. package/dist/src/query/decoders.d.ts.map +1 -0
  268. package/dist/src/query/decoders.js +257 -0
  269. package/dist/src/query/decoders.js.map +1 -0
  270. package/dist/src/query/guardian-client.d.ts +73 -0
  271. package/dist/src/query/guardian-client.d.ts.map +1 -0
  272. package/dist/src/query/guardian-client.js +90 -0
  273. package/dist/src/query/guardian-client.js.map +1 -0
  274. package/dist/src/query/index.d.ts +16 -0
  275. package/dist/src/query/index.d.ts.map +1 -0
  276. package/dist/src/query/index.js +16 -0
  277. package/dist/src/query/index.js.map +1 -0
  278. package/dist/src/query/validator-client.d.ts +95 -0
  279. package/dist/src/query/validator-client.d.ts.map +1 -0
  280. package/dist/src/query/validator-client.js +116 -0
  281. package/dist/src/query/validator-client.js.map +1 -0
  282. package/dist/src/revoke/index.d.ts +2 -0
  283. package/dist/src/revoke/index.d.ts.map +1 -0
  284. package/dist/src/revoke/index.js +2 -0
  285. package/dist/src/revoke/index.js.map +1 -0
  286. package/dist/src/revoke/transaction.d.ts +123 -0
  287. package/dist/src/revoke/transaction.d.ts.map +1 -0
  288. package/dist/src/revoke/transaction.js +125 -0
  289. package/dist/src/revoke/transaction.js.map +1 -0
  290. package/dist/src/shared/crypto/address-utils.d.ts +71 -0
  291. package/dist/src/shared/crypto/address-utils.d.ts.map +1 -0
  292. package/dist/src/shared/crypto/address-utils.js +305 -0
  293. package/dist/src/shared/crypto/address-utils.js.map +1 -0
  294. package/dist/src/shared/crypto/constants.d.ts +29 -0
  295. package/dist/src/shared/crypto/constants.d.ts.map +1 -0
  296. package/dist/src/shared/crypto/constants.js +53 -0
  297. package/dist/src/shared/crypto/constants.js.map +1 -0
  298. package/dist/src/shared/crypto/signature-utils.d.ts +14 -0
  299. package/dist/src/shared/crypto/signature-utils.d.ts.map +1 -0
  300. package/dist/src/shared/crypto/signature-utils.js +40 -0
  301. package/dist/src/shared/crypto/signature-utils.js.map +1 -0
  302. package/dist/src/shared/fee-calculators/base-fee-constants.d.ts +33 -0
  303. package/dist/src/shared/fee-calculators/base-fee-constants.d.ts.map +1 -0
  304. package/dist/src/shared/fee-calculators/base-fee-constants.js +45 -0
  305. package/dist/src/shared/fee-calculators/base-fee-constants.js.map +1 -0
  306. package/dist/src/shared/fee-calculators/contract-fee-constants.d.ts +53 -0
  307. package/dist/src/shared/fee-calculators/contract-fee-constants.d.ts.map +1 -0
  308. package/dist/src/shared/fee-calculators/contract-fee-constants.js +73 -0
  309. package/dist/src/shared/fee-calculators/contract-fee-constants.js.map +1 -0
  310. package/dist/src/shared/fee-calculators/contract-fee-service.d.ts +60 -0
  311. package/dist/src/shared/fee-calculators/contract-fee-service.d.ts.map +1 -0
  312. package/dist/src/shared/fee-calculators/contract-fee-service.js +171 -0
  313. package/dist/src/shared/fee-calculators/contract-fee-service.js.map +1 -0
  314. package/dist/src/shared/fee-calculators/denomination-fallback.d.ts +41 -0
  315. package/dist/src/shared/fee-calculators/denomination-fallback.d.ts.map +1 -0
  316. package/dist/src/shared/fee-calculators/denomination-fallback.js +83 -0
  317. package/dist/src/shared/fee-calculators/denomination-fallback.js.map +1 -0
  318. package/dist/src/shared/fee-calculators/exchange-rate-service.d.ts +26 -0
  319. package/dist/src/shared/fee-calculators/exchange-rate-service.d.ts.map +1 -0
  320. package/dist/src/shared/fee-calculators/exchange-rate-service.js +62 -0
  321. package/dist/src/shared/fee-calculators/exchange-rate-service.js.map +1 -0
  322. package/dist/src/shared/fee-calculators/types.d.ts +81 -0
  323. package/dist/src/shared/fee-calculators/types.d.ts.map +1 -0
  324. package/dist/src/shared/fee-calculators/types.js +7 -0
  325. package/dist/src/shared/fee-calculators/types.js.map +1 -0
  326. package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts +144 -0
  327. package/dist/src/shared/fee-calculators/universal-fee-calculator.d.ts.map +1 -0
  328. package/dist/src/shared/fee-calculators/universal-fee-calculator.js +900 -0
  329. package/dist/src/shared/fee-calculators/universal-fee-calculator.js.map +1 -0
  330. package/dist/src/shared/monitoring/health-check.d.ts +37 -0
  331. package/dist/src/shared/monitoring/health-check.d.ts.map +1 -0
  332. package/dist/src/shared/monitoring/health-check.js +152 -0
  333. package/dist/src/shared/monitoring/health-check.js.map +1 -0
  334. package/dist/src/shared/monitoring/index.d.ts +9 -0
  335. package/dist/src/shared/monitoring/index.d.ts.map +1 -0
  336. package/dist/src/shared/monitoring/index.js +9 -0
  337. package/dist/src/shared/monitoring/index.js.map +1 -0
  338. package/dist/src/shared/monitoring/logger.d.ts +42 -0
  339. package/dist/src/shared/monitoring/logger.d.ts.map +1 -0
  340. package/dist/src/shared/monitoring/logger.js +185 -0
  341. package/dist/src/shared/monitoring/logger.js.map +1 -0
  342. package/dist/src/shared/monitoring/metrics.d.ts +33 -0
  343. package/dist/src/shared/monitoring/metrics.d.ts.map +1 -0
  344. package/dist/src/shared/monitoring/metrics.js +105 -0
  345. package/dist/src/shared/monitoring/metrics.js.map +1 -0
  346. package/dist/src/shared/network/constants.d.ts +34 -0
  347. package/dist/src/shared/network/constants.d.ts.map +1 -0
  348. package/dist/src/shared/network/constants.js +46 -0
  349. package/dist/src/shared/network/constants.js.map +1 -0
  350. package/dist/src/shared/protobuf/index.d.ts +18 -0
  351. package/dist/src/shared/protobuf/index.d.ts.map +1 -0
  352. package/dist/src/shared/protobuf/index.js +10 -0
  353. package/dist/src/shared/protobuf/index.js.map +1 -0
  354. package/dist/src/shared/tx/base.d.ts +24 -0
  355. package/dist/src/shared/tx/base.d.ts.map +1 -0
  356. package/dist/src/shared/tx/base.js +57 -0
  357. package/dist/src/shared/tx/base.js.map +1 -0
  358. package/dist/src/shared/tx/standard.d.ts +198 -0
  359. package/dist/src/shared/tx/standard.d.ts.map +1 -0
  360. package/dist/src/shared/tx/standard.js +283 -0
  361. package/dist/src/shared/tx/standard.js.map +1 -0
  362. package/dist/src/shared/utils/amount-utils.d.ts +110 -0
  363. package/dist/src/shared/utils/amount-utils.d.ts.map +1 -0
  364. package/dist/src/shared/utils/amount-utils.js +237 -0
  365. package/dist/src/shared/utils/amount-utils.js.map +1 -0
  366. package/dist/src/shared/utils/byte-utils.d.ts +127 -0
  367. package/dist/src/shared/utils/byte-utils.d.ts.map +1 -0
  368. package/dist/src/shared/utils/byte-utils.js +220 -0
  369. package/dist/src/shared/utils/byte-utils.js.map +1 -0
  370. package/dist/src/shared/utils/error-handler.d.ts +65 -0
  371. package/dist/src/shared/utils/error-handler.d.ts.map +1 -0
  372. package/dist/src/shared/utils/error-handler.js +157 -0
  373. package/dist/src/shared/utils/error-handler.js.map +1 -0
  374. package/dist/src/shared/utils/formatting.d.ts +133 -0
  375. package/dist/src/shared/utils/formatting.d.ts.map +1 -0
  376. package/dist/src/shared/utils/formatting.js +190 -0
  377. package/dist/src/shared/utils/formatting.js.map +1 -0
  378. package/dist/src/shared/utils/grpc-config-utils.d.ts +8 -0
  379. package/dist/src/shared/utils/grpc-config-utils.d.ts.map +1 -0
  380. package/dist/src/shared/utils/grpc-config-utils.js +11 -0
  381. package/dist/src/shared/utils/grpc-config-utils.js.map +1 -0
  382. package/dist/src/shared/utils/performance-benchmark.d.ts +136 -0
  383. package/dist/src/shared/utils/performance-benchmark.d.ts.map +1 -0
  384. package/dist/src/shared/utils/performance-benchmark.js +274 -0
  385. package/dist/src/shared/utils/performance-benchmark.js.map +1 -0
  386. package/dist/src/shared/utils/protobuf-utils.d.ts +39 -0
  387. package/dist/src/shared/utils/protobuf-utils.d.ts.map +1 -0
  388. package/dist/src/shared/utils/protobuf-utils.js +103 -0
  389. package/dist/src/shared/utils/protobuf-utils.js.map +1 -0
  390. package/dist/src/shared/utils/testing-defaults/grpc-config.d.ts +12 -0
  391. package/dist/src/shared/utils/testing-defaults/grpc-config.d.ts.map +1 -0
  392. package/dist/src/shared/utils/testing-defaults/grpc-config.js +16 -0
  393. package/dist/src/shared/utils/testing-defaults/grpc-config.js.map +1 -0
  394. package/dist/src/shared/utils/testing-defaults/index.d.ts +8 -0
  395. package/dist/src/shared/utils/testing-defaults/index.d.ts.map +1 -0
  396. package/dist/src/shared/utils/testing-defaults/index.js +8 -0
  397. package/dist/src/shared/utils/testing-defaults/index.js.map +1 -0
  398. package/dist/src/shared/utils/token-config.d.ts +31 -0
  399. package/dist/src/shared/utils/token-config.d.ts.map +1 -0
  400. package/dist/src/shared/utils/token-config.js +56 -0
  401. package/dist/src/shared/utils/token-config.js.map +1 -0
  402. package/dist/src/shared/utils/token-info.d.ts +101 -0
  403. package/dist/src/shared/utils/token-info.d.ts.map +1 -0
  404. package/dist/src/shared/utils/token-info.js +203 -0
  405. package/dist/src/shared/utils/token-info.js.map +1 -0
  406. package/dist/src/shared/utils/transaction-utils.d.ts +200 -0
  407. package/dist/src/shared/utils/transaction-utils.d.ts.map +1 -0
  408. package/dist/src/shared/utils/transaction-utils.js +293 -0
  409. package/dist/src/shared/utils/transaction-utils.js.map +1 -0
  410. package/dist/src/shared/utils/unified-amount-conversion.d.ts +65 -0
  411. package/dist/src/shared/utils/unified-amount-conversion.d.ts.map +1 -0
  412. package/dist/src/shared/utils/unified-amount-conversion.js +146 -0
  413. package/dist/src/shared/utils/unified-amount-conversion.js.map +1 -0
  414. package/dist/src/shared/utils/validation.d.ts +119 -0
  415. package/dist/src/shared/utils/validation.d.ts.map +1 -0
  416. package/dist/src/shared/utils/validation.js +540 -0
  417. package/dist/src/shared/utils/validation.js.map +1 -0
  418. package/dist/src/sign/finalize.d.ts +82 -0
  419. package/dist/src/sign/finalize.d.ts.map +1 -0
  420. package/dist/src/sign/finalize.js +216 -0
  421. package/dist/src/sign/finalize.js.map +1 -0
  422. package/dist/src/sign/index.d.ts +19 -0
  423. package/dist/src/sign/index.d.ts.map +1 -0
  424. package/dist/src/sign/index.js +21 -0
  425. package/dist/src/sign/index.js.map +1 -0
  426. package/dist/src/sign/signer.d.ts +71 -0
  427. package/dist/src/sign/signer.d.ts.map +1 -0
  428. package/dist/src/sign/signer.js +65 -0
  429. package/dist/src/sign/signer.js.map +1 -0
  430. package/dist/src/smart-contracts/deploy/index.d.ts +5 -0
  431. package/dist/src/smart-contracts/deploy/index.d.ts.map +1 -0
  432. package/dist/src/smart-contracts/deploy/index.js +5 -0
  433. package/dist/src/smart-contracts/deploy/index.js.map +1 -0
  434. package/dist/src/smart-contracts/deploy/transaction.d.ts +54 -0
  435. package/dist/src/smart-contracts/deploy/transaction.d.ts.map +1 -0
  436. package/dist/src/smart-contracts/deploy/transaction.js +116 -0
  437. package/dist/src/smart-contracts/deploy/transaction.js.map +1 -0
  438. package/dist/src/smart-contracts/execute/index.d.ts +5 -0
  439. package/dist/src/smart-contracts/execute/index.d.ts.map +1 -0
  440. package/dist/src/smart-contracts/execute/index.js +5 -0
  441. package/dist/src/smart-contracts/execute/index.js.map +1 -0
  442. package/dist/src/smart-contracts/execute/transaction.d.ts +60 -0
  443. package/dist/src/smart-contracts/execute/transaction.d.ts.map +1 -0
  444. package/dist/src/smart-contracts/execute/transaction.js +88 -0
  445. package/dist/src/smart-contracts/execute/transaction.js.map +1 -0
  446. package/dist/src/smart-contracts/instantiate/index.d.ts +6 -0
  447. package/dist/src/smart-contracts/instantiate/index.d.ts.map +1 -0
  448. package/dist/src/smart-contracts/instantiate/index.js +6 -0
  449. package/dist/src/smart-contracts/instantiate/index.js.map +1 -0
  450. package/dist/src/smart-contracts/instantiate/transaction.d.ts +43 -0
  451. package/dist/src/smart-contracts/instantiate/transaction.d.ts.map +1 -0
  452. package/dist/src/smart-contracts/instantiate/transaction.js +72 -0
  453. package/dist/src/smart-contracts/instantiate/transaction.js.map +1 -0
  454. package/dist/src/smart-contracts/shared/base.d.ts +29 -0
  455. package/dist/src/smart-contracts/shared/base.d.ts.map +1 -0
  456. package/dist/src/smart-contracts/shared/base.js +70 -0
  457. package/dist/src/smart-contracts/shared/base.js.map +1 -0
  458. package/dist/src/smart-contracts/shared/parameters.d.ts +26 -0
  459. package/dist/src/smart-contracts/shared/parameters.d.ts.map +1 -0
  460. package/dist/src/smart-contracts/shared/parameters.js +32 -0
  461. package/dist/src/smart-contracts/shared/parameters.js.map +1 -0
  462. package/dist/src/smart-contracts/shared/validation.d.ts +6 -0
  463. package/dist/src/smart-contracts/shared/validation.d.ts.map +1 -0
  464. package/dist/src/smart-contracts/shared/validation.js +13 -0
  465. package/dist/src/smart-contracts/shared/validation.js.map +1 -0
  466. package/dist/src/smart-contracts/use-cases/bootstrapping/index.d.ts +25 -0
  467. package/dist/src/smart-contracts/use-cases/bootstrapping/index.d.ts.map +1 -0
  468. package/dist/src/smart-contracts/use-cases/bootstrapping/index.js +30 -0
  469. package/dist/src/smart-contracts/use-cases/bootstrapping/index.js.map +1 -0
  470. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.d.ts +7 -0
  471. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.d.ts.map +1 -0
  472. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.js +7 -0
  473. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/index.js.map +1 -0
  474. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts +23 -0
  475. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.d.ts.map +1 -0
  476. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.js +39 -0
  477. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/process-rewards.js.map +1 -0
  478. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts +27 -0
  479. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.d.ts.map +1 -0
  480. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.js +51 -0
  481. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/stake.js.map +1 -0
  482. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts +22 -0
  483. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.d.ts.map +1 -0
  484. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.js +43 -0
  485. package/dist/src/smart-contracts/use-cases/bootstrapping/transactions/update-wallet.js.map +1 -0
  486. package/dist/src/smart-contracts/use-cases/bootstrapping/types.d.ts +60 -0
  487. package/dist/src/smart-contracts/use-cases/bootstrapping/types.d.ts.map +1 -0
  488. package/dist/src/smart-contracts/use-cases/bootstrapping/types.js +8 -0
  489. package/dist/src/smart-contracts/use-cases/bootstrapping/types.js.map +1 -0
  490. package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts +131 -0
  491. package/dist/src/smart-contracts/use-cases/bootstrapping/utils.d.ts.map +1 -0
  492. package/dist/src/smart-contracts/use-cases/bootstrapping/utils.js +87 -0
  493. package/dist/src/smart-contracts/use-cases/bootstrapping/utils.js.map +1 -0
  494. package/dist/src/smart-contracts/use-cases/bridge/guardian/index.d.ts +49 -0
  495. package/dist/src/smart-contracts/use-cases/bridge/guardian/index.d.ts.map +1 -0
  496. package/dist/src/smart-contracts/use-cases/bridge/guardian/index.js +59 -0
  497. package/dist/src/smart-contracts/use-cases/bridge/guardian/index.js.map +1 -0
  498. package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts +150 -0
  499. package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.d.ts.map +1 -0
  500. package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js +505 -0
  501. package/dist/src/smart-contracts/use-cases/bridge/guardian/vaa.js.map +1 -0
  502. package/dist/src/smart-contracts/use-cases/bridge/index.d.ts +68 -0
  503. package/dist/src/smart-contracts/use-cases/bridge/index.d.ts.map +1 -0
  504. package/dist/src/smart-contracts/use-cases/bridge/index.js +83 -0
  505. package/dist/src/smart-contracts/use-cases/bridge/index.js.map +1 -0
  506. package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.d.ts +36 -0
  507. package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.d.ts.map +1 -0
  508. package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.js +53 -0
  509. package/dist/src/smart-contracts/use-cases/bridge/kalvora/index.js.map +1 -0
  510. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.d.ts +10 -0
  511. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.d.ts.map +1 -0
  512. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.js +17 -0
  513. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/index.js.map +1 -0
  514. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts +65 -0
  515. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.d.ts.map +1 -0
  516. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.js +130 -0
  517. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/lock.js.map +1 -0
  518. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts +81 -0
  519. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.d.ts.map +1 -0
  520. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js +187 -0
  521. package/dist/src/smart-contracts/use-cases/bridge/kalvora/transactions/release.js.map +1 -0
  522. package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.d.ts +82 -0
  523. package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.d.ts.map +1 -0
  524. package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.js +7 -0
  525. package/dist/src/smart-contracts/use-cases/bridge/kalvora/types.js.map +1 -0
  526. package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts +49 -0
  527. package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.d.ts.map +1 -0
  528. package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.js +80 -0
  529. package/dist/src/smart-contracts/use-cases/bridge/kalvora/utils.js.map +1 -0
  530. package/dist/src/smart-contracts/use-cases/bridge/solana/constants.d.ts +84 -0
  531. package/dist/src/smart-contracts/use-cases/bridge/solana/constants.d.ts.map +1 -0
  532. package/dist/src/smart-contracts/use-cases/bridge/solana/constants.js +82 -0
  533. package/dist/src/smart-contracts/use-cases/bridge/solana/constants.js.map +1 -0
  534. package/dist/src/smart-contracts/use-cases/bridge/solana/index.d.ts +58 -0
  535. package/dist/src/smart-contracts/use-cases/bridge/solana/index.d.ts.map +1 -0
  536. package/dist/src/smart-contracts/use-cases/bridge/solana/index.js +90 -0
  537. package/dist/src/smart-contracts/use-cases/bridge/solana/index.js.map +1 -0
  538. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.d.ts +26 -0
  539. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.d.ts.map +1 -0
  540. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.js +59 -0
  541. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/burn.js.map +1 -0
  542. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.d.ts +29 -0
  543. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.d.ts.map +1 -0
  544. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.js +50 -0
  545. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/helpers.js.map +1 -0
  546. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.d.ts +14 -0
  547. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.d.ts.map +1 -0
  548. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.js +31 -0
  549. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/index.js.map +1 -0
  550. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.d.ts +70 -0
  551. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.d.ts.map +1 -0
  552. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.js +212 -0
  553. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/lock.js.map +1 -0
  554. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.d.ts +60 -0
  555. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.d.ts.map +1 -0
  556. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.js +288 -0
  557. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/mint.js.map +1 -0
  558. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.d.ts +54 -0
  559. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.d.ts.map +1 -0
  560. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.js +186 -0
  561. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/registration.js.map +1 -0
  562. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.d.ts +96 -0
  563. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.d.ts.map +1 -0
  564. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.js +406 -0
  565. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/release.js.map +1 -0
  566. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.d.ts +34 -0
  567. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.d.ts.map +1 -0
  568. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.js +55 -0
  569. package/dist/src/smart-contracts/use-cases/bridge/solana/transactions/token-type.js.map +1 -0
  570. package/dist/src/smart-contracts/use-cases/bridge/solana/types.d.ts +377 -0
  571. package/dist/src/smart-contracts/use-cases/bridge/solana/types.d.ts.map +1 -0
  572. package/dist/src/smart-contracts/use-cases/bridge/solana/types.js +9 -0
  573. package/dist/src/smart-contracts/use-cases/bridge/solana/types.js.map +1 -0
  574. package/dist/src/smart-contracts/use-cases/bridge/solana/utils.d.ts +121 -0
  575. package/dist/src/smart-contracts/use-cases/bridge/solana/utils.d.ts.map +1 -0
  576. package/dist/src/smart-contracts/use-cases/bridge/solana/utils.js +219 -0
  577. package/dist/src/smart-contracts/use-cases/bridge/solana/utils.js.map +1 -0
  578. package/dist/src/smart-contracts/use-cases/dex/index.d.ts +58 -0
  579. package/dist/src/smart-contracts/use-cases/dex/index.d.ts.map +1 -0
  580. package/dist/src/smart-contracts/use-cases/dex/index.js +73 -0
  581. package/dist/src/smart-contracts/use-cases/dex/index.js.map +1 -0
  582. package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts +34 -0
  583. package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.d.ts.map +1 -0
  584. package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.js +68 -0
  585. package/dist/src/smart-contracts/use-cases/dex/transactions/add-liquidity.js.map +1 -0
  586. package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts +35 -0
  587. package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.d.ts.map +1 -0
  588. package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.js +69 -0
  589. package/dist/src/smart-contracts/use-cases/dex/transactions/create-pool.js.map +1 -0
  590. package/dist/src/smart-contracts/use-cases/dex/transactions/index.d.ts +11 -0
  591. package/dist/src/smart-contracts/use-cases/dex/transactions/index.d.ts.map +1 -0
  592. package/dist/src/smart-contracts/use-cases/dex/transactions/index.js +11 -0
  593. package/dist/src/smart-contracts/use-cases/dex/transactions/index.js.map +1 -0
  594. package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts +40 -0
  595. package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.d.ts.map +1 -0
  596. package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.js +76 -0
  597. package/dist/src/smart-contracts/use-cases/dex/transactions/remove-liquidity.js.map +1 -0
  598. package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts +38 -0
  599. package/dist/src/smart-contracts/use-cases/dex/transactions/swap.d.ts.map +1 -0
  600. package/dist/src/smart-contracts/use-cases/dex/transactions/swap.js +70 -0
  601. package/dist/src/smart-contracts/use-cases/dex/transactions/swap.js.map +1 -0
  602. package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts +37 -0
  603. package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.d.ts.map +1 -0
  604. package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.js +60 -0
  605. package/dist/src/smart-contracts/use-cases/dex/transactions/unlock-liquidity.js.map +1 -0
  606. package/dist/src/smart-contracts/use-cases/dex/types.d.ts +130 -0
  607. package/dist/src/smart-contracts/use-cases/dex/types.d.ts.map +1 -0
  608. package/dist/src/smart-contracts/use-cases/dex/types.js +11 -0
  609. package/dist/src/smart-contracts/use-cases/dex/types.js.map +1 -0
  610. package/dist/src/smart-contracts/use-cases/dex/utils.d.ts +52 -0
  611. package/dist/src/smart-contracts/use-cases/dex/utils.d.ts.map +1 -0
  612. package/dist/src/smart-contracts/use-cases/dex/utils.js +79 -0
  613. package/dist/src/smart-contracts/use-cases/dex/utils.js.map +1 -0
  614. package/dist/src/smart-contracts/use-cases/index.d.ts +35 -0
  615. package/dist/src/smart-contracts/use-cases/index.d.ts.map +1 -0
  616. package/dist/src/smart-contracts/use-cases/index.js +35 -0
  617. package/dist/src/smart-contracts/use-cases/index.js.map +1 -0
  618. package/dist/src/smart-contracts/use-cases/staking/index.d.ts +67 -0
  619. package/dist/src/smart-contracts/use-cases/staking/index.d.ts.map +1 -0
  620. package/dist/src/smart-contracts/use-cases/staking/index.js +84 -0
  621. package/dist/src/smart-contracts/use-cases/staking/index.js.map +1 -0
  622. package/dist/src/smart-contracts/use-cases/staking/transactions/index.d.ts +12 -0
  623. package/dist/src/smart-contracts/use-cases/staking/transactions/index.d.ts.map +1 -0
  624. package/dist/src/smart-contracts/use-cases/staking/transactions/index.js +12 -0
  625. package/dist/src/smart-contracts/use-cases/staking/transactions/index.js.map +1 -0
  626. package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts +36 -0
  627. package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.d.ts.map +1 -0
  628. package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.js +57 -0
  629. package/dist/src/smart-contracts/use-cases/staking/transactions/instant-stake.js.map +1 -0
  630. package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts +33 -0
  631. package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.d.ts.map +1 -0
  632. package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.js +49 -0
  633. package/dist/src/smart-contracts/use-cases/staking/transactions/release-instant.js.map +1 -0
  634. package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts +33 -0
  635. package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.d.ts.map +1 -0
  636. package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.js +49 -0
  637. package/dist/src/smart-contracts/use-cases/staking/transactions/release-liquid-stake.js.map +1 -0
  638. package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts +36 -0
  639. package/dist/src/smart-contracts/use-cases/staking/transactions/stake.d.ts.map +1 -0
  640. package/dist/src/smart-contracts/use-cases/staking/transactions/stake.js +59 -0
  641. package/dist/src/smart-contracts/use-cases/staking/transactions/stake.js.map +1 -0
  642. package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts +36 -0
  643. package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.d.ts.map +1 -0
  644. package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.js +57 -0
  645. package/dist/src/smart-contracts/use-cases/staking/transactions/update-instant-wallet.js.map +1 -0
  646. package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts +36 -0
  647. package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.d.ts.map +1 -0
  648. package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.js +57 -0
  649. package/dist/src/smart-contracts/use-cases/staking/transactions/update-wallet.js.map +1 -0
  650. package/dist/src/smart-contracts/use-cases/staking/types.d.ts +76 -0
  651. package/dist/src/smart-contracts/use-cases/staking/types.d.ts.map +1 -0
  652. package/dist/src/smart-contracts/use-cases/staking/types.js +10 -0
  653. package/dist/src/smart-contracts/use-cases/staking/types.js.map +1 -0
  654. package/dist/src/smart-contracts/use-cases/staking/utils.d.ts +27 -0
  655. package/dist/src/smart-contracts/use-cases/staking/utils.d.ts.map +1 -0
  656. package/dist/src/smart-contracts/use-cases/staking/utils.js +44 -0
  657. package/dist/src/smart-contracts/use-cases/staking/utils.js.map +1 -0
  658. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.d.ts +26 -0
  659. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.d.ts.map +1 -0
  660. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.js +107 -0
  661. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/index.js.map +1 -0
  662. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.d.ts +18 -0
  663. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.d.ts.map +1 -0
  664. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.js +37 -0
  665. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/resolve-indexer.js.map +1 -0
  666. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.d.ts +126 -0
  667. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.d.ts.map +1 -0
  668. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.js +10 -0
  669. package/dist/src/smart-contracts/use-cases/third-party/vision-dynamics/smart-swap/types.js.map +1 -0
  670. package/dist/src/types/index.d.ts +240 -0
  671. package/dist/src/types/index.d.ts.map +1 -0
  672. package/dist/src/types/index.js +110 -0
  673. package/dist/src/types/index.js.map +1 -0
  674. package/dist/src/validator-ops/index.d.ts +2 -0
  675. package/dist/src/validator-ops/index.d.ts.map +1 -0
  676. package/dist/src/validator-ops/index.js +2 -0
  677. package/dist/src/validator-ops/index.js.map +1 -0
  678. package/dist/src/validator-ops/transaction.d.ts +312 -0
  679. package/dist/src/validator-ops/transaction.d.ts.map +1 -0
  680. package/dist/src/validator-ops/transaction.js +416 -0
  681. package/dist/src/validator-ops/transaction.js.map +1 -0
  682. package/dist/src/vote/index.d.ts +5 -0
  683. package/dist/src/vote/index.d.ts.map +1 -0
  684. package/dist/src/vote/index.js +5 -0
  685. package/dist/src/vote/index.js.map +1 -0
  686. package/dist/src/vote/transaction.d.ts +70 -0
  687. package/dist/src/vote/transaction.d.ts.map +1 -0
  688. package/dist/src/vote/transaction.js +140 -0
  689. package/dist/src/vote/transaction.js.map +1 -0
  690. package/dist/src/wallet-creation/constants.d.ts +58 -0
  691. package/dist/src/wallet-creation/constants.d.ts.map +1 -0
  692. package/dist/src/wallet-creation/constants.js +113 -0
  693. package/dist/src/wallet-creation/constants.js.map +1 -0
  694. package/dist/src/wallet-creation/crypto-core.d.ts +178 -0
  695. package/dist/src/wallet-creation/crypto-core.d.ts.map +1 -0
  696. package/dist/src/wallet-creation/crypto-core.js +516 -0
  697. package/dist/src/wallet-creation/crypto-core.js.map +1 -0
  698. package/dist/src/wallet-creation/errors.d.ts +58 -0
  699. package/dist/src/wallet-creation/errors.d.ts.map +1 -0
  700. package/dist/src/wallet-creation/errors.js +89 -0
  701. package/dist/src/wallet-creation/errors.js.map +1 -0
  702. package/dist/src/wallet-creation/hash-utils.d.ts +38 -0
  703. package/dist/src/wallet-creation/hash-utils.d.ts.map +1 -0
  704. package/dist/src/wallet-creation/hash-utils.js +147 -0
  705. package/dist/src/wallet-creation/hash-utils.js.map +1 -0
  706. package/dist/src/wallet-creation/hd-utils.d.ts +45 -0
  707. package/dist/src/wallet-creation/hd-utils.d.ts.map +1 -0
  708. package/dist/src/wallet-creation/hd-utils.js +110 -0
  709. package/dist/src/wallet-creation/hd-utils.js.map +1 -0
  710. package/dist/src/wallet-creation/index.d.ts +11 -0
  711. package/dist/src/wallet-creation/index.d.ts.map +1 -0
  712. package/dist/src/wallet-creation/index.js +21 -0
  713. package/dist/src/wallet-creation/index.js.map +1 -0
  714. package/dist/src/wallet-creation/shared.d.ts +60 -0
  715. package/dist/src/wallet-creation/shared.d.ts.map +1 -0
  716. package/dist/src/wallet-creation/shared.js +127 -0
  717. package/dist/src/wallet-creation/shared.js.map +1 -0
  718. package/dist/src/wallet-creation/wallet-factory.d.ts +107 -0
  719. package/dist/src/wallet-creation/wallet-factory.d.ts.map +1 -0
  720. package/dist/src/wallet-creation/wallet-factory.js +298 -0
  721. package/dist/src/wallet-creation/wallet-factory.js.map +1 -0
  722. package/dist/wallet.d.ts +17 -0
  723. package/dist/wallet.d.ts.map +1 -0
  724. package/dist/wallet.js +17 -0
  725. package/dist/wallet.js.map +1 -0
  726. package/package.json +129 -0
@@ -0,0 +1,3653 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts,import_extension=.js,keep_empty_files=true"
2
+ // @generated from file txn.proto (package kal_txn, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "./google/protobuf/timestamp_pb.js";
8
+ import type { EmptySchema } from "./google/protobuf/empty_pb.js";
9
+
10
+ /**
11
+ * Describes the file txn.proto.
12
+ */
13
+ export declare const file_txn: GenFile;
14
+
15
+ /**
16
+ * @generated from message kal_txn.ProposalCancelTXN
17
+ */
18
+ export declare type ProposalCancelTXN = Message<"kal_txn.ProposalCancelTXN"> & {
19
+ /**
20
+ * @generated from field: kal_txn.BaseTXN base = 1;
21
+ */
22
+ base?: BaseTXN;
23
+
24
+ /**
25
+ * @generated from field: string contract_id = 2;
26
+ */
27
+ contractId: string;
28
+
29
+ /**
30
+ * @generated from field: bytes proposal_id = 3;
31
+ */
32
+ proposalId: Uint8Array;
33
+ };
34
+
35
+ /**
36
+ * Describes the message kal_txn.ProposalCancelTXN.
37
+ * Use `create(ProposalCancelTXNSchema)` to create a new message.
38
+ */
39
+ export declare const ProposalCancelTXNSchema: GenMessage<ProposalCancelTXN>;
40
+
41
+ /**
42
+ * @generated from message kal_txn.DelegateContract
43
+ */
44
+ export declare type DelegateContract = Message<"kal_txn.DelegateContract"> & {
45
+ /**
46
+ * @generated from field: int32 priority = 1;
47
+ */
48
+ priority: number;
49
+
50
+ /**
51
+ * @generated from field: string contract_id = 2;
52
+ */
53
+ contractId: string;
54
+ };
55
+
56
+ /**
57
+ * Describes the message kal_txn.DelegateContract.
58
+ * Use `create(DelegateContractSchema)` to create a new message.
59
+ */
60
+ export declare const DelegateContractSchema: GenMessage<DelegateContract>;
61
+
62
+ /**
63
+ * @generated from message kal_txn.DelegatedTXN
64
+ */
65
+ export declare type DelegatedTXN = Message<"kal_txn.DelegatedTXN"> & {
66
+ /**
67
+ * @generated from field: kal_txn.BaseTXN base = 1;
68
+ */
69
+ base?: BaseTXN;
70
+
71
+ /**
72
+ * @generated from field: repeated kal_txn.DelegateVote delegate_votes = 2;
73
+ */
74
+ delegateVotes: DelegateVote[];
75
+
76
+ /**
77
+ * @generated from field: repeated kal_txn.DelegateFees delegate_fees = 3;
78
+ */
79
+ delegateFees: DelegateFees[];
80
+ };
81
+
82
+ /**
83
+ * Describes the message kal_txn.DelegatedTXN.
84
+ * Use `create(DelegatedTXNSchema)` to create a new message.
85
+ */
86
+ export declare const DelegatedTXNSchema: GenMessage<DelegatedTXN>;
87
+
88
+ /**
89
+ * @generated from message kal_txn.DelegateVote
90
+ */
91
+ export declare type DelegateVote = Message<"kal_txn.DelegateVote"> & {
92
+ /**
93
+ * @generated from field: bytes address = 1;
94
+ */
95
+ address: Uint8Array;
96
+
97
+ /**
98
+ * @generated from field: repeated kal_txn.DelegateContract contracts = 2;
99
+ */
100
+ contracts: DelegateContract[];
101
+ };
102
+
103
+ /**
104
+ * Describes the message kal_txn.DelegateVote.
105
+ * Use `create(DelegateVoteSchema)` to create a new message.
106
+ */
107
+ export declare const DelegateVoteSchema: GenMessage<DelegateVote>;
108
+
109
+ /**
110
+ * @generated from message kal_txn.DelegateFees
111
+ */
112
+ export declare type DelegateFees = Message<"kal_txn.DelegateFees"> & {
113
+ /**
114
+ * @generated from field: string contract_id = 1;
115
+ */
116
+ contractId: string;
117
+
118
+ /**
119
+ * @generated from field: string auth_amount = 2;
120
+ */
121
+ authAmount: string;
122
+ };
123
+
124
+ /**
125
+ * Describes the message kal_txn.DelegateFees.
126
+ * Use `create(DelegateFeesSchema)` to create a new message.
127
+ */
128
+ export declare const DelegateFeesSchema: GenMessage<DelegateFees>;
129
+
130
+ /**
131
+ * @generated from message kal_txn.Compliance
132
+ */
133
+ export declare type Compliance = Message<"kal_txn.Compliance"> & {
134
+ /**
135
+ * @generated from field: string contract_id = 1;
136
+ */
137
+ contractId: string;
138
+
139
+ /**
140
+ * @generated from field: uint32 compliance_level = 2;
141
+ */
142
+ complianceLevel: number;
143
+ };
144
+
145
+ /**
146
+ * Describes the message kal_txn.Compliance.
147
+ * Use `create(ComplianceSchema)` to create a new message.
148
+ */
149
+ export declare const ComplianceSchema: GenMessage<Compliance>;
150
+
151
+ /**
152
+ * @generated from message kal_txn.TokenCompliance
153
+ */
154
+ export declare type TokenCompliance = Message<"kal_txn.TokenCompliance"> & {
155
+ /**
156
+ * @generated from field: repeated kal_txn.Compliance compliance = 1;
157
+ */
158
+ compliance: Compliance[];
159
+ };
160
+
161
+ /**
162
+ * Describes the message kal_txn.TokenCompliance.
163
+ * Use `create(TokenComplianceSchema)` to create a new message.
164
+ */
165
+ export declare const TokenComplianceSchema: GenMessage<TokenCompliance>;
166
+
167
+ /**
168
+ * trade in for maps
169
+ *
170
+ * @generated from message kal_txn.ExpenseRatio
171
+ */
172
+ export declare type ExpenseRatio = Message<"kal_txn.ExpenseRatio"> & {
173
+ /**
174
+ * @generated from field: uint32 day = 1;
175
+ */
176
+ day: number;
177
+
178
+ /**
179
+ * @generated from field: uint32 month = 2;
180
+ */
181
+ month: number;
182
+
183
+ /**
184
+ * 100,000 = 100%
185
+ *
186
+ * @generated from field: uint32 percent = 3;
187
+ */
188
+ percent: number;
189
+ };
190
+
191
+ /**
192
+ * Describes the message kal_txn.ExpenseRatio.
193
+ * Use `create(ExpenseRatioSchema)` to create a new message.
194
+ */
195
+ export declare const ExpenseRatioSchema: GenMessage<ExpenseRatio>;
196
+
197
+ /**
198
+ * @generated from message kal_txn.KeyValuePair
199
+ */
200
+ export declare type KeyValuePair = Message<"kal_txn.KeyValuePair"> & {
201
+ /**
202
+ * @generated from field: string key = 1;
203
+ */
204
+ key: string;
205
+
206
+ /**
207
+ * @generated from field: string value = 2;
208
+ */
209
+ value: string;
210
+ };
211
+
212
+ /**
213
+ * Describes the message kal_txn.KeyValuePair.
214
+ * Use `create(KeyValuePairSchema)` to create a new message.
215
+ */
216
+ export declare const KeyValuePairSchema: GenMessage<KeyValuePair>;
217
+
218
+ /**
219
+ * @generated from message kal_txn.ByteMultiplier
220
+ */
221
+ export declare type ByteMultiplier = Message<"kal_txn.ByteMultiplier"> & {
222
+ /**
223
+ * @generated from field: kal_txn.TRANSACTION_TYPE txn_type = 1;
224
+ */
225
+ txnType: TRANSACTION_TYPE;
226
+
227
+ /**
228
+ * @generated from field: string multiplier = 2;
229
+ */
230
+ multiplier: string;
231
+ };
232
+
233
+ /**
234
+ * Describes the message kal_txn.ByteMultiplier.
235
+ * Use `create(ByteMultiplierSchema)` to create a new message.
236
+ */
237
+ export declare const ByteMultiplierSchema: GenMessage<ByteMultiplier>;
238
+
239
+ /**
240
+ * @generated from message kal_txn.RevokeTXN
241
+ */
242
+ export declare type RevokeTXN = Message<"kal_txn.RevokeTXN"> & {
243
+ /**
244
+ * @generated from field: kal_txn.BaseTXN base = 1;
245
+ */
246
+ base?: BaseTXN;
247
+
248
+ /**
249
+ * @generated from field: string contract_id = 2;
250
+ */
251
+ contractId: string;
252
+
253
+ /**
254
+ * @generated from field: bytes recipient_address = 3;
255
+ */
256
+ recipientAddress: Uint8Array;
257
+
258
+ /**
259
+ * @generated from field: string item_id = 4;
260
+ */
261
+ itemId: string;
262
+ };
263
+
264
+ /**
265
+ * Describes the message kal_txn.RevokeTXN.
266
+ * Use `create(RevokeTXNSchema)` to create a new message.
267
+ */
268
+ export declare const RevokeTXNSchema: GenMessage<RevokeTXN>;
269
+
270
+ /**
271
+ * @generated from message kal_txn.PreGovernance
272
+ */
273
+ export declare type PreGovernance = Message<"kal_txn.PreGovernance"> & {
274
+ /**
275
+ * Council instrument, separate from regular governance voting instruments
276
+ *
277
+ * @generated from field: string voting_instrument = 1;
278
+ */
279
+ votingInstrument: string;
280
+
281
+ /**
282
+ * Length of the pre-governance voting period
283
+ *
284
+ * @generated from field: uint32 days = 2;
285
+ */
286
+ days: number;
287
+
288
+ /**
289
+ * Minimum participation; 10000 = 100%
290
+ *
291
+ * @generated from field: uint32 threshold = 3;
292
+ */
293
+ threshold: number;
294
+
295
+ /**
296
+ * Minimum supporting share; 10000 = 100%
297
+ *
298
+ * @generated from field: uint32 regular_quorum = 4;
299
+ */
300
+ regularQuorum: number;
301
+ };
302
+
303
+ /**
304
+ * Describes the message kal_txn.PreGovernance.
305
+ * Use `create(PreGovernanceSchema)` to create a new message.
306
+ */
307
+ export declare const PreGovernanceSchema: GenMessage<PreGovernance>;
308
+
309
+ /**
310
+ * @generated from message kal_txn.Governance
311
+ */
312
+ export declare type Governance = Message<"kal_txn.Governance"> & {
313
+ /**
314
+ * read GOVERNANCE_TYPE above
315
+ *
316
+ * @generated from field: kal_txn.GOVERNANCE_TYPE type = 1;
317
+ */
318
+ type: GOVERNANCE_TYPE;
319
+
320
+ /**
321
+ * percent of yes votes to pass at the end of cycle (still needs to pass threshhold) 10000 = 100&
322
+ *
323
+ * @generated from field: uint32 regular_quorum = 2;
324
+ */
325
+ regularQuorum: number;
326
+
327
+ /**
328
+ * which voting instruments are allowed to vote in this contract
329
+ *
330
+ * @generated from field: repeated string voting_instrument = 4;
331
+ */
332
+ votingInstrument: string[];
333
+
334
+ /**
335
+ * threshold of participation of holders needed to be accepted 1000 = 100%
336
+ *
337
+ * @generated from field: uint32 threshold = 5;
338
+ */
339
+ threshold: number;
340
+
341
+ /**
342
+ * Option winner does not need to pass regular quorum.
343
+ *
344
+ * @generated from field: optional bool chicken_dinner = 6;
345
+ */
346
+ chickenDinner?: boolean;
347
+
348
+ /**
349
+ * Allow multiple choice proposals.
350
+ *
351
+ * @generated from field: bool allow_multi = 7;
352
+ */
353
+ allowMulti: boolean;
354
+
355
+ /**
356
+ * How many days in the voting period (Months | Days). (cannot be present with adaptive) | (must be present with cycle & staggered & staged)
357
+ *
358
+ * @generated from field: optional uint32 voting_period = 8;
359
+ */
360
+ votingPeriod?: number;
361
+
362
+ /**
363
+ * @generated from field: repeated string allowed_proposal_instrument = 9;
364
+ */
365
+ allowedProposalInstrument: string[];
366
+
367
+ /**
368
+ * Is the total_period in months or days? months will start the cycle on the start_date, days will start after period ends (must be present with cycle & staggered & staged) | (cannot be present with adaptive)
369
+ *
370
+ * @generated from field: optional kal_txn.PROPOSAL_PERIOD proposal_period = 10;
371
+ */
372
+ proposalPeriod?: PROPOSAL_PERIOD;
373
+
374
+ /**
375
+ * Determines how many stages in cycle, cannot be more than 28 per month and 99 in total. '0' input will represent remainder of month (can only be used as last entry)
376
+ *
377
+ * @generated from field: repeated kal_txn.Stage stage_length = 11;
378
+ */
379
+ stageLength: Stage[];
380
+
381
+ /**
382
+ * Start date of the contract, year-month-day-hour parsed. Needs to be present for staged and cycle
383
+ *
384
+ * @generated from field: optional google.protobuf.Timestamp start_timestamp = 12;
385
+ */
386
+ startTimestamp?: Timestamp;
387
+
388
+ /**
389
+ * only allowed in CYCLE governance type, this is the max number of proposals that can be approved in a cycle (if 0, all proposals will be approved)
390
+ *
391
+ * @generated from field: optional uint32 max_approved = 13;
392
+ */
393
+ maxApproved?: number;
394
+
395
+ /**
396
+ * Optional council review before regular governance
397
+ *
398
+ * @generated from field: optional kal_txn.PreGovernance pre_governance = 14;
399
+ */
400
+ preGovernance?: PreGovernance;
401
+ };
402
+
403
+ /**
404
+ * Describes the message kal_txn.Governance.
405
+ * Use `create(GovernanceSchema)` to create a new message.
406
+ */
407
+ export declare const GovernanceSchema: GenMessage<Governance>;
408
+
409
+ /**
410
+ * @generated from message kal_txn.Stage
411
+ */
412
+ export declare type Stage = Message<"kal_txn.Stage"> & {
413
+ /**
414
+ * @generated from field: uint32 length = 1;
415
+ */
416
+ length: number;
417
+
418
+ /**
419
+ * @generated from field: kal_txn.PROPOSAL_PERIOD period = 2;
420
+ */
421
+ period: PROPOSAL_PERIOD;
422
+
423
+ /**
424
+ * @generated from field: bool break = 3;
425
+ */
426
+ break: boolean;
427
+
428
+ /**
429
+ * @generated from field: uint32 max_approved = 4;
430
+ */
431
+ maxApproved: number;
432
+ };
433
+
434
+ /**
435
+ * Describes the message kal_txn.Stage.
436
+ * Use `create(StageSchema)` to create a new message.
437
+ */
438
+ export declare const StageSchema: GenMessage<Stage>;
439
+
440
+ /**
441
+ * @generated from message kal_txn.CoinDenomination
442
+ */
443
+ export declare type CoinDenomination = Message<"kal_txn.CoinDenomination"> & {
444
+ /**
445
+ * @generated from field: string denomination_name = 5;
446
+ */
447
+ denominationName: string;
448
+
449
+ /**
450
+ * @generated from field: string amount = 6;
451
+ */
452
+ amount: string;
453
+ };
454
+
455
+ /**
456
+ * Describes the message kal_txn.CoinDenomination.
457
+ * Use `create(CoinDenominationSchema)` to create a new message.
458
+ */
459
+ export declare const CoinDenominationSchema: GenMessage<CoinDenomination>;
460
+
461
+ /**
462
+ * @generated from message kal_txn.ContractFees
463
+ */
464
+ export declare type ContractFees = Message<"kal_txn.ContractFees"> & {
465
+ /**
466
+ * 100% && $1.00 = 1,000,000,000,000,000,000 (quintillion)
467
+ *
468
+ * @generated from field: string fee = 1;
469
+ */
470
+ fee: string;
471
+
472
+ /**
473
+ * address of contract holder (or the wallet they want fees to go to)
474
+ *
475
+ * @generated from field: optional bytes fee_address = 2;
476
+ */
477
+ feeAddress?: Uint8Array;
478
+
479
+ /**
480
+ * percent = 100% = 1000000000000000000 (quintillion)
481
+ *
482
+ * @generated from field: string burn = 3;
483
+ */
484
+ burn: string;
485
+
486
+ /**
487
+ * percent = 100% = 1000000000000000000 (quintillion)
488
+ *
489
+ * @generated from field: string validator = 4;
490
+ */
491
+ validator: string;
492
+
493
+ /**
494
+ * contract_ids that can be used to pay fees
495
+ *
496
+ * @generated from field: repeated string allowed_fee_instrument = 5;
497
+ */
498
+ allowedFeeInstrument: string[];
499
+
500
+ /**
501
+ * read CONTRACT_FEE_TYPE above
502
+ *
503
+ * @generated from field: kal_txn.CONTRACT_FEE_TYPE contract_fee_type = 6;
504
+ */
505
+ contractFeeType: CONTRACT_FEE_TYPE;
506
+ };
507
+
508
+ /**
509
+ * Describes the message kal_txn.ContractFees.
510
+ * Use `create(ContractFeesSchema)` to create a new message.
511
+ */
512
+ export declare const ContractFeesSchema: GenMessage<ContractFees>;
513
+
514
+ /**
515
+ * @generated from message kal_txn.ItemContractFees
516
+ */
517
+ export declare type ItemContractFees = Message<"kal_txn.ItemContractFees"> & {
518
+ /**
519
+ * $1.00 = 1000000000000000000 (quintillion)
520
+ *
521
+ * @generated from field: string fee = 1;
522
+ */
523
+ fee: string;
524
+
525
+ /**
526
+ * @generated from field: optional bytes fee_address = 2;
527
+ */
528
+ feeAddress?: Uint8Array;
529
+
530
+ /**
531
+ * @generated from field: string burn = 3;
532
+ */
533
+ burn: string;
534
+
535
+ /**
536
+ * @generated from field: string validator = 4;
537
+ */
538
+ validator: string;
539
+
540
+ /**
541
+ * @generated from field: repeated string allowed_fee_instrument = 5;
542
+ */
543
+ allowedFeeInstrument: string[];
544
+ };
545
+
546
+ /**
547
+ * Describes the message kal_txn.ItemContractFees.
548
+ * Use `create(ItemContractFeesSchema)` to create a new message.
549
+ */
550
+ export declare const ItemContractFeesSchema: GenMessage<ItemContractFees>;
551
+
552
+ /**
553
+ * @generated from message kal_txn.RestrictedKey
554
+ */
555
+ export declare type RestrictedKey = Message<"kal_txn.RestrictedKey"> & {
556
+ /**
557
+ * @generated from field: kal_txn.PublicKey public_key = 1;
558
+ */
559
+ publicKey?: PublicKey;
560
+
561
+ /**
562
+ * @generated from field: int64 time_delay = 2;
563
+ */
564
+ timeDelay: bigint;
565
+
566
+ /**
567
+ * @generated from field: bool update_contract = 4;
568
+ */
569
+ updateContract: boolean;
570
+
571
+ /**
572
+ * @generated from field: bool transfer = 5;
573
+ */
574
+ transfer: boolean;
575
+
576
+ /**
577
+ * @generated from field: bool quash = 6;
578
+ */
579
+ quash: boolean;
580
+
581
+ /**
582
+ * @generated from field: bool mint = 7;
583
+ */
584
+ mint: boolean;
585
+
586
+ /**
587
+ * @generated from field: bool vote = 8;
588
+ */
589
+ vote: boolean;
590
+
591
+ /**
592
+ * @generated from field: bool propose = 9;
593
+ */
594
+ propose: boolean;
595
+
596
+ /**
597
+ * @generated from field: bool compliance = 10;
598
+ */
599
+ compliance: boolean;
600
+
601
+ /**
602
+ * @generated from field: bool expense_ratio = 11;
603
+ */
604
+ expenseRatio: boolean;
605
+
606
+ /**
607
+ * @generated from field: bool revoke = 12;
608
+ */
609
+ revoke: boolean;
610
+
611
+ /**
612
+ * @generated from field: uint32 key_weight = 13;
613
+ */
614
+ keyWeight: number;
615
+ };
616
+
617
+ /**
618
+ * Describes the message kal_txn.RestrictedKey.
619
+ * Use `create(RestrictedKeySchema)` to create a new message.
620
+ */
621
+ export declare const RestrictedKeySchema: GenMessage<RestrictedKey>;
622
+
623
+ /**
624
+ * @generated from message kal_txn.ExpenseRatioTXN
625
+ */
626
+ export declare type ExpenseRatioTXN = Message<"kal_txn.ExpenseRatioTXN"> & {
627
+ /**
628
+ * @generated from field: kal_txn.BaseTXN base = 1;
629
+ */
630
+ base?: BaseTXN;
631
+
632
+ /**
633
+ * @generated from field: string contract_id = 2;
634
+ */
635
+ contractId: string;
636
+
637
+ /**
638
+ * @generated from field: repeated bytes addresses = 3;
639
+ */
640
+ addresses: Uint8Array[];
641
+
642
+ /**
643
+ * @generated from field: bytes output_address = 4;
644
+ */
645
+ outputAddress: Uint8Array;
646
+ };
647
+
648
+ /**
649
+ * Describes the message kal_txn.ExpenseRatioTXN.
650
+ * Use `create(ExpenseRatioTXNSchema)` to create a new message.
651
+ */
652
+ export declare const ExpenseRatioTXNSchema: GenMessage<ExpenseRatioTXN>;
653
+
654
+ /**
655
+ * @generated from message kal_txn.PreMintWallet
656
+ */
657
+ export declare type PreMintWallet = Message<"kal_txn.PreMintWallet"> & {
658
+ /**
659
+ * @generated from field: bytes address = 1;
660
+ */
661
+ address: Uint8Array;
662
+
663
+ /**
664
+ * @generated from field: string amount = 2;
665
+ */
666
+ amount: string;
667
+ };
668
+
669
+ /**
670
+ * Describes the message kal_txn.PreMintWallet.
671
+ * Use `create(PreMintWalletSchema)` to create a new message.
672
+ */
673
+ export declare const PreMintWalletSchema: GenMessage<PreMintWallet>;
674
+
675
+ /**
676
+ * @generated from message kal_txn.Transfer
677
+ */
678
+ export declare type Transfer = Message<"kal_txn.Transfer"> & {
679
+ /**
680
+ * @generated from field: bytes recipient_address = 1;
681
+ */
682
+ recipientAddress: Uint8Array;
683
+
684
+ /**
685
+ * @generated from field: string amount = 2;
686
+ */
687
+ amount: string;
688
+
689
+ /**
690
+ * @generated from field: string contract_id = 3;
691
+ */
692
+ contractId: string;
693
+
694
+ /**
695
+ * @generated from field: optional string contract_fee_amount = 4;
696
+ */
697
+ contractFeeAmount?: string;
698
+
699
+ /**
700
+ * @generated from field: optional string contract_fee_id = 5;
701
+ */
702
+ contractFeeId?: string;
703
+
704
+ /**
705
+ * @generated from field: string base_fee_amount = 6;
706
+ */
707
+ baseFeeAmount: string;
708
+
709
+ /**
710
+ * @generated from field: string base_fee_id = 7;
711
+ */
712
+ baseFeeId: string;
713
+
714
+ /**
715
+ * @generated from field: optional string memo = 8;
716
+ */
717
+ memo?: string;
718
+ };
719
+
720
+ /**
721
+ * Describes the message kal_txn.Transfer.
722
+ * Use `create(TransferSchema)` to create a new message.
723
+ */
724
+ export declare const TransferSchema: GenMessage<Transfer>;
725
+
726
+ /**
727
+ * @generated from message kal_txn.BurnSBTTXN
728
+ */
729
+ export declare type BurnSBTTXN = Message<"kal_txn.BurnSBTTXN"> & {
730
+ /**
731
+ * @generated from field: kal_txn.BaseTXN base = 1;
732
+ */
733
+ base?: BaseTXN;
734
+
735
+ /**
736
+ * @generated from field: string contract_id = 2;
737
+ */
738
+ contractId: string;
739
+
740
+ /**
741
+ * @generated from field: string item_id = 3;
742
+ */
743
+ itemId: string;
744
+ };
745
+
746
+ /**
747
+ * Describes the message kal_txn.BurnSBTTXN.
748
+ * Use `create(BurnSBTTXNSchema)` to create a new message.
749
+ */
750
+ export declare const BurnSBTTXNSchema: GenMessage<BurnSBTTXN>;
751
+
752
+ /**
753
+ * @generated from message kal_txn.BaseTXN
754
+ */
755
+ export declare type BaseTXN = Message<"kal_txn.BaseTXN"> & {
756
+ /**
757
+ * @generated from field: kal_txn.PublicKey public_key = 1;
758
+ */
759
+ publicKey?: PublicKey;
760
+
761
+ /**
762
+ * @generated from field: google.protobuf.Timestamp timestamp = 3;
763
+ */
764
+ timestamp?: Timestamp;
765
+
766
+ /**
767
+ * @generated from field: string fee_amount = 4;
768
+ */
769
+ feeAmount: string;
770
+
771
+ /**
772
+ * @generated from field: string fee_id = 5;
773
+ */
774
+ feeId: string;
775
+
776
+ /**
777
+ * @generated from field: optional bytes signature = 6;
778
+ */
779
+ signature?: Uint8Array;
780
+
781
+ /**
782
+ * @generated from field: optional bytes hash = 7;
783
+ */
784
+ hash?: Uint8Array;
785
+
786
+ /**
787
+ * @generated from field: optional string memo = 8;
788
+ */
789
+ memo?: string;
790
+
791
+ /**
792
+ * @generated from field: optional bool safe_send = 9;
793
+ */
794
+ safeSend?: boolean;
795
+
796
+ /**
797
+ * @generated from field: uint64 nonce = 10;
798
+ */
799
+ nonce: bigint;
800
+
801
+ /**
802
+ * @generated from field: optional string interface_fee = 11;
803
+ */
804
+ interfaceFee?: string;
805
+
806
+ /**
807
+ * @generated from field: optional string interface_fee_id = 12;
808
+ */
809
+ interfaceFeeId?: string;
810
+
811
+ /**
812
+ * @generated from field: optional bytes interface_address = 13;
813
+ */
814
+ interfaceAddress?: Uint8Array;
815
+
816
+ /**
817
+ * third party that pays this txn's fees (sponsored txns)
818
+ *
819
+ * @generated from field: optional kal_txn.FeePayer fee_payer = 15;
820
+ */
821
+ feePayer?: FeePayer;
822
+ };
823
+
824
+ /**
825
+ * Describes the message kal_txn.BaseTXN.
826
+ * Use `create(BaseTXNSchema)` to create a new message.
827
+ */
828
+ export declare const BaseTXNSchema: GenMessage<BaseTXN>;
829
+
830
+ /**
831
+ * A third party (sponsor) that agrees to pay the fees for a txn the user already signed.
832
+ * The sponsor signs the entire user-signed txn (user signature included) and provides their
833
+ * own nonce. v1 only accepts this on GovernanceVote txns.
834
+ *
835
+ * @generated from message kal_txn.FeePayer
836
+ */
837
+ export declare type FeePayer = Message<"kal_txn.FeePayer"> & {
838
+ /**
839
+ * sponsor's public key (single user key in v1)
840
+ *
841
+ * @generated from field: kal_txn.PublicKey public_key = 1;
842
+ */
843
+ publicKey?: PublicKey;
844
+
845
+ /**
846
+ * sponsor's signature over the user-signed txn (hash + this signature cleared)
847
+ *
848
+ * @generated from field: bytes signature = 2;
849
+ */
850
+ signature: Uint8Array;
851
+
852
+ /**
853
+ * sponsor's own nonce (replay protection on the sponsor wallet)
854
+ *
855
+ * @generated from field: uint64 nonce = 3;
856
+ */
857
+ nonce: bigint;
858
+ };
859
+
860
+ /**
861
+ * Describes the message kal_txn.FeePayer.
862
+ * Use `create(FeePayerSchema)` to create a new message.
863
+ */
864
+ export declare const FeePayerSchema: GenMessage<FeePayer>;
865
+
866
+ /**
867
+ * @generated from message kal_txn.PublicKey
868
+ */
869
+ export declare type PublicKey = Message<"kal_txn.PublicKey"> & {
870
+ /**
871
+ * @generated from field: bytes single = 1;
872
+ */
873
+ single: Uint8Array;
874
+
875
+ /**
876
+ * @generated from field: kal_txn.MultiKey multi = 2;
877
+ */
878
+ multi?: MultiKey;
879
+
880
+ /**
881
+ * @generated from field: optional bytes smart_contract_auth = 3;
882
+ */
883
+ smartContractAuth?: Uint8Array;
884
+
885
+ /**
886
+ *
887
+ *
888
+ * @generated from field: optional bytes governance_auth = 4;
889
+ */
890
+ governanceAuth?: Uint8Array;
891
+ };
892
+
893
+ /**
894
+ * Describes the message kal_txn.PublicKey.
895
+ * Use `create(PublicKeySchema)` to create a new message.
896
+ */
897
+ export declare const PublicKeySchema: GenMessage<PublicKey>;
898
+
899
+ /**
900
+ * @generated from message kal_txn.GovernanceAuth
901
+ */
902
+ export declare type GovernanceAuth = Message<"kal_txn.GovernanceAuth"> & {
903
+ /**
904
+ * @generated from field: bytes auth = 1;
905
+ */
906
+ auth: Uint8Array;
907
+
908
+ /**
909
+ * @generated from field: bytes proposal_id = 2;
910
+ */
911
+ proposalId: Uint8Array;
912
+ };
913
+
914
+ /**
915
+ * Describes the message kal_txn.GovernanceAuth.
916
+ * Use `create(GovernanceAuthSchema)` to create a new message.
917
+ */
918
+ export declare const GovernanceAuthSchema: GenMessage<GovernanceAuth>;
919
+
920
+ /**
921
+ * @generated from message kal_txn.MultiKey
922
+ */
923
+ export declare type MultiKey = Message<"kal_txn.MultiKey"> & {
924
+ /**
925
+ * public keys with class prefix ex. c1_"public_key"
926
+ *
927
+ * @generated from field: repeated bytes public_keys = 1;
928
+ */
929
+ publicKeys: Uint8Array[];
930
+
931
+ /**
932
+ * signature of each public key included "empty space if not included"
933
+ *
934
+ * @generated from field: repeated bytes signatures = 2;
935
+ */
936
+ signatures: Uint8Array[];
937
+
938
+ /**
939
+ * all diiferent patterns of to verify the multi key
940
+ *
941
+ * @generated from field: repeated kal_txn.MultiPatterns multi_patterns = 3;
942
+ */
943
+ multiPatterns: MultiPatterns[];
944
+
945
+ /**
946
+ * hash tokens to hash the multi key in wallet address
947
+ *
948
+ * @generated from field: repeated string hash_tokens = 4;
949
+ */
950
+ hashTokens: string[];
951
+ };
952
+
953
+ /**
954
+ * Describes the message kal_txn.MultiKey.
955
+ * Use `create(MultiKeySchema)` to create a new message.
956
+ */
957
+ export declare const MultiKeySchema: GenMessage<MultiKey>;
958
+
959
+ /**
960
+ * @generated from message kal_txn.MultiPatterns
961
+ */
962
+ export declare type MultiPatterns = Message<"kal_txn.MultiPatterns"> & {
963
+ /**
964
+ * these are a parrellel array of classes and how many of these classes are required to create a valid multi key
965
+ *
966
+ * @generated from field: repeated uint32 class = 1;
967
+ */
968
+ class: number[];
969
+
970
+ /**
971
+ * @generated from field: repeated uint32 required = 2;
972
+ */
973
+ required: number[];
974
+ };
975
+
976
+ /**
977
+ * Describes the message kal_txn.MultiPatterns.
978
+ * Use `create(MultiPatternsSchema)` to create a new message.
979
+ */
980
+ export declare const MultiPatternsSchema: GenMessage<MultiPatterns>;
981
+
982
+ /**
983
+ * @generated from message kal_txn.ExpenseRatioResult
984
+ */
985
+ export declare type ExpenseRatioResult = Message<"kal_txn.ExpenseRatioResult"> & {
986
+ /**
987
+ * @generated from field: string contract_id = 1;
988
+ */
989
+ contractId: string;
990
+
991
+ /**
992
+ * @generated from field: repeated kal_txn.Wallets wallets = 2;
993
+ */
994
+ wallets: Wallets[];
995
+
996
+ /**
997
+ * @generated from field: bytes hash = 3;
998
+ */
999
+ hash: Uint8Array;
1000
+
1001
+ /**
1002
+ * @generated from field: bytes recipient_address = 4;
1003
+ */
1004
+ recipientAddress: Uint8Array;
1005
+ };
1006
+
1007
+ /**
1008
+ * Describes the message kal_txn.ExpenseRatioResult.
1009
+ * Use `create(ExpenseRatioResultSchema)` to create a new message.
1010
+ */
1011
+ export declare const ExpenseRatioResultSchema: GenMessage<ExpenseRatioResult>;
1012
+
1013
+ /**
1014
+ * @generated from message kal_txn.ComplianceAssign
1015
+ */
1016
+ export declare type ComplianceAssign = Message<"kal_txn.ComplianceAssign"> & {
1017
+ /**
1018
+ * address of the wallet to assign compliance
1019
+ *
1020
+ * @generated from field: bytes recipient_address = 1;
1021
+ */
1022
+ recipientAddress: Uint8Array;
1023
+
1024
+ /**
1025
+ * compliance level to assign
1026
+ *
1027
+ * @generated from field: uint32 compliance_level = 2;
1028
+ */
1029
+ complianceLevel: number;
1030
+
1031
+ /**
1032
+ * true to assign compliance, false to revoke
1033
+ *
1034
+ * @generated from field: bool assign_revoke = 3;
1035
+ */
1036
+ assignRevoke: boolean;
1037
+
1038
+ /**
1039
+ * @generated from field: google.protobuf.Timestamp expiry = 4;
1040
+ */
1041
+ expiry?: Timestamp;
1042
+ };
1043
+
1044
+ /**
1045
+ * Describes the message kal_txn.ComplianceAssign.
1046
+ * Use `create(ComplianceAssignSchema)` to create a new message.
1047
+ */
1048
+ export declare const ComplianceAssignSchema: GenMessage<ComplianceAssign>;
1049
+
1050
+ /**
1051
+ * @generated from message kal_txn.ComplianceTXN
1052
+ */
1053
+ export declare type ComplianceTXN = Message<"kal_txn.ComplianceTXN"> & {
1054
+ /**
1055
+ * @generated from field: kal_txn.BaseTXN base = 1;
1056
+ */
1057
+ base?: BaseTXN;
1058
+
1059
+ /**
1060
+ * contract_id of the contract to assign compliance
1061
+ *
1062
+ * @generated from field: string contract_id = 2;
1063
+ */
1064
+ contractId: string;
1065
+
1066
+ /**
1067
+ * @generated from field: repeated kal_txn.ComplianceAssign compliance = 3;
1068
+ */
1069
+ compliance: ComplianceAssign[];
1070
+ };
1071
+
1072
+ /**
1073
+ * Describes the message kal_txn.ComplianceTXN.
1074
+ * Use `create(ComplianceTXNSchema)` to create a new message.
1075
+ */
1076
+ export declare const ComplianceTXNSchema: GenMessage<ComplianceTXN>;
1077
+
1078
+ /**
1079
+ * @generated from message kal_txn.Wallets
1080
+ */
1081
+ export declare type Wallets = Message<"kal_txn.Wallets"> & {
1082
+ /**
1083
+ * @generated from field: bytes address = 1;
1084
+ */
1085
+ address: Uint8Array;
1086
+
1087
+ /**
1088
+ * @generated from field: string amount = 2;
1089
+ */
1090
+ amount: string;
1091
+ };
1092
+
1093
+ /**
1094
+ * Describes the message kal_txn.Wallets.
1095
+ * Use `create(WalletsSchema)` to create a new message.
1096
+ */
1097
+ export declare const WalletsSchema: GenMessage<Wallets>;
1098
+
1099
+ /**
1100
+ * @generated from message kal_txn.QuashTXN
1101
+ */
1102
+ export declare type QuashTXN = Message<"kal_txn.QuashTXN"> & {
1103
+ /**
1104
+ * @generated from field: kal_txn.BaseTXN base = 1;
1105
+ */
1106
+ base?: BaseTXN;
1107
+
1108
+ /**
1109
+ * @generated from field: string contract_id = 2;
1110
+ */
1111
+ contractId: string;
1112
+
1113
+ /**
1114
+ * @generated from field: bytes txn_hash = 3;
1115
+ */
1116
+ txnHash: Uint8Array;
1117
+ };
1118
+
1119
+ /**
1120
+ * Describes the message kal_txn.QuashTXN.
1121
+ * Use `create(QuashTXNSchema)` to create a new message.
1122
+ */
1123
+ export declare const QuashTXNSchema: GenMessage<QuashTXN>;
1124
+
1125
+ /**
1126
+ * @generated from message kal_txn.QuashResult
1127
+ */
1128
+ export declare type QuashResult = Message<"kal_txn.QuashResult"> & {
1129
+ /**
1130
+ * @generated from field: bytes txn_hash = 1;
1131
+ */
1132
+ txnHash: Uint8Array;
1133
+
1134
+ /**
1135
+ * @generated from field: repeated kal_txn.PublicKey public_keys = 2;
1136
+ */
1137
+ publicKeys: PublicKey[];
1138
+ };
1139
+
1140
+ /**
1141
+ * Describes the message kal_txn.QuashResult.
1142
+ * Use `create(QuashResultSchema)` to create a new message.
1143
+ */
1144
+ export declare const QuashResultSchema: GenMessage<QuashResult>;
1145
+
1146
+ /**
1147
+ * @generated from message kal_txn.CoinTXN
1148
+ */
1149
+ export declare type CoinTXN = Message<"kal_txn.CoinTXN"> & {
1150
+ /**
1151
+ * @generated from field: kal_txn.BaseTXN base = 1;
1152
+ */
1153
+ base?: BaseTXN;
1154
+
1155
+ /**
1156
+ * @generated from field: string contract_id = 2;
1157
+ */
1158
+ contractId: string;
1159
+
1160
+ /**
1161
+ * @generated from field: kal_txn.TransferAuthentication auth = 3;
1162
+ */
1163
+ auth?: TransferAuthentication;
1164
+
1165
+ /**
1166
+ * @generated from field: repeated kal_txn.InputTransfers input_transfers = 4;
1167
+ */
1168
+ inputTransfers: InputTransfers[];
1169
+
1170
+ /**
1171
+ * @generated from field: repeated kal_txn.OutputTransfers output_transfers = 5;
1172
+ */
1173
+ outputTransfers: OutputTransfers[];
1174
+
1175
+ /**
1176
+ * @generated from field: optional string contract_fee_id = 6;
1177
+ */
1178
+ contractFeeId?: string;
1179
+
1180
+ /**
1181
+ * @generated from field: optional string contract_fee_amount = 7;
1182
+ */
1183
+ contractFeeAmount?: string;
1184
+ };
1185
+
1186
+ /**
1187
+ * Describes the message kal_txn.CoinTXN.
1188
+ * Use `create(CoinTXNSchema)` to create a new message.
1189
+ */
1190
+ export declare const CoinTXNSchema: GenMessage<CoinTXN>;
1191
+
1192
+ /**
1193
+ * @generated from message kal_txn.TransferAuthentication
1194
+ */
1195
+ export declare type TransferAuthentication = Message<"kal_txn.TransferAuthentication"> & {
1196
+ /**
1197
+ * @generated from field: repeated kal_txn.PublicKey public_key = 1;
1198
+ */
1199
+ publicKey: PublicKey[];
1200
+
1201
+ /**
1202
+ * @generated from field: repeated bytes signature = 2;
1203
+ */
1204
+ signature: Uint8Array[];
1205
+
1206
+ /**
1207
+ * @generated from field: repeated uint64 nonce = 3;
1208
+ */
1209
+ nonce: bigint[];
1210
+
1211
+ /**
1212
+ * @generated from field: repeated bytes allowance_address = 4;
1213
+ */
1214
+ allowanceAddress: Uint8Array[];
1215
+
1216
+ /**
1217
+ * @generated from field: repeated uint64 allowance_nonce = 5;
1218
+ */
1219
+ allowanceNonce: bigint[];
1220
+ };
1221
+
1222
+ /**
1223
+ * Describes the message kal_txn.TransferAuthentication.
1224
+ * Use `create(TransferAuthenticationSchema)` to create a new message.
1225
+ */
1226
+ export declare const TransferAuthenticationSchema: GenMessage<TransferAuthentication>;
1227
+
1228
+ /**
1229
+ * @generated from message kal_txn.InputTransfers
1230
+ */
1231
+ export declare type InputTransfers = Message<"kal_txn.InputTransfers"> & {
1232
+ /**
1233
+ * @generated from field: uint64 index = 1;
1234
+ */
1235
+ index: bigint;
1236
+
1237
+ /**
1238
+ * @generated from field: string amount = 2;
1239
+ */
1240
+ amount: string;
1241
+
1242
+ /**
1243
+ * 100 000 000 = 100%
1244
+ *
1245
+ * @generated from field: uint32 fee_percent = 3;
1246
+ */
1247
+ feePercent: number;
1248
+
1249
+ /**
1250
+ * 100 000 000 = 100%
1251
+ *
1252
+ * @generated from field: optional uint32 contract_fee_percent = 4;
1253
+ */
1254
+ contractFeePercent?: number;
1255
+ };
1256
+
1257
+ /**
1258
+ * Describes the message kal_txn.InputTransfers.
1259
+ * Use `create(InputTransfersSchema)` to create a new message.
1260
+ */
1261
+ export declare const InputTransfersSchema: GenMessage<InputTransfers>;
1262
+
1263
+ /**
1264
+ * @generated from message kal_txn.OutputTransfers
1265
+ */
1266
+ export declare type OutputTransfers = Message<"kal_txn.OutputTransfers"> & {
1267
+ /**
1268
+ * @generated from field: bytes wallet_address = 1;
1269
+ */
1270
+ walletAddress: Uint8Array;
1271
+
1272
+ /**
1273
+ * @generated from field: string amount = 2;
1274
+ */
1275
+ amount: string;
1276
+
1277
+ /**
1278
+ * @generated from field: optional string memo = 3;
1279
+ */
1280
+ memo?: string;
1281
+ };
1282
+
1283
+ /**
1284
+ * Describes the message kal_txn.OutputTransfers.
1285
+ * Use `create(OutputTransfersSchema)` to create a new message.
1286
+ */
1287
+ export declare const OutputTransfersSchema: GenMessage<OutputTransfers>;
1288
+
1289
+ /**
1290
+ * @generated from message kal_txn.MintTXN
1291
+ */
1292
+ export declare type MintTXN = Message<"kal_txn.MintTXN"> & {
1293
+ /**
1294
+ * @generated from field: kal_txn.BaseTXN base = 1;
1295
+ */
1296
+ base?: BaseTXN;
1297
+
1298
+ /**
1299
+ * @generated from field: string contract_id = 2;
1300
+ */
1301
+ contractId: string;
1302
+
1303
+ /**
1304
+ * @generated from field: string amount = 3;
1305
+ */
1306
+ amount: string;
1307
+
1308
+ /**
1309
+ * @generated from field: bytes recipient_address = 4;
1310
+ */
1311
+ recipientAddress: Uint8Array;
1312
+ };
1313
+
1314
+ /**
1315
+ * Describes the message kal_txn.MintTXN.
1316
+ * Use `create(MintTXNSchema)` to create a new message.
1317
+ */
1318
+ export declare const MintTXNSchema: GenMessage<MintTXN>;
1319
+
1320
+ /**
1321
+ * @generated from message kal_txn.NFTTXN
1322
+ */
1323
+ export declare type NFTTXN = Message<"kal_txn.NFTTXN"> & {
1324
+ /**
1325
+ * @generated from field: kal_txn.BaseTXN base = 1;
1326
+ */
1327
+ base?: BaseTXN;
1328
+
1329
+ /**
1330
+ * @generated from field: string contract_id = 2;
1331
+ */
1332
+ contractId: string;
1333
+
1334
+ /**
1335
+ * @generated from field: string item_id = 3;
1336
+ */
1337
+ itemId: string;
1338
+
1339
+ /**
1340
+ * @generated from field: bytes recipient_address = 4;
1341
+ */
1342
+ recipientAddress: Uint8Array;
1343
+
1344
+ /**
1345
+ * @generated from field: optional string contract_fee_amount = 5;
1346
+ */
1347
+ contractFeeAmount?: string;
1348
+
1349
+ /**
1350
+ * @generated from field: optional string contract_fee_id = 6;
1351
+ */
1352
+ contractFeeId?: string;
1353
+ };
1354
+
1355
+ /**
1356
+ * Describes the message kal_txn.NFTTXN.
1357
+ * Use `create(NFTTXNSchema)` to create a new message.
1358
+ */
1359
+ export declare const NFTTXNSchema: GenMessage<NFTTXN>;
1360
+
1361
+ /**
1362
+ * @generated from message kal_txn.ItemizedMintTXN
1363
+ */
1364
+ export declare type ItemizedMintTXN = Message<"kal_txn.ItemizedMintTXN"> & {
1365
+ /**
1366
+ * @generated from field: kal_txn.BaseTXN base = 1;
1367
+ */
1368
+ base?: BaseTXN;
1369
+
1370
+ /**
1371
+ * @generated from field: string contract_id = 2;
1372
+ */
1373
+ contractId: string;
1374
+
1375
+ /**
1376
+ * @generated from field: string item_id = 3;
1377
+ */
1378
+ itemId: string;
1379
+
1380
+ /**
1381
+ * @generated from field: bytes recipient_address = 4;
1382
+ */
1383
+ recipientAddress: Uint8Array;
1384
+
1385
+ /**
1386
+ * @generated from field: optional string voting_weight = 5;
1387
+ */
1388
+ votingWeight?: string;
1389
+
1390
+ /**
1391
+ * @generated from field: repeated kal_txn.KeyValuePair parameters = 6;
1392
+ */
1393
+ parameters: KeyValuePair[];
1394
+
1395
+ /**
1396
+ * @generated from field: optional uint64 expiry = 7;
1397
+ */
1398
+ expiry?: bigint;
1399
+
1400
+ /**
1401
+ * contract fees for specific item
1402
+ *
1403
+ * @generated from field: optional kal_txn.ItemContractFees contract_fees = 8;
1404
+ */
1405
+ contractFees?: ItemContractFees;
1406
+
1407
+ /**
1408
+ * @generated from field: optional uint64 valid_from = 9;
1409
+ */
1410
+ validFrom?: bigint;
1411
+ };
1412
+
1413
+ /**
1414
+ * Describes the message kal_txn.ItemizedMintTXN.
1415
+ * Use `create(ItemizedMintTXNSchema)` to create a new message.
1416
+ */
1417
+ export declare const ItemizedMintTXNSchema: GenMessage<ItemizedMintTXN>;
1418
+
1419
+ /**
1420
+ * @generated from message kal_txn.ContractUpdateTXN
1421
+ */
1422
+ export declare type ContractUpdateTXN = Message<"kal_txn.ContractUpdateTXN"> & {
1423
+ /**
1424
+ * @generated from field: kal_txn.BaseTXN base = 1;
1425
+ */
1426
+ base?: BaseTXN;
1427
+
1428
+ /**
1429
+ * @generated from field: string contract_id = 2;
1430
+ */
1431
+ contractId: string;
1432
+
1433
+ /**
1434
+ * @generated from field: uint64 contract_version = 3;
1435
+ */
1436
+ contractVersion: bigint;
1437
+
1438
+ /**
1439
+ * @generated from field: optional string name = 4;
1440
+ */
1441
+ name?: string;
1442
+
1443
+ /**
1444
+ * @generated from field: optional kal_txn.Governance governance = 5;
1445
+ */
1446
+ governance?: Governance;
1447
+
1448
+ /**
1449
+ * @generated from field: repeated kal_txn.RestrictedKey restricted_keys = 6;
1450
+ */
1451
+ restrictedKeys: RestrictedKey[];
1452
+
1453
+ /**
1454
+ * @generated from field: optional kal_txn.ContractFees contract_fees = 7;
1455
+ */
1456
+ contractFees?: ContractFees;
1457
+
1458
+ /**
1459
+ * @generated from field: repeated kal_txn.KeyValuePair custom_parameters = 8;
1460
+ */
1461
+ customParameters: KeyValuePair[];
1462
+
1463
+ /**
1464
+ * @generated from field: repeated kal_txn.ExpenseRatio expense_ratio = 9;
1465
+ */
1466
+ expenseRatio: ExpenseRatio[];
1467
+
1468
+ /**
1469
+ * Compliance levels for kyc compliance
1470
+ *
1471
+ * @generated from field: repeated kal_txn.TokenCompliance token_compliance = 10;
1472
+ */
1473
+ tokenCompliance: TokenCompliance[];
1474
+
1475
+ /**
1476
+ * if true, this contract will require kyc to transact
1477
+ *
1478
+ * @generated from field: optional bool kyc_status = 11;
1479
+ */
1480
+ kycStatus?: boolean;
1481
+
1482
+ /**
1483
+ * if kyc_status is true, this will make it immutable
1484
+ *
1485
+ * @generated from field: optional bool immutable_kyc_status = 12;
1486
+ */
1487
+ immutableKycStatus?: boolean;
1488
+
1489
+ /**
1490
+ * @generated from field: optional uint32 quash_threshold = 13;
1491
+ */
1492
+ quashThreshold?: number;
1493
+ };
1494
+
1495
+ /**
1496
+ * Describes the message kal_txn.ContractUpdateTXN.
1497
+ * Use `create(ContractUpdateTXNSchema)` to create a new message.
1498
+ */
1499
+ export declare const ContractUpdateTXNSchema: GenMessage<ContractUpdateTXN>;
1500
+
1501
+ /**
1502
+ * @generated from message kal_txn.InstrumentContract
1503
+ */
1504
+ export declare type InstrumentContract = Message<"kal_txn.InstrumentContract"> & {
1505
+ /**
1506
+ * @generated from field: kal_txn.BaseTXN base = 1;
1507
+ */
1508
+ base?: BaseTXN;
1509
+
1510
+ /**
1511
+ * @generated from field: uint64 contract_version = 2;
1512
+ */
1513
+ contractVersion: bigint;
1514
+
1515
+ /**
1516
+ * @generated from field: string symbol = 3;
1517
+ */
1518
+ symbol: string;
1519
+
1520
+ /**
1521
+ * @generated from field: string name = 4;
1522
+ */
1523
+ name: string;
1524
+
1525
+ /**
1526
+ * @generated from field: optional kal_txn.Governance governance = 5;
1527
+ */
1528
+ governance?: Governance;
1529
+
1530
+ /**
1531
+ * @generated from field: repeated kal_txn.RestrictedKey restricted_keys = 6;
1532
+ */
1533
+ restrictedKeys: RestrictedKey[];
1534
+
1535
+ /**
1536
+ * @generated from field: optional string max_supply = 7;
1537
+ */
1538
+ maxSupply?: string;
1539
+
1540
+ /**
1541
+ * @generated from field: optional kal_txn.ContractFees contract_fees = 8;
1542
+ */
1543
+ contractFees?: ContractFees;
1544
+
1545
+ /**
1546
+ * @generated from field: repeated kal_txn.PreMintWallet premint_wallets = 9;
1547
+ */
1548
+ premintWallets: PreMintWallet[];
1549
+
1550
+ /**
1551
+ * @generated from field: optional kal_txn.CoinDenomination coin_denomination = 10;
1552
+ */
1553
+ coinDenomination?: CoinDenomination;
1554
+
1555
+ /**
1556
+ * @generated from field: repeated kal_txn.KeyValuePair custom_parameters = 11;
1557
+ */
1558
+ customParameters: KeyValuePair[];
1559
+
1560
+ /**
1561
+ * @generated from field: string contract_id = 12;
1562
+ */
1563
+ contractId: string;
1564
+
1565
+ /**
1566
+ * @generated from field: repeated kal_txn.ExpenseRatio expense_ratio = 13;
1567
+ */
1568
+ expenseRatio: ExpenseRatio[];
1569
+
1570
+ /**
1571
+ * @generated from field: kal_txn.CONTRACT_TYPE type = 14;
1572
+ */
1573
+ type: CONTRACT_TYPE;
1574
+
1575
+ /**
1576
+ * @generated from field: bool update_contract_fees = 15;
1577
+ */
1578
+ updateContractFees: boolean;
1579
+
1580
+ /**
1581
+ * @generated from field: bool update_expense_ratio = 16;
1582
+ */
1583
+ updateExpenseRatio: boolean;
1584
+
1585
+ /**
1586
+ * total number of quash txns to quash a time delay txn
1587
+ *
1588
+ * @generated from field: optional uint32 quash_threshold = 17;
1589
+ */
1590
+ quashThreshold?: number;
1591
+
1592
+ /**
1593
+ * Compliance levels for each token that are manditory to transact with this contract
1594
+ *
1595
+ * @generated from field: repeated kal_txn.TokenCompliance token_compliance = 18;
1596
+ */
1597
+ tokenCompliance: TokenCompliance[];
1598
+
1599
+ /**
1600
+ * if true, this contract will require kyc to transact
1601
+ *
1602
+ * @generated from field: bool kyc_status = 19;
1603
+ */
1604
+ kycStatus: boolean;
1605
+
1606
+ /**
1607
+ * if kyc_status is true, this will make it immutable
1608
+ *
1609
+ * @generated from field: bool immutable_kyc_status = 20;
1610
+ */
1611
+ immutableKycStatus: boolean;
1612
+
1613
+ /**
1614
+ * @generated from field: repeated kal_txn.MaxSupplyRelease max_supply_release = 21;
1615
+ */
1616
+ maxSupplyRelease: MaxSupplyRelease[];
1617
+
1618
+ /**
1619
+ * contract ID search nonce; separate from BaseTXN replay nonce
1620
+ *
1621
+ * @generated from field: uint64 vanity_nonce = 22;
1622
+ */
1623
+ vanityNonce: bigint;
1624
+ };
1625
+
1626
+ /**
1627
+ * Describes the message kal_txn.InstrumentContract.
1628
+ * Use `create(InstrumentContractSchema)` to create a new message.
1629
+ */
1630
+ export declare const InstrumentContractSchema: GenMessage<InstrumentContract>;
1631
+
1632
+ /**
1633
+ * @generated from message kal_txn.MaxSupplyRelease
1634
+ */
1635
+ export declare type MaxSupplyRelease = Message<"kal_txn.MaxSupplyRelease"> & {
1636
+ /**
1637
+ * @generated from field: google.protobuf.Timestamp release_date = 1;
1638
+ */
1639
+ releaseDate?: Timestamp;
1640
+
1641
+ /**
1642
+ * @generated from field: string amount = 2;
1643
+ */
1644
+ amount: string;
1645
+ };
1646
+
1647
+ /**
1648
+ * Describes the message kal_txn.MaxSupplyRelease.
1649
+ * Use `create(MaxSupplyReleaseSchema)` to create a new message.
1650
+ */
1651
+ export declare const MaxSupplyReleaseSchema: GenMessage<MaxSupplyRelease>;
1652
+
1653
+ /**
1654
+ * @generated from message kal_txn.GovernanceVote
1655
+ */
1656
+ export declare type GovernanceVote = Message<"kal_txn.GovernanceVote"> & {
1657
+ /**
1658
+ * @generated from field: kal_txn.BaseTXN base = 1;
1659
+ */
1660
+ base?: BaseTXN;
1661
+
1662
+ /**
1663
+ * @generated from field: string contract_id = 2;
1664
+ */
1665
+ contractId: string;
1666
+
1667
+ /**
1668
+ * @generated from field: bytes proposal_id = 3;
1669
+ */
1670
+ proposalId: Uint8Array;
1671
+
1672
+ /**
1673
+ * @generated from field: optional bool support = 4;
1674
+ */
1675
+ support?: boolean;
1676
+
1677
+ /**
1678
+ * @generated from field: optional uint32 support_option = 5;
1679
+ */
1680
+ supportOption?: number;
1681
+ };
1682
+
1683
+ /**
1684
+ * Describes the message kal_txn.GovernanceVote.
1685
+ * Use `create(GovernanceVoteSchema)` to create a new message.
1686
+ */
1687
+ export declare const GovernanceVoteSchema: GenMessage<GovernanceVote>;
1688
+
1689
+ /**
1690
+ * @generated from message kal_txn.GovernanceProposal
1691
+ */
1692
+ export declare type GovernanceProposal = Message<"kal_txn.GovernanceProposal"> & {
1693
+ /**
1694
+ * @generated from field: kal_txn.BaseTXN base = 1;
1695
+ */
1696
+ base?: BaseTXN;
1697
+
1698
+ /**
1699
+ * @generated from field: string contract_id = 2;
1700
+ */
1701
+ contractId: string;
1702
+
1703
+ /**
1704
+ * @generated from field: string title = 3;
1705
+ */
1706
+ title: string;
1707
+
1708
+ /**
1709
+ * @generated from field: string synopsis = 4;
1710
+ */
1711
+ synopsis: string;
1712
+
1713
+ /**
1714
+ * @generated from field: string body = 5;
1715
+ */
1716
+ body: string;
1717
+
1718
+ /**
1719
+ * @generated from field: repeated string options = 6;
1720
+ */
1721
+ options: string[];
1722
+
1723
+ /**
1724
+ * @generated from field: optional google.protobuf.Timestamp start_timestamp = 7;
1725
+ */
1726
+ startTimestamp?: Timestamp;
1727
+
1728
+ /**
1729
+ * @generated from field: optional google.protobuf.Timestamp end_timestamp = 8;
1730
+ */
1731
+ endTimestamp?: Timestamp;
1732
+
1733
+ /**
1734
+ * @generated from field: repeated kal_txn.GovernanceTXN governance_txn = 9;
1735
+ */
1736
+ governanceTxn: GovernanceTXN[];
1737
+
1738
+ /**
1739
+ * @generated from field: repeated kal_txn.GovernanceOptionTXNS governance_option_txns = 10;
1740
+ */
1741
+ governanceOptionTxns: GovernanceOptionTXNS[];
1742
+
1743
+ /**
1744
+ * @generated from field: kal_txn.ProposalType proposal_type = 11;
1745
+ */
1746
+ proposalType: ProposalType;
1747
+ };
1748
+
1749
+ /**
1750
+ * Describes the message kal_txn.GovernanceProposal.
1751
+ * Use `create(GovernanceProposalSchema)` to create a new message.
1752
+ */
1753
+ export declare const GovernanceProposalSchema: GenMessage<GovernanceProposal>;
1754
+
1755
+ /**
1756
+ * @generated from message kal_txn.GovernanceOptionTXNS
1757
+ */
1758
+ export declare type GovernanceOptionTXNS = Message<"kal_txn.GovernanceOptionTXNS"> & {
1759
+ /**
1760
+ * @generated from field: repeated kal_txn.GovernanceTXN governance_txn = 1;
1761
+ */
1762
+ governanceTxn: GovernanceTXN[];
1763
+
1764
+ /**
1765
+ * @generated from field: int32 option_index = 2;
1766
+ */
1767
+ optionIndex: number;
1768
+ };
1769
+
1770
+ /**
1771
+ * Describes the message kal_txn.GovernanceOptionTXNS.
1772
+ * Use `create(GovernanceOptionTXNSSchema)` to create a new message.
1773
+ */
1774
+ export declare const GovernanceOptionTXNSSchema: GenMessage<GovernanceOptionTXNS>;
1775
+
1776
+ /**
1777
+ * @generated from message kal_txn.GovernanceTXN
1778
+ */
1779
+ export declare type GovernanceTXN = Message<"kal_txn.GovernanceTXN"> & {
1780
+ /**
1781
+ * @generated from field: kal_txn.TRANSACTION_TYPE txn_type = 1;
1782
+ */
1783
+ txnType: TRANSACTION_TYPE;
1784
+
1785
+ /**
1786
+ * @generated from field: bytes serialized_txn = 2;
1787
+ */
1788
+ serializedTxn: Uint8Array;
1789
+
1790
+ /**
1791
+ * @generated from field: bytes txn_hash = 3;
1792
+ */
1793
+ txnHash: Uint8Array;
1794
+ };
1795
+
1796
+ /**
1797
+ * Describes the message kal_txn.GovernanceTXN.
1798
+ * Use `create(GovernanceTXNSchema)` to create a new message.
1799
+ */
1800
+ export declare const GovernanceTXNSchema: GenMessage<GovernanceTXN>;
1801
+
1802
+ /**
1803
+ * @generated from message kal_txn.SmartContractTXN
1804
+ */
1805
+ export declare type SmartContractTXN = Message<"kal_txn.SmartContractTXN"> & {
1806
+ /**
1807
+ * @generated from field: kal_txn.BaseTXN base = 1;
1808
+ */
1809
+ base?: BaseTXN;
1810
+
1811
+ /**
1812
+ * @generated from field: string smart_contract_name = 4;
1813
+ */
1814
+ smartContractName: string;
1815
+
1816
+ /**
1817
+ * @generated from field: bytes binary_code = 2;
1818
+ */
1819
+ binaryCode: Uint8Array;
1820
+
1821
+ /**
1822
+ * @generated from field: bytes source_code = 7;
1823
+ */
1824
+ sourceCode: Uint8Array;
1825
+
1826
+ /**
1827
+ * @generated from field: kal_txn.LANGUAGE language = 3;
1828
+ */
1829
+ language: LANGUAGE;
1830
+
1831
+ /**
1832
+ * repeated string dependencies = 6;
1833
+ *
1834
+ * @generated from field: repeated string functions = 5;
1835
+ */
1836
+ functions: string[];
1837
+ };
1838
+
1839
+ /**
1840
+ * Describes the message kal_txn.SmartContractTXN.
1841
+ * Use `create(SmartContractTXNSchema)` to create a new message.
1842
+ */
1843
+ export declare const SmartContractTXNSchema: GenMessage<SmartContractTXN>;
1844
+
1845
+ /**
1846
+ * @generated from message kal_txn.Parameters
1847
+ */
1848
+ export declare type Parameters = Message<"kal_txn.Parameters"> & {
1849
+ /**
1850
+ * @generated from field: bytes value = 1;
1851
+ */
1852
+ value: Uint8Array;
1853
+
1854
+ /**
1855
+ * @generated from field: string type = 2;
1856
+ */
1857
+ type: string;
1858
+ };
1859
+
1860
+ /**
1861
+ * Describes the message kal_txn.Parameters.
1862
+ * Use `create(ParametersSchema)` to create a new message.
1863
+ */
1864
+ export declare const ParametersSchema: GenMessage<Parameters>;
1865
+
1866
+ /**
1867
+ * Per-execution outflow allowance, signed by the user as part of the
1868
+ * execute/instantiate txn. Bounds how much of a given token may leave the
1869
+ * user's wallet across the entire nested smart contract execution tree.
1870
+ *
1871
+ * @generated from message kal_txn.SmartContractAllowance
1872
+ */
1873
+ export declare type SmartContractAllowance = Message<"kal_txn.SmartContractAllowance"> & {
1874
+ /**
1875
+ * token whose outflow is capped
1876
+ *
1877
+ * @generated from field: string contract_id = 1;
1878
+ */
1879
+ contractId: string;
1880
+
1881
+ /**
1882
+ * max parts of token that may leave the user wallet this execution
1883
+ *
1884
+ * @generated from field: optional string allowed_amount = 2;
1885
+ */
1886
+ allowedAmount?: string;
1887
+
1888
+ /**
1889
+ * explicit opt-in: no cap for this token
1890
+ *
1891
+ * @generated from field: optional bool unlimited = 3;
1892
+ */
1893
+ unlimited?: boolean;
1894
+ };
1895
+
1896
+ /**
1897
+ * Describes the message kal_txn.SmartContractAllowance.
1898
+ * Use `create(SmartContractAllowanceSchema)` to create a new message.
1899
+ */
1900
+ export declare const SmartContractAllowanceSchema: GenMessage<SmartContractAllowance>;
1901
+
1902
+ /**
1903
+ * @generated from message kal_txn.SmartContractExecuteTXN
1904
+ */
1905
+ export declare type SmartContractExecuteTXN = Message<"kal_txn.SmartContractExecuteTXN"> & {
1906
+ /**
1907
+ * @generated from field: kal_txn.BaseTXN base = 1;
1908
+ */
1909
+ base?: BaseTXN;
1910
+
1911
+ /**
1912
+ * @generated from field: string smart_contract_name = 2;
1913
+ */
1914
+ smartContractName: string;
1915
+
1916
+ /**
1917
+ * @generated from field: uint32 instance = 3;
1918
+ */
1919
+ instance: number;
1920
+
1921
+ /**
1922
+ * @generated from field: string function = 4;
1923
+ */
1924
+ function: string;
1925
+
1926
+ /**
1927
+ * @generated from field: repeated kal_txn.Parameters parameters = 5;
1928
+ */
1929
+ parameters: Parameters[];
1930
+
1931
+ /**
1932
+ * @generated from field: repeated kal_txn.SmartContractAllowance allowances = 6;
1933
+ */
1934
+ allowances: SmartContractAllowance[];
1935
+ };
1936
+
1937
+ /**
1938
+ * Describes the message kal_txn.SmartContractExecuteTXN.
1939
+ * Use `create(SmartContractExecuteTXNSchema)` to create a new message.
1940
+ */
1941
+ export declare const SmartContractExecuteTXNSchema: GenMessage<SmartContractExecuteTXN>;
1942
+
1943
+ /**
1944
+ * @generated from message kal_txn.SmartContractInstantiateTXN
1945
+ */
1946
+ export declare type SmartContractInstantiateTXN = Message<"kal_txn.SmartContractInstantiateTXN"> & {
1947
+ /**
1948
+ * @generated from field: kal_txn.BaseTXN base = 1;
1949
+ */
1950
+ base?: BaseTXN;
1951
+
1952
+ /**
1953
+ * @generated from field: string smart_contract_name = 2;
1954
+ */
1955
+ smartContractName: string;
1956
+
1957
+ /**
1958
+ * @generated from field: uint32 instance = 3;
1959
+ */
1960
+ instance: number;
1961
+
1962
+ /**
1963
+ * @generated from field: repeated kal_txn.Parameters parameters = 4;
1964
+ */
1965
+ parameters: Parameters[];
1966
+
1967
+ /**
1968
+ * @generated from field: repeated kal_txn.SmartContractAllowance allowances = 5;
1969
+ */
1970
+ allowances: SmartContractAllowance[];
1971
+ };
1972
+
1973
+ /**
1974
+ * Describes the message kal_txn.SmartContractInstantiateTXN.
1975
+ * Use `create(SmartContractInstantiateTXNSchema)` to create a new message.
1976
+ */
1977
+ export declare const SmartContractInstantiateTXNSchema: GenMessage<SmartContractInstantiateTXN>;
1978
+
1979
+ /**
1980
+ * key = generated public key
1981
+ *
1982
+ * @generated from message kal_txn.Validator
1983
+ */
1984
+ export declare type Validator = Message<"kal_txn.Validator"> & {
1985
+ /**
1986
+ * original public key
1987
+ *
1988
+ * @generated from field: kal_txn.PublicKey public_key = 1;
1989
+ */
1990
+ publicKey?: PublicKey;
1991
+
1992
+ /**
1993
+ * @generated from field: string host = 2;
1994
+ */
1995
+ host: string;
1996
+
1997
+ /**
1998
+ * @generated from field: string client_port = 3;
1999
+ */
2000
+ clientPort: string;
2001
+
2002
+ /**
2003
+ * @generated from field: string validator_port = 4;
2004
+ */
2005
+ validatorPort: string;
2006
+
2007
+ /**
2008
+ * @generated from field: uint64 benchmark = 6;
2009
+ */
2010
+ benchmark: bigint;
2011
+
2012
+ /**
2013
+ * @generated from field: google.protobuf.Timestamp timestamp = 7;
2014
+ */
2015
+ timestamp?: Timestamp;
2016
+
2017
+ /**
2018
+ * @generated from field: bool lite = 8;
2019
+ */
2020
+ lite: boolean;
2021
+
2022
+ /**
2023
+ * @generated from field: bool online = 9;
2024
+ */
2025
+ online: boolean;
2026
+
2027
+ /**
2028
+ * @generated from field: uint32 version = 10;
2029
+ */
2030
+ version: number;
2031
+
2032
+ /**
2033
+ * @generated from field: uint64 last_heartbeat = 11;
2034
+ */
2035
+ lastHeartbeat: bigint;
2036
+ };
2037
+
2038
+ /**
2039
+ * Describes the message kal_txn.Validator.
2040
+ * Use `create(ValidatorSchema)` to create a new message.
2041
+ */
2042
+ export declare const ValidatorSchema: GenMessage<Validator>;
2043
+
2044
+ /**
2045
+ * @generated from message kal_txn.ValidatorRegistration
2046
+ */
2047
+ export declare type ValidatorRegistration = Message<"kal_txn.ValidatorRegistration"> & {
2048
+ /**
2049
+ * @generated from field: kal_txn.BaseTXN base = 1;
2050
+ */
2051
+ base?: BaseTXN;
2052
+
2053
+ /**
2054
+ * @generated from field: kal_txn.Validator validator = 2;
2055
+ */
2056
+ validator?: Validator;
2057
+
2058
+ /**
2059
+ * @generated from field: bool register = 3;
2060
+ */
2061
+ register: boolean;
2062
+
2063
+ /**
2064
+ * @generated from field: kal_txn.PublicKey generated_public_key = 4;
2065
+ */
2066
+ generatedPublicKey?: PublicKey;
2067
+
2068
+ /**
2069
+ * signature of the generated public key (signing txn hash)
2070
+ *
2071
+ * @generated from field: bytes generated_signature = 5;
2072
+ */
2073
+ generatedSignature: Uint8Array;
2074
+ };
2075
+
2076
+ /**
2077
+ * Describes the message kal_txn.ValidatorRegistration.
2078
+ * Use `create(ValidatorRegistrationSchema)` to create a new message.
2079
+ */
2080
+ export declare const ValidatorRegistrationSchema: GenMessage<ValidatorRegistration>;
2081
+
2082
+ /**
2083
+ * @generated from message kal_txn.ValidatorHeartbeat
2084
+ */
2085
+ export declare type ValidatorHeartbeat = Message<"kal_txn.ValidatorHeartbeat"> & {
2086
+ /**
2087
+ * @generated from field: kal_txn.BaseTXN base = 1;
2088
+ */
2089
+ base?: BaseTXN;
2090
+
2091
+ /**
2092
+ * @generated from field: bool online = 2;
2093
+ */
2094
+ online: boolean;
2095
+
2096
+ /**
2097
+ * @generated from field: uint32 version = 3;
2098
+ */
2099
+ version: number;
2100
+ };
2101
+
2102
+ /**
2103
+ * Describes the message kal_txn.ValidatorHeartbeat.
2104
+ * Use `create(ValidatorHeartbeatSchema)` to create a new message.
2105
+ */
2106
+ export declare const ValidatorHeartbeatSchema: GenMessage<ValidatorHeartbeat>;
2107
+
2108
+ /**
2109
+ * @generated from message kal_txn.SmartContractParameter
2110
+ */
2111
+ export declare type SmartContractParameter = Message<"kal_txn.SmartContractParameter"> & {
2112
+ /**
2113
+ * @generated from field: uint32 index = 1;
2114
+ */
2115
+ index: number;
2116
+
2117
+ /**
2118
+ * @generated from field: kal_txn.VARIABLE_TYPE type = 2;
2119
+ */
2120
+ type: VARIABLE_TYPE;
2121
+
2122
+ /**
2123
+ * @generated from field: optional string value = 3;
2124
+ */
2125
+ value?: string;
2126
+ };
2127
+
2128
+ /**
2129
+ * Describes the message kal_txn.SmartContractParameter.
2130
+ * Use `create(SmartContractParameterSchema)` to create a new message.
2131
+ */
2132
+ export declare const SmartContractParameterSchema: GenMessage<SmartContractParameter>;
2133
+
2134
+ /**
2135
+ * @generated from message kal_txn.Votes
2136
+ */
2137
+ export declare type Votes = Message<"kal_txn.Votes"> & {
2138
+ /**
2139
+ * @generated from field: repeated kal_txn.VotePair votes = 1;
2140
+ */
2141
+ votes: VotePair[];
2142
+ };
2143
+
2144
+ /**
2145
+ * Describes the message kal_txn.Votes.
2146
+ * Use `create(VotesSchema)` to create a new message.
2147
+ */
2148
+ export declare const VotesSchema: GenMessage<Votes>;
2149
+
2150
+ /**
2151
+ * @generated from message kal_txn.VotePair
2152
+ */
2153
+ export declare type VotePair = Message<"kal_txn.VotePair"> & {
2154
+ /**
2155
+ * @generated from field: string contract_id = 1;
2156
+ */
2157
+ contractId: string;
2158
+
2159
+ /**
2160
+ * @generated from field: string amount = 2;
2161
+ */
2162
+ amount: string;
2163
+ };
2164
+
2165
+ /**
2166
+ * Describes the message kal_txn.VotePair.
2167
+ * Use `create(VotePairSchema)` to create a new message.
2168
+ */
2169
+ export declare const VotePairSchema: GenMessage<VotePair>;
2170
+
2171
+ /**
2172
+ * @generated from message kal_txn.RequiredVersion
2173
+ */
2174
+ export declare type RequiredVersion = Message<"kal_txn.RequiredVersion"> & {
2175
+ /**
2176
+ * @generated from field: kal_txn.BaseTXN base = 1;
2177
+ */
2178
+ base?: BaseTXN;
2179
+
2180
+ /**
2181
+ * @generated from field: repeated uint32 version = 2;
2182
+ */
2183
+ version: number[];
2184
+ };
2185
+
2186
+ /**
2187
+ * Describes the message kal_txn.RequiredVersion.
2188
+ * Use `create(RequiredVersionSchema)` to create a new message.
2189
+ */
2190
+ export declare const RequiredVersionSchema: GenMessage<RequiredVersion>;
2191
+
2192
+ /**
2193
+ * @generated from message kal_txn.ProposalResult
2194
+ */
2195
+ export declare type ProposalResult = Message<"kal_txn.ProposalResult"> & {
2196
+ /**
2197
+ * @generated from field: kal_txn.BaseTXN base = 1;
2198
+ */
2199
+ base?: BaseTXN;
2200
+
2201
+ /**
2202
+ * contract_id of the proposal
2203
+ *
2204
+ * @generated from field: string contract_id = 2;
2205
+ */
2206
+ contractId: string;
2207
+
2208
+ /**
2209
+ * proposal_id of the proposal
2210
+ *
2211
+ * @generated from field: bytes proposal_id = 3;
2212
+ */
2213
+ proposalId: Uint8Array;
2214
+
2215
+ /**
2216
+ * cur_equiv of all the support votes (multiple contract_ids)
2217
+ *
2218
+ * @generated from field: optional string support_cur_equiv = 4;
2219
+ */
2220
+ supportCurEquiv?: string;
2221
+
2222
+ /**
2223
+ * cur_equiv of all the against votes (multiple contract_ids)
2224
+ *
2225
+ * @generated from field: optional string against_cur_equiv = 5;
2226
+ */
2227
+ againstCurEquiv?: string;
2228
+
2229
+ /**
2230
+ * cur_equiv of all the option votes (multiple contract_ids)
2231
+ *
2232
+ * @generated from field: repeated string option_cur_equiv = 6;
2233
+ */
2234
+ optionCurEquiv: string[];
2235
+
2236
+ /**
2237
+ * raw support votes of each contract_id
2238
+ *
2239
+ * @generated from field: optional kal_txn.Votes support_votes = 7;
2240
+ */
2241
+ supportVotes?: Votes;
2242
+
2243
+ /**
2244
+ * raw against votes of each contract_id
2245
+ *
2246
+ * @generated from field: optional kal_txn.Votes against_votes = 8;
2247
+ */
2248
+ againstVotes?: Votes;
2249
+
2250
+ /**
2251
+ * raw option votes of each contract_id
2252
+ *
2253
+ * @generated from field: repeated kal_txn.Votes option_votes = 9;
2254
+ */
2255
+ optionVotes: Votes[];
2256
+
2257
+ /**
2258
+ * @generated from field: bool passed = 10;
2259
+ */
2260
+ passed: boolean;
2261
+
2262
+ /**
2263
+ * @generated from field: bool final_stage = 11;
2264
+ */
2265
+ finalStage: boolean;
2266
+
2267
+ /**
2268
+ * @generated from field: uint32 stage = 12;
2269
+ */
2270
+ stage: number;
2271
+
2272
+ /**
2273
+ * CHANGE - if staged and proposal is accepted to next stage (top x yes votes / and passing)
2274
+ *
2275
+ * @generated from field: optional bool proposal_cut = 14;
2276
+ */
2277
+ proposalCut?: boolean;
2278
+
2279
+ /**
2280
+ * Result of the council-review phase
2281
+ *
2282
+ * @generated from field: optional bool pre_governance = 15;
2283
+ */
2284
+ preGovernance?: boolean;
2285
+ };
2286
+
2287
+ /**
2288
+ * Describes the message kal_txn.ProposalResult.
2289
+ * Use `create(ProposalResultSchema)` to create a new message.
2290
+ */
2291
+ export declare const ProposalResultSchema: GenMessage<ProposalResult>;
2292
+
2293
+ /**
2294
+ * @generated from message kal_txn.AllowanceTXN
2295
+ */
2296
+ export declare type AllowanceTXN = Message<"kal_txn.AllowanceTXN"> & {
2297
+ /**
2298
+ * @generated from field: kal_txn.BaseTXN base = 1;
2299
+ */
2300
+ base?: BaseTXN;
2301
+
2302
+ /**
2303
+ * contract id of the token to allow
2304
+ *
2305
+ * @generated from field: string contract_id = 2;
2306
+ */
2307
+ contractId: string;
2308
+
2309
+ /**
2310
+ * address of the wallet to allow
2311
+ *
2312
+ * @generated from field: bytes wallet_address = 3;
2313
+ */
2314
+ walletAddress: Uint8Array;
2315
+
2316
+ /**
2317
+ * 1000000000000000000 = $1.00 can only have either this or allowed_amount
2318
+ *
2319
+ * @generated from field: optional string allowed_currency_equivalent = 4;
2320
+ */
2321
+ allowedCurrencyEquivalent?: string;
2322
+
2323
+ /**
2324
+ * Amount of parts of token can only have either this or allowed_currency_equivalent
2325
+ *
2326
+ * @generated from field: optional string allowed_amount = 5;
2327
+ */
2328
+ allowedAmount?: string;
2329
+
2330
+ /**
2331
+ * How many months until this allowance resets, can only have this or period_seconds
2332
+ *
2333
+ * @generated from field: optional uint32 period_months = 6;
2334
+ */
2335
+ periodMonths?: number;
2336
+
2337
+ /**
2338
+ * How many seconds until this allowance resets, can only have this or period_months
2339
+ *
2340
+ * @generated from field: optional uint32 period_seconds = 7;
2341
+ */
2342
+ periodSeconds?: number;
2343
+
2344
+ /**
2345
+ * Start time of the allowance.
2346
+ *
2347
+ * @generated from field: google.protobuf.Timestamp start_time = 9;
2348
+ */
2349
+ startTime?: Timestamp;
2350
+
2351
+ /**
2352
+ * true to authorize, false to de-authorize
2353
+ *
2354
+ * @generated from field: bool authorize = 10;
2355
+ */
2356
+ authorize: boolean;
2357
+ };
2358
+
2359
+ /**
2360
+ * Describes the message kal_txn.AllowanceTXN.
2361
+ * Use `create(AllowanceTXNSchema)` to create a new message.
2362
+ */
2363
+ export declare const AllowanceTXNSchema: GenMessage<AllowanceTXN>;
2364
+
2365
+ /**
2366
+ * @generated from message kal_txn.TXNS
2367
+ */
2368
+ export declare type TXNS = Message<"kal_txn.TXNS"> & {
2369
+ /**
2370
+ * @generated from field: repeated kal_txn.CoinTXN coin_txns = 1;
2371
+ */
2372
+ coinTxns: CoinTXN[];
2373
+
2374
+ /**
2375
+ * @generated from field: repeated kal_txn.MintTXN mint_txns = 2;
2376
+ */
2377
+ mintTxns: MintTXN[];
2378
+
2379
+ /**
2380
+ * @generated from field: repeated kal_txn.ItemizedMintTXN item_mint_txns = 3;
2381
+ */
2382
+ itemMintTxns: ItemizedMintTXN[];
2383
+
2384
+ /**
2385
+ * @generated from field: repeated kal_txn.InstrumentContract contract_txns = 4;
2386
+ */
2387
+ contractTxns: InstrumentContract[];
2388
+
2389
+ /**
2390
+ * @generated from field: repeated kal_txn.GovernanceVote governance_votes = 5;
2391
+ */
2392
+ governanceVotes: GovernanceVote[];
2393
+
2394
+ /**
2395
+ * @generated from field: repeated kal_txn.GovernanceProposal governance_proposals = 6;
2396
+ */
2397
+ governanceProposals: GovernanceProposal[];
2398
+
2399
+ /**
2400
+ * @generated from field: repeated kal_txn.SmartContractTXN smart_contracts = 7;
2401
+ */
2402
+ smartContracts: SmartContractTXN[];
2403
+
2404
+ /**
2405
+ * @generated from field: repeated kal_txn.SmartContractExecuteTXN smart_contract_executes = 8;
2406
+ */
2407
+ smartContractExecutes: SmartContractExecuteTXN[];
2408
+
2409
+ /**
2410
+ * @generated from field: repeated kal_txn.ExpenseRatioTXN expense_ratios = 9;
2411
+ */
2412
+ expenseRatios: ExpenseRatioTXN[];
2413
+
2414
+ /**
2415
+ * @generated from field: repeated kal_txn.TXNStatusFees txn_fees_and_status = 10;
2416
+ */
2417
+ txnFeesAndStatus: TXNStatusFees[];
2418
+
2419
+ /**
2420
+ * @generated from field: repeated kal_txn.TokenFees token_fees = 11;
2421
+ */
2422
+ tokenFees: TokenFees[];
2423
+
2424
+ /**
2425
+ * @generated from field: repeated kal_txn.NFTTXN nft_txns = 12;
2426
+ */
2427
+ nftTxns: NFTTXN[];
2428
+
2429
+ /**
2430
+ * @generated from field: repeated kal_txn.ContractUpdateTXN contract_update_txns = 13;
2431
+ */
2432
+ contractUpdateTxns: ContractUpdateTXN[];
2433
+
2434
+ /**
2435
+ * @generated from field: repeated kal_txn.ValidatorRegistration validator_registration_txns = 14;
2436
+ */
2437
+ validatorRegistrationTxns: ValidatorRegistration[];
2438
+
2439
+ /**
2440
+ * @generated from field: repeated kal_txn.ValidatorHeartbeat validator_heartbeat_txns = 15;
2441
+ */
2442
+ validatorHeartbeatTxns: ValidatorHeartbeat[];
2443
+
2444
+ /**
2445
+ *
2446
+ *
2447
+ * @generated from field: repeated kal_txn.ProposalResult proposal_result_txns = 16;
2448
+ */
2449
+ proposalResultTxns: ProposalResult[];
2450
+
2451
+ /**
2452
+ * @generated from field: repeated kal_txn.ExpenseRatioResult expense_ratio_result_txns = 17;
2453
+ */
2454
+ expenseRatioResultTxns: ExpenseRatioResult[];
2455
+
2456
+ /**
2457
+ * @generated from field: repeated kal_txn.DelegatedTXN delegated_voting_txns = 18;
2458
+ */
2459
+ delegatedVotingTxns: DelegatedTXN[];
2460
+
2461
+ /**
2462
+ * @generated from field: repeated kal_txn.QuashTXN quash_txns = 19;
2463
+ */
2464
+ quashTxns: QuashTXN[];
2465
+
2466
+ /**
2467
+ * @generated from field: repeated kal_txn.QuashResult quash_results = 21;
2468
+ */
2469
+ quashResults: QuashResult[];
2470
+
2471
+ /**
2472
+ * @generated from field: repeated kal_txn.RevokeTXN revoke_txns = 22;
2473
+ */
2474
+ revokeTxns: RevokeTXN[];
2475
+
2476
+ /**
2477
+ * @generated from field: repeated kal_txn.ComplianceTXN compliance_txns = 23;
2478
+ */
2479
+ complianceTxns: ComplianceTXN[];
2480
+
2481
+ /**
2482
+ * @generated from field: repeated kal_txn.BurnSBTTXN burn_sbt_txns = 24;
2483
+ */
2484
+ burnSbtTxns: BurnSBTTXN[];
2485
+
2486
+ /**
2487
+ * @generated from field: repeated kal_txn.SmartContractInstantiateTXN smart_contract_instantiate_txns = 25;
2488
+ */
2489
+ smartContractInstantiateTxns: SmartContractInstantiateTXN[];
2490
+
2491
+ /**
2492
+ * @generated from field: optional kal_txn.RequiredVersion required_version_txn = 26;
2493
+ */
2494
+ requiredVersionTxn?: RequiredVersion;
2495
+
2496
+ /**
2497
+ * @generated from field: repeated kal_txn.AllowanceTXN allowance_txns = 27;
2498
+ */
2499
+ allowanceTxns: AllowanceTXN[];
2500
+
2501
+ /**
2502
+ * @generated from field: repeated kal_txn.ProposalCancelTXN proposal_cancel_txns = 28;
2503
+ */
2504
+ proposalCancelTxns: ProposalCancelTXN[];
2505
+ };
2506
+
2507
+ /**
2508
+ * Describes the message kal_txn.TXNS.
2509
+ * Use `create(TXNSSchema)` to create a new message.
2510
+ */
2511
+ export declare const TXNSSchema: GenMessage<TXNS>;
2512
+
2513
+ /**
2514
+ * @generated from message kal_txn.Token
2515
+ */
2516
+ export declare type Token = Message<"kal_txn.Token"> & {
2517
+ /**
2518
+ * @generated from field: string contract_id = 1;
2519
+ */
2520
+ contractId: string;
2521
+
2522
+ /**
2523
+ * @generated from field: string amount = 2;
2524
+ */
2525
+ amount: string;
2526
+ };
2527
+
2528
+ /**
2529
+ * Describes the message kal_txn.Token.
2530
+ * Use `create(TokenSchema)` to create a new message.
2531
+ */
2532
+ export declare const TokenSchema: GenMessage<Token>;
2533
+
2534
+ /**
2535
+ * @generated from message kal_txn.TokenFees
2536
+ */
2537
+ export declare type TokenFees = Message<"kal_txn.TokenFees"> & {
2538
+ /**
2539
+ * @generated from field: bytes address = 1;
2540
+ */
2541
+ address: Uint8Array;
2542
+
2543
+ /**
2544
+ * @generated from field: repeated kal_txn.Token tokens = 2;
2545
+ */
2546
+ tokens: Token[];
2547
+ };
2548
+
2549
+ /**
2550
+ * Describes the message kal_txn.TokenFees.
2551
+ * Use `create(TokenFeesSchema)` to create a new message.
2552
+ */
2553
+ export declare const TokenFeesSchema: GenMessage<TokenFees>;
2554
+
2555
+ /**
2556
+ * @generated from message kal_txn.DelegatedData
2557
+ */
2558
+ export declare type DelegatedData = Message<"kal_txn.DelegatedData"> & {
2559
+ /**
2560
+ * @generated from field: bytes address = 1;
2561
+ */
2562
+ address: Uint8Array;
2563
+
2564
+ /**
2565
+ * @generated from field: kal_txn.Token fee = 2;
2566
+ */
2567
+ fee?: Token;
2568
+ };
2569
+
2570
+ /**
2571
+ * Describes the message kal_txn.DelegatedData.
2572
+ * Use `create(DelegatedDataSchema)` to create a new message.
2573
+ */
2574
+ export declare const DelegatedDataSchema: GenMessage<DelegatedData>;
2575
+
2576
+ /**
2577
+ * @generated from message kal_txn.NestedResult
2578
+ */
2579
+ export declare type NestedResult = Message<"kal_txn.NestedResult"> & {
2580
+ /**
2581
+ * @generated from field: string smart_contract_name = 1;
2582
+ */
2583
+ smartContractName: string;
2584
+
2585
+ /**
2586
+ * @generated from field: uint32 smart_contract_instance = 2;
2587
+ */
2588
+ smartContractInstance: number;
2589
+
2590
+ /**
2591
+ * @generated from field: string function = 3;
2592
+ */
2593
+ function: string;
2594
+
2595
+ /**
2596
+ * @generated from field: repeated string emits = 4;
2597
+ */
2598
+ emits: string[];
2599
+ };
2600
+
2601
+ /**
2602
+ * Describes the message kal_txn.NestedResult.
2603
+ * Use `create(NestedResultSchema)` to create a new message.
2604
+ */
2605
+ export declare const NestedResultSchema: GenMessage<NestedResult>;
2606
+
2607
+ /**
2608
+ * @generated from message kal_txn.TXNStatusFees
2609
+ */
2610
+ export declare type TXNStatusFees = Message<"kal_txn.TXNStatusFees"> & {
2611
+ /**
2612
+ * @generated from field: bytes txn_hash = 1;
2613
+ */
2614
+ txnHash: Uint8Array;
2615
+
2616
+ /**
2617
+ * @generated from field: kal_txn.TXN_STATUS status = 2;
2618
+ */
2619
+ status: TXN_STATUS;
2620
+
2621
+ /**
2622
+ * @generated from field: string base_fees = 3;
2623
+ */
2624
+ baseFees: string;
2625
+
2626
+ /**
2627
+ * @generated from field: string base_contract_id = 4;
2628
+ */
2629
+ baseContractId: string;
2630
+
2631
+ /**
2632
+ * @generated from field: optional string contract_fees = 5;
2633
+ */
2634
+ contractFees?: string;
2635
+
2636
+ /**
2637
+ * @generated from field: optional string contract_contract_id = 6;
2638
+ */
2639
+ contractContractId?: string;
2640
+
2641
+ /**
2642
+ * @generated from field: bool smart_contract = 9;
2643
+ */
2644
+ smartContract: boolean;
2645
+
2646
+ /**
2647
+ * @generated from field: repeated bytes smart_contract_result = 10;
2648
+ */
2649
+ smartContractResult: Uint8Array[];
2650
+
2651
+ /**
2652
+ * @generated from field: repeated string misc = 11;
2653
+ */
2654
+ misc: string[];
2655
+
2656
+ /**
2657
+ * @generated from field: optional string native_function_fees = 12;
2658
+ */
2659
+ nativeFunctionFees?: string;
2660
+
2661
+ /**
2662
+ * @generated from field: optional uint64 gas = 13;
2663
+ */
2664
+ gas?: bigint;
2665
+
2666
+ /**
2667
+ * @generated from field: repeated kal_txn.DelegatedData delegated_data = 14;
2668
+ */
2669
+ delegatedData: DelegatedData[];
2670
+
2671
+ /**
2672
+ * @generated from field: optional string interface_fee = 15;
2673
+ */
2674
+ interfaceFee?: string;
2675
+
2676
+ /**
2677
+ * @generated from field: optional string interface_fee_id = 16;
2678
+ */
2679
+ interfaceFeeId?: string;
2680
+
2681
+ /**
2682
+ * @generated from field: repeated kal_txn.NestedResult nested_results = 17;
2683
+ */
2684
+ nestedResults: NestedResult[];
2685
+
2686
+ /**
2687
+ * root hash of the smart contract
2688
+ *
2689
+ * @generated from field: optional bytes root_hash = 18;
2690
+ */
2691
+ rootHash?: Uint8Array;
2692
+
2693
+ /**
2694
+ * @generated from field: optional uint64 proposal_identifier = 19;
2695
+ */
2696
+ proposalIdentifier?: bigint;
2697
+ };
2698
+
2699
+ /**
2700
+ * Describes the message kal_txn.TXNStatusFees.
2701
+ * Use `create(TXNStatusFeesSchema)` to create a new message.
2702
+ */
2703
+ export declare const TXNStatusFeesSchema: GenMessage<TXNStatusFees>;
2704
+
2705
+ /**
2706
+ * @generated from message kal_txn.ProposalContract
2707
+ */
2708
+ export declare type ProposalContract = Message<"kal_txn.ProposalContract"> & {
2709
+ /**
2710
+ * @generated from field: string contract_id = 1;
2711
+ */
2712
+ contractId: string;
2713
+
2714
+ /**
2715
+ * @generated from field: repeated bytes proposal_ids = 2;
2716
+ */
2717
+ proposalIds: Uint8Array[];
2718
+
2719
+ /**
2720
+ * @generated from field: uint32 stage = 3;
2721
+ */
2722
+ stage: number;
2723
+ };
2724
+
2725
+ /**
2726
+ * Describes the message kal_txn.ProposalContract.
2727
+ * Use `create(ProposalContractSchema)` to create a new message.
2728
+ */
2729
+ export declare const ProposalContractSchema: GenMessage<ProposalContract>;
2730
+
2731
+ /**
2732
+ * @generated from message kal_txn.TXNWrapper
2733
+ */
2734
+ export declare type TXNWrapper = Message<"kal_txn.TXNWrapper"> & {
2735
+ /**
2736
+ * @generated from oneof kal_txn.TXNWrapper.payload
2737
+ */
2738
+ payload: {
2739
+ /**
2740
+ * @generated from field: kal_txn.CoinTXN coin_txn = 1;
2741
+ */
2742
+ value: CoinTXN;
2743
+ case: "coinTxn";
2744
+ } | {
2745
+ /**
2746
+ * @generated from field: kal_txn.MintTXN mint_txn = 2;
2747
+ */
2748
+ value: MintTXN;
2749
+ case: "mintTxn";
2750
+ } | {
2751
+ /**
2752
+ * @generated from field: kal_txn.ItemizedMintTXN item_mint_txn = 3;
2753
+ */
2754
+ value: ItemizedMintTXN;
2755
+ case: "itemMintTxn";
2756
+ } | {
2757
+ /**
2758
+ * @generated from field: kal_txn.InstrumentContract contract_txn = 4;
2759
+ */
2760
+ value: InstrumentContract;
2761
+ case: "contractTxn";
2762
+ } | {
2763
+ /**
2764
+ * @generated from field: kal_txn.GovernanceVote governance_vote = 5;
2765
+ */
2766
+ value: GovernanceVote;
2767
+ case: "governanceVote";
2768
+ } | {
2769
+ /**
2770
+ * @generated from field: kal_txn.GovernanceProposal governance_proposal = 6;
2771
+ */
2772
+ value: GovernanceProposal;
2773
+ case: "governanceProposal";
2774
+ } | {
2775
+ /**
2776
+ * @generated from field: kal_txn.SmartContractTXN smart_contract = 7;
2777
+ */
2778
+ value: SmartContractTXN;
2779
+ case: "smartContract";
2780
+ } | {
2781
+ /**
2782
+ * @generated from field: kal_txn.SmartContractExecuteTXN smart_contract_execute = 8;
2783
+ */
2784
+ value: SmartContractExecuteTXN;
2785
+ case: "smartContractExecute";
2786
+ } | {
2787
+ /**
2788
+ * @generated from field: kal_txn.ExpenseRatioTXN expense_ratios = 9;
2789
+ */
2790
+ value: ExpenseRatioTXN;
2791
+ case: "expenseRatios";
2792
+ } | {
2793
+ /**
2794
+ * @generated from field: kal_txn.NFTTXN nft_txn = 10;
2795
+ */
2796
+ value: NFTTXN;
2797
+ case: "nftTxn";
2798
+ } | {
2799
+ /**
2800
+ * @generated from field: kal_txn.ContractUpdateTXN contract_update_txn = 11;
2801
+ */
2802
+ value: ContractUpdateTXN;
2803
+ case: "contractUpdateTxn";
2804
+ } | {
2805
+ /**
2806
+ * @generated from field: kal_txn.ValidatorRegistration validator_registration_txn = 12;
2807
+ */
2808
+ value: ValidatorRegistration;
2809
+ case: "validatorRegistrationTxn";
2810
+ } | {
2811
+ /**
2812
+ * @generated from field: kal_txn.ValidatorHeartbeat validator_heartbeat_txn = 13;
2813
+ */
2814
+ value: ValidatorHeartbeat;
2815
+ case: "validatorHeartbeatTxn";
2816
+ } | {
2817
+ /**
2818
+ * @generated from field: kal_txn.DelegatedTXN delegated_voting_txn = 14;
2819
+ */
2820
+ value: DelegatedTXN;
2821
+ case: "delegatedVotingTxn";
2822
+ } | {
2823
+ /**
2824
+ * @generated from field: kal_txn.QuashTXN quash_txn = 15;
2825
+ */
2826
+ value: QuashTXN;
2827
+ case: "quashTxn";
2828
+ } | {
2829
+ /**
2830
+ * @generated from field: kal_txn.RevokeTXN revoke_txn = 17;
2831
+ */
2832
+ value: RevokeTXN;
2833
+ case: "revokeTxn";
2834
+ } | {
2835
+ /**
2836
+ * @generated from field: kal_txn.ComplianceTXN compliance_txn = 18;
2837
+ */
2838
+ value: ComplianceTXN;
2839
+ case: "complianceTxn";
2840
+ } | {
2841
+ /**
2842
+ * @generated from field: bool proposal_result_txn = 19;
2843
+ */
2844
+ value: boolean;
2845
+ case: "proposalResultTxn";
2846
+ } | {
2847
+ /**
2848
+ * @generated from field: kal_txn.BurnSBTTXN burn_sbt_txn = 20;
2849
+ */
2850
+ value: BurnSBTTXN;
2851
+ case: "burnSbtTxn";
2852
+ } | {
2853
+ /**
2854
+ * @generated from field: kal_txn.RequiredVersion required_version_txn = 21;
2855
+ */
2856
+ value: RequiredVersion;
2857
+ case: "requiredVersionTxn";
2858
+ } | {
2859
+ /**
2860
+ * @generated from field: kal_txn.SmartContractInstantiateTXN smart_contract_instantiate_txn = 22;
2861
+ */
2862
+ value: SmartContractInstantiateTXN;
2863
+ case: "smartContractInstantiateTxn";
2864
+ } | {
2865
+ /**
2866
+ * @generated from field: kal_txn.AllowanceTXN allowance_txn = 23;
2867
+ */
2868
+ value: AllowanceTXN;
2869
+ case: "allowanceTxn";
2870
+ } | {
2871
+ /**
2872
+ * @generated from field: kal_txn.ProposalCancelTXN proposal_cancel_txn = 28;
2873
+ */
2874
+ value: ProposalCancelTXN;
2875
+ case: "proposalCancelTxn";
2876
+ } | { case: undefined; value?: undefined };
2877
+
2878
+ /**
2879
+ * @generated from field: kal_txn.TRANSACTION_TYPE txn_type = 24;
2880
+ */
2881
+ txnType: TRANSACTION_TYPE;
2882
+
2883
+ /**
2884
+ * @generated from field: repeated bytes proposal_ids = 25;
2885
+ */
2886
+ proposalIds: Uint8Array[];
2887
+
2888
+ /**
2889
+ * @generated from field: repeated kal_txn.ProposalContract proposal_contracts = 26;
2890
+ */
2891
+ proposalContracts: ProposalContract[];
2892
+
2893
+ /**
2894
+ * @generated from field: optional bool smart_contract_txn = 27;
2895
+ */
2896
+ smartContractTxn?: boolean;
2897
+ };
2898
+
2899
+ /**
2900
+ * Describes the message kal_txn.TXNWrapper.
2901
+ * Use `create(TXNWrapperSchema)` to create a new message.
2902
+ */
2903
+ export declare const TXNWrapperSchema: GenMessage<TXNWrapper>;
2904
+
2905
+ /**
2906
+ * @generated from enum kal_txn.TXN_STATUS
2907
+ */
2908
+ export enum TXN_STATUS {
2909
+ /**
2910
+ * @generated from enum value: OK = 0;
2911
+ */
2912
+ OK = 0,
2913
+
2914
+ /**
2915
+ * @generated from enum value: INVALID_PARAMETERS = 1;
2916
+ */
2917
+ INVALID_PARAMETERS = 1,
2918
+
2919
+ /**
2920
+ * @generated from enum value: INSUFFICIENT_AMOUNT = 2;
2921
+ */
2922
+ INSUFFICIENT_AMOUNT = 2,
2923
+
2924
+ /**
2925
+ * @generated from enum value: INSUFFICIENT_CONTRACT_FEES = 3;
2926
+ */
2927
+ INSUFFICIENT_CONTRACT_FEES = 3,
2928
+
2929
+ /**
2930
+ * @generated from enum value: AUTHORIZED_INSUFFICIENT_FEES = 4;
2931
+ */
2932
+ AUTHORIZED_INSUFFICIENT_FEES = 4,
2933
+
2934
+ /**
2935
+ * @generated from enum value: AUTHORIZED_INSUFFICIENT_CONTRACT_FEES = 5;
2936
+ */
2937
+ AUTHORIZED_INSUFFICIENT_CONTRACT_FEES = 5,
2938
+
2939
+ /**
2940
+ * @generated from enum value: INVALID_CONTRACT = 6;
2941
+ */
2942
+ INVALID_CONTRACT = 6,
2943
+
2944
+ /**
2945
+ * @generated from enum value: INVALID_AUTH_KEY = 7;
2946
+ */
2947
+ INVALID_AUTH_KEY = 7,
2948
+
2949
+ /**
2950
+ * @generated from enum value: INVALID_WALLET_ADDRESS = 8;
2951
+ */
2952
+ INVALID_WALLET_ADDRESS = 8,
2953
+
2954
+ /**
2955
+ * @generated from enum value: INVALID_MULTI_TRANSACTION = 9;
2956
+ */
2957
+ INVALID_MULTI_TRANSACTION = 9,
2958
+
2959
+ /**
2960
+ * @generated from enum value: INVALID_CONTRACT_PARAMETERS = 10;
2961
+ */
2962
+ INVALID_CONTRACT_PARAMETERS = 10,
2963
+
2964
+ /**
2965
+ * @generated from enum value: INVALID_CONTRACT_FEE_ID = 11;
2966
+ */
2967
+ INVALID_CONTRACT_FEE_ID = 11,
2968
+
2969
+ /**
2970
+ * @generated from enum value: INVALID_UINT256 = 12;
2971
+ */
2972
+ INVALID_UINT256 = 12,
2973
+
2974
+ /**
2975
+ * @generated from enum value: EXCEEDED_MAX_SUPPLY = 13;
2976
+ */
2977
+ EXCEEDED_MAX_SUPPLY = 13,
2978
+
2979
+ /**
2980
+ * @generated from enum value: INVALID_NFT = 14;
2981
+ */
2982
+ INVALID_NFT = 14,
2983
+
2984
+ /**
2985
+ * @generated from enum value: NFT_OWNERSHIP = 15;
2986
+ */
2987
+ NFT_OWNERSHIP = 15,
2988
+
2989
+ /**
2990
+ * @generated from enum value: VALIDATOR_ADDRESS = 16;
2991
+ */
2992
+ VALIDATOR_ADDRESS = 16,
2993
+
2994
+ /**
2995
+ * @generated from enum value: CONTRACT_HAS_NO_GOVERNANCE = 17;
2996
+ */
2997
+ CONTRACT_HAS_NO_GOVERNANCE = 17,
2998
+
2999
+ /**
3000
+ * @generated from enum value: INVALID_BASE_FEE_ID = 18;
3001
+ */
3002
+ INVALID_BASE_FEE_ID = 18,
3003
+
3004
+ /**
3005
+ * @generated from enum value: EXPENSE_RATIO_DUPLICATE = 19;
3006
+ */
3007
+ EXPENSE_RATIO_DUPLICATE = 19,
3008
+
3009
+ /**
3010
+ * @generated from enum value: RESTRICTED_SYMBOL = 20;
3011
+ */
3012
+ RESTRICTED_SYMBOL = 20,
3013
+
3014
+ /**
3015
+ * @generated from enum value: INVALID_PROPOSAL_ID = 21;
3016
+ */
3017
+ INVALID_PROPOSAL_ID = 21,
3018
+
3019
+ /**
3020
+ * @generated from enum value: PROPOSAL_NOT_IN_VOTING_PERIOD = 22;
3021
+ */
3022
+ PROPOSAL_NOT_IN_VOTING_PERIOD = 22,
3023
+
3024
+ /**
3025
+ * @generated from enum value: TIME_DELAY_INITIALIZED = 23;
3026
+ */
3027
+ TIME_DELAY_INITIALIZED = 23,
3028
+
3029
+ /**
3030
+ * @generated from enum value: INVALID_TXN_HASH = 24;
3031
+ */
3032
+ INVALID_TXN_HASH = 24,
3033
+
3034
+ /**
3035
+ * @generated from enum value: INVALID_TXN_TYPE = 25;
3036
+ */
3037
+ INVALID_TXN_TYPE = 25,
3038
+
3039
+ /**
3040
+ * @generated from enum value: TIME_DELAY_EXPIRED = 26;
3041
+ */
3042
+ TIME_DELAY_EXPIRED = 26,
3043
+
3044
+ /**
3045
+ * @generated from enum value: DUPLICATE_AUTH_KEY = 27;
3046
+ */
3047
+ DUPLICATE_AUTH_KEY = 27,
3048
+
3049
+ /**
3050
+ * @generated from enum value: KEY_WEIGHT_TOO_LOW = 28;
3051
+ */
3052
+ KEY_WEIGHT_TOO_LOW = 28,
3053
+
3054
+ /**
3055
+ * @generated from enum value: INVALID_ITEM = 29;
3056
+ */
3057
+ INVALID_ITEM = 29,
3058
+
3059
+ /**
3060
+ * @generated from enum value: INVALID_PROPOSAL = 30;
3061
+ */
3062
+ INVALID_PROPOSAL = 30,
3063
+
3064
+ /**
3065
+ * @generated from enum value: PROPOSAL_DOES_NOT_BELONG_TO_SENDER = 31;
3066
+ */
3067
+ PROPOSAL_DOES_NOT_BELONG_TO_SENDER = 31,
3068
+
3069
+ /**
3070
+ * @generated from enum value: INVALID_ADDRESS = 32;
3071
+ */
3072
+ INVALID_ADDRESS = 32,
3073
+
3074
+ /**
3075
+ * @generated from enum value: NO_CHANGE_TO_COMPLIANCE = 33;
3076
+ */
3077
+ NO_CHANGE_TO_COMPLIANCE = 33,
3078
+
3079
+ /**
3080
+ * @generated from enum value: COMPLIANCE_CHECK_FAILED = 34;
3081
+ */
3082
+ COMPLIANCE_CHECK_FAILED = 34,
3083
+
3084
+ /**
3085
+ * @generated from enum value: INVALID_SAFE_SEND = 35;
3086
+ */
3087
+ INVALID_SAFE_SEND = 35,
3088
+
3089
+ /**
3090
+ * @generated from enum value: INVALID_TXN_DATA = 36;
3091
+ */
3092
+ INVALID_TXN_DATA = 36,
3093
+
3094
+ /**
3095
+ * @generated from enum value: DUPLICATE_SMART_CONTRACT_NONCE = 37;
3096
+ */
3097
+ DUPLICATE_SMART_CONTRACT_NONCE = 37,
3098
+
3099
+ /**
3100
+ * @generated from enum value: INVALID_SMART_CONTRACT = 38;
3101
+ */
3102
+ INVALID_SMART_CONTRACT = 38,
3103
+
3104
+ /**
3105
+ * @generated from enum value: FAULTY_TXN = 39;
3106
+ */
3107
+ FAULTY_TXN = 39,
3108
+
3109
+ /**
3110
+ * @generated from enum value: OUT_OF_GAS = 40;
3111
+ */
3112
+ OUT_OF_GAS = 40,
3113
+
3114
+ /**
3115
+ * @generated from enum value: INVALID_ALLOWANCE = 41;
3116
+ */
3117
+ INVALID_ALLOWANCE = 41,
3118
+
3119
+ /**
3120
+ * @generated from enum value: SMART_CONTRACT_PANIC = 42;
3121
+ */
3122
+ SMART_CONTRACT_PANIC = 42,
3123
+
3124
+ /**
3125
+ * @generated from enum value: SMART_CONTRACT_CRASH = 43;
3126
+ */
3127
+ SMART_CONTRACT_CRASH = 43,
3128
+
3129
+ /**
3130
+ * @generated from enum value: INVALID_CONTRACT_ID = 44;
3131
+ */
3132
+ INVALID_CONTRACT_ID = 44,
3133
+ }
3134
+
3135
+ /**
3136
+ * Describes the enum kal_txn.TXN_STATUS.
3137
+ */
3138
+ export declare const TXN_STATUSSchema: GenEnum<TXN_STATUS>;
3139
+
3140
+ /**
3141
+ * @generated from enum kal_txn.TRANSACTION_TYPE
3142
+ */
3143
+ export enum TRANSACTION_TYPE {
3144
+ /**
3145
+ * @generated from enum value: UKNOWN_TYPE = 0;
3146
+ */
3147
+ UKNOWN_TYPE = 0,
3148
+
3149
+ /**
3150
+ * @generated from enum value: COIN_TYPE = 1;
3151
+ */
3152
+ COIN_TYPE = 1,
3153
+
3154
+ /**
3155
+ * @generated from enum value: MINT_TYPE = 2;
3156
+ */
3157
+ MINT_TYPE = 2,
3158
+
3159
+ /**
3160
+ * @generated from enum value: ITEM_MINT_TYPE = 3;
3161
+ */
3162
+ ITEM_MINT_TYPE = 3,
3163
+
3164
+ /**
3165
+ * @generated from enum value: CONTRACT_TXN_TYPE = 4;
3166
+ */
3167
+ CONTRACT_TXN_TYPE = 4,
3168
+
3169
+ /**
3170
+ * @generated from enum value: VOTE_TYPE = 5;
3171
+ */
3172
+ VOTE_TYPE = 5,
3173
+
3174
+ /**
3175
+ * @generated from enum value: PROPOSAL_TYPE = 6;
3176
+ */
3177
+ PROPOSAL_TYPE = 6,
3178
+
3179
+ /**
3180
+ * @generated from enum value: SMART_CONTRACT_TYPE = 7;
3181
+ */
3182
+ SMART_CONTRACT_TYPE = 7,
3183
+
3184
+ /**
3185
+ * @generated from enum value: SMART_CONTRACT_EXECUTE_TYPE = 8;
3186
+ */
3187
+ SMART_CONTRACT_EXECUTE_TYPE = 8,
3188
+
3189
+ /**
3190
+ * @generated from enum value: EXPENSE_RATIO_TYPE = 9;
3191
+ */
3192
+ EXPENSE_RATIO_TYPE = 9,
3193
+
3194
+ /**
3195
+ * @generated from enum value: NFT_TYPE = 10;
3196
+ */
3197
+ NFT_TYPE = 10,
3198
+
3199
+ /**
3200
+ * @generated from enum value: UPDATE_CONTRACT_TYPE = 11;
3201
+ */
3202
+ UPDATE_CONTRACT_TYPE = 11,
3203
+
3204
+ /**
3205
+ * @generated from enum value: VALIDATOR_REGISTRATION_TYPE = 12;
3206
+ */
3207
+ VALIDATOR_REGISTRATION_TYPE = 12,
3208
+
3209
+ /**
3210
+ * @generated from enum value: VALIDATOR_HEARTBEAT_TYPE = 13;
3211
+ */
3212
+ VALIDATOR_HEARTBEAT_TYPE = 13,
3213
+
3214
+ /**
3215
+ * @generated from enum value: PROPOSAL_RESULT_TYPE = 14;
3216
+ */
3217
+ PROPOSAL_RESULT_TYPE = 14,
3218
+
3219
+ /**
3220
+ * @generated from enum value: DELEGATED_VOTING_TYPE = 15;
3221
+ */
3222
+ DELEGATED_VOTING_TYPE = 15,
3223
+
3224
+ /**
3225
+ * @generated from enum value: REVOKE_TYPE = 16;
3226
+ */
3227
+ REVOKE_TYPE = 16,
3228
+
3229
+ /**
3230
+ * @generated from enum value: QUASH_TYPE = 17;
3231
+ */
3232
+ QUASH_TYPE = 17,
3233
+
3234
+ /**
3235
+ * @generated from enum value: COMPLIANCE_TYPE = 19;
3236
+ */
3237
+ COMPLIANCE_TYPE = 19,
3238
+
3239
+ /**
3240
+ * @generated from enum value: SBT_BURN_TYPE = 20;
3241
+ */
3242
+ SBT_BURN_TYPE = 20,
3243
+
3244
+ /**
3245
+ * @generated from enum value: REQUIRED_VERSION = 21;
3246
+ */
3247
+ REQUIRED_VERSION = 21,
3248
+
3249
+ /**
3250
+ * @generated from enum value: SMART_CONTRACT_INSTANTIATE_TYPE = 22;
3251
+ */
3252
+ SMART_CONTRACT_INSTANTIATE_TYPE = 22,
3253
+
3254
+ /**
3255
+ * @generated from enum value: ALLOWANCE_TYPE = 23;
3256
+ */
3257
+ ALLOWANCE_TYPE = 23,
3258
+
3259
+ /**
3260
+ * @generated from enum value: PROPOSAL_CANCEL_TYPE = 24;
3261
+ */
3262
+ PROPOSAL_CANCEL_TYPE = 24,
3263
+ }
3264
+
3265
+ /**
3266
+ * Describes the enum kal_txn.TRANSACTION_TYPE.
3267
+ */
3268
+ export declare const TRANSACTION_TYPESchema: GenEnum<TRANSACTION_TYPE>;
3269
+
3270
+ /**
3271
+ * ENUMS
3272
+ *
3273
+ * @generated from enum kal_txn.LANGUAGE
3274
+ */
3275
+ export enum LANGUAGE {
3276
+ /**
3277
+ * @generated from enum value: COMPILED = 0;
3278
+ */
3279
+ COMPILED = 0,
3280
+
3281
+ /**
3282
+ * @generated from enum value: PYTHON = 1;
3283
+ */
3284
+ PYTHON = 1,
3285
+
3286
+ /**
3287
+ * @generated from enum value: JAVASCRIPT = 2;
3288
+ */
3289
+ JAVASCRIPT = 2,
3290
+ }
3291
+
3292
+ /**
3293
+ * Describes the enum kal_txn.LANGUAGE.
3294
+ */
3295
+ export declare const LANGUAGESchema: GenEnum<LANGUAGE>;
3296
+
3297
+ /**
3298
+ * @generated from enum kal_txn.PROPOSAL_PERIOD
3299
+ */
3300
+ export enum PROPOSAL_PERIOD {
3301
+ /**
3302
+ * @generated from enum value: DAYS = 0;
3303
+ */
3304
+ DAYS = 0,
3305
+
3306
+ /**
3307
+ * @generated from enum value: MONTHS = 1;
3308
+ */
3309
+ MONTHS = 1,
3310
+ }
3311
+
3312
+ /**
3313
+ * Describes the enum kal_txn.PROPOSAL_PERIOD.
3314
+ */
3315
+ export declare const PROPOSAL_PERIODSchema: GenEnum<PROPOSAL_PERIOD>;
3316
+
3317
+ /**
3318
+ * @generated from enum kal_txn.VARIABLE_TYPE
3319
+ */
3320
+ export enum VARIABLE_TYPE {
3321
+ /**
3322
+ * @generated from enum value: INT = 0;
3323
+ */
3324
+ INT = 0,
3325
+
3326
+ /**
3327
+ * @generated from enum value: SHORT = 1;
3328
+ */
3329
+ SHORT = 1,
3330
+
3331
+ /**
3332
+ * @generated from enum value: LONG = 2;
3333
+ */
3334
+ LONG = 2,
3335
+
3336
+ /**
3337
+ * @generated from enum value: LONG_LONG = 3;
3338
+ */
3339
+ LONG_LONG = 3,
3340
+
3341
+ /**
3342
+ * @generated from enum value: BOOL = 4;
3343
+ */
3344
+ BOOL = 4,
3345
+
3346
+ /**
3347
+ * @generated from enum value: STRING = 5;
3348
+ */
3349
+ STRING = 5,
3350
+ }
3351
+
3352
+ /**
3353
+ * Describes the enum kal_txn.VARIABLE_TYPE.
3354
+ */
3355
+ export declare const VARIABLE_TYPESchema: GenEnum<VARIABLE_TYPE>;
3356
+
3357
+ /**
3358
+ * SUB MESSAGES
3359
+ *
3360
+ * @generated from enum kal_txn.CONTRACT_FEE_TYPE
3361
+ */
3362
+ export enum CONTRACT_FEE_TYPE {
3363
+ /**
3364
+ * @generated from enum value: FIXED = 0;
3365
+ */
3366
+ FIXED = 0,
3367
+
3368
+ /**
3369
+ * @generated from enum value: CUR_EQUIVALENT = 1;
3370
+ */
3371
+ CUR_EQUIVALENT = 1,
3372
+
3373
+ /**
3374
+ * @generated from enum value: PERCENTAGE = 2;
3375
+ */
3376
+ PERCENTAGE = 2,
3377
+
3378
+ /**
3379
+ * CHANGE - No fees for this contract
3380
+ *
3381
+ * @generated from enum value: NONE = 3;
3382
+ */
3383
+ NONE = 3,
3384
+ }
3385
+
3386
+ /**
3387
+ * Describes the enum kal_txn.CONTRACT_FEE_TYPE.
3388
+ */
3389
+ export declare const CONTRACT_FEE_TYPESchema: GenEnum<CONTRACT_FEE_TYPE>;
3390
+
3391
+ /**
3392
+ * @generated from enum kal_txn.GOVERNANCE_TYPE
3393
+ */
3394
+ export enum GOVERNANCE_TYPE {
3395
+ /**
3396
+ * Multiple stages of governance, must pass regular quorum to get to next stage. Up to 99 stages specified by contract creator (in days)
3397
+ *
3398
+ * @generated from enum value: STAGED = 0;
3399
+ */
3400
+ STAGED = 0,
3401
+
3402
+ /**
3403
+ * 1 specified voting stage based on days repeat this process once the cycle is complete (in days)
3404
+ *
3405
+ * @generated from enum value: CYCLE = 1;
3406
+ */
3407
+ CYCLE = 1,
3408
+
3409
+ /**
3410
+ * Every proposal has the same voting period length and starts when proposal is made (in days)
3411
+ *
3412
+ * @generated from enum value: STAGGERED = 2;
3413
+ */
3414
+ STAGGERED = 2,
3415
+
3416
+ /**
3417
+ * Every proposal has its own specified voting period (in days)
3418
+ *
3419
+ * @generated from enum value: ADAPTIVE = 3;
3420
+ */
3421
+ ADAPTIVE = 3,
3422
+
3423
+ /**
3424
+ * CHANGE - Remove governance from contract
3425
+ *
3426
+ * @generated from enum value: REMOVE = 4;
3427
+ */
3428
+ REMOVE = 4,
3429
+ }
3430
+
3431
+ /**
3432
+ * Describes the enum kal_txn.GOVERNANCE_TYPE.
3433
+ */
3434
+ export declare const GOVERNANCE_TYPESchema: GenEnum<GOVERNANCE_TYPE>;
3435
+
3436
+ /**
3437
+ * @generated from enum kal_txn.CONTRACT_TYPE
3438
+ */
3439
+ export enum CONTRACT_TYPE {
3440
+ /**
3441
+ * @generated from enum value: TOKEN = 0;
3442
+ */
3443
+ TOKEN = 0,
3444
+
3445
+ /**
3446
+ * @generated from enum value: NFT = 1;
3447
+ */
3448
+ NFT = 1,
3449
+
3450
+ /**
3451
+ * @generated from enum value: SBT = 2;
3452
+ */
3453
+ SBT = 2,
3454
+ }
3455
+
3456
+ /**
3457
+ * Describes the enum kal_txn.CONTRACT_TYPE.
3458
+ */
3459
+ export declare const CONTRACT_TYPESchema: GenEnum<CONTRACT_TYPE>;
3460
+
3461
+ /**
3462
+ * @generated from enum kal_txn.ProposalType
3463
+ */
3464
+ export enum ProposalType {
3465
+ /**
3466
+ * @generated from enum value: PROPOSAL_TYPE_NONE = 0;
3467
+ */
3468
+ NONE = 0,
3469
+
3470
+ /**
3471
+ * @generated from enum value: PROPOSAL_TYPE_PROPOSED = 1;
3472
+ */
3473
+ PROPOSED = 1,
3474
+
3475
+ /**
3476
+ * @generated from enum value: PROPOSAL_TYPE_GRANT = 2;
3477
+ */
3478
+ GRANT = 2,
3479
+
3480
+ /**
3481
+ * @generated from enum value: PROPOSAL_TYPE_RECIPROCAL = 3;
3482
+ */
3483
+ RECIPROCAL = 3,
3484
+
3485
+ /**
3486
+ * @generated from enum value: PROPOSAL_TYPE_OTHER = 4;
3487
+ */
3488
+ OTHER = 4,
3489
+ }
3490
+
3491
+ /**
3492
+ * Describes the enum kal_txn.ProposalType.
3493
+ */
3494
+ export declare const ProposalTypeSchema: GenEnum<ProposalType>;
3495
+
3496
+ /**
3497
+ * @generated from service kal_txn.TXNService
3498
+ */
3499
+ export declare const TXNService: GenService<{
3500
+ /**
3501
+ * @generated from rpc kal_txn.TXNService.Coin
3502
+ */
3503
+ coin: {
3504
+ methodKind: "unary";
3505
+ input: typeof CoinTXNSchema;
3506
+ output: typeof EmptySchema;
3507
+ },
3508
+ /**
3509
+ * @generated from rpc kal_txn.TXNService.Mint
3510
+ */
3511
+ mint: {
3512
+ methodKind: "unary";
3513
+ input: typeof MintTXNSchema;
3514
+ output: typeof EmptySchema;
3515
+ },
3516
+ /**
3517
+ * @generated from rpc kal_txn.TXNService.ItemMint
3518
+ */
3519
+ itemMint: {
3520
+ methodKind: "unary";
3521
+ input: typeof ItemizedMintTXNSchema;
3522
+ output: typeof EmptySchema;
3523
+ },
3524
+ /**
3525
+ * @generated from rpc kal_txn.TXNService.Contract
3526
+ */
3527
+ contract: {
3528
+ methodKind: "unary";
3529
+ input: typeof InstrumentContractSchema;
3530
+ output: typeof EmptySchema;
3531
+ },
3532
+ /**
3533
+ * @generated from rpc kal_txn.TXNService.GovernProposal
3534
+ */
3535
+ governProposal: {
3536
+ methodKind: "unary";
3537
+ input: typeof GovernanceProposalSchema;
3538
+ output: typeof EmptySchema;
3539
+ },
3540
+ /**
3541
+ * @generated from rpc kal_txn.TXNService.GovernVote
3542
+ */
3543
+ governVote: {
3544
+ methodKind: "unary";
3545
+ input: typeof GovernanceVoteSchema;
3546
+ output: typeof EmptySchema;
3547
+ },
3548
+ /**
3549
+ * @generated from rpc kal_txn.TXNService.SmartContract
3550
+ */
3551
+ smartContract: {
3552
+ methodKind: "unary";
3553
+ input: typeof SmartContractTXNSchema;
3554
+ output: typeof EmptySchema;
3555
+ },
3556
+ /**
3557
+ * @generated from rpc kal_txn.TXNService.SmartContractExecute
3558
+ */
3559
+ smartContractExecute: {
3560
+ methodKind: "unary";
3561
+ input: typeof SmartContractExecuteTXNSchema;
3562
+ output: typeof EmptySchema;
3563
+ },
3564
+ /**
3565
+ * @generated from rpc kal_txn.TXNService.SmartContractInstantiate
3566
+ */
3567
+ smartContractInstantiate: {
3568
+ methodKind: "unary";
3569
+ input: typeof SmartContractInstantiateTXNSchema;
3570
+ output: typeof EmptySchema;
3571
+ },
3572
+ /**
3573
+ * @generated from rpc kal_txn.TXNService.ExpenseRatio
3574
+ */
3575
+ expenseRatio: {
3576
+ methodKind: "unary";
3577
+ input: typeof ExpenseRatioTXNSchema;
3578
+ output: typeof EmptySchema;
3579
+ },
3580
+ /**
3581
+ * @generated from rpc kal_txn.TXNService.NFT
3582
+ */
3583
+ nFT: {
3584
+ methodKind: "unary";
3585
+ input: typeof NFTTXNSchema;
3586
+ output: typeof EmptySchema;
3587
+ },
3588
+ /**
3589
+ * @generated from rpc kal_txn.TXNService.ContractUpdate
3590
+ */
3591
+ contractUpdate: {
3592
+ methodKind: "unary";
3593
+ input: typeof ContractUpdateTXNSchema;
3594
+ output: typeof EmptySchema;
3595
+ },
3596
+ /**
3597
+ * @generated from rpc kal_txn.TXNService.DelegatedVoting
3598
+ */
3599
+ delegatedVoting: {
3600
+ methodKind: "unary";
3601
+ input: typeof DelegatedTXNSchema;
3602
+ output: typeof EmptySchema;
3603
+ },
3604
+ /**
3605
+ * @generated from rpc kal_txn.TXNService.Quash
3606
+ */
3607
+ quash: {
3608
+ methodKind: "unary";
3609
+ input: typeof QuashTXNSchema;
3610
+ output: typeof EmptySchema;
3611
+ },
3612
+ /**
3613
+ * @generated from rpc kal_txn.TXNService.Revoke
3614
+ */
3615
+ revoke: {
3616
+ methodKind: "unary";
3617
+ input: typeof RevokeTXNSchema;
3618
+ output: typeof EmptySchema;
3619
+ },
3620
+ /**
3621
+ * @generated from rpc kal_txn.TXNService.Compliance
3622
+ */
3623
+ compliance: {
3624
+ methodKind: "unary";
3625
+ input: typeof ComplianceTXNSchema;
3626
+ output: typeof EmptySchema;
3627
+ },
3628
+ /**
3629
+ * @generated from rpc kal_txn.TXNService.BurnSBT
3630
+ */
3631
+ burnSBT: {
3632
+ methodKind: "unary";
3633
+ input: typeof BurnSBTTXNSchema;
3634
+ output: typeof EmptySchema;
3635
+ },
3636
+ /**
3637
+ * @generated from rpc kal_txn.TXNService.Allowance
3638
+ */
3639
+ allowance: {
3640
+ methodKind: "unary";
3641
+ input: typeof AllowanceTXNSchema;
3642
+ output: typeof EmptySchema;
3643
+ },
3644
+ /**
3645
+ * @generated from rpc kal_txn.TXNService.ProposalCancel
3646
+ */
3647
+ proposalCancel: {
3648
+ methodKind: "unary";
3649
+ input: typeof ProposalCancelTXNSchema;
3650
+ output: typeof EmptySchema;
3651
+ },
3652
+ }>;
3653
+