injectivejs 0.1.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 (359) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +335 -0
  3. package/main/codegen/AtomicOrder.client.js +76 -0
  4. package/main/codegen/AtomicOrder.types.js +1 -0
  5. package/main/codegen/Registry.client.js +293 -0
  6. package/main/codegen/Registry.types.js +1 -0
  7. package/main/codegen/confio/proofs.js +1256 -0
  8. package/main/codegen/contracts.js +37 -0
  9. package/main/codegen/cosmos/app/v1alpha1/config.js +138 -0
  10. package/main/codegen/cosmos/app/v1alpha1/module.js +215 -0
  11. package/main/codegen/cosmos/app/v1alpha1/query.js +94 -0
  12. package/main/codegen/cosmos/app/v1alpha1/query.rpc.query.js +64 -0
  13. package/main/codegen/cosmos/auth/v1beta1/auth.js +265 -0
  14. package/main/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
  15. package/main/codegen/cosmos/auth/v1beta1/query.js +672 -0
  16. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +293 -0
  17. package/main/codegen/cosmos/auth/v1beta1/query.rpc.query.js +156 -0
  18. package/main/codegen/cosmos/authz/v1beta1/authz.js +266 -0
  19. package/main/codegen/cosmos/authz/v1beta1/event.js +148 -0
  20. package/main/codegen/cosmos/authz/v1beta1/genesis.js +82 -0
  21. package/main/codegen/cosmos/authz/v1beta1/query.js +425 -0
  22. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +173 -0
  23. package/main/codegen/cosmos/authz/v1beta1/query.rpc.query.js +90 -0
  24. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +96 -0
  25. package/main/codegen/cosmos/authz/v1beta1/tx.js +353 -0
  26. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +90 -0
  27. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +70 -0
  28. package/main/codegen/cosmos/bank/v1beta1/authz.js +82 -0
  29. package/main/codegen/cosmos/bank/v1beta1/bank.js +556 -0
  30. package/main/codegen/cosmos/bank/v1beta1/genesis.js +209 -0
  31. package/main/codegen/cosmos/bank/v1beta1/query.js +1057 -0
  32. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +406 -0
  33. package/main/codegen/cosmos/bank/v1beta1/query.rpc.query.js +184 -0
  34. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +101 -0
  35. package/main/codegen/cosmos/bank/v1beta1/tx.js +253 -0
  36. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +72 -0
  37. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +59 -0
  38. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +884 -0
  39. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +136 -0
  40. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +160 -0
  41. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +218 -0
  42. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1390 -0
  43. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +607 -0
  44. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +205 -0
  45. package/main/codegen/cosmos/base/store/v1beta1/listening.js +91 -0
  46. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +919 -0
  47. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +266 -0
  48. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +142 -0
  49. package/main/codegen/cosmos/base/v1beta1/coin.js +222 -0
  50. package/main/codegen/cosmos/bundle.js +587 -0
  51. package/main/codegen/cosmos/capability/v1beta1/capability.js +183 -0
  52. package/main/codegen/cosmos/capability/v1beta1/genesis.js +148 -0
  53. package/main/codegen/cosmos/client.js +138 -0
  54. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +61 -0
  55. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +32 -0
  56. package/main/codegen/cosmos/crisis/v1beta1/tx.js +114 -0
  57. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +54 -0
  58. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +48 -0
  59. package/main/codegen/cosmos/crypto/ed25519/keys.js +108 -0
  60. package/main/codegen/cosmos/crypto/hd/v1/hd.js +101 -0
  61. package/main/codegen/cosmos/crypto/keyring/v1/record.js +283 -0
  62. package/main/codegen/cosmos/crypto/multisig/keys.js +92 -0
  63. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +136 -0
  64. package/main/codegen/cosmos/crypto/secp256k1/keys.js +108 -0
  65. package/main/codegen/cosmos/crypto/secp256r1/keys.js +108 -0
  66. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +851 -0
  67. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +699 -0
  68. package/main/codegen/cosmos/distribution/v1beta1/query.js +977 -0
  69. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +356 -0
  70. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +178 -0
  71. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +91 -0
  72. package/main/codegen/cosmos/distribution/v1beta1/tx.js +439 -0
  73. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +108 -0
  74. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +81 -0
  75. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +95 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +82 -0
  77. package/main/codegen/cosmos/evidence/v1beta1/query.js +231 -0
  78. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +114 -0
  79. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +80 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +34 -0
  81. package/main/codegen/cosmos/evidence/v1beta1/tx.js +120 -0
  82. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +54 -0
  83. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +48 -0
  84. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +349 -0
  85. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +82 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/query.js +380 -0
  87. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +150 -0
  88. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +90 -0
  89. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +57 -0
  90. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +206 -0
  91. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +72 -0
  92. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +59 -0
  93. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +79 -0
  94. package/main/codegen/cosmos/gov/v1/genesis.js +170 -0
  95. package/main/codegen/cosmos/gov/v1/gov.js +852 -0
  96. package/main/codegen/cosmos/gov/v1/query.js +919 -0
  97. package/main/codegen/cosmos/gov/v1/query.lcd.js +334 -0
  98. package/main/codegen/cosmos/gov/v1/query.rpc.query.js +160 -0
  99. package/main/codegen/cosmos/gov/v1/tx.amino.js +183 -0
  100. package/main/codegen/cosmos/gov/v1/tx.js +612 -0
  101. package/main/codegen/cosmos/gov/v1/tx.registry.js +126 -0
  102. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +92 -0
  103. package/main/codegen/cosmos/gov/v1beta1/genesis.js +170 -0
  104. package/main/codegen/cosmos/gov/v1beta1/gov.js +890 -0
  105. package/main/codegen/cosmos/gov/v1beta1/query.js +919 -0
  106. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +334 -0
  107. package/main/codegen/cosmos/gov/v1beta1/query.rpc.query.js +160 -0
  108. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +142 -0
  109. package/main/codegen/cosmos/gov/v1beta1/tx.js +479 -0
  110. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +108 -0
  111. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +81 -0
  112. package/main/codegen/cosmos/group/v1/events.js +449 -0
  113. package/main/codegen/cosmos/group/v1/genesis.js +206 -0
  114. package/main/codegen/cosmos/group/v1/query.js +1500 -0
  115. package/main/codegen/cosmos/group/v1/query.lcd.js +527 -0
  116. package/main/codegen/cosmos/group/v1/query.rpc.query.js +230 -0
  117. package/main/codegen/cosmos/group/v1/tx.amino.js +428 -0
  118. package/main/codegen/cosmos/group/v1/tx.js +1657 -0
  119. package/main/codegen/cosmos/group/v1/tx.registry.js +288 -0
  120. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +191 -0
  121. package/main/codegen/cosmos/group/v1/types.js +1260 -0
  122. package/main/codegen/cosmos/lcd.js +307 -0
  123. package/main/codegen/cosmos/mint/v1beta1/genesis.js +71 -0
  124. package/main/codegen/cosmos/mint/v1beta1/mint.js +170 -0
  125. package/main/codegen/cosmos/mint/v1beta1/query.js +254 -0
  126. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +143 -0
  127. package/main/codegen/cosmos/mint/v1beta1/query.rpc.query.js +96 -0
  128. package/main/codegen/cosmos/msg/v1/msg.js +5 -0
  129. package/main/codegen/cosmos/nft/v1beta1/event.js +225 -0
  130. package/main/codegen/cosmos/nft/v1beta1/genesis.js +174 -0
  131. package/main/codegen/cosmos/nft/v1beta1/nft.js +210 -0
  132. package/main/codegen/cosmos/nft/v1beta1/query.js +770 -0
  133. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +296 -0
  134. package/main/codegen/cosmos/nft/v1beta1/query.rpc.query.js +150 -0
  135. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +36 -0
  136. package/main/codegen/cosmos/nft/v1beta1/tx.js +124 -0
  137. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +54 -0
  138. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +48 -0
  139. package/main/codegen/cosmos/orm/v1/orm.js +270 -0
  140. package/main/codegen/cosmos/orm/v1alpha1/schema.js +238 -0
  141. package/main/codegen/cosmos/params/v1beta1/params.js +166 -0
  142. package/main/codegen/cosmos/params/v1beta1/query.js +285 -0
  143. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +115 -0
  144. package/main/codegen/cosmos/params/v1beta1/query.rpc.query.js +78 -0
  145. package/main/codegen/cosmos/rpc.query.js +255 -0
  146. package/main/codegen/cosmos/rpc.tx.js +226 -0
  147. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +298 -0
  148. package/main/codegen/cosmos/slashing/v1beta1/query.js +309 -0
  149. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +151 -0
  150. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +96 -0
  151. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +204 -0
  152. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +24 -0
  153. package/main/codegen/cosmos/slashing/v1beta1/tx.js +94 -0
  154. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +54 -0
  155. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +48 -0
  156. package/main/codegen/cosmos/staking/v1beta1/authz.js +243 -0
  157. package/main/codegen/cosmos/staking/v1beta1/genesis.js +262 -0
  158. package/main/codegen/cosmos/staking/v1beta1/query.js +1579 -0
  159. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +576 -0
  160. package/main/codegen/cosmos/staking/v1beta1/query.rpc.query.js +248 -0
  161. package/main/codegen/cosmos/staking/v1beta1/staking.js +1562 -0
  162. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +217 -0
  163. package/main/codegen/cosmos/staking/v1beta1/tx.js +612 -0
  164. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +126 -0
  165. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +92 -0
  166. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +431 -0
  167. package/main/codegen/cosmos/tx/v1beta1/service.js +804 -0
  168. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +159 -0
  169. package/main/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +118 -0
  170. package/main/codegen/cosmos/tx/v1beta1/tx.js +1038 -0
  171. package/main/codegen/cosmos/upgrade/v1beta1/query.js +473 -0
  172. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +220 -0
  173. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +122 -0
  174. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +64 -0
  175. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +186 -0
  176. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +72 -0
  177. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +59 -0
  178. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +288 -0
  179. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +133 -0
  180. package/main/codegen/cosmos/vesting/v1beta1/tx.js +395 -0
  181. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +90 -0
  182. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +70 -0
  183. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +446 -0
  184. package/main/codegen/cosmos_proto/bundle.js +26 -0
  185. package/main/codegen/cosmos_proto/cosmos.js +232 -0
  186. package/main/codegen/cosmwasm/bundle.js +61 -0
  187. package/main/codegen/cosmwasm/client.js +92 -0
  188. package/main/codegen/cosmwasm/lcd.js +325 -0
  189. package/main/codegen/cosmwasm/rpc.query.js +269 -0
  190. package/main/codegen/cosmwasm/rpc.tx.js +242 -0
  191. package/main/codegen/cosmwasm/wasm/v1/genesis.js +440 -0
  192. package/main/codegen/cosmwasm/wasm/v1/ibc.js +140 -0
  193. package/main/codegen/cosmwasm/wasm/v1/proposal.js +843 -0
  194. package/main/codegen/cosmwasm/wasm/v1/query.js +1125 -0
  195. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +383 -0
  196. package/main/codegen/cosmwasm/wasm/v1/query.rpc.query.js +182 -0
  197. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +196 -0
  198. package/main/codegen/cosmwasm/wasm/v1/tx.js +756 -0
  199. package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +144 -0
  200. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +103 -0
  201. package/main/codegen/cosmwasm/wasm/v1/types.js +697 -0
  202. package/main/codegen/gogoproto/bundle.js +26 -0
  203. package/main/codegen/gogoproto/gogo.js +5 -0
  204. package/main/codegen/google/api/annotations.js +5 -0
  205. package/main/codegen/google/api/http.js +295 -0
  206. package/main/codegen/google/bundle.js +49 -0
  207. package/main/codegen/google/protobuf/any.js +71 -0
  208. package/main/codegen/google/protobuf/descriptor.js +3264 -0
  209. package/main/codegen/google/protobuf/duration.js +73 -0
  210. package/main/codegen/google/protobuf/empty.js +47 -0
  211. package/main/codegen/google/protobuf/field_mask.js +79 -0
  212. package/main/codegen/google/protobuf/struct.js +358 -0
  213. package/main/codegen/google/protobuf/timestamp.js +73 -0
  214. package/main/codegen/google/protobuf/wrappers.js +435 -0
  215. package/main/codegen/ibc/applications/transfer/v1/genesis.js +102 -0
  216. package/main/codegen/ibc/applications/transfer/v1/query.js +309 -0
  217. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +151 -0
  218. package/main/codegen/ibc/applications/transfer/v1/query.rpc.query.js +96 -0
  219. package/main/codegen/ibc/applications/transfer/v1/transfer.js +128 -0
  220. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +65 -0
  221. package/main/codegen/ibc/applications/transfer/v1/tx.js +160 -0
  222. package/main/codegen/ibc/applications/transfer/v1/tx.registry.js +54 -0
  223. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +48 -0
  224. package/main/codegen/ibc/applications/transfer/v2/packet.js +91 -0
  225. package/main/codegen/ibc/bundle.js +199 -0
  226. package/main/codegen/ibc/client.js +104 -0
  227. package/main/codegen/ibc/core/channel/v1/channel.js +705 -0
  228. package/main/codegen/ibc/core/channel/v1/genesis.js +296 -0
  229. package/main/codegen/ibc/core/channel/v1/query.js +1892 -0
  230. package/main/codegen/ibc/core/channel/v1/query.lcd.js +513 -0
  231. package/main/codegen/ibc/core/channel/v1/query.rpc.query.js +234 -0
  232. package/main/codegen/ibc/core/channel/v1/tx.amino.js +520 -0
  233. package/main/codegen/ibc/core/channel/v1/tx.js +1220 -0
  234. package/main/codegen/ibc/core/channel/v1/tx.registry.js +216 -0
  235. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +147 -0
  236. package/main/codegen/ibc/core/client/v1/client.js +475 -0
  237. package/main/codegen/ibc/core/client/v1/genesis.js +285 -0
  238. package/main/codegen/ibc/core/client/v1/query.js +856 -0
  239. package/main/codegen/ibc/core/client/v1/query.lcd.js +342 -0
  240. package/main/codegen/ibc/core/client/v1/query.rpc.query.js +170 -0
  241. package/main/codegen/ibc/core/client/v1/tx.amino.js +149 -0
  242. package/main/codegen/ibc/core/client/v1/tx.js +446 -0
  243. package/main/codegen/ibc/core/client/v1/tx.registry.js +108 -0
  244. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +81 -0
  245. package/main/codegen/ibc/core/commitment/v1/commitment.js +235 -0
  246. package/main/codegen/ibc/core/connection/v1/connection.js +625 -0
  247. package/main/codegen/ibc/core/connection/v1/genesis.js +127 -0
  248. package/main/codegen/ibc/core/connection/v1/query.js +653 -0
  249. package/main/codegen/ibc/core/connection/v1/query.lcd.js +216 -0
  250. package/main/codegen/ibc/core/connection/v1/query.rpc.query.js +122 -0
  251. package/main/codegen/ibc/core/connection/v1/tx.amino.js +274 -0
  252. package/main/codegen/ibc/core/connection/v1/tx.js +631 -0
  253. package/main/codegen/ibc/core/connection/v1/tx.registry.js +108 -0
  254. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +81 -0
  255. package/main/codegen/ibc/core/port/v1/query.js +160 -0
  256. package/main/codegen/ibc/core/port/v1/query.rpc.query.js +62 -0
  257. package/main/codegen/ibc/core/types/v1/genesis.js +85 -0
  258. package/main/codegen/ibc/lcd.js +376 -0
  259. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +73 -0
  260. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1190 -0
  261. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1190 -0
  262. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +472 -0
  263. package/main/codegen/ibc/rpc.query.js +319 -0
  264. package/main/codegen/ibc/rpc.tx.js +287 -0
  265. package/main/codegen/ics23/bundle.js +26 -0
  266. package/main/codegen/index.js +187 -0
  267. package/main/codegen/injective/auction/v1beta1/auction.js +352 -0
  268. package/main/codegen/injective/auction/v1beta1/genesis.js +93 -0
  269. package/main/codegen/injective/auction/v1beta1/query.js +317 -0
  270. package/main/codegen/injective/auction/v1beta1/query.lcd.js +143 -0
  271. package/main/codegen/injective/auction/v1beta1/query.rpc.query.js +96 -0
  272. package/main/codegen/injective/auction/v1beta1/tx.amino.js +41 -0
  273. package/main/codegen/injective/auction/v1beta1/tx.js +118 -0
  274. package/main/codegen/injective/auction/v1beta1/tx.registry.js +54 -0
  275. package/main/codegen/injective/auction/v1beta1/tx.rpc.msg.js +48 -0
  276. package/main/codegen/injective/bundle.js +239 -0
  277. package/main/codegen/injective/client.js +112 -0
  278. package/main/codegen/injective/crypto/v1beta1/ethsecp256k1/keys.js +108 -0
  279. package/main/codegen/injective/exchange/v1beta1/authz.js +801 -0
  280. package/main/codegen/injective/exchange/v1beta1/events.js +1892 -0
  281. package/main/codegen/injective/exchange/v1beta1/exchange.js +3929 -0
  282. package/main/codegen/injective/exchange/v1beta1/genesis.js +1573 -0
  283. package/main/codegen/injective/exchange/v1beta1/query.js +6020 -0
  284. package/main/codegen/injective/exchange/v1beta1/query.lcd.js +1718 -0
  285. package/main/codegen/injective/exchange/v1beta1/query.rpc.query.js +712 -0
  286. package/main/codegen/injective/exchange/v1beta1/tx.amino.js +1248 -0
  287. package/main/codegen/injective/exchange/v1beta1/tx.js +6365 -0
  288. package/main/codegen/injective/exchange/v1beta1/tx.registry.js +540 -0
  289. package/main/codegen/injective/exchange/v1beta1/tx.rpc.msg.js +345 -0
  290. package/main/codegen/injective/insurance/v1beta1/genesis.js +137 -0
  291. package/main/codegen/injective/insurance/v1beta1/insurance.js +525 -0
  292. package/main/codegen/injective/insurance/v1beta1/query.js +601 -0
  293. package/main/codegen/injective/insurance/v1beta1/query.lcd.js +266 -0
  294. package/main/codegen/injective/insurance/v1beta1/query.rpc.query.js +138 -0
  295. package/main/codegen/injective/insurance/v1beta1/tx.amino.js +121 -0
  296. package/main/codegen/injective/insurance/v1beta1/tx.js +368 -0
  297. package/main/codegen/injective/insurance/v1beta1/tx.registry.js +90 -0
  298. package/main/codegen/injective/insurance/v1beta1/tx.rpc.msg.js +70 -0
  299. package/main/codegen/injective/lcd.js +415 -0
  300. package/main/codegen/injective/ocr/v1beta1/genesis.js +671 -0
  301. package/main/codegen/injective/ocr/v1beta1/ocr.js +1875 -0
  302. package/main/codegen/injective/ocr/v1beta1/query.js +690 -0
  303. package/main/codegen/injective/ocr/v1beta1/query.lcd.js +271 -0
  304. package/main/codegen/injective/ocr/v1beta1/query.rpc.query.js +150 -0
  305. package/main/codegen/injective/ocr/v1beta1/tx.amino.js +302 -0
  306. package/main/codegen/injective/ocr/v1beta1/tx.js +1006 -0
  307. package/main/codegen/injective/ocr/v1beta1/tx.registry.js +180 -0
  308. package/main/codegen/injective/ocr/v1beta1/tx.rpc.msg.js +125 -0
  309. package/main/codegen/injective/oracle/v1beta1/events.js +677 -0
  310. package/main/codegen/injective/oracle/v1beta1/genesis.js +386 -0
  311. package/main/codegen/injective/oracle/v1beta1/oracle.js +1588 -0
  312. package/main/codegen/injective/oracle/v1beta1/proposal.js +769 -0
  313. package/main/codegen/injective/oracle/v1beta1/query.js +1277 -0
  314. package/main/codegen/injective/oracle/v1beta1/query.lcd.js +496 -0
  315. package/main/codegen/injective/oracle/v1beta1/query.rpc.query.js +232 -0
  316. package/main/codegen/injective/oracle/v1beta1/tx.amino.js +151 -0
  317. package/main/codegen/injective/oracle/v1beta1/tx.js +720 -0
  318. package/main/codegen/injective/oracle/v1beta1/tx.registry.js +126 -0
  319. package/main/codegen/injective/oracle/v1beta1/tx.rpc.msg.js +92 -0
  320. package/main/codegen/injective/peggy/v1/attestation.js +274 -0
  321. package/main/codegen/injective/peggy/v1/batch.js +210 -0
  322. package/main/codegen/injective/peggy/v1/ethereum_signer.js +68 -0
  323. package/main/codegen/injective/peggy/v1/events.js +1374 -0
  324. package/main/codegen/injective/peggy/v1/genesis.js +582 -0
  325. package/main/codegen/injective/peggy/v1/msgs.amino.js +365 -0
  326. package/main/codegen/injective/peggy/v1/msgs.js +1321 -0
  327. package/main/codegen/injective/peggy/v1/msgs.registry.js +234 -0
  328. package/main/codegen/injective/peggy/v1/msgs.rpc.msg.js +158 -0
  329. package/main/codegen/injective/peggy/v1/pool.js +149 -0
  330. package/main/codegen/injective/peggy/v1/proposal.js +178 -0
  331. package/main/codegen/injective/peggy/v1/query.js +2002 -0
  332. package/main/codegen/injective/peggy/v1/query.lcd.js +824 -0
  333. package/main/codegen/injective/peggy/v1/query.rpc.query.js +340 -0
  334. package/main/codegen/injective/peggy/v1/types.js +345 -0
  335. package/main/codegen/injective/rpc.query.js +335 -0
  336. package/main/codegen/injective/rpc.tx.js +307 -0
  337. package/main/codegen/injective/types/v1beta1/account.js +73 -0
  338. package/main/codegen/injective/types/v1beta1/tx_ext.js +83 -0
  339. package/main/codegen/injective/types/v1beta1/tx_response.js +136 -0
  340. package/main/codegen/injective/wasmx/v1/genesis.js +61 -0
  341. package/main/codegen/injective/wasmx/v1/query.js +174 -0
  342. package/main/codegen/injective/wasmx/v1/query.lcd.js +106 -0
  343. package/main/codegen/injective/wasmx/v1/query.rpc.query.js +80 -0
  344. package/main/codegen/injective/wasmx/v1/tx.js +5 -0
  345. package/main/codegen/injective/wasmx/v1/wasmx.js +332 -0
  346. package/main/codegen/tendermint/abci/types.js +3542 -0
  347. package/main/codegen/tendermint/bundle.js +63 -0
  348. package/main/codegen/tendermint/crypto/keys.js +71 -0
  349. package/main/codegen/tendermint/crypto/proof.js +361 -0
  350. package/main/codegen/tendermint/libs/bits/types.js +103 -0
  351. package/main/codegen/tendermint/p2p/types.js +419 -0
  352. package/main/codegen/tendermint/types/block.js +93 -0
  353. package/main/codegen/tendermint/types/evidence.js +329 -0
  354. package/main/codegen/tendermint/types/params.js +390 -0
  355. package/main/codegen/tendermint/types/types.js +1234 -0
  356. package/main/codegen/tendermint/types/validator.js +235 -0
  357. package/main/codegen/tendermint/version/types.js +128 -0
  358. package/main/index.js +18 -0
  359. package/package.json +86 -0
