@ottochain/sdk 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/README.md +305 -0
  2. package/dist/apps/contracts/index.d.ts +21 -0
  3. package/dist/apps/contracts/index.js +39 -0
  4. package/dist/apps/contracts/types.d.ts +24 -0
  5. package/dist/apps/contracts/types.js +48 -0
  6. package/dist/apps/identity/index.d.ts +22 -0
  7. package/dist/apps/identity/index.js +40 -0
  8. package/dist/apps/identity/types.d.ts +30 -0
  9. package/dist/apps/identity/types.js +53 -0
  10. package/dist/apps/index.d.ts +29 -0
  11. package/dist/apps/index.js +60 -0
  12. package/dist/apps/markets/index.d.ts +26 -0
  13. package/dist/apps/markets/index.js +46 -0
  14. package/dist/apps/markets/types.d.ts +185 -0
  15. package/dist/apps/markets/types.js +252 -0
  16. package/dist/apps/oracles/index.d.ts +26 -0
  17. package/dist/apps/oracles/index.js +46 -0
  18. package/dist/apps/oracles/types.d.ts +211 -0
  19. package/dist/apps/oracles/types.js +306 -0
  20. package/dist/cjs/apps/contracts/index.js +60 -0
  21. package/dist/cjs/apps/contracts/state-machines/contract.json +420 -0
  22. package/dist/cjs/apps/contracts/state-machines/escrow.json +426 -0
  23. package/dist/cjs/apps/contracts/types.js +48 -0
  24. package/dist/cjs/apps/corporate/index.js +112 -0
  25. package/dist/cjs/apps/corporate/state-machines/corporate-board.json +1064 -0
  26. package/dist/cjs/apps/corporate/state-machines/corporate-bylaws.json +751 -0
  27. package/dist/cjs/apps/corporate/state-machines/corporate-committee.json +957 -0
  28. package/dist/cjs/apps/corporate/state-machines/corporate-compliance.json +1293 -0
  29. package/dist/cjs/apps/corporate/state-machines/corporate-entity.json +861 -0
  30. package/dist/cjs/apps/corporate/state-machines/corporate-officers.json +843 -0
  31. package/dist/cjs/apps/corporate/state-machines/corporate-proxy.json +783 -0
  32. package/dist/cjs/apps/corporate/state-machines/corporate-resolution.json +1174 -0
  33. package/dist/cjs/apps/corporate/state-machines/corporate-securities.json +1215 -0
  34. package/dist/cjs/apps/corporate/state-machines/corporate-shareholders.json +1298 -0
  35. package/dist/cjs/apps/corporate/types.js +44 -0
  36. package/dist/cjs/apps/governance/index.js +203 -0
  37. package/dist/cjs/apps/governance/state-machines/dao-multisig.json +711 -0
  38. package/dist/cjs/apps/governance/state-machines/dao-single.json +258 -0
  39. package/dist/cjs/apps/governance/state-machines/dao-threshold.json +660 -0
  40. package/dist/cjs/apps/governance/state-machines/dao-token.json +680 -0
  41. package/dist/cjs/apps/governance/state-machines/governance-constitution.json +401 -0
  42. package/dist/cjs/apps/governance/state-machines/governance-executive.json +441 -0
  43. package/dist/cjs/apps/governance/state-machines/governance-judiciary.json +626 -0
  44. package/dist/cjs/apps/governance/state-machines/governance-legislature.json +726 -0
  45. package/dist/cjs/apps/governance/state-machines/governance-simple.json +679 -0
  46. package/dist/cjs/apps/governance/types.js +42 -0
  47. package/dist/cjs/apps/identity/constants.js +58 -0
  48. package/dist/cjs/apps/identity/index.js +78 -0
  49. package/dist/cjs/apps/identity/state-machines/agent-identity.json +320 -0
  50. package/dist/cjs/apps/identity/types.js +53 -0
  51. package/dist/cjs/apps/index.js +58 -0
  52. package/dist/cjs/apps/markets/index.js +55 -0
  53. package/dist/cjs/apps/markets/state-machines/market-universal.json +354 -0
  54. package/dist/cjs/apps/markets/types.js +219 -0
  55. package/dist/cjs/apps/oracles/index.js +62 -0
  56. package/dist/cjs/apps/oracles/state-machines/oracle.json +452 -0
  57. package/dist/cjs/apps/oracles/types.js +282 -0
  58. package/dist/cjs/errors.js +293 -0
  59. package/dist/cjs/generated/google/protobuf/struct.js +514 -0
  60. package/dist/cjs/generated/google/protobuf/timestamp.js +92 -0
  61. package/dist/cjs/generated/index.js +150 -0
  62. package/dist/cjs/generated/ottochain/apps/contracts/v1/contract.js +873 -0
  63. package/dist/cjs/generated/ottochain/apps/contracts/v1/contract_pb.js +100 -0
  64. package/dist/cjs/generated/ottochain/apps/corporate/v1/corporate.js +4515 -0
  65. package/dist/cjs/generated/ottochain/apps/corporate/v1/corporate_pb.js +392 -0
  66. package/dist/cjs/generated/ottochain/apps/governance/v1/governance.js +3255 -0
  67. package/dist/cjs/generated/ottochain/apps/governance/v1/governance_pb.js +235 -0
  68. package/dist/cjs/generated/ottochain/apps/identity/v1/agent.js +619 -0
  69. package/dist/cjs/generated/ottochain/apps/identity/v1/agent_pb.js +116 -0
  70. package/dist/cjs/generated/ottochain/apps/identity/v1/attestation.js +780 -0
  71. package/dist/cjs/generated/ottochain/apps/identity/v1/attestation_pb.js +79 -0
  72. package/dist/cjs/generated/ottochain/apps/markets/v1/market.js +1261 -0
  73. package/dist/cjs/generated/ottochain/apps/markets/v1/market_pb.js +151 -0
  74. package/dist/cjs/generated/ottochain/apps/oracles/v1/oracle.js +1223 -0
  75. package/dist/cjs/generated/ottochain/apps/oracles/v1/oracle_pb.js +109 -0
  76. package/dist/cjs/generated/ottochain/v1/common.js +10 -0
  77. package/dist/cjs/generated/ottochain/v1/common_pb.js +37 -0
  78. package/dist/cjs/generated/ottochain/v1/fiber.js +1057 -0
  79. package/dist/cjs/generated/ottochain/v1/fiber_pb.js +86 -0
  80. package/dist/cjs/generated/ottochain/v1/messages.js +740 -0
  81. package/dist/cjs/generated/ottochain/v1/messages_pb.js +44 -0
  82. package/dist/cjs/generated/ottochain/v1/records.js +1253 -0
  83. package/dist/cjs/generated/ottochain/v1/records_pb.js +44 -0
  84. package/dist/cjs/index.js +79 -0
  85. package/dist/cjs/metakit/binary.js +58 -0
  86. package/dist/cjs/metakit/canonicalize.js +40 -0
  87. package/dist/cjs/metakit/codec.js +45 -0
  88. package/dist/cjs/metakit/currency-transaction.js +319 -0
  89. package/dist/cjs/metakit/currency-types.js +13 -0
  90. package/dist/cjs/metakit/hash.js +84 -0
  91. package/dist/cjs/metakit/index.js +74 -0
  92. package/dist/cjs/metakit/network/client.js +78 -0
  93. package/dist/cjs/metakit/network/currency-l1-client.js +101 -0
  94. package/dist/cjs/metakit/network/data-l1-client.js +76 -0
  95. package/dist/cjs/metakit/network/index.js +16 -0
  96. package/dist/cjs/metakit/network/types.js +20 -0
  97. package/dist/cjs/metakit/sign.js +120 -0
  98. package/dist/cjs/metakit/signed-object.js +100 -0
  99. package/dist/cjs/metakit/types.js +14 -0
  100. package/dist/cjs/metakit/verify.js +217 -0
  101. package/dist/cjs/metakit/wallet.js +127 -0
  102. package/dist/cjs/ottochain/index.js +47 -0
  103. package/dist/cjs/ottochain/metagraph-client.js +157 -0
  104. package/dist/cjs/ottochain/snapshot.js +110 -0
  105. package/dist/cjs/ottochain/types.js +11 -0
  106. package/dist/cjs/package.json +1 -0
  107. package/dist/cjs/types.js +25 -0
  108. package/dist/cjs/validation.js +312 -0
  109. package/dist/errors.d.ts +221 -0
  110. package/dist/errors.js +293 -0
  111. package/dist/esm/apps/contracts/index.js +42 -0
  112. package/dist/esm/apps/contracts/state-machines/contract.json +420 -0
  113. package/dist/esm/apps/contracts/state-machines/escrow.json +426 -0
  114. package/dist/esm/apps/contracts/types.js +44 -0
  115. package/dist/esm/apps/corporate/index.js +57 -0
  116. package/dist/esm/apps/corporate/state-machines/corporate-board.json +1064 -0
  117. package/dist/esm/apps/corporate/state-machines/corporate-bylaws.json +751 -0
  118. package/dist/esm/apps/corporate/state-machines/corporate-committee.json +957 -0
  119. package/dist/esm/apps/corporate/state-machines/corporate-compliance.json +1293 -0
  120. package/dist/esm/apps/corporate/state-machines/corporate-entity.json +861 -0
  121. package/dist/esm/apps/corporate/state-machines/corporate-officers.json +843 -0
  122. package/dist/esm/apps/corporate/state-machines/corporate-proxy.json +783 -0
  123. package/dist/esm/apps/corporate/state-machines/corporate-resolution.json +1174 -0
  124. package/dist/esm/apps/corporate/state-machines/corporate-securities.json +1215 -0
  125. package/dist/esm/apps/corporate/state-machines/corporate-shareholders.json +1298 -0
  126. package/dist/esm/apps/corporate/types.js +38 -0
  127. package/dist/esm/apps/governance/index.js +154 -0
  128. package/dist/esm/apps/governance/state-machines/dao-multisig.json +711 -0
  129. package/dist/esm/apps/governance/state-machines/dao-single.json +258 -0
  130. package/dist/esm/apps/governance/state-machines/dao-threshold.json +660 -0
  131. package/dist/esm/apps/governance/state-machines/dao-token.json +680 -0
  132. package/dist/esm/apps/governance/state-machines/governance-constitution.json +401 -0
  133. package/dist/esm/apps/governance/state-machines/governance-executive.json +441 -0
  134. package/dist/esm/apps/governance/state-machines/governance-judiciary.json +626 -0
  135. package/dist/esm/apps/governance/state-machines/governance-legislature.json +726 -0
  136. package/dist/esm/apps/governance/state-machines/governance-simple.json +679 -0
  137. package/dist/esm/apps/governance/types.js +35 -0
  138. package/dist/esm/apps/identity/constants.js +53 -0
  139. package/dist/esm/apps/identity/index.js +50 -0
  140. package/dist/esm/apps/identity/state-machines/agent-identity.json +320 -0
  141. package/dist/esm/apps/identity/types.js +50 -0
  142. package/dist/esm/apps/index.js +32 -0
  143. package/dist/esm/apps/markets/index.js +34 -0
  144. package/dist/esm/apps/markets/state-machines/market-universal.json +354 -0
  145. package/dist/esm/apps/markets/types.js +206 -0
  146. package/dist/esm/apps/oracles/index.js +42 -0
  147. package/dist/esm/apps/oracles/state-machines/oracle.json +452 -0
  148. package/dist/esm/apps/oracles/types.js +267 -0
  149. package/dist/esm/errors.js +283 -0
  150. package/dist/esm/generated/google/protobuf/struct.js +508 -0
  151. package/dist/esm/generated/google/protobuf/timestamp.js +89 -0
  152. package/dist/esm/generated/index.js +26 -0
  153. package/dist/esm/generated/ottochain/apps/contracts/v1/contract.js +867 -0
  154. package/dist/esm/generated/ottochain/apps/contracts/v1/contract_pb.js +97 -0
  155. package/dist/esm/generated/ottochain/apps/corporate/v1/corporate.js +4493 -0
  156. package/dist/esm/generated/ottochain/apps/corporate/v1/corporate_pb.js +389 -0
  157. package/dist/esm/generated/ottochain/apps/governance/v1/governance.js +3240 -0
  158. package/dist/esm/generated/ottochain/apps/governance/v1/governance_pb.js +232 -0
  159. package/dist/esm/generated/ottochain/apps/identity/v1/agent.js +610 -0
  160. package/dist/esm/generated/ottochain/apps/identity/v1/agent_pb.js +113 -0
  161. package/dist/esm/generated/ottochain/apps/identity/v1/attestation.js +774 -0
  162. package/dist/esm/generated/ottochain/apps/identity/v1/attestation_pb.js +76 -0
  163. package/dist/esm/generated/ottochain/apps/markets/v1/market.js +1252 -0
  164. package/dist/esm/generated/ottochain/apps/markets/v1/market_pb.js +148 -0
  165. package/dist/esm/generated/ottochain/apps/oracles/v1/oracle.js +1217 -0
  166. package/dist/esm/generated/ottochain/apps/oracles/v1/oracle_pb.js +106 -0
  167. package/dist/esm/generated/ottochain/v1/common.js +7 -0
  168. package/dist/esm/generated/ottochain/v1/common_pb.js +34 -0
  169. package/dist/esm/generated/ottochain/v1/fiber.js +1051 -0
  170. package/dist/esm/generated/ottochain/v1/fiber_pb.js +83 -0
  171. package/dist/esm/generated/ottochain/v1/messages.js +737 -0
  172. package/dist/esm/generated/ottochain/v1/messages_pb.js +41 -0
  173. package/dist/esm/generated/ottochain/v1/records.js +1250 -0
  174. package/dist/esm/generated/ottochain/v1/records_pb.js +41 -0
  175. package/dist/esm/index.js +33 -0
  176. package/dist/esm/metakit/binary.js +53 -0
  177. package/dist/esm/metakit/canonicalize.js +33 -0
  178. package/dist/esm/metakit/codec.js +38 -0
  179. package/dist/esm/metakit/currency-transaction.js +306 -0
  180. package/dist/esm/metakit/currency-types.js +10 -0
  181. package/dist/esm/metakit/hash.js +77 -0
  182. package/dist/esm/metakit/index.js +30 -0
  183. package/dist/esm/metakit/network/client.js +74 -0
  184. package/dist/esm/metakit/network/currency-l1-client.js +97 -0
  185. package/dist/esm/metakit/network/data-l1-client.js +72 -0
  186. package/dist/esm/metakit/network/index.js +9 -0
  187. package/dist/esm/metakit/network/types.js +16 -0
  188. package/dist/esm/metakit/sign.js +114 -0
  189. package/dist/esm/metakit/signed-object.js +94 -0
  190. package/dist/esm/metakit/types.js +11 -0
  191. package/dist/esm/metakit/verify.js +210 -0
  192. package/dist/esm/metakit/wallet.js +117 -0
  193. package/dist/esm/ottochain/index.js +13 -0
  194. package/dist/esm/ottochain/metagraph-client.js +153 -0
  195. package/dist/esm/ottochain/snapshot.js +100 -0
  196. package/dist/esm/ottochain/types.js +10 -0
  197. package/dist/esm/package.json +1 -0
  198. package/dist/esm/types.js +20 -0
  199. package/dist/esm/validation.js +301 -0
  200. package/dist/generated/index.d.ts +15 -0
  201. package/dist/generated/index.js +34 -0
  202. package/dist/generated/ottochain/apps/contracts/v1/contract_pb.d.ts +274 -0
  203. package/dist/generated/ottochain/apps/contracts/v1/contract_pb.js +100 -0
  204. package/dist/generated/ottochain/apps/identity/v1/agent_pb.d.ts +211 -0
  205. package/dist/generated/ottochain/apps/identity/v1/agent_pb.js +116 -0
  206. package/dist/generated/ottochain/apps/identity/v1/attestation_pb.d.ts +238 -0
  207. package/dist/generated/ottochain/apps/identity/v1/attestation_pb.js +79 -0
  208. package/dist/generated/ottochain/apps/markets/v1/market_pb.d.ts +436 -0
  209. package/dist/generated/ottochain/apps/markets/v1/market_pb.js +151 -0
  210. package/dist/generated/ottochain/apps/oracles/v1/oracle_pb.d.ts +393 -0
  211. package/dist/generated/ottochain/apps/oracles/v1/oracle_pb.js +109 -0
  212. package/dist/generated/ottochain/v1/common_pb.d.ts +86 -0
  213. package/dist/generated/ottochain/v1/common_pb.js +37 -0
  214. package/dist/generated/ottochain/v1/fiber_pb.d.ts +292 -0
  215. package/dist/generated/ottochain/v1/fiber_pb.js +86 -0
  216. package/dist/generated/ottochain/v1/messages_pb.d.ts +190 -0
  217. package/dist/generated/ottochain/v1/messages_pb.js +44 -0
  218. package/dist/generated/ottochain/v1/records_pb.d.ts +221 -0
  219. package/dist/generated/ottochain/v1/records_pb.js +44 -0
  220. package/dist/index.d.ts +21 -0
  221. package/dist/index.js +77 -0
  222. package/dist/metakit/binary.d.ts +38 -0
  223. package/dist/metakit/binary.js +58 -0
  224. package/dist/metakit/canonicalize.d.ts +26 -0
  225. package/dist/metakit/canonicalize.js +40 -0
  226. package/dist/metakit/codec.d.ts +16 -0
  227. package/dist/metakit/codec.js +45 -0
  228. package/dist/metakit/currency-transaction.d.ts +157 -0
  229. package/dist/metakit/currency-transaction.js +319 -0
  230. package/dist/metakit/currency-types.d.ts +55 -0
  231. package/dist/metakit/currency-types.js +13 -0
  232. package/dist/metakit/hash.d.ts +50 -0
  233. package/dist/metakit/hash.js +84 -0
  234. package/dist/metakit/index.d.ts +23 -0
  235. package/dist/metakit/index.js +74 -0
  236. package/dist/metakit/network/client.d.ts +23 -0
  237. package/dist/metakit/network/client.js +78 -0
  238. package/dist/metakit/network/currency-l1-client.d.ts +71 -0
  239. package/dist/metakit/network/currency-l1-client.js +101 -0
  240. package/dist/metakit/network/data-l1-client.d.ts +57 -0
  241. package/dist/metakit/network/data-l1-client.js +76 -0
  242. package/dist/metakit/network/index.d.ts +10 -0
  243. package/dist/metakit/network/index.js +16 -0
  244. package/dist/metakit/network/types.d.ts +74 -0
  245. package/dist/metakit/network/types.js +20 -0
  246. package/dist/metakit/sign.d.ts +65 -0
  247. package/dist/metakit/sign.js +120 -0
  248. package/dist/metakit/signed-object.d.ts +66 -0
  249. package/dist/metakit/signed-object.js +100 -0
  250. package/dist/metakit/types.d.ts +67 -0
  251. package/dist/metakit/types.js +14 -0
  252. package/dist/metakit/verify.d.ts +55 -0
  253. package/dist/metakit/verify.js +217 -0
  254. package/dist/metakit/wallet.d.ts +70 -0
  255. package/dist/metakit/wallet.js +127 -0
  256. package/dist/ottochain/index.d.ts +13 -0
  257. package/dist/ottochain/index.js +45 -0
  258. package/dist/ottochain/metagraph-client.d.ts +111 -0
  259. package/dist/ottochain/metagraph-client.js +157 -0
  260. package/dist/ottochain/snapshot.d.ts +86 -0
  261. package/dist/ottochain/snapshot.js +110 -0
  262. package/dist/ottochain/types.d.ts +278 -0
  263. package/dist/ottochain/types.js +11 -0
  264. package/dist/types/apps/contracts/index.d.ts +30 -0
  265. package/dist/types/apps/contracts/types.d.ts +24 -0
  266. package/dist/types/apps/corporate/index.d.ts +27 -0
  267. package/dist/types/apps/corporate/types.d.ts +9861 -0
  268. package/dist/types/apps/governance/index.d.ts +77 -0
  269. package/dist/types/apps/governance/types.d.ts +344 -0
  270. package/dist/types/apps/identity/constants.d.ts +27 -0
  271. package/dist/types/apps/identity/index.d.ts +39 -0
  272. package/dist/types/apps/identity/types.d.ts +30 -0
  273. package/dist/types/apps/index.d.ts +31 -0
  274. package/dist/types/apps/markets/index.d.ts +26 -0
  275. package/dist/types/apps/markets/types.d.ts +155 -0
  276. package/dist/types/apps/oracles/index.d.ts +34 -0
  277. package/dist/types/apps/oracles/types.d.ts +193 -0
  278. package/dist/types/errors.d.ts +221 -0
  279. package/dist/types/generated/google/protobuf/struct.d.ts +134 -0
  280. package/dist/types/generated/google/protobuf/timestamp.d.ts +134 -0
  281. package/dist/types/generated/index.d.ts +18 -0
  282. package/dist/types/generated/ottochain/apps/contracts/v1/contract.d.ts +112 -0
  283. package/dist/types/generated/ottochain/apps/contracts/v1/contract_pb.d.ts +274 -0
  284. package/dist/types/generated/ottochain/apps/corporate/v1/corporate.d.ts +376 -0
  285. package/dist/types/generated/ottochain/apps/corporate/v1/corporate_pb.d.ts +1172 -0
  286. package/dist/types/generated/ottochain/apps/governance/v1/governance.d.ts +296 -0
  287. package/dist/types/generated/ottochain/apps/governance/v1/governance_pb.d.ts +772 -0
  288. package/dist/types/generated/ottochain/apps/identity/v1/agent.d.ts +94 -0
  289. package/dist/types/generated/ottochain/apps/identity/v1/agent_pb.d.ts +211 -0
  290. package/dist/types/generated/ottochain/apps/identity/v1/attestation.d.ts +102 -0
  291. package/dist/types/generated/ottochain/apps/identity/v1/attestation_pb.d.ts +238 -0
  292. package/dist/types/generated/ottochain/apps/markets/v1/market.d.ts +174 -0
  293. package/dist/types/generated/ottochain/apps/markets/v1/market_pb.d.ts +436 -0
  294. package/dist/types/generated/ottochain/apps/oracles/v1/oracle.d.ts +150 -0
  295. package/dist/types/generated/ottochain/apps/oracles/v1/oracle_pb.d.ts +393 -0
  296. package/dist/types/generated/ottochain/v1/common.d.ts +1 -0
  297. package/dist/types/generated/ottochain/v1/common_pb.d.ts +86 -0
  298. package/dist/types/generated/ottochain/v1/fiber.d.ts +130 -0
  299. package/dist/types/generated/ottochain/v1/fiber_pb.d.ts +292 -0
  300. package/dist/types/generated/ottochain/v1/messages.d.ts +89 -0
  301. package/dist/types/generated/ottochain/v1/messages_pb.d.ts +190 -0
  302. package/dist/types/generated/ottochain/v1/records.d.ts +128 -0
  303. package/dist/types/generated/ottochain/v1/records_pb.d.ts +221 -0
  304. package/dist/types/index.d.ts +22 -0
  305. package/dist/types/metakit/binary.d.ts +38 -0
  306. package/dist/types/metakit/canonicalize.d.ts +26 -0
  307. package/dist/types/metakit/codec.d.ts +16 -0
  308. package/dist/types/metakit/currency-transaction.d.ts +157 -0
  309. package/dist/types/metakit/currency-types.d.ts +55 -0
  310. package/dist/types/metakit/hash.d.ts +50 -0
  311. package/dist/types/metakit/index.d.ts +23 -0
  312. package/dist/types/metakit/network/client.d.ts +23 -0
  313. package/dist/types/metakit/network/currency-l1-client.d.ts +71 -0
  314. package/dist/types/metakit/network/data-l1-client.d.ts +57 -0
  315. package/dist/types/metakit/network/index.d.ts +10 -0
  316. package/dist/types/metakit/network/types.d.ts +74 -0
  317. package/dist/types/metakit/sign.d.ts +65 -0
  318. package/dist/types/metakit/signed-object.d.ts +66 -0
  319. package/dist/types/metakit/types.d.ts +67 -0
  320. package/dist/types/metakit/verify.d.ts +55 -0
  321. package/dist/types/metakit/wallet.d.ts +70 -0
  322. package/dist/types/ottochain/index.d.ts +13 -0
  323. package/dist/types/ottochain/metagraph-client.d.ts +111 -0
  324. package/dist/types/ottochain/snapshot.d.ts +86 -0
  325. package/dist/types/ottochain/types.d.ts +210 -0
  326. package/dist/types/types.d.ts +51 -0
  327. package/dist/types/validation.d.ts +449 -0
  328. package/dist/validation.d.ts +449 -0
  329. package/dist/validation.js +312 -0
  330. package/package.json +136 -0
