carbon-js-sdk 0.2.9-dev.2 → 0.2.10

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 (241) hide show
  1. package/lib/clients/NEOClient.js +1 -1
  2. package/lib/codec/book/genesis.d.ts +1 -1
  3. package/lib/codec/book/genesis.js +1 -1
  4. package/lib/codec/book/query.d.ts +1 -1
  5. package/lib/codec/book/query.js +1 -1
  6. package/lib/codec/broker/genesis.d.ts +1 -1
  7. package/lib/codec/broker/genesis.js +1 -1
  8. package/lib/codec/broker/query.d.ts +3 -3
  9. package/lib/codec/broker/query.js +3 -3
  10. package/lib/codec/btcx/denom_cross_chain_info.d.ts +1 -1
  11. package/lib/codec/btcx/denom_cross_chain_info.js +1 -1
  12. package/lib/codec/btcx/query.d.ts +1 -1
  13. package/lib/codec/btcx/query.js +1 -1
  14. package/lib/codec/ccm/genesis.d.ts +1 -1
  15. package/lib/codec/ccm/genesis.js +1 -1
  16. package/lib/codec/cdp/event.d.ts +22 -226
  17. package/lib/codec/cdp/event.js +80 -1414
  18. package/lib/codec/cdp/genesis.d.ts +4 -57
  19. package/lib/codec/cdp/genesis.js +22 -417
  20. package/lib/codec/cdp/query.d.ts +95 -191
  21. package/lib/codec/cdp/query.js +238 -676
  22. package/lib/codec/cdp/tx.d.ts +96 -466
  23. package/lib/codec/cdp/tx.js +182 -1962
  24. package/lib/codec/coin/event.d.ts +1 -1
  25. package/lib/codec/coin/event.js +1 -1
  26. package/lib/codec/coin/genesis.d.ts +2 -2
  27. package/lib/codec/coin/genesis.js +2 -2
  28. package/lib/codec/coin/proposal.d.ts +1 -1
  29. package/lib/codec/coin/proposal.js +1 -1
  30. package/lib/codec/coin/query.d.ts +5 -2
  31. package/lib/codec/coin/query.js +8 -2
  32. package/lib/codec/coin/token.d.ts +0 -11
  33. package/lib/codec/coin/token.js +1 -65
  34. package/lib/codec/coin/tx.d.ts +1 -1
  35. package/lib/codec/coin/tx.js +1 -1
  36. package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
  37. package/lib/codec/cosmos/auth/v1beta1/genesis.js +1 -1
  38. package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -2
  39. package/lib/codec/cosmos/auth/v1beta1/query.js +2 -2
  40. package/lib/codec/cosmos/authz/v1beta1/query.d.ts +2 -2
  41. package/lib/codec/cosmos/authz/v1beta1/query.js +2 -2
  42. package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
  43. package/lib/codec/cosmos/authz/v1beta1/tx.js +1 -1
  44. package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +1 -1
  45. package/lib/codec/cosmos/bank/v1beta1/authz.js +1 -1
  46. package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +1 -1
  47. package/lib/codec/cosmos/bank/v1beta1/bank.js +1 -1
  48. package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +2 -2
  49. package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
  50. package/lib/codec/cosmos/bank/v1beta1/query.d.ts +3 -3
  51. package/lib/codec/cosmos/bank/v1beta1/query.js +3 -3
  52. package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -2
  53. package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -2
  54. package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +1 -1
  55. package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1 -1
  56. package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +1 -1
  57. package/lib/codec/cosmos/capability/v1beta1/genesis.js +1 -1
  58. package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +1 -1
  59. package/lib/codec/cosmos/crisis/v1beta1/genesis.js +1 -1
  60. package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -1
  61. package/lib/codec/cosmos/distribution/v1beta1/distribution.js +1 -1
  62. package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -2
  63. package/lib/codec/cosmos/distribution/v1beta1/genesis.js +2 -2
  64. package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +3 -3
  65. package/lib/codec/cosmos/distribution/v1beta1/query.js +3 -3
  66. package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +1 -1
  67. package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -1
  68. package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -1
  69. package/lib/codec/cosmos/evidence/v1beta1/query.js +1 -1
  70. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -1
  71. package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +1 -1
  72. package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +1 -1
  73. package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +1 -1
  74. package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +2 -2
  75. package/lib/codec/cosmos/feegrant/v1beta1/query.js +2 -2
  76. package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +1 -1
  77. package/lib/codec/cosmos/gov/v1beta1/genesis.js +1 -1
  78. package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +1 -1
  79. package/lib/codec/cosmos/gov/v1beta1/gov.js +1 -1
  80. package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -2
  81. package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
  82. package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
  83. package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
  84. package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
  85. package/lib/codec/cosmos/mint/v1beta1/genesis.js +1 -1
  86. package/lib/codec/cosmos/mint/v1beta1/query.d.ts +1 -1
  87. package/lib/codec/cosmos/mint/v1beta1/query.js +1 -1
  88. package/lib/codec/cosmos/params/v1beta1/query.d.ts +1 -1
  89. package/lib/codec/cosmos/params/v1beta1/query.js +1 -1
  90. package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
  91. package/lib/codec/cosmos/slashing/v1beta1/genesis.js +1 -1
  92. package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -2
  93. package/lib/codec/cosmos/slashing/v1beta1/query.js +2 -2
  94. package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +1 -1
  95. package/lib/codec/cosmos/staking/v1beta1/authz.js +1 -1
  96. package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
  97. package/lib/codec/cosmos/staking/v1beta1/genesis.js +1 -1
  98. package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -2
  99. package/lib/codec/cosmos/staking/v1beta1/query.js +2 -2
  100. package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -1
  101. package/lib/codec/cosmos/staking/v1beta1/staking.js +1 -1
  102. package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -2
  103. package/lib/codec/cosmos/staking/v1beta1/tx.js +2 -2
  104. package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +1 -1
  105. package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +1 -1
  106. package/lib/codec/cosmos/tx/v1beta1/service.d.ts +3 -3
  107. package/lib/codec/cosmos/tx/v1beta1/service.js +3 -3
  108. package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
  109. package/lib/codec/cosmos/tx/v1beta1/tx.js +3 -3
  110. package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +1 -1
  111. package/lib/codec/cosmos/upgrade/v1beta1/query.js +1 -1
  112. package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +1 -1
  113. package/lib/codec/cosmos/vesting/v1beta1/tx.js +1 -1
  114. package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +2 -2
  115. package/lib/codec/cosmos/vesting/v1beta1/vesting.js +2 -2
  116. package/lib/codec/fee/genesis.d.ts +1 -1
  117. package/lib/codec/fee/genesis.js +1 -1
  118. package/lib/codec/fee/proposal.d.ts +1 -1
  119. package/lib/codec/fee/proposal.js +1 -1
  120. package/lib/codec/fee/query.d.ts +1 -1
  121. package/lib/codec/fee/query.js +1 -1
  122. package/lib/codec/fee/tx.d.ts +1 -1
  123. package/lib/codec/fee/tx.js +1 -1
  124. package/lib/codec/headersync/genesis.d.ts +1 -1
  125. package/lib/codec/headersync/genesis.js +1 -1
  126. package/lib/codec/headersync/query.d.ts +1 -1
  127. package/lib/codec/headersync/query.js +1 -1
  128. package/lib/codec/index.d.ts +22 -53
  129. package/lib/codec/index.js +384 -502
  130. package/lib/codec/inflation/genesis.d.ts +1 -1
  131. package/lib/codec/inflation/genesis.js +1 -1
  132. package/lib/codec/inflation/query.d.ts +1 -1
  133. package/lib/codec/inflation/query.js +1 -1
  134. package/lib/codec/insurance/genesis.d.ts +1 -1
  135. package/lib/codec/insurance/genesis.js +1 -1
  136. package/lib/codec/leverage/genesis.d.ts +1 -1
  137. package/lib/codec/leverage/genesis.js +1 -1
  138. package/lib/codec/leverage/query.d.ts +1 -1
  139. package/lib/codec/leverage/query.js +1 -1
  140. package/lib/codec/liquidation/genesis.d.ts +1 -1
  141. package/lib/codec/liquidation/genesis.js +1 -1
  142. package/lib/codec/liquidation/query.d.ts +1 -1
  143. package/lib/codec/liquidation/query.js +1 -1
  144. package/lib/codec/liquidation/quote_changes.d.ts +1 -1
  145. package/lib/codec/liquidation/quote_changes.js +1 -1
  146. package/lib/codec/liquiditypool/event.d.ts +2 -2
  147. package/lib/codec/liquiditypool/event.js +2 -2
  148. package/lib/codec/liquiditypool/genesis.d.ts +2 -2
  149. package/lib/codec/liquiditypool/genesis.js +2 -2
  150. package/lib/codec/liquiditypool/proposal.d.ts +1 -1
  151. package/lib/codec/liquiditypool/proposal.js +1 -1
  152. package/lib/codec/liquiditypool/query.d.ts +2 -2
  153. package/lib/codec/liquiditypool/query.js +2 -2
  154. package/lib/codec/liquiditypool/tx.d.ts +1 -1
  155. package/lib/codec/liquiditypool/tx.js +1 -1
  156. package/lib/codec/lockproxy/genesis.d.ts +1 -1
  157. package/lib/codec/lockproxy/genesis.js +1 -1
  158. package/lib/codec/lockproxy/query.d.ts +1 -1
  159. package/lib/codec/lockproxy/query.js +1 -1
  160. package/lib/codec/market/event.d.ts +1 -1
  161. package/lib/codec/market/event.js +1 -1
  162. package/lib/codec/market/genesis.d.ts +1 -2
  163. package/lib/codec/market/genesis.js +2 -20
  164. package/lib/codec/market/proposal.d.ts +1 -1
  165. package/lib/codec/market/proposal.js +1 -1
  166. package/lib/codec/market/query.d.ts +1 -1
  167. package/lib/codec/market/query.js +1 -1
  168. package/lib/codec/market/tx.d.ts +1 -1
  169. package/lib/codec/market/tx.js +1 -1
  170. package/lib/codec/marketstats/genesis.d.ts +1 -1
  171. package/lib/codec/marketstats/genesis.js +1 -1
  172. package/lib/codec/marketstats/query.d.ts +2 -2
  173. package/lib/codec/marketstats/query.js +2 -2
  174. package/lib/codec/misc/message.d.ts +1 -1
  175. package/lib/codec/misc/message.js +1 -1
  176. package/lib/codec/misc/query.d.ts +3 -3
  177. package/lib/codec/misc/query.js +3 -3
  178. package/lib/codec/misc/trade.d.ts +0 -1
  179. package/lib/codec/misc/trade.js +0 -17
  180. package/lib/codec/misc/transaction.d.ts +1 -1
  181. package/lib/codec/misc/transaction.js +1 -1
  182. package/lib/codec/oracle/event.d.ts +1 -1
  183. package/lib/codec/oracle/event.js +1 -1
  184. package/lib/codec/oracle/genesis.d.ts +1 -1
  185. package/lib/codec/oracle/genesis.js +1 -1
  186. package/lib/codec/oracle/proposal.d.ts +1 -1
  187. package/lib/codec/oracle/proposal.js +1 -1
  188. package/lib/codec/oracle/query.d.ts +2 -2
  189. package/lib/codec/oracle/query.js +2 -2
  190. package/lib/codec/order/event.d.ts +1 -1
  191. package/lib/codec/order/event.js +1 -1
  192. package/lib/codec/order/genesis.d.ts +1 -1
  193. package/lib/codec/order/genesis.js +1 -1
  194. package/lib/codec/order/query.d.ts +1 -1
  195. package/lib/codec/order/query.js +1 -1
  196. package/lib/codec/position/event.d.ts +1 -1
  197. package/lib/codec/position/event.js +1 -1
  198. package/lib/codec/position/genesis.d.ts +1 -1
  199. package/lib/codec/position/genesis.js +1 -1
  200. package/lib/codec/position/query.d.ts +1 -1
  201. package/lib/codec/position/query.js +1 -1
  202. package/lib/codec/pricing/event.d.ts +1 -11
  203. package/lib/codec/pricing/event.js +2 -52
  204. package/lib/codec/pricing/genesis.d.ts +1 -2
  205. package/lib/codec/pricing/genesis.js +5 -20
  206. package/lib/codec/pricing/pricing.d.ts +0 -13
  207. package/lib/codec/pricing/pricing.js +1 -83
  208. package/lib/codec/pricing/query.d.ts +1 -1
  209. package/lib/codec/pricing/query.js +1 -1
  210. package/lib/codec/profile/event.d.ts +1 -1
  211. package/lib/codec/profile/event.js +1 -1
  212. package/lib/codec/profile/genesis.d.ts +1 -1
  213. package/lib/codec/profile/genesis.js +1 -1
  214. package/lib/codec/profile/query.d.ts +1 -1
  215. package/lib/codec/profile/query.js +1 -1
  216. package/lib/codec/subaccount/genesis.d.ts +1 -1
  217. package/lib/codec/subaccount/genesis.js +1 -1
  218. package/lib/codec/subaccount/query.d.ts +1 -1
  219. package/lib/codec/subaccount/query.js +1 -1
  220. package/lib/codec/tendermint/abci/types.d.ts +4 -4
  221. package/lib/codec/tendermint/abci/types.js +4 -4
  222. package/lib/codec/tendermint/types/block.d.ts +2 -2
  223. package/lib/codec/tendermint/types/block.js +2 -2
  224. package/lib/codec/tendermint/types/evidence.d.ts +2 -2
  225. package/lib/codec/tendermint/types/evidence.js +2 -2
  226. package/lib/codec/tendermint/types/types.d.ts +3 -3
  227. package/lib/codec/tendermint/types/types.js +3 -3
  228. package/lib/codec/tendermint/types/validator.d.ts +1 -1
  229. package/lib/codec/tendermint/types/validator.js +1 -1
  230. package/lib/modules/admin.d.ts +1 -53
  231. package/lib/modules/admin.js +42 -174
  232. package/lib/modules/cdp.d.ts +12 -55
  233. package/lib/modules/cdp.js +20 -134
  234. package/lib/provider/amino/types/admin.js +7 -48
  235. package/lib/provider/amino/types/cdp.js +32 -72
  236. package/lib/util/tx.d.ts +14 -42
  237. package/lib/websocket/channel.js +0 -26
  238. package/lib/websocket/models.d.ts +0 -63
  239. package/lib/websocket/types.d.ts +3 -38
  240. package/lib/websocket/types.js +0 -16
  241. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MintData } from "./inflation";