@@ -0,0 +1,496 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.LCDQueryClient = void 0;
9
+
10
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
+
12
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
13
+
14
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
15
+
16
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
17
+
18
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
19
+
20
+ var LCDQueryClient = /*#__PURE__*/function () {
21
+ function LCDQueryClient(_ref) {
22
+ var requestClient = _ref.requestClient;
23
+ (0, _classCallCheck2["default"])(this, LCDQueryClient);
24
+ (0, _defineProperty2["default"])(this, "req", void 0);
25
+ this.req = requestClient;
26
+ this.params = this.params.bind(this);
27
+ this.bandRelayers = this.bandRelayers.bind(this);
28
+ this.bandPriceStates = this.bandPriceStates.bind(this);
29
+ this.bandIBCPriceStates = this.bandIBCPriceStates.bind(this);
30
+ this.priceFeedPriceStates = this.priceFeedPriceStates.bind(this);
31
+ this.coinbasePriceStates = this.coinbasePriceStates.bind(this);
32
+ this.providerPriceState = this.providerPriceState.bind(this);
33
+ this.oracleModuleState = this.oracleModuleState.bind(this);
34
+ this.historicalPriceRecords = this.historicalPriceRecords.bind(this);
35
+ this.oracleVolatility = this.oracleVolatility.bind(this);
36
+ this.oracleProvidersInfo = this.oracleProvidersInfo.bind(this);
37
+ this.oracleProviderPrices = this.oracleProviderPrices.bind(this);
38
+ }
39
+ /* Retrieves oracle params */
40
+
41
+
42
+ (0, _createClass2["default"])(LCDQueryClient, [{
43
+ key: "params",
44
+ value: function () {
45
+ var _params2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
46
+ var _params,
47
+ endpoint,
48
+ _args = arguments;
49
+
50
+ return _regenerator["default"].wrap(function _callee$(_context) {
51
+ while (1) {
52
+ switch (_context.prev = _context.next) {
53
+ case 0:
54
+ _params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
55
+ endpoint = "injective/oracle/v1beta1/params";
56
+ _context.next = 4;
57
+ return this.req.get(endpoint);
58
+
59
+ case 4:
60
+ return _context.abrupt("return", _context.sent);
61
+
62
+ case 5:
63
+ case "end":
64
+ return _context.stop();
65
+ }
66
+ }
67
+ }, _callee, this);
68
+ }));
69
+
70
+ function params() {
71
+ return _params2.apply(this, arguments);
72
+ }
73
+
74
+ return params;
75
+ }()
76
+ /* Retrieves the band relayers */
77
+
78
+ }, {
79
+ key: "bandRelayers",
80
+ value: function () {
81
+ var _bandRelayers = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2() {
82
+ var _params,
83
+ endpoint,
84
+ _args2 = arguments;
85
+
86
+ return _regenerator["default"].wrap(function _callee2$(_context2) {
87
+ while (1) {
88
+ switch (_context2.prev = _context2.next) {
89
+ case 0:
90
+ _params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
91
+ endpoint = "injective/oracle/v1beta1/band_relayers";
92
+ _context2.next = 4;
93
+ return this.req.get(endpoint);
94
+
95
+ case 4:
96
+ return _context2.abrupt("return", _context2.sent);
97
+
98
+ case 5:
99
+ case "end":
100
+ return _context2.stop();
101
+ }
102
+ }
103
+ }, _callee2, this);
104
+ }));
105
+
106
+ function bandRelayers() {
107
+ return _bandRelayers.apply(this, arguments);
108
+ }
109
+
110
+ return bandRelayers;
111
+ }()
112
+ /* Retrieves the state for all band price feeds */
113
+
114
+ }, {
115
+ key: "bandPriceStates",
116
+ value: function () {
117
+ var _bandPriceStates = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3() {
118
+ var _params,
119
+ endpoint,
120
+ _args3 = arguments;
121
+
122
+ return _regenerator["default"].wrap(function _callee3$(_context3) {
123
+ while (1) {
124
+ switch (_context3.prev = _context3.next) {
125
+ case 0:
126
+ _params = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
127
+ endpoint = "injective/oracle/v1beta1/band_price_states";
128
+ _context3.next = 4;
129
+ return this.req.get(endpoint);
130
+
131
+ case 4:
132
+ return _context3.abrupt("return", _context3.sent);
133
+
134
+ case 5:
135
+ case "end":
136
+ return _context3.stop();
137
+ }
138
+ }
139
+ }, _callee3, this);
140
+ }));
141
+
142
+ function bandPriceStates() {
143
+ return _bandPriceStates.apply(this, arguments);
144
+ }
145
+
146
+ return bandPriceStates;
147
+ }()
148
+ /* Retrieves the state for all band ibc price feeds */
149
+
150
+ }, {
151
+ key: "bandIBCPriceStates",
152
+ value: function () {
153
+ var _bandIBCPriceStates = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
154
+ var _params,
155
+ endpoint,
156
+ _args4 = arguments;
157
+
158
+ return _regenerator["default"].wrap(function _callee4$(_context4) {
159
+ while (1) {
160
+ switch (_context4.prev = _context4.next) {
161
+ case 0:
162
+ _params = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
163
+ endpoint = "injective/oracle/v1beta1/band_ibc_price_states";
164
+ _context4.next = 4;
165
+ return this.req.get(endpoint);
166
+
167
+ case 4:
168
+ return _context4.abrupt("return", _context4.sent);
169
+
170
+ case 5:
171
+ case "end":
172
+ return _context4.stop();
173
+ }
174
+ }
175
+ }, _callee4, this);
176
+ }));
177
+
178
+ function bandIBCPriceStates() {
179
+ return _bandIBCPriceStates.apply(this, arguments);
180
+ }
181
+
182
+ return bandIBCPriceStates;
183
+ }()
184
+ /* Retrieves the state for all price feeds */
185
+
186
+ }, {
187
+ key: "priceFeedPriceStates",
188
+ value: function () {
189
+ var _priceFeedPriceStates = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5() {
190
+ var _params,
191
+ endpoint,
192
+ _args5 = arguments;
193
+
194
+ return _regenerator["default"].wrap(function _callee5$(_context5) {
195
+ while (1) {
196
+ switch (_context5.prev = _context5.next) {
197
+ case 0:
198
+ _params = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
199
+ endpoint = "injective/oracle/v1beta1/pricefeed_price_states";
200
+ _context5.next = 4;
201
+ return this.req.get(endpoint);
202
+
203
+ case 4:
204
+ return _context5.abrupt("return", _context5.sent);
205
+
206
+ case 5:
207
+ case "end":
208
+ return _context5.stop();
209
+ }
210
+ }
211
+ }, _callee5, this);
212
+ }));
213
+
214
+ function priceFeedPriceStates() {
215
+ return _priceFeedPriceStates.apply(this, arguments);
216
+ }
217
+
218
+ return priceFeedPriceStates;
219
+ }()
220
+ /* Retrieves the state for all coinbase price feeds */
221
+
222
+ }, {
223
+ key: "coinbasePriceStates",
224
+ value: function () {
225
+ var _coinbasePriceStates = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6() {
226
+ var _params,
227
+ endpoint,
228
+ _args6 = arguments;
229
+
230
+ return _regenerator["default"].wrap(function _callee6$(_context6) {
231
+ while (1) {
232
+ switch (_context6.prev = _context6.next) {
233
+ case 0:
234
+ _params = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
235
+ endpoint = "injective/oracle/v1beta1/coinbase_price_states";
236
+ _context6.next = 4;
237
+ return this.req.get(endpoint);
238
+
239
+ case 4:
240
+ return _context6.abrupt("return", _context6.sent);
241
+
242
+ case 5:
243
+ case "end":
244
+ return _context6.stop();
245
+ }
246
+ }
247
+ }, _callee6, this);
248
+ }));
249
+
250
+ function coinbasePriceStates() {
251
+ return _coinbasePriceStates.apply(this, arguments);
252
+ }
253
+
254
+ return coinbasePriceStates;
255
+ }()
256
+ /* Retrieves the state for all provider price feeds */
257
+
258
+ }, {
259
+ key: "providerPriceState",
260
+ value: function () {
261
+ var _providerPriceState = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(params) {
262
+ var endpoint;
263
+ return _regenerator["default"].wrap(function _callee7$(_context7) {
264
+ while (1) {
265
+ switch (_context7.prev = _context7.next) {
266
+ case 0:
267
+ endpoint = "injective/oracle/v1beta1/provider_price_state/".concat(params.provider, "/").concat(params.symbol);
268
+ _context7.next = 3;
269
+ return this.req.get(endpoint);
270
+
271
+ case 3:
272
+ return _context7.abrupt("return", _context7.sent);
273
+
274
+ case 4:
275
+ case "end":
276
+ return _context7.stop();
277
+ }
278
+ }
279
+ }, _callee7, this);
280
+ }));
281
+
282
+ function providerPriceState(_x) {
283
+ return _providerPriceState.apply(this, arguments);
284
+ }
285
+
286
+ return providerPriceState;
287
+ }()
288
+ /* Retrieves the entire oracle module's state */
289
+
290
+ }, {
291
+ key: "oracleModuleState",
292
+ value: function () {
293
+ var _oracleModuleState = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8() {
294
+ var _params,
295
+ endpoint,
296
+ _args8 = arguments;
297
+
298
+ return _regenerator["default"].wrap(function _callee8$(_context8) {
299
+ while (1) {
300
+ switch (_context8.prev = _context8.next) {
301
+ case 0:
302
+ _params = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
303
+ endpoint = "injective/oracle/v1beta1/module_state";
304
+ _context8.next = 4;
305
+ return this.req.get(endpoint);
306
+
307
+ case 4:
308
+ return _context8.abrupt("return", _context8.sent);
309
+
310
+ case 5:
311
+ case "end":
312
+ return _context8.stop();
313
+ }
314
+ }
315
+ }, _callee8, this);
316
+ }));
317
+
318
+ function oracleModuleState() {
319
+ return _oracleModuleState.apply(this, arguments);
320
+ }
321
+
322
+ return oracleModuleState;
323
+ }()
324
+ /* Retrieves historical price records for a given OracleType and Symbol */
325
+
326
+ }, {
327
+ key: "historicalPriceRecords",
328
+ value: function () {
329
+ var _historicalPriceRecords = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9(params) {
330
+ var options, endpoint;
331
+ return _regenerator["default"].wrap(function _callee9$(_context9) {
332
+ while (1) {
333
+ switch (_context9.prev = _context9.next) {
334
+ case 0:
335
+ options = {
336
+ params: {}
337
+ };
338
+
339
+ if (typeof (params === null || params === void 0 ? void 0 : params.oracle) !== "undefined") {
340
+ options.params.oracle = params.oracle;
341
+ }
342
+
343
+ if (typeof (params === null || params === void 0 ? void 0 : params.symbolId) !== "undefined") {
344
+ options.params.symbol_id = params.symbolId;
345
+ }
346
+
347
+ endpoint = "injective/oracle/v1beta1/historical_price_records";
348
+ _context9.next = 6;
349
+ return this.req.get(endpoint, options);
350
+
351
+ case 6:
352
+ return _context9.abrupt("return", _context9.sent);
353
+
354
+ case 7:
355
+ case "end":
356
+ return _context9.stop();
357
+ }
358
+ }
359
+ }, _callee9, this);
360
+ }));
361
+
362
+ function historicalPriceRecords(_x2) {
363
+ return _historicalPriceRecords.apply(this, arguments);
364
+ }
365
+
366
+ return historicalPriceRecords;
367
+ }()
368
+ /* Retrieves mixed volatility value for the specified pair of base/quote */
369
+
370
+ }, {
371
+ key: "oracleVolatility",
372
+ value: function () {
373
+ var _oracleVolatility = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee10(params) {
374
+ var options, endpoint;
375
+ return _regenerator["default"].wrap(function _callee10$(_context10) {
376
+ while (1) {
377
+ switch (_context10.prev = _context10.next) {
378
+ case 0:
379
+ options = {
380
+ params: {}
381
+ };
382
+
383
+ if (typeof (params === null || params === void 0 ? void 0 : params.baseInfo) !== "undefined") {
384
+ options.params.base_info = params.baseInfo;
385
+ }
386
+
387
+ if (typeof (params === null || params === void 0 ? void 0 : params.quoteInfo) !== "undefined") {
388
+ options.params.quote_info = params.quoteInfo;
389
+ }
390
+
391
+ if (typeof (params === null || params === void 0 ? void 0 : params.oracleHistoryOptions) !== "undefined") {
392
+ options.params.oracle_history_options = params.oracleHistoryOptions;
393
+ }
394
+
395
+ endpoint = "injective/oracle/v1beta1/volatility";
396
+ _context10.next = 7;
397
+ return this.req.get(endpoint, options);
398
+
399
+ case 7:
400
+ return _context10.abrupt("return", _context10.sent);
401
+
402
+ case 8:
403
+ case "end":
404
+ return _context10.stop();
405
+ }
406
+ }
407
+ }, _callee10, this);
408
+ }));
409
+
410
+ function oracleVolatility(_x3) {
411
+ return _oracleVolatility.apply(this, arguments);
412
+ }
413
+
414
+ return oracleVolatility;
415
+ }()
416
+ /* OracleProvidersInfo */
417
+
418
+ }, {
419
+ key: "oracleProvidersInfo",
420
+ value: function () {
421
+ var _oracleProvidersInfo = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee11() {
422
+ var _params,
423
+ endpoint,
424
+ _args11 = arguments;
425
+
426
+ return _regenerator["default"].wrap(function _callee11$(_context11) {
427
+ while (1) {
428
+ switch (_context11.prev = _context11.next) {
429
+ case 0:
430
+ _params = _args11.length > 0 && _args11[0] !== undefined ? _args11[0] : {};
431
+ endpoint = "injective/oracle/v1beta1/providers";
432
+ _context11.next = 4;
433
+ return this.req.get(endpoint);
434
+
435
+ case 4:
436
+ return _context11.abrupt("return", _context11.sent);
437
+
438
+ case 5:
439
+ case "end":
440
+ return _context11.stop();
441
+ }
442
+ }
443
+ }, _callee11, this);
444
+ }));
445
+
446
+ function oracleProvidersInfo() {
447
+ return _oracleProvidersInfo.apply(this, arguments);
448
+ }
449
+
450
+ return oracleProvidersInfo;
451
+ }()
452
+ /* OracleProviderPrices */
453
+
454
+ }, {
455
+ key: "oracleProviderPrices",
456
+ value: function () {
457
+ var _oracleProviderPrices = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee12(params) {
458
+ var options, endpoint;
459
+ return _regenerator["default"].wrap(function _callee12$(_context12) {
460
+ while (1) {
461
+ switch (_context12.prev = _context12.next) {
462
+ case 0:
463
+ options = {
464
+ params: {}
465
+ };
466
+
467
+ if (typeof (params === null || params === void 0 ? void 0 : params.provider) !== "undefined") {
468
+ options.params.provider = params.provider;
469
+ }
470
+
471
+ endpoint = "injective/oracle/v1beta1/provider_prices";
472
+ _context12.next = 5;
473
+ return this.req.get(endpoint, options);
474
+
475
+ case 5:
476
+ return _context12.abrupt("return", _context12.sent);
477
+
478
+ case 6:
479
+ case "end":
480
+ return _context12.stop();
481
+ }
482
+ }
483
+ }, _callee12, this);
484
+ }));
485
+
486
+ function oracleProviderPrices(_x4) {
487
+ return _oracleProviderPrices.apply(this, arguments);
488
+ }
489
+
490
+ return oracleProviderPrices;
491
+ }()
492
+ }]);
493
+ return LCDQueryClient;
494
+ }();
495
+
496
+ exports.LCDQueryClient = LCDQueryClient;