@@ -0,0 +1,508 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.2
4
+ // protoc unknown
5
+ // source: google/protobuf/struct.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "google.protobuf";
9
+ /**
10
+ * `NullValue` is a singleton enumeration to represent the null value for the
11
+ * `Value` type union.
12
+ *
13
+ * The JSON representation for `NullValue` is JSON `null`.
14
+ */
15
+ export var NullValue;
16
+ (function (NullValue) {
17
+ /** NULL_VALUE - Null value. */
18
+ NullValue["NULL_VALUE"] = "NULL_VALUE";
19
+ NullValue["UNRECOGNIZED"] = "UNRECOGNIZED";
20
+ })(NullValue || (NullValue = {}));
21
+ export function nullValueFromJSON(object) {
22
+ switch (object) {
23
+ case 0:
24
+ case "NULL_VALUE":
25
+ return NullValue.NULL_VALUE;
26
+ case -1:
27
+ case "UNRECOGNIZED":
28
+ default:
29
+ return NullValue.UNRECOGNIZED;
30
+ }
31
+ }
32
+ export function nullValueToJSON(object) {
33
+ switch (object) {
34
+ case NullValue.NULL_VALUE:
35
+ return "NULL_VALUE";
36
+ case NullValue.UNRECOGNIZED:
37
+ default:
38
+ return "UNRECOGNIZED";
39
+ }
40
+ }
41
+ export function nullValueToNumber(object) {
42
+ switch (object) {
43
+ case NullValue.NULL_VALUE:
44
+ return 0;
45
+ case NullValue.UNRECOGNIZED:
46
+ default:
47
+ return -1;
48
+ }
49
+ }
50
+ function createBaseStruct() {
51
+ return { fields: {} };
52
+ }
53
+ export const Struct = {
54
+ encode(message, writer = new BinaryWriter()) {
55
+ globalThis.Object.entries(message.fields).forEach(([key, value]) => {
56
+ if (value !== undefined) {
57
+ Struct_FieldsEntry.encode({ key: key, value }, writer.uint32(10).fork()).join();
58
+ }
59
+ });
60
+ return writer;
61
+ },
62
+ decode(input, length) {
63
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
64
+ const end = length === undefined ? reader.len : reader.pos + length;
65
+ const message = createBaseStruct();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1: {
70
+ if (tag !== 10) {
71
+ break;
72
+ }
73
+ const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32());
74
+ if (entry1.value !== undefined) {
75
+ message.fields[entry1.key] = entry1.value;
76
+ }
77
+ continue;
78
+ }
79
+ }
80
+ if ((tag & 7) === 4 || tag === 0) {
81
+ break;
82
+ }
83
+ reader.skip(tag & 7);
84
+ }
85
+ return message;
86
+ },
87
+ fromJSON(object) {
88
+ return {
89
+ fields: isObject(object.fields)
90
+ ? globalThis.Object.entries(object.fields).reduce((acc, [key, value]) => {
91
+ acc[key] = value;
92
+ return acc;
93
+ }, {})
94
+ : {},
95
+ };
96
+ },
97
+ toJSON(message) {
98
+ const obj = {};
99
+ if (message.fields) {
100
+ const entries = globalThis.Object.entries(message.fields);
101
+ if (entries.length > 0) {
102
+ obj.fields = {};
103
+ entries.forEach(([k, v]) => {
104
+ obj.fields[k] = v;
105
+ });
106
+ }
107
+ }
108
+ return obj;
109
+ },
110
+ create(base) {
111
+ return Struct.fromPartial(base ?? {});
112
+ },
113
+ fromPartial(object) {
114
+ const message = createBaseStruct();
115
+ message.fields = globalThis.Object.entries(object.fields ?? {}).reduce((acc, [key, value]) => {
116
+ if (value !== undefined) {
117
+ acc[key] = value;
118
+ }
119
+ return acc;
120
+ }, {});
121
+ return message;
122
+ },
123
+ wrap(object) {
124
+ const struct = createBaseStruct();
125
+ if (object !== undefined) {
126
+ for (const key of globalThis.Object.keys(object)) {
127
+ struct.fields[key] = object[key];
128
+ }
129
+ }
130
+ return struct;
131
+ },
132
+ unwrap(message) {
133
+ const object = {};
134
+ if (message.fields) {
135
+ for (const key of globalThis.Object.keys(message.fields)) {
136
+ object[key] = message.fields[key];
137
+ }
138
+ }
139
+ return object;
140
+ },
141
+ };
142
+ function createBaseStruct_FieldsEntry() {
143
+ return { key: "", value: undefined };
144
+ }
145
+ export const Struct_FieldsEntry = {
146
+ encode(message, writer = new BinaryWriter()) {
147
+ if (message.key !== "") {
148
+ writer.uint32(10).string(message.key);
149
+ }
150
+ if (message.value !== undefined) {
151
+ Value.encode(Value.wrap(message.value), writer.uint32(18).fork()).join();
152
+ }
153
+ return writer;
154
+ },
155
+ decode(input, length) {
156
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
157
+ const end = length === undefined ? reader.len : reader.pos + length;
158
+ const message = createBaseStruct_FieldsEntry();
159
+ while (reader.pos < end) {
160
+ const tag = reader.uint32();
161
+ switch (tag >>> 3) {
162
+ case 1: {
163
+ if (tag !== 10) {
164
+ break;
165
+ }
166
+ message.key = reader.string();
167
+ continue;
168
+ }
169
+ case 2: {
170
+ if (tag !== 18) {
171
+ break;
172
+ }
173
+ message.value = Value.unwrap(Value.decode(reader, reader.uint32()));
174
+ continue;
175
+ }
176
+ }
177
+ if ((tag & 7) === 4 || tag === 0) {
178
+ break;
179
+ }
180
+ reader.skip(tag & 7);
181
+ }
182
+ return message;
183
+ },
184
+ fromJSON(object) {
185
+ return {
186
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
187
+ value: isSet(object?.value) ? object.value : undefined,
188
+ };
189
+ },
190
+ toJSON(message) {
191
+ const obj = {};
192
+ if (message.key !== "") {
193
+ obj.key = message.key;
194
+ }
195
+ if (message.value !== undefined) {
196
+ obj.value = message.value;
197
+ }
198
+ return obj;
199
+ },
200
+ create(base) {
201
+ return Struct_FieldsEntry.fromPartial(base ?? {});
202
+ },
203
+ fromPartial(object) {
204
+ const message = createBaseStruct_FieldsEntry();
205
+ message.key = object.key ?? "";
206
+ message.value = object.value ?? undefined;
207
+ return message;
208
+ },
209
+ };
210
+ function createBaseValue() {
211
+ return { kind: undefined };
212
+ }
213
+ export const Value = {
214
+ encode(message, writer = new BinaryWriter()) {
215
+ switch (message.kind?.$case) {
216
+ case "nullValue":
217
+ writer.uint32(8).int32(nullValueToNumber(message.kind.nullValue));
218
+ break;
219
+ case "numberValue":
220
+ writer.uint32(17).double(message.kind.numberValue);
221
+ break;
222
+ case "stringValue":
223
+ writer.uint32(26).string(message.kind.stringValue);
224
+ break;
225
+ case "boolValue":
226
+ writer.uint32(32).bool(message.kind.boolValue);
227
+ break;
228
+ case "structValue":
229
+ Struct.encode(Struct.wrap(message.kind.structValue), writer.uint32(42).fork()).join();
230
+ break;
231
+ case "listValue":
232
+ ListValue.encode(ListValue.wrap(message.kind.listValue), writer.uint32(50).fork()).join();
233
+ break;
234
+ }
235
+ return writer;
236
+ },
237
+ decode(input, length) {
238
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
239
+ const end = length === undefined ? reader.len : reader.pos + length;
240
+ const message = createBaseValue();
241
+ while (reader.pos < end) {
242
+ const tag = reader.uint32();
243
+ switch (tag >>> 3) {
244
+ case 1: {
245
+ if (tag !== 8) {
246
+ break;
247
+ }
248
+ message.kind = { $case: "nullValue", nullValue: nullValueFromJSON(reader.int32()) };
249
+ continue;
250
+ }
251
+ case 2: {
252
+ if (tag !== 17) {
253
+ break;
254
+ }
255
+ message.kind = { $case: "numberValue", numberValue: reader.double() };
256
+ continue;
257
+ }
258
+ case 3: {
259
+ if (tag !== 26) {
260
+ break;
261
+ }
262
+ message.kind = { $case: "stringValue", stringValue: reader.string() };
263
+ continue;
264
+ }
265
+ case 4: {
266
+ if (tag !== 32) {
267
+ break;
268
+ }
269
+ message.kind = { $case: "boolValue", boolValue: reader.bool() };
270
+ continue;
271
+ }
272
+ case 5: {
273
+ if (tag !== 42) {
274
+ break;
275
+ }
276
+ message.kind = { $case: "structValue", structValue: Struct.unwrap(Struct.decode(reader, reader.uint32())) };
277
+ continue;
278
+ }
279
+ case 6: {
280
+ if (tag !== 50) {
281
+ break;
282
+ }
283
+ message.kind = { $case: "listValue", listValue: ListValue.unwrap(ListValue.decode(reader, reader.uint32())) };
284
+ continue;
285
+ }
286
+ }
287
+ if ((tag & 7) === 4 || tag === 0) {
288
+ break;
289
+ }
290
+ reader.skip(tag & 7);
291
+ }
292
+ return message;
293
+ },
294
+ fromJSON(object) {
295
+ return {
296
+ kind: isSet(object.nullValue)
297
+ ? { $case: "nullValue", nullValue: nullValueFromJSON(object.nullValue) }
298
+ : isSet(object.null_value)
299
+ ? { $case: "nullValue", nullValue: nullValueFromJSON(object.null_value) }
300
+ : isSet(object.numberValue)
301
+ ? { $case: "numberValue", numberValue: globalThis.Number(object.numberValue) }
302
+ : isSet(object.number_value)
303
+ ? { $case: "numberValue", numberValue: globalThis.Number(object.number_value) }
304
+ : isSet(object.stringValue)
305
+ ? { $case: "stringValue", stringValue: globalThis.String(object.stringValue) }
306
+ : isSet(object.string_value)
307
+ ? { $case: "stringValue", stringValue: globalThis.String(object.string_value) }
308
+ : isSet(object.boolValue)
309
+ ? { $case: "boolValue", boolValue: globalThis.Boolean(object.boolValue) }
310
+ : isSet(object.bool_value)
311
+ ? { $case: "boolValue", boolValue: globalThis.Boolean(object.bool_value) }
312
+ : isSet(object.structValue)
313
+ ? { $case: "structValue", structValue: object.structValue }
314
+ : isSet(object.struct_value)
315
+ ? { $case: "structValue", structValue: object.struct_value }
316
+ : isSet(object.listValue)
317
+ ? { $case: "listValue", listValue: [...object.listValue] }
318
+ : isSet(object.list_value)
319
+ ? { $case: "listValue", listValue: [...object.list_value] }
320
+ : undefined,
321
+ };
322
+ },
323
+ toJSON(message) {
324
+ const obj = {};
325
+ if (message.kind?.$case === "nullValue") {
326
+ obj.nullValue = nullValueToJSON(message.kind.nullValue);
327
+ }
328
+ else if (message.kind?.$case === "numberValue") {
329
+ obj.numberValue = message.kind.numberValue;
330
+ }
331
+ else if (message.kind?.$case === "stringValue") {
332
+ obj.stringValue = message.kind.stringValue;
333
+ }
334
+ else if (message.kind?.$case === "boolValue") {
335
+ obj.boolValue = message.kind.boolValue;
336
+ }
337
+ else if (message.kind?.$case === "structValue") {
338
+ obj.structValue = message.kind.structValue;
339
+ }
340
+ else if (message.kind?.$case === "listValue") {
341
+ obj.listValue = message.kind.listValue;
342
+ }
343
+ return obj;
344
+ },
345
+ create(base) {
346
+ return Value.fromPartial(base ?? {});
347
+ },
348
+ fromPartial(object) {
349
+ const message = createBaseValue();
350
+ switch (object.kind?.$case) {
351
+ case "nullValue": {
352
+ if (object.kind?.nullValue !== undefined && object.kind?.nullValue !== null) {
353
+ message.kind = { $case: "nullValue", nullValue: object.kind.nullValue };
354
+ }
355
+ break;
356
+ }
357
+ case "numberValue": {
358
+ if (object.kind?.numberValue !== undefined && object.kind?.numberValue !== null) {
359
+ message.kind = { $case: "numberValue", numberValue: object.kind.numberValue };
360
+ }
361
+ break;
362
+ }
363
+ case "stringValue": {
364
+ if (object.kind?.stringValue !== undefined && object.kind?.stringValue !== null) {
365
+ message.kind = { $case: "stringValue", stringValue: object.kind.stringValue };
366
+ }
367
+ break;
368
+ }
369
+ case "boolValue": {
370
+ if (object.kind?.boolValue !== undefined && object.kind?.boolValue !== null) {
371
+ message.kind = { $case: "boolValue", boolValue: object.kind.boolValue };
372
+ }
373
+ break;
374
+ }
375
+ case "structValue": {
376
+ if (object.kind?.structValue !== undefined && object.kind?.structValue !== null) {
377
+ message.kind = { $case: "structValue", structValue: object.kind.structValue };
378
+ }
379
+ break;
380
+ }
381
+ case "listValue": {
382
+ if (object.kind?.listValue !== undefined && object.kind?.listValue !== null) {
383
+ message.kind = { $case: "listValue", listValue: object.kind.listValue };
384
+ }
385
+ break;
386
+ }
387
+ }
388
+ return message;
389
+ },
390
+ wrap(value) {
391
+ const result = createBaseValue();
392
+ if (value === null) {
393
+ result.kind = { $case: "nullValue", nullValue: NullValue.NULL_VALUE };
394
+ }
395
+ else if (typeof value === "boolean") {
396
+ result.kind = { $case: "boolValue", boolValue: value };
397
+ }
398
+ else if (typeof value === "number") {
399
+ result.kind = { $case: "numberValue", numberValue: value };
400
+ }
401
+ else if (typeof value === "string") {
402
+ result.kind = { $case: "stringValue", stringValue: value };
403
+ }
404
+ else if (globalThis.Array.isArray(value)) {
405
+ result.kind = { $case: "listValue", listValue: value };
406
+ }
407
+ else if (typeof value === "object") {
408
+ result.kind = { $case: "structValue", structValue: value };
409
+ }
410
+ else if (typeof value !== "undefined") {
411
+ throw new globalThis.Error("Unsupported any value type: " + typeof value);
412
+ }
413
+ return result;
414
+ },
415
+ unwrap(message) {
416
+ if (message.kind?.$case === "nullValue") {
417
+ return null;
418
+ }
419
+ else if (message.kind?.$case === "numberValue") {
420
+ return message.kind?.numberValue;
421
+ }
422
+ else if (message.kind?.$case === "stringValue") {
423
+ return message.kind?.stringValue;
424
+ }
425
+ else if (message.kind?.$case === "boolValue") {
426
+ return message.kind?.boolValue;
427
+ }
428
+ else if (message.kind?.$case === "structValue") {
429
+ return message.kind?.structValue;
430
+ }
431
+ else if (message.kind?.$case === "listValue") {
432
+ return message.kind?.listValue;
433
+ }
434
+ else {
435
+ return undefined;
436
+ }
437
+ },
438
+ };
439
+ function createBaseListValue() {
440
+ return { values: [] };
441
+ }
442
+ export const ListValue = {
443
+ encode(message, writer = new BinaryWriter()) {
444
+ for (const v of message.values) {
445
+ Value.encode(Value.wrap(v), writer.uint32(10).fork()).join();
446
+ }
447
+ return writer;
448
+ },
449
+ decode(input, length) {
450
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
451
+ const end = length === undefined ? reader.len : reader.pos + length;
452
+ const message = createBaseListValue();
453
+ while (reader.pos < end) {
454
+ const tag = reader.uint32();
455
+ switch (tag >>> 3) {
456
+ case 1: {
457
+ if (tag !== 10) {
458
+ break;
459
+ }
460
+ message.values.push(Value.unwrap(Value.decode(reader, reader.uint32())));
461
+ continue;
462
+ }
463
+ }
464
+ if ((tag & 7) === 4 || tag === 0) {
465
+ break;
466
+ }
467
+ reader.skip(tag & 7);
468
+ }
469
+ return message;
470
+ },
471
+ fromJSON(object) {
472
+ return { values: globalThis.Array.isArray(object?.values) ? [...object.values] : [] };
473
+ },
474
+ toJSON(message) {
475
+ const obj = {};
476
+ if (message.values?.length) {
477
+ obj.values = message.values;
478
+ }
479
+ return obj;
480
+ },
481
+ create(base) {
482
+ return ListValue.fromPartial(base ?? {});
483
+ },
484
+ fromPartial(object) {
485
+ const message = createBaseListValue();
486
+ message.values = object.values?.map((e) => e) || [];
487
+ return message;
488
+ },
489
+ wrap(array) {
490
+ const result = createBaseListValue();
491
+ result.values = array ?? [];
492
+ return result;
493
+ },
494
+ unwrap(message) {
495
+ if (message?.hasOwnProperty("values") && globalThis.Array.isArray(message.values)) {
496
+ return message.values;
497
+ }
498
+ else {
499
+ return message;
500
+ }
501
+ },
502
+ };
503
+ function isObject(value) {
504
+ return typeof value === "object" && value !== null;
505
+ }
506
+ function isSet(value) {
507
+ return value !== null && value !== undefined;
508
+ }
@@ -0,0 +1,89 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.2
4
+ // protoc unknown
5
+ // source: google/protobuf/timestamp.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "google.protobuf";
9
+ function createBaseTimestamp() {
10
+ return { seconds: 0, nanos: 0 };
11
+ }
12
+ export const Timestamp = {
13
+ encode(message, writer = new BinaryWriter()) {
14
+ if (message.seconds !== 0) {
15
+ writer.uint32(8).int64(message.seconds);
16
+ }
17
+ if (message.nanos !== 0) {
18
+ writer.uint32(16).int32(message.nanos);
19
+ }
20
+ return writer;
21
+ },
22
+ decode(input, length) {
23
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
24
+ const end = length === undefined ? reader.len : reader.pos + length;
25
+ const message = createBaseTimestamp();
26
+ while (reader.pos < end) {
27
+ const tag = reader.uint32();
28
+ switch (tag >>> 3) {
29
+ case 1: {
30
+ if (tag !== 8) {
31
+ break;
32
+ }
33
+ message.seconds = longToNumber(reader.int64());
34
+ continue;
35
+ }
36
+ case 2: {
37
+ if (tag !== 16) {
38
+ break;
39
+ }
40
+ message.nanos = reader.int32();
41
+ continue;
42
+ }
43
+ }
44
+ if ((tag & 7) === 4 || tag === 0) {
45
+ break;
46
+ }
47
+ reader.skip(tag & 7);
48
+ }
49
+ return message;
50
+ },
51
+ fromJSON(object) {
52
+ return {
53
+ seconds: isSet(object.seconds) ? globalThis.Number(object.seconds) : 0,
54
+ nanos: isSet(object.nanos) ? globalThis.Number(object.nanos) : 0,
55
+ };
56
+ },
57
+ toJSON(message) {
58
+ const obj = {};
59
+ if (message.seconds !== 0) {
60
+ obj.seconds = Math.round(message.seconds);
61
+ }
62
+ if (message.nanos !== 0) {
63
+ obj.nanos = Math.round(message.nanos);
64
+ }
65
+ return obj;
66
+ },
67
+ create(base) {
68
+ return Timestamp.fromPartial(base ?? {});
69
+ },
70
+ fromPartial(object) {
71
+ const message = createBaseTimestamp();
72
+ message.seconds = object.seconds ?? 0;
73
+ message.nanos = object.nanos ?? 0;
74
+ return message;
75
+ },
76
+ };
77
+ function longToNumber(int64) {
78
+ const num = globalThis.Number(int64.toString());
79
+ if (num > globalThis.Number.MAX_SAFE_INTEGER) {
80
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
81
+ }
82
+ if (num < globalThis.Number.MIN_SAFE_INTEGER) {
83
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
84
+ }
85
+ return num;
86
+ }
87
+ function isSet(value) {
88
+ return value !== null && value !== undefined;
89
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Generated Protobuf Types
3
+ *
4
+ * Auto-generated from proto/ definitions using ts-proto.
5
+ * DO NOT EDIT - regenerate with `pnpm run generate`
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ // Core types (primitives - no wrapper messages)
10
+ // Type aliases are in src/types.ts
11
+ export { FiberStatus, AccessControlPolicy, PublicAccess, WhitelistAccess, FiberOwnedAccess, StateMachineDefinition, EmittedEvent, EventReceipt, ScriptInvocation, FiberLogEntry, } from './ottochain/v1/fiber.js';
12
+ export { CreateStateMachine, TransitionStateMachine, ArchiveStateMachine, CreateScript, InvokeScript, OttochainMessage, } from './ottochain/v1/messages.js';
13
+ export { StateMachineFiberRecord, ScriptFiberRecord, FiberCommit, OnChainState, CalculatedState, } from './ottochain/v1/records.js';
14
+ // App: Identity
15
+ export { AgentState, Platform, PlatformLink, AgentIdentity, AgentIdentityDefinition, } from './ottochain/apps/identity/v1/agent.js';
16
+ export { AttestationType, ReputationDelta, Attestation, VouchRequest, ChallengeRequest, ReputationConfig, } from './ottochain/apps/identity/v1/attestation.js';
17
+ // App: Contracts
18
+ export { ContractState, Contract, ProposeContractRequest, AcceptContractRequest, CompleteContractRequest, RejectContractRequest, DisputeContractRequest, ContractDefinition, } from './ottochain/apps/contracts/v1/contract.js';
19
+ // App: Markets
20
+ export { MarketType, MarketState, Commitment, Resolution, Market, CreateMarketRequest, CommitToMarketRequest, SubmitResolutionRequest, CancelMarketRequest, MarketDefinition, } from './ottochain/apps/markets/v1/market.js';
21
+ // App: Oracles
22
+ export { OracleState, OracleReputation, SlashingEvent, Oracle, RegisterOracleRequest, ActivateOracleRequest, AddStakeRequest, WithdrawStakeRequest, SlashOracleRequest, WithdrawOracleRequest, OracleDefinition, } from './ottochain/apps/oracles/v1/oracle.js';
23
+ // App: Governance
24
+ export { DAOType, DAOStatus, ProposalStatus, VoteChoice, DAOMetadata, Proposal, Vote, VoteTally, SingleOwnerDAO, SingleOwnerAction, OwnershipTransfer, MultisigDAO, MultisigAction, TokenDAO, TokenProposalResult, ThresholdDAO, ThresholdVotes, ThresholdHistoryEntry, CreateDAORequest, ProposeRequest, VoteRequest, ExecuteRequest, } from './ottochain/apps/governance/v1/governance.js';
25
+ // App: Corporate
26
+ export { EntityType, EntityState, DirectorStatus, OfficerStatus, BoardMeetingType, ResolutionStatus, Jurisdiction, ShareClass, CorporateEntity, RegisteredAgent, Incorporator, ShareStructure, CorporateBoard, Director, SeatInfo, QuorumRules, BoardMeeting, MeetingAttendee, CorporateOfficers, Officer, OfficerAction, CorporateShareholders, Shareholder, ShareHolding, CorporateResolution, ResolutionVote, CorporateSecurities, SecurityIssuance, SecurityTransfer, CorporateCompliance, FilingRecord, ComplianceRequirement, CreateEntityRequest, AppointDirectorRequest, IssueSharesRequest, ProposeResolutionRequest, } from './ottochain/apps/corporate/v1/corporate.js';