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
@@ -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 profile_1 = require("./profile");
10
+ const profile_1 = require("../profile/profile");
11
11
  exports.protobufPackage = "Switcheo.carbon.profile";
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 { Profile } from "./profile";
3
+ import { Profile } from "../profile/profile";
4
4
  import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
5
5
  export declare const protobufPackage = "Switcheo.carbon.profile";
6
6
  /** this line is used by starport scaffolding # 3 */
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryAllProfileResponse = exports.QueryAllProf
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const profile_1 = require("./profile");
10
+ const profile_1 = require("../profile/profile");
11
11
  const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
12
12
  exports.protobufPackage = "Switcheo.carbon.profile";
13
13
  const baseQueryGetProfileRequest = { address: "" };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { GenesisSubAccount } from "./subaccount";
3
+ import { GenesisSubAccount } from "../subaccount/subaccount";
4
4
  export declare const protobufPackage = "Switcheo.carbon.subaccount";
5
5
  /** GenesisState defines the subaccount 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 subaccount_1 = require("./subaccount");
10
+ const subaccount_1 = require("../subaccount/subaccount");
11
11
  exports.protobufPackage = "Switcheo.carbon.subaccount";
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 { SubAccount, GenesisSubAccount } from "./subaccount";
3
+ import { SubAccount, GenesisSubAccount } from "../subaccount/subaccount";
4
4
  import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
5
5
  export declare const protobufPackage = "Switcheo.carbon.subaccount";
6
6
  /** this line is used by starport scaffolding # 3 */
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QuerySubAccountPowerResponse = exports.QuerySu
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const subaccount_1 = require("./subaccount");
10
+ const subaccount_1 = require("../subaccount/subaccount");
11
11
  const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
12
12
  exports.protobufPackage = "Switcheo.carbon.subaccount";
13
13
  const baseQueryGetSubAccountRequest = { address: "" };
@@ -1,9 +1,9 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Header } from "../types/types";
4
- import { ProofOps } from "../crypto/proof";
5
- import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params";
6
- import { PublicKey } from "../crypto/keys";
3
+ import { Header } from "../../tendermint/types/types";
4
+ import { ProofOps } from "../../tendermint/crypto/proof";
5
+ import { EvidenceParams, ValidatorParams, VersionParams } from "../../tendermint/types/params";
6
+ import { PublicKey } from "../../tendermint/crypto/keys";
7
7
  export declare const protobufPackage = "tendermint.abci";
8
8
  export declare enum CheckTxType {
9
9
  NEW = 0,
@@ -8,10 +8,10 @@ exports.ABCIApplicationClientImpl = exports.Snapshot = exports.Evidence = export
8
8
  /* eslint-disable */
9
9
  const long_1 = __importDefault(require("long"));
10
10
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
11
- const types_1 = require("../types/types");
12
- const proof_1 = require("../crypto/proof");
13
- const params_1 = require("../types/params");
14
- const keys_1 = require("../crypto/keys");
11
+ const types_1 = require("../../tendermint/types/types");
12
+ const proof_1 = require("../../tendermint/crypto/proof");
13
+ const params_1 = require("../../tendermint/types/params");
14
+ const keys_1 = require("../../tendermint/crypto/keys");
15
15
  const timestamp_1 = require("../../google/protobuf/timestamp");
16
16
  exports.protobufPackage = "tendermint.abci";
17
17
  var CheckTxType;
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Header, Data, Commit } from "./types";
4
- import { EvidenceList } from "./evidence";
3
+ import { Header, Data, Commit } from "../../tendermint/types/types";
4
+ import { EvidenceList } from "../../tendermint/types/evidence";
5
5
  export declare const protobufPackage = "tendermint.types";
6
6
  export interface Block {
7
7
  header?: Header;
@@ -7,8 +7,8 @@ exports.Block = 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 types_1 = require("./types");
11
- const evidence_1 = require("./evidence");
10
+ const types_1 = require("../../tendermint/types/types");
11
+ const evidence_1 = require("../../tendermint/types/evidence");
12
12
  exports.protobufPackage = "tendermint.types";
13
13
  const baseBlock = {};
14
14
  exports.Block = {
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Vote, LightBlock } from "./types";
4
- import { Validator } from "./validator";
3
+ import { Vote, LightBlock } from "../../tendermint/types/types";
4
+ import { Validator } from "../../tendermint/types/validator";
5
5
  export declare const protobufPackage = "tendermint.types";
6
6
  export interface Evidence {
7
7
  duplicateVoteEvidence?: DuplicateVoteEvidence | undefined;
@@ -7,9 +7,9 @@ exports.EvidenceList = exports.LightClientAttackEvidence = exports.DuplicateVote
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const types_1 = require("./types");
10
+ const types_1 = require("../../tendermint/types/types");
11
11
  const timestamp_1 = require("../../google/protobuf/timestamp");
12
- const validator_1 = require("./validator");
12
+ const validator_1 = require("../../tendermint/types/validator");
13
13
  exports.protobufPackage = "tendermint.types";
14
14
  const baseEvidence = {};
15
15
  exports.Evidence = {
@@ -1,8 +1,8 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Proof } from "../crypto/proof";
4
- import { Consensus } from "../version/types";
5
- import { ValidatorSet } from "./validator";
3
+ import { Proof } from "../../tendermint/crypto/proof";
4
+ import { Consensus } from "../../tendermint/version/types";
5
+ import { ValidatorSet } from "../../tendermint/types/validator";
6
6
  export declare const protobufPackage = "tendermint.types";
7
7
  /** BlockIdFlag indicates which BlcokID the signature is for */
8
8
  export declare enum BlockIDFlag {
@@ -7,9 +7,9 @@ exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const proof_1 = require("../crypto/proof");
11
- const types_1 = require("../version/types");
12
- const validator_1 = require("./validator");
10
+ const proof_1 = require("../../tendermint/crypto/proof");
11
+ const types_1 = require("../../tendermint/version/types");
12
+ const validator_1 = require("../../tendermint/types/validator");
13
13
  const timestamp_1 = require("../../google/protobuf/timestamp");
14
14
  exports.protobufPackage = "tendermint.types";
15
15
  /** BlockIdFlag indicates which BlcokID the signature is for */
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { PublicKey } from "../crypto/keys";
3
+ import { PublicKey } from "../../tendermint/crypto/keys";
4
4
  export declare const protobufPackage = "tendermint.types";
5
5
  export interface ValidatorSet {
6
6
  validators: Validator[];
@@ -7,7 +7,7 @@ exports.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.pro
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const keys_1 = require("../crypto/keys");
10
+ const keys_1 = require("../../tendermint/crypto/keys");
11
11
  exports.protobufPackage = "tendermint.types";
12
12
  const baseValidatorSet = { totalVotingPower: long_1.default.ZERO };
13
13
  exports.ValidatorSet = {
@@ -15,6 +15,7 @@ export declare class AdminModule extends BaseModule {
15
15
  linkToken(params: AdminModule.LinkTokenParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
16
16
  createMarket(params: AdminModule.CreateMarketParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
17
17
  createMarkets(params: AdminModule.CreateMarketParams[], opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
18
+ createVaultType(params: AdminModule.CreateVaultTypeParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
18
19
  linkPool(params: AdminModule.LinkPoolParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
19
20
  unlinkPool(params: AdminModule.UnlinkPoolParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
20
21
  setRewardsWeights(params: AdminModule.SetRewardsWeightsParams[], opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
@@ -31,14 +32,6 @@ export declare class AdminModule extends BaseModule {
31
32
  editValidator(params: AdminModule.EditValidatorParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
32
33
  authorizeBridge(params: AdminModule.AuthorizeBridgeParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
33
34
  deauthorizeBridge(params: AdminModule.DeauthorizeBridgeParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
34
- addRateStrategy(params: AdminModule.AddRateStrategyParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
35
- updateRateStrategy(params: AdminModule.UpdateRateStrategyParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
36
- removeRateStrategy(params: AdminModule.RemoveRateStrategyParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
37
- addAsset(params: AdminModule.AddAssetParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
38
- updateAsset(params: AdminModule.UpdateAssetParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
39
- setLiquidationFee(params: AdminModule.SetLiquidationFeeParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
40
- setInterestFee(params: AdminModule.SetInterestFeeParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
41
- setStableCoinInterestRate(params: AdminModule.SetStableCoinInterestRateParams, opts?: CarbonTx.SignTxOpts): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
42
35
  }
43
36
  export declare namespace AdminModule {
44
37
  interface AuthorizeBridgeParams {
@@ -180,51 +173,6 @@ export declare namespace AdminModule {
180
173
  commissionRate: BigNumber;
181
174
  minSelfDelegation: BigNumber;
182
175
  }
183
- interface RateStrategy {
184
- name: string;
185
- optimalUsage: BigNumber;
186
- baseVariableBorrowRate: BigNumber;
187
- variableRateSlope1: BigNumber;
188
- variableRateSlope2: BigNumber;
189
- baseStableBorrowRate: BigNumber;
190
- stableRateSlope1: BigNumber;
191
- stableRateSlope2: BigNumber;
192
- optimalStableToTotalDebtRatio: BigNumber;
193
- }
194
- interface Asset {
195
- denom: string;
196
- oracleId: string;
197
- rateStrategyName: string;
198
- loanToValue: BigNumber;
199
- liquidationThreshold: BigNumber;
200
- liquidationBonus: BigNumber;
201
- supplyCap: BigNumber;
202
- borrowCap: BigNumber;
203
- }
204
- interface AddRateStrategyParams {
205
- rateStrategy: RateStrategy;
206
- }
207
- interface UpdateRateStrategyParams {
208
- rateStrategy: RateStrategy;
209
- }
210
- interface RemoveRateStrategyParams {
211
- name: string;
212
- }
213
- interface AddAssetParams {
214
- asset: Asset;
215
- }
216
- interface UpdateAssetParams {
217
- asset: Asset;
218
- }
219
- interface SetLiquidationFeeParams {
220
- liquidationFee: BigNumber;
221
- }
222
- interface SetInterestFeeParams {
223
- interestFee: BigNumber;
224
- }
225
- interface SetStableCoinInterestRateParams {
226
- stablecoinInterestRate: BigNumber;
227
- }
228
176
  }
229
177
  export declare function transfromCreateOracleParams(msg: AdminModule.CreateOracleParams, address: string): {
230
178
  creator: string;