3
+ import { MintData } from "../inflation/inflation";
4
4
  export declare const protobufPackage = "Switcheo.carbon.inflation";
5
5
  /** GenesisState defines the inflation module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const inflation_1 = require("./inflation");
10
+ const inflation_1 = require("../inflation/inflation");
11
11
  exports.protobufPackage = "Switcheo.carbon.inflation";
12
12
  const baseGenesisState = { inflationEnabled: false };
13
13
  exports.GenesisState = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MintData } from "./inflation";
3
+ import { MintData } from "../inflation/inflation";
4
4
  export declare const protobufPackage = "Switcheo.carbon.inflation";
5
5
  export interface QueryMintDataRequest {
6
6
  }
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryMintDataResponse = exports.QueryMintDataR
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const inflation_1 = require("./inflation");
10
+ const inflation_1 = require("../inflation/inflation");
11
11
  exports.protobufPackage = "Switcheo.carbon.inflation";
12
12
  const baseQueryMintDataRequest = {};
13
13
  exports.QueryMintDataRequest = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { FundByMarket } from "./fund";
3
+ import { FundByMarket } from "../insurance/fund";
4
4
  export declare const protobufPackage = "Switcheo.carbon.insurance";
5
5
  /** GenesisState defines the insurance module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const fund_1 = require("./fund");
10
+ const fund_1 = require("../insurance/fund");
11
11
  exports.protobufPackage = "Switcheo.carbon.insurance";
12
12
  const baseGenesisState = {};
13
13
  exports.GenesisState = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MarketLeverageRecord } from "./leverage";
3
+ import { MarketLeverageRecord } from "../leverage/leverage";
4
4
  export declare const protobufPackage = "Switcheo.carbon.leverage";
5
5
  /** GenesisState defines the leverage module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const leverage_1 = require("./leverage");
10
+ const leverage_1 = require("../leverage/leverage");
11
11
  exports.protobufPackage = "Switcheo.carbon.leverage";
12
12
  const baseGenesisState = {};
13
13
  exports.GenesisState = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MarketLeverage } from "./leverage";
3
+ import { MarketLeverage } from "../leverage/leverage";
4
4
  export declare const protobufPackage = "Switcheo.carbon.leverage";
5
5
  /** this line is used by starport scaffolding # 3 */
6
6
  export interface QueryGetLeverageRequest {
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryAllLeverageResponse = exports.QueryAllLev
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const leverage_1 = require("./leverage");
10
+ const leverage_1 = require("../leverage/leverage");
11
11
  exports.protobufPackage = "Switcheo.carbon.leverage";
12
12
  const baseQueryGetLeverageRequest = { address: "", market: "" };
13
13
  exports.QueryGetLeverageRequest = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { OutstandingPositions } from "./outstanding_position";
3
+ import { OutstandingPositions } from "../liquidation/outstanding_position";
4
4
  export declare const protobufPackage = "Switcheo.carbon.liquidation";
5
5
  /** GenesisState defines the liquidation module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState_OutstandingPositionsEntry = exports.GenesisState = exports.
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const outstanding_position_1 = require("./outstanding_position");
10
+ const outstanding_position_1 = require("../liquidation/outstanding_position");
11
11
  exports.protobufPackage = "Switcheo.carbon.liquidation";
12
12
  const baseGenesisState = {};
13
13
  exports.GenesisState = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Params } from "./liquidation";
3
+ import { Params } from "../liquidation/liquidation";
4
4
  import { AccountTrade } from "../misc/trade";
5
5
  export declare const protobufPackage = "Switcheo.carbon.liquidation";
6
6
  /** this line is used by starport scaffolding # 3 */
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const liquidation_1 = require("./liquidation");
10
+ const liquidation_1 = require("../liquidation/liquidation");
11
11
  const trade_1 = require("../misc/trade");
12
12
  exports.protobufPackage = "Switcheo.carbon.liquidation";
13
13
  const baseQueryAllLiquidationRequest = {
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Order } from "../order/order";
4
- import { OutstandingPosition } from "./outstanding_position";
4
+ import { OutstandingPosition } from "../liquidation/outstanding_position";
5
5
  export declare const protobufPackage = "Switcheo.carbon.liquidation";
6
6
  export interface QuoteChanges {
7
7
  create: Order[];
@@ -8,7 +8,7 @@ exports.QuoteChanges = exports.protobufPackage = void 0;
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const order_1 = require("../order/order");
11
- const outstanding_position_1 = require("./outstanding_position");
11
+ const outstanding_position_1 = require("../liquidation/outstanding_position");
12
12
  exports.protobufPackage = "Switcheo.carbon.liquidation";
13
13
  const baseQuoteChanges = { remove: "" };
14
14
  exports.QuoteChanges = {
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Pool } from "./liquiditypool";
4
- import { CommitmentCurve, Commitment } from "./reward";
3
+ import { Pool } from "../liquiditypool/liquiditypool";
4
+ import { CommitmentCurve, Commitment } from "../liquiditypool/reward";
5
5
  export declare const protobufPackage = "Switcheo.carbon.liquiditypool";
6
6
  export interface PoolEvent {
7
7
  creator: string;
@@ -7,8 +7,8 @@ exports.CommitmentEvent = exports.CommitmentCurveEvent = exports.RewardsWeightCh
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const liquiditypool_1 = require("./liquiditypool");
11
- const reward_1 = require("./reward");
10
+ const liquiditypool_1 = require("../liquiditypool/liquiditypool");
11
+ const reward_1 = require("../liquiditypool/reward");
12
12
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
13
13
  const basePoolEvent = {
14
14
  creator: "",
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { RewardCurve, CommitmentCurve, RewardWeights, AllocatedRewards, CommitmentRecord, TotalCommitmentRecord, CommitmentExpiriesRecord, RewardHistoryRecord, LastClaimRecord } from "./reward";
4
- import { Params, Pool } from "./liquiditypool";
3
+ import { RewardCurve, CommitmentCurve, RewardWeights, AllocatedRewards, CommitmentRecord, TotalCommitmentRecord, CommitmentExpiriesRecord, RewardHistoryRecord, LastClaimRecord } from "../liquiditypool/reward";
4
+ import { Params, Pool } from "../liquiditypool/liquiditypool";
5
5
  export declare const protobufPackage = "Switcheo.carbon.liquiditypool";
6
6
  /** GenesisState defines the liquiditypool module's genesis state. */
7
7
  export interface GenesisState {
@@ -7,8 +7,8 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const reward_1 = require("./reward");
11
- const liquiditypool_1 = require("./liquiditypool");
10
+ const reward_1 = require("../liquiditypool/reward");
11
+ const liquiditypool_1 = require("../liquiditypool/liquiditypool");
12
12
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
13
13
  const baseGenesisState = {};
14
14
  exports.GenesisState = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { LinkPoolParams, UnlinkPoolParams, SetRewardCurveParams, SetCommitmentCurveParams, SetRewardsWeightsParams, UpdatePoolParams } from "./tx";
3
+ import { LinkPoolParams, UnlinkPoolParams, SetRewardCurveParams, SetCommitmentCurveParams, SetRewardsWeightsParams, UpdatePoolParams } from "../liquiditypool/tx";
4
4
  export declare const protobufPackage = "Switcheo.carbon.liquiditypool";
5
5
  export interface LinkPoolProposal {
6
6
  title: string;
@@ -7,7 +7,7 @@ exports.UpdatePoolProposal = exports.SetRewardsWeightsProposal = exports.SetComm
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const tx_1 = require("./tx");
10
+ const tx_1 = require("../liquiditypool/tx");
11
11
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
12
12
  const baseLinkPoolProposal = { title: "", description: "" };
13
13
  exports.LinkPoolProposal = {
@@ -1,8 +1,8 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
4
- import { Pool, Params } from "./liquiditypool";
5
- import { CommitmentResponse, CommitmentCurve, RewardCurve, RewardHistoryRecord, Commitment, TotalCommitmentRecord } from "./reward";
4
+ import { Pool, Params } from "../liquiditypool/liquiditypool";
5
+ import { CommitmentResponse, CommitmentCurve, RewardCurve, RewardHistoryRecord, Commitment, TotalCommitmentRecord } from "../liquiditypool/reward";
6
6
  import { DecCoin } from "../cosmos/base/v1beta1/coin";
7
7
  export declare const protobufPackage = "Switcheo.carbon.liquiditypool";
8
8
  /** this line is used by starport scaffolding # 3 */
@@ -8,8 +8,8 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
11
- const liquiditypool_1 = require("./liquiditypool");
12
- const reward_1 = require("./reward");
11
+ const liquiditypool_1 = require("../liquiditypool/liquiditypool");
12
+ const reward_1 = require("../liquiditypool/reward");
13
13
  const timestamp_1 = require("../google/protobuf/timestamp");
14
14
  const coin_1 = require("../cosmos/base/v1beta1/coin");
15
15
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { RewardWeight } from "./reward";
3
+ import { RewardWeight } from "../liquiditypool/reward";
4
4
  export declare const protobufPackage = "Switcheo.carbon.liquiditypool";
5
5
  /** this line is used by starport scaffolding # proto/tx/message */
6
6
  export interface MsgCreatePool {
@@ -8,7 +8,7 @@ exports.MsgClientImpl = exports.MsgUpdatePoolResponse = exports.UpdatePoolParams
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const timestamp_1 = require("../google/protobuf/timestamp");
11
- const reward_1 = require("./reward");
11
+ const reward_1 = require("../liquiditypool/reward");
12
12
  exports.protobufPackage = "Switcheo.carbon.liquiditypool";
13
13
  const baseMsgCreatePool = {
14
14
  creator: "",
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { WrapperMapping } from "./lockproxy";
3
+ import { WrapperMapping } from "../lockproxy/lockproxy";
4
4
  export declare const protobufPackage = "Switcheo.carbon.lockproxy";
5
5
  /** GenesisState defines the lockproxy module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState_OperatorsEntry = exports.GenesisState_RegistriesEntry = exp
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const lockproxy_1 = require("./lockproxy");
10
+ const lockproxy_1 = require("../lockproxy/lockproxy");
11
11
  exports.protobufPackage = "Switcheo.carbon.lockproxy";
12
12
  const baseGenesisState = { nonce: "" };
13
13
  exports.GenesisState = {
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
4
- import { WrapperMapping } from "./lockproxy";
4
+ import { WrapperMapping } from "../lockproxy/lockproxy";
5
5
  export declare const protobufPackage = "Switcheo.carbon.lockproxy";
6
6
  /** this line is used by starport scaffolding # 3 */
7
7
  export interface QueryGetProxyRequest {
@@ -8,7 +8,7 @@ exports.QueryClientImpl = exports.QueryListWrapperMappingResponse = exports.Quer
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
11
- const lockproxy_1 = require("./lockproxy");
11
+ const lockproxy_1 = require("../lockproxy/lockproxy");
12
12
  exports.protobufPackage = "Switcheo.carbon.lockproxy";
13
13
  const baseQueryGetProxyRequest = { operatorAddress: "" };
14
14
  exports.QueryGetProxyRequest = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Market } from "./market";
3
+ import { Market } from "../market/market";
4
4
  export declare const protobufPackage = "Switcheo.carbon.market";
5
5
  export interface MarketEvent {
6
6
  market?: Market;
@@ -7,7 +7,7 @@ exports.MarketEvent = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const market_1 = require("./market");
10
+ const market_1 = require("../market/market");
11
11
  exports.protobufPackage = "Switcheo.carbon.market";
12
12
  const baseMarketEvent = { type: "" };
13
13
  exports.MarketEvent = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Params, ControlledParams, Market } from "./market";
3
+ import { Params, ControlledParams, Market } from "../market/market";
4
4
  export declare const protobufPackage = "Switcheo.carbon.market";
5
5
  /** GenesisState defines the market module's genesis state. */
6
6
  export interface GenesisState {
@@ -12,7 +12,6 @@ export interface GenesisState {
12
12
  /** params defines all the paramaters of the module. */
13
13
  params?: Params;
14
14
  controlledParams?: ControlledParams;
15
- marketNameSequence: Long;
16
15
  }
17
16
  export declare const GenesisState: {
18
17
  encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
@@ -7,9 +7,9 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const market_1 = require("./market");
10
+ const market_1 = require("../market/market");
11
11
  exports.protobufPackage = "Switcheo.carbon.market";
12
- const baseGenesisState = { marketNameSequence: long_1.default.ZERO };
12
+ const baseGenesisState = {};
13
13
  exports.GenesisState = {
14
14
  encode(message, writer = minimal_1.default.Writer.create()) {
15
15
  for (const v of message.markets) {
@@ -21,9 +21,6 @@ exports.GenesisState = {
21
21
  if (message.controlledParams !== undefined) {
22
22
  market_1.ControlledParams.encode(message.controlledParams, writer.uint32(26).fork()).ldelim();
23
23
  }
24
- if (!message.marketNameSequence.isZero()) {
25
- writer.uint32(32).int64(message.marketNameSequence);
26
- }
27
24
  return writer;
28
25
  },
29
26
  decode(input, length) {
@@ -43,9 +40,6 @@ exports.GenesisState = {
43
40
  case 3:
44
41
  message.controlledParams = market_1.ControlledParams.decode(reader, reader.uint32());
45
42
  break;
46
- case 4:
47
- message.marketNameSequence = reader.int64();
48
- break;
49
43
  default:
50
44
  reader.skipType(tag & 7);
51
45
  break;
@@ -65,11 +59,6 @@ exports.GenesisState = {
65
59
  object.controlledParams !== undefined && object.controlledParams !== null
66
60
  ? market_1.ControlledParams.fromJSON(object.controlledParams)
67
61
  : undefined;
68
- message.marketNameSequence =
69
- object.marketNameSequence !== undefined &&
70
- object.marketNameSequence !== null
71
- ? long_1.default.fromString(object.marketNameSequence)
72
- : long_1.default.ZERO;
73
62
  return message;
74
63
  },
75
64
  toJSON(message) {
@@ -86,8 +75,6 @@ exports.GenesisState = {
86
75
  (obj.controlledParams = message.controlledParams
87
76
  ? market_1.ControlledParams.toJSON(message.controlledParams)
88
77
  : undefined);
89
- message.marketNameSequence !== undefined &&
90
- (obj.marketNameSequence = (message.marketNameSequence || long_1.default.ZERO).toString());
91
78
  return obj;
92
79
  },
93
80
  fromPartial(object) {
@@ -102,11 +89,6 @@ exports.GenesisState = {
102
89
  object.controlledParams !== undefined && object.controlledParams !== null
103
90
  ? market_1.ControlledParams.fromPartial(object.controlledParams)
104
91
  : undefined;
105
- message.marketNameSequence =
106
- object.marketNameSequence !== undefined &&
107
- object.marketNameSequence !== null
108
- ? long_1.default.fromValue(object.marketNameSequence)
109
- : long_1.default.ZERO;
110
92
  return message;
111
93
  },
112
94
  };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Market, MarketParams } from "./market";
3
+ import { Market, MarketParams } from "../market/market";
4
4
  import { Duration } from "../google/protobuf/duration";
5
5
  export declare const protobufPackage = "Switcheo.carbon.market";
6
6
  export interface CreateMarketProposal {
@@ -7,7 +7,7 @@ exports.UpdatePerpetualsFundingIntervalProposal = exports.UpdateMarketProposal =
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const market_1 = require("./market");
10
+ const market_1 = require("../market/market");
11
11
  const duration_1 = require("../google/protobuf/duration");
12
12
  exports.protobufPackage = "Switcheo.carbon.market";
13
13
  const baseCreateMarketProposal = { title: "", description: "" };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Market, Params } from "./market";
3
+ import { Market, Params } from "../market/market";
4
4
  import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
5
5
  export declare const protobufPackage = "Switcheo.carbon.market";
6
6
  /** this line is used by starport scaffolding # 3 */
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const market_1 = require("./market");
10
+ const market_1 = require("../market/market");
11
11
  const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
12
12
  exports.protobufPackage = "Switcheo.carbon.market";
13
13
  const baseQueryGetMarketRequest = { name: "" };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MarketParams } from "./market";
3
+ import { MarketParams } from "../market/market";
4
4
  import { Duration } from "../google/protobuf/duration";
5
5
  export declare const protobufPackage = "Switcheo.carbon.market";
6
6
  /** this line is used by starport scaffolding # proto/tx/message */
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgUpdatePerpetualsFundingIntervalResponse = exp
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const market_1 = require("./market");
10
+ const market_1 = require("../market/market");
11
11
  const duration_1 = require("../google/protobuf/duration");
12
12
  const timestamp_1 = require("../google/protobuf/timestamp");
13
13
  exports.protobufPackage = "Switcheo.carbon.market";
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Params } from "./params";
3
+ import { Params } from "../marketstats/params";
4
4
  export declare const protobufPackage = "Switcheo.carbon.marketstats";
5
5
  /** GenesisState defines the marketstats module's genesis state. */
6
6
  export interface GenesisState {
@@ -7,7 +7,7 @@ exports.GenesisState = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const params_1 = require("./params");
10
+ const params_1 = require("../marketstats/params");
11
11
  exports.protobufPackage = "Switcheo.carbon.marketstats";
12
12
  const baseGenesisState = {};
13
13
  exports.GenesisState = {
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Params } from "./params";
4
- import { MarketStats } from "./marketstats";
3
+ import { Params } from "../marketstats/params";
4
+ import { MarketStats } from "../marketstats/marketstats";
5
5
  export declare const protobufPackage = "Switcheo.carbon.marketstats";
6
6
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
7
7
  export interface QueryParamsRequest {
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QueryMarketStatsResponse = exports.QueryMarket
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const params_1 = require("./params");
11
- const marketstats_1 = require("./marketstats");
10
+ const params_1 = require("../marketstats/params");
11
+ const marketstats_1 = require("../marketstats/marketstats");
12
12
  exports.protobufPackage = "Switcheo.carbon.marketstats";
13
13
  const baseQueryParamsRequest = {};
14
14
  exports.QueryParamsRequest = {
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { MessageType } from "./message_type";
3
+ import { MessageType } from "../misc/message_type";
4
4
  export declare const protobufPackage = "Switcheo.carbon.misc";
5
5
  export interface Message {
6
6
  hash: string;
@@ -7,7 +7,7 @@ exports.Message = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const message_type_1 = require("./message_type");
10
+ const message_type_1 = require("../misc/message_type");
11
11
  const timestamp_1 = require("../google/protobuf/timestamp");
12
12
  exports.protobufPackage = "Switcheo.carbon.misc";
13
13
  const baseMessage = { hash: "", message: "" };
@@ -1,10 +1,10 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { PageRequest, PageResponse } from "../query/pagination";
4
- import { Transaction } from "./transaction";
4
+ import { Transaction } from "../misc/transaction";
5
5
  import { Order } from "../order/order";
6
- import { MessageType } from "./message_type";
7
- import { Block } from "./block";
6
+ import { MessageType } from "../misc/message_type";
7
+ import { Block } from "../misc/block";
8
8
  export declare const protobufPackage = "Switcheo.carbon.misc";
9
9
  export interface QuerySearchRequest {
10
10
  keyword: string;
@@ -8,10 +8,10 @@ exports.QueryClientImpl = exports.QueryModuleAddressResponse = exports.QueryModu
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
10
  const pagination_1 = require("../query/pagination");
11
- const transaction_1 = require("./transaction");
11
+ const transaction_1 = require("../misc/transaction");
12
12
  const order_1 = require("../order/order");
13
- const message_type_1 = require("./message_type");
14
- const block_1 = require("./block");
13
+ const message_type_1 = require("../misc/message_type");
14
+ const block_1 = require("../misc/block");
15
15
  exports.protobufPackage = "Switcheo.carbon.misc";
16
16
  const baseQuerySearchRequest = { keyword: "", limit: long_1.default.UZERO };
17
17
  exports.QuerySearchRequest = {
@@ -12,7 +12,6 @@ export interface AccountTrade {
12
12
  address: string;
13
13
  blockHeight: Long;
14
14
  blockCreatedAt?: Date;
15
- tradeId: Long;
16
15
  }
17
16
  export declare const AccountTrade: {
18
17
  encode(message: AccountTrade, writer?: _m0.Writer): _m0.Writer;