carbon-js-sdk 0.7.12 → 0.7.13
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.
- package/lib/clients/CarbonQueryClient.d.ts +1 -1
- package/lib/clients/CarbonQueryClient.js +1 -1
- package/lib/codec/Switcheo/carbon/book/event.d.ts +1 -20
- package/lib/codec/Switcheo/carbon/book/event.js +19 -101
- package/lib/codec/Switcheo/carbon/book/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/book/export.js +1 -3
- package/lib/codec/Switcheo/carbon/book/query.d.ts +6 -12
- package/lib/codec/Switcheo/carbon/book/query.js +6 -18
- package/lib/codec/Switcheo/carbon/broker/amm.d.ts +0 -8
- package/lib/codec/Switcheo/carbon/ccm/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/ccm/export.js +1 -3
- package/lib/codec/Switcheo/carbon/ccm/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/ccm/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/cdp/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/cdp/export.js +1 -3
- package/lib/codec/Switcheo/carbon/cdp/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/cdp/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.d.ts +4 -10
- package/lib/codec/Switcheo/carbon/evmcontract/genesis.js +4 -54
- package/lib/codec/Switcheo/carbon/evmcontract/query.d.ts +0 -98
- package/lib/codec/Switcheo/carbon/evmcontract/query.js +1 -374
- package/lib/codec/Switcheo/carbon/evmcontract/tx.d.ts +0 -103
- package/lib/codec/Switcheo/carbon/evmcontract/tx.js +1 -425
- package/lib/codec/Switcheo/carbon/liquidation/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/liquidation/export.js +5 -1
- package/lib/codec/Switcheo/carbon/liquidation/query.d.ts +25 -0
- package/lib/codec/Switcheo/carbon/liquidation/query.js +88 -1
- package/lib/codec/Switcheo/carbon/liquiditypool/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/liquiditypool/export.js +3 -6
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.d.ts +0 -20
- package/lib/codec/Switcheo/carbon/liquiditypool/liquiditypool.js +1 -191
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/liquiditypool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/market/export.d.ts +2 -2
- package/lib/codec/Switcheo/carbon/market/export.js +2 -6
- package/lib/codec/Switcheo/carbon/market/query.d.ts +0 -31
- package/lib/codec/Switcheo/carbon/market/query.js +1 -226
- package/lib/codec/Switcheo/carbon/market/tx.d.ts +2 -46
- package/lib/codec/Switcheo/carbon/market/tx.js +1 -100
- package/lib/codec/Switcheo/carbon/marketstats/export.d.ts +2 -1
- package/lib/codec/Switcheo/carbon/marketstats/export.js +5 -1
- package/lib/codec/Switcheo/carbon/marketstats/genesis.d.ts +7 -4
- package/lib/codec/Switcheo/carbon/marketstats/genesis.js +21 -4
- package/lib/codec/Switcheo/carbon/marketstats/query.d.ts +26 -0
- package/lib/codec/Switcheo/carbon/marketstats/query.js +88 -1
- package/lib/codec/Switcheo/carbon/oracle/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/oracle/export.js +1 -4
- package/lib/codec/Switcheo/carbon/oracle/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/oracle/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/order/export.d.ts +3 -4
- package/lib/codec/Switcheo/carbon/order/export.js +4 -11
- package/lib/codec/Switcheo/carbon/order/genesis.d.ts +10 -10
- package/lib/codec/Switcheo/carbon/order/genesis.js +16 -16
- package/lib/codec/Switcheo/carbon/order/order.d.ts +14 -14
- package/lib/codec/Switcheo/carbon/order/order.js +11 -11
- package/lib/codec/Switcheo/carbon/order/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/order/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/perpspool/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/perpspool/export.js +1 -3
- package/lib/codec/Switcheo/carbon/perpspool/tx.d.ts +1 -46
- package/lib/codec/Switcheo/carbon/perpspool/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/position/export.d.ts +0 -1
- package/lib/codec/Switcheo/carbon/position/export.js +1 -4
- package/lib/codec/Switcheo/carbon/pricing/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/pricing/export.js +1 -3
- package/lib/codec/Switcheo/carbon/pricing/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/pricing/tx.js +1 -101
- package/lib/codec/Switcheo/carbon/subaccount/export.d.ts +1 -1
- package/lib/codec/Switcheo/carbon/subaccount/export.js +1 -3
- package/lib/codec/Switcheo/carbon/subaccount/tx.d.ts +0 -46
- package/lib/codec/Switcheo/carbon/subaccount/tx.js +1 -101
- package/lib/codec/carbon-models.d.ts +1 -2
- package/lib/codec/carbon-models.js +2 -3
- package/lib/codec/cosmos/app/v1alpha1/config.d.ts +0 -26
- package/lib/codec/cosmos/app/v1alpha1/config.js +4 -94
- package/lib/codec/cosmos/auth/v1beta1/auth.d.ts +0 -21
- package/lib/codec/cosmos/auth/v1beta1/auth.js +1 -92
- package/lib/codec/cosmos/auth/v1beta1/export.d.ts +2 -3
- package/lib/codec/cosmos/auth/v1beta1/export.js +1 -7
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -54
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -120
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +0 -7
- package/lib/codec/cosmos/bank/v1beta1/authz.js +3 -18
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +0 -9
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +3 -9
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -17
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +5 -125
- package/lib/codec/cosmos/bank/v1beta1/query.js +1 -257
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +1 -102
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -215
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +0 -8
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.d.ts +1 -2
- package/lib/codec/cosmos/base/store/v1beta1/commit_info.js +1 -39
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +46 -16
- package/lib/codec/cosmos/crisis/v1beta1/tx.d.ts +1 -46
- package/lib/codec/cosmos/crisis/v1beta1/tx.js +1 -103
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -20
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +16 -16
- package/lib/codec/cosmos/distribution/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/export.js +1 -8
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +4 -4
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +1 -32
- package/lib/codec/cosmos/distribution/v1beta1/query.js +1 -134
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +3 -103
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -212
- package/lib/codec/cosmos/evidence/v1beta1/evidence.d.ts +0 -4
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -12
- package/lib/codec/cosmos/evidence/v1beta1/query.js +2 -14
- package/lib/codec/cosmos/evidence/v1beta1/tx.d.ts +0 -2
- package/lib/codec/cosmos/gov/v1/genesis.d.ts +4 -25
- package/lib/codec/cosmos/gov/v1/genesis.js +0 -16
- package/lib/codec/cosmos/gov/v1/gov.d.ts +2 -83
- package/lib/codec/cosmos/gov/v1/gov.js +3 -231
- package/lib/codec/cosmos/gov/v1/query.d.ts +6 -30
- package/lib/codec/cosmos/gov/v1/query.js +0 -16
- package/lib/codec/cosmos/gov/v1/tx.d.ts +2 -74
- package/lib/codec/cosmos/gov/v1/tx.js +3 -131
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +3 -3
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +5 -30
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +0 -13
- package/lib/codec/cosmos/group/v1/events.d.ts +1 -17
- package/lib/codec/cosmos/group/v1/events.js +1 -81
- package/lib/codec/cosmos/group/v1/query.d.ts +5 -5
- package/lib/codec/cosmos/group/v1/tx.d.ts +13 -25
- package/lib/codec/cosmos/group/v1/tx.js +34 -60
- package/lib/codec/cosmos/group/v1/types.d.ts +6 -26
- package/lib/codec/cosmos/group/v1/types.js +1 -27
- package/lib/codec/cosmos/mint/v1beta1/export.d.ts +0 -1
- package/lib/codec/cosmos/mint/v1beta1/export.js +1 -4
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/mint.d.ts +1 -1
- package/lib/codec/cosmos/nft/v1beta1/event.d.ts +0 -10
- package/lib/codec/cosmos/nft/v1beta1/genesis.d.ts +0 -1
- package/lib/codec/cosmos/nft/v1beta1/query.d.ts +0 -20
- package/lib/codec/cosmos/slashing/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/export.js +1 -3
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/tx.d.ts +0 -46
- package/lib/codec/cosmos/slashing/v1beta1/tx.js +1 -101
- package/lib/codec/cosmos/staking/v1beta1/export.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/export.js +2 -8
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +5 -36
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -40
- package/lib/codec/cosmos/staking/v1beta1/staking.js +2 -212
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +1 -45
- package/lib/codec/cosmos/staking/v1beta1/tx.js +1 -100
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +1 -9
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +2 -164
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -407
- package/lib/codec/cosmos/upgrade/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/upgrade.d.ts +4 -6
- package/lib/codec/ethermint/evm/v1/export.d.ts +1 -2
- package/lib/codec/ethermint/evm/v1/export.js +1 -8
- package/lib/codec/ethermint/evm/v1/tx.d.ts +1 -37
- package/lib/codec/ethermint/evm/v1/tx.js +1 -100
- package/lib/codec/ethermint/feemarket/v1/export.d.ts +0 -2
- package/lib/codec/ethermint/feemarket/v1/export.js +1 -7
- package/lib/codec/ethermint/feemarket/v1/feemarket.d.ts +0 -10
- package/lib/codec/ethermint/feemarket/v1/feemarket.js +1 -28
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.d.ts +1 -2
- package/lib/codec/ibc/applications/interchain_accounts/controller/export.js +1 -8
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.d.ts +0 -26
- package/lib/codec/ibc/applications/interchain_accounts/controller/v1/query.js +1 -113
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.d.ts +1 -0
- package/lib/codec/ibc/applications/interchain_accounts/v1/export.js +6 -1
- package/lib/codec/ibc/applications/transfer/v1/export.d.ts +1 -2
- package/lib/codec/ibc/applications/transfer/v1/export.js +1 -8
- package/lib/codec/ibc/applications/transfer/v1/genesis.d.ts +0 -6
- package/lib/codec/ibc/applications/transfer/v1/genesis.js +2 -18
- package/lib/codec/ibc/applications/transfer/v1/query.d.ts +1 -56
- package/lib/codec/ibc/applications/transfer/v1/query.js +1 -210
- package/lib/codec/ibc/applications/transfer/v1/tx.d.ts +4 -8
- package/lib/codec/ibc/applications/transfer/v1/tx.js +6 -35
- package/lib/codec/ibc/applications/transfer/v2/packet.d.ts +0 -2
- package/lib/codec/ibc/applications/transfer/v2/packet.js +1 -14
- package/lib/codec/ibc/core/channel/v1/channel.d.ts +0 -20
- package/lib/codec/ibc/core/channel/v1/channel.js +1 -78
- package/lib/codec/ibc/core/channel/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/channel/v1/export.js +2 -3
- package/lib/codec/ibc/core/channel/v1/tx.d.ts +12 -16
- package/lib/codec/ibc/core/channel/v1/tx.js +25 -62
- package/lib/codec/ibc/core/client/v1/client.d.ts +1 -5
- package/lib/codec/ibc/core/client/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/client/v1/export.js +1 -3
- package/lib/codec/ibc/core/client/v1/query.d.ts +1 -38
- package/lib/codec/ibc/core/client/v1/query.js +1 -137
- package/lib/codec/ibc/core/client/v1/tx.d.ts +6 -19
- package/lib/codec/ibc/core/client/v1/tx.js +11 -13
- package/lib/codec/ibc/core/commitment/v1/commitment.d.ts +1 -1
- package/lib/codec/ibc/core/commitment/v1/commitment.js +1 -1
- package/lib/codec/ibc/core/connection/v1/export.d.ts +1 -1
- package/lib/codec/ibc/core/connection/v1/export.js +1 -3
- package/lib/codec/ibc/core/connection/v1/query.d.ts +1 -26
- package/lib/codec/ibc/core/connection/v1/query.js +1 -87
- package/lib/codec/ibc/core/connection/v1/tx.d.ts +2 -7
- package/lib/codec/ibc/core/connection/v1/tx.js +2 -38
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.d.ts +5 -12
- package/lib/codec/ibc/lightclients/tendermint/v1/tendermint.js +1 -1
- package/lib/codec/ibc-models.d.ts +2 -3
- package/lib/codec/ibc-models.js +3 -4
- package/lib/codec/index.d.ts +20 -99
- package/lib/codec/index.js +890 -3371
- package/lib/codec/proofs.d.ts +0 -1
- package/lib/codec/proofs.js +0 -6
- package/lib/codec/tendermint/abci/types.d.ts +84 -131
- package/lib/codec/tendermint/abci/types.js +351 -707
- package/lib/codec/tendermint/types/params.d.ts +8 -1
- package/lib/codec/tendermint/types/params.js +33 -13
- package/lib/modules/evm.js +1 -1
- package/lib/provider/amino/types/evm.js +1 -1
- package/lib/util/tx.d.ts +7 -89
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ import { QueryClientImpl as PositionQueryClient } from "../codec/Switcheo/carbon
|
|
|
42
42
|
import { QueryClientImpl as PricingQueryClient } from "../codec/Switcheo/carbon/pricing/query";
|
|
43
43
|
import { QueryClientImpl as ProfileQueryClient } from "../codec/Switcheo/carbon/profile/query";
|
|
44
44
|
import { QueryClientImpl as SubaccountQueryClient } from "../codec/Switcheo/carbon/subaccount/query";
|
|
45
|
-
import { QueryClientImpl as AllianceClient } from "../codec/alliance/
|
|
45
|
+
import { QueryClientImpl as AllianceClient } from "../codec/alliance/query";
|
|
46
46
|
import { QueryClientImpl as PerpspoolQueryClient } from "../codec/Switcheo/carbon/perpspool/query";
|
|
47
47
|
import { QueryClientImpl as ERC20QueryClient } from "../codec/Switcheo/carbon/erc20/query";
|
|
48
48
|
import { Tendermint37Client } from "@cosmjs/tendermint-rpc";
|
|
@@ -47,7 +47,7 @@ const query_41 = require("../codec/Switcheo/carbon/position/query");
|
|
|
47
47
|
const query_42 = require("../codec/Switcheo/carbon/pricing/query");
|
|
48
48
|
const query_43 = require("../codec/Switcheo/carbon/profile/query");
|
|
49
49
|
const query_44 = require("../codec/Switcheo/carbon/subaccount/query");
|
|
50
|
-
const query_45 = require("../codec/alliance/
|
|
50
|
+
const query_45 = require("../codec/alliance/query");
|
|
51
51
|
const query_46 = require("../codec/Switcheo/carbon/perpspool/query");
|
|
52
52
|
const query_47 = require("../codec/Switcheo/carbon/erc20/query");
|
|
53
53
|
const stargate_1 = require("@cosmjs/stargate");
|
|
@@ -2,17 +2,12 @@ import Long from "long";
|
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
export declare const protobufPackage = "Switcheo.carbon.book";
|
|
4
4
|
export interface OrderBookEvent {
|
|
5
|
+
type: string;
|
|
5
6
|
market: string;
|
|
6
7
|
side: string;
|
|
7
8
|
price: string;
|
|
8
9
|
quantity: string;
|
|
9
10
|
}
|
|
10
|
-
export interface VirtualOrderBookEvent {
|
|
11
|
-
book?: OrderBookEvent;
|
|
12
|
-
}
|
|
13
|
-
export interface ClearVirtualOrderBookEvent {
|
|
14
|
-
market: string;
|
|
15
|
-
}
|
|
16
11
|
export declare const OrderBookEvent: {
|
|
17
12
|
encode(message: OrderBookEvent, writer?: _m0.Writer): _m0.Writer;
|
|
18
13
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): OrderBookEvent;
|
|
@@ -20,20 +15,6 @@ export declare const OrderBookEvent: {
|
|
|
20
15
|
toJSON(message: OrderBookEvent): unknown;
|
|
21
16
|
fromPartial(object: DeepPartial<OrderBookEvent>): OrderBookEvent;
|
|
22
17
|
};
|
|
23
|
-
export declare const VirtualOrderBookEvent: {
|
|
24
|
-
encode(message: VirtualOrderBookEvent, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): VirtualOrderBookEvent;
|
|
26
|
-
fromJSON(object: any): VirtualOrderBookEvent;
|
|
27
|
-
toJSON(message: VirtualOrderBookEvent): unknown;
|
|
28
|
-
fromPartial(object: DeepPartial<VirtualOrderBookEvent>): VirtualOrderBookEvent;
|
|
29
|
-
};
|
|
30
|
-
export declare const ClearVirtualOrderBookEvent: {
|
|
31
|
-
encode(message: ClearVirtualOrderBookEvent, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ClearVirtualOrderBookEvent;
|
|
33
|
-
fromJSON(object: any): ClearVirtualOrderBookEvent;
|
|
34
|
-
toJSON(message: ClearVirtualOrderBookEvent): unknown;
|
|
35
|
-
fromPartial(object: DeepPartial<ClearVirtualOrderBookEvent>): ClearVirtualOrderBookEvent;
|
|
36
|
-
};
|
|
37
18
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
38
19
|
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
39
20
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
@@ -3,12 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.OrderBookEvent = 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
10
|
exports.protobufPackage = "Switcheo.carbon.book";
|
|
11
11
|
const baseOrderBookEvent = {
|
|
12
|
+
type: "",
|
|
12
13
|
market: "",
|
|
13
14
|
side: "",
|
|
14
15
|
price: "",
|
|
@@ -16,6 +17,9 @@ const baseOrderBookEvent = {
|
|
|
16
17
|
};
|
|
17
18
|
exports.OrderBookEvent = {
|
|
18
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.type !== "") {
|
|
21
|
+
writer.uint32(10).string(message.type);
|
|
22
|
+
}
|
|
19
23
|
if (message.market !== "") {
|
|
20
24
|
writer.uint32(18).string(message.market);
|
|
21
25
|
}
|
|
@@ -37,6 +41,9 @@ exports.OrderBookEvent = {
|
|
|
37
41
|
while (reader.pos < end) {
|
|
38
42
|
const tag = reader.uint32();
|
|
39
43
|
switch (tag >>> 3) {
|
|
44
|
+
case 1:
|
|
45
|
+
message.type = reader.string();
|
|
46
|
+
break;
|
|
40
47
|
case 2:
|
|
41
48
|
message.market = reader.string();
|
|
42
49
|
break;
|
|
@@ -58,6 +65,10 @@ exports.OrderBookEvent = {
|
|
|
58
65
|
},
|
|
59
66
|
fromJSON(object) {
|
|
60
67
|
const message = Object.assign({}, baseOrderBookEvent);
|
|
68
|
+
message.type =
|
|
69
|
+
object.type !== undefined && object.type !== null
|
|
70
|
+
? String(object.type)
|
|
71
|
+
: "";
|
|
61
72
|
message.market =
|
|
62
73
|
object.market !== undefined && object.market !== null
|
|
63
74
|
? String(object.market)
|
|
@@ -78,6 +89,7 @@ exports.OrderBookEvent = {
|
|
|
78
89
|
},
|
|
79
90
|
toJSON(message) {
|
|
80
91
|
const obj = {};
|
|
92
|
+
message.type !== undefined && (obj.type = message.type);
|
|
81
93
|
message.market !== undefined && (obj.market = message.market);
|
|
82
94
|
message.side !== undefined && (obj.side = message.side);
|
|
83
95
|
message.price !== undefined && (obj.price = message.price);
|
|
@@ -85,107 +97,13 @@ exports.OrderBookEvent = {
|
|
|
85
97
|
return obj;
|
|
86
98
|
},
|
|
87
99
|
fromPartial(object) {
|
|
88
|
-
var _a, _b, _c, _d;
|
|
100
|
+
var _a, _b, _c, _d, _e;
|
|
89
101
|
const message = Object.assign({}, baseOrderBookEvent);
|
|
90
|
-
message.
|
|
91
|
-
message.
|
|
92
|
-
message.
|
|
93
|
-
message.
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
const baseVirtualOrderBookEvent = {};
|
|
98
|
-
exports.VirtualOrderBookEvent = {
|
|
99
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
-
if (message.book !== undefined) {
|
|
101
|
-
exports.OrderBookEvent.encode(message.book, writer.uint32(10).fork()).ldelim();
|
|
102
|
-
}
|
|
103
|
-
return writer;
|
|
104
|
-
},
|
|
105
|
-
decode(input, length) {
|
|
106
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
107
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
-
const message = Object.assign({}, baseVirtualOrderBookEvent);
|
|
109
|
-
while (reader.pos < end) {
|
|
110
|
-
const tag = reader.uint32();
|
|
111
|
-
switch (tag >>> 3) {
|
|
112
|
-
case 1:
|
|
113
|
-
message.book = exports.OrderBookEvent.decode(reader, reader.uint32());
|
|
114
|
-
break;
|
|
115
|
-
default:
|
|
116
|
-
reader.skipType(tag & 7);
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
return message;
|
|
121
|
-
},
|
|
122
|
-
fromJSON(object) {
|
|
123
|
-
const message = Object.assign({}, baseVirtualOrderBookEvent);
|
|
124
|
-
message.book =
|
|
125
|
-
object.book !== undefined && object.book !== null
|
|
126
|
-
? exports.OrderBookEvent.fromJSON(object.book)
|
|
127
|
-
: undefined;
|
|
128
|
-
return message;
|
|
129
|
-
},
|
|
130
|
-
toJSON(message) {
|
|
131
|
-
const obj = {};
|
|
132
|
-
message.book !== undefined &&
|
|
133
|
-
(obj.book = message.book
|
|
134
|
-
? exports.OrderBookEvent.toJSON(message.book)
|
|
135
|
-
: undefined);
|
|
136
|
-
return obj;
|
|
137
|
-
},
|
|
138
|
-
fromPartial(object) {
|
|
139
|
-
const message = Object.assign({}, baseVirtualOrderBookEvent);
|
|
140
|
-
message.book =
|
|
141
|
-
object.book !== undefined && object.book !== null
|
|
142
|
-
? exports.OrderBookEvent.fromPartial(object.book)
|
|
143
|
-
: undefined;
|
|
144
|
-
return message;
|
|
145
|
-
},
|
|
146
|
-
};
|
|
147
|
-
const baseClearVirtualOrderBookEvent = { market: "" };
|
|
148
|
-
exports.ClearVirtualOrderBookEvent = {
|
|
149
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
150
|
-
if (message.market !== "") {
|
|
151
|
-
writer.uint32(10).string(message.market);
|
|
152
|
-
}
|
|
153
|
-
return writer;
|
|
154
|
-
},
|
|
155
|
-
decode(input, length) {
|
|
156
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
157
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
158
|
-
const message = Object.assign({}, baseClearVirtualOrderBookEvent);
|
|
159
|
-
while (reader.pos < end) {
|
|
160
|
-
const tag = reader.uint32();
|
|
161
|
-
switch (tag >>> 3) {
|
|
162
|
-
case 1:
|
|
163
|
-
message.market = reader.string();
|
|
164
|
-
break;
|
|
165
|
-
default:
|
|
166
|
-
reader.skipType(tag & 7);
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
return message;
|
|
171
|
-
},
|
|
172
|
-
fromJSON(object) {
|
|
173
|
-
const message = Object.assign({}, baseClearVirtualOrderBookEvent);
|
|
174
|
-
message.market =
|
|
175
|
-
object.market !== undefined && object.market !== null
|
|
176
|
-
? String(object.market)
|
|
177
|
-
: "";
|
|
178
|
-
return message;
|
|
179
|
-
},
|
|
180
|
-
toJSON(message) {
|
|
181
|
-
const obj = {};
|
|
182
|
-
message.market !== undefined && (obj.market = message.market);
|
|
183
|
-
return obj;
|
|
184
|
-
},
|
|
185
|
-
fromPartial(object) {
|
|
186
|
-
var _a;
|
|
187
|
-
const message = Object.assign({}, baseClearVirtualOrderBookEvent);
|
|
188
|
-
message.market = (_a = object.market) !== null && _a !== void 0 ? _a : "";
|
|
102
|
+
message.type = (_a = object.type) !== null && _a !== void 0 ? _a : "";
|
|
103
|
+
message.market = (_b = object.market) !== null && _b !== void 0 ? _b : "";
|
|
104
|
+
message.side = (_c = object.side) !== null && _c !== void 0 ? _c : "";
|
|
105
|
+
message.price = (_d = object.price) !== null && _d !== void 0 ? _d : "";
|
|
106
|
+
message.quantity = (_e = object.quantity) !== null && _e !== void 0 ? _e : "";
|
|
189
107
|
return message;
|
|
190
108
|
},
|
|
191
109
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { OrderBookLevel, OrderBook, StopBook, StopOrder } from "./book";
|
|
2
|
-
export { OrderBookEvent
|
|
2
|
+
export { OrderBookEvent } from "./event";
|
|
3
3
|
export { StopbookV2320 } from "./legacy";
|
|
4
4
|
export { QueryImpactPriceRequest, QueryImpactPriceResponse, QueryGetBookRequest, QueryGetBookResponse, QueryAllBookRequest, QueryAllBookResponse, QueryGetStopBookRequest, QueryGetStopBookResponse, QueryAllStopBookRequest, QueryAllStopBookResponse } from "./query";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryAllStopBookResponse = exports.QueryAllStopBookRequest = exports.QueryGetStopBookResponse = exports.QueryGetStopBookRequest = exports.QueryAllBookResponse = exports.QueryAllBookRequest = exports.QueryGetBookResponse = exports.QueryGetBookRequest = exports.QueryImpactPriceResponse = exports.QueryImpactPriceRequest = exports.StopbookV2320 = exports.
|
|
3
|
+
exports.QueryAllStopBookResponse = exports.QueryAllStopBookRequest = exports.QueryGetStopBookResponse = exports.QueryGetStopBookRequest = exports.QueryAllBookResponse = exports.QueryAllBookRequest = exports.QueryGetBookResponse = exports.QueryGetBookRequest = exports.QueryImpactPriceResponse = exports.QueryImpactPriceRequest = exports.StopbookV2320 = exports.OrderBookEvent = exports.StopOrder = exports.StopBook = exports.OrderBook = exports.OrderBookLevel = void 0;
|
|
4
4
|
var book_1 = require("./book");
|
|
5
5
|
Object.defineProperty(exports, "OrderBookLevel", { enumerable: true, get: function () { return book_1.OrderBookLevel; } });
|
|
6
6
|
Object.defineProperty(exports, "OrderBook", { enumerable: true, get: function () { return book_1.OrderBook; } });
|
|
@@ -8,8 +8,6 @@ Object.defineProperty(exports, "StopBook", { enumerable: true, get: function ()
|
|
|
8
8
|
Object.defineProperty(exports, "StopOrder", { enumerable: true, get: function () { return book_1.StopOrder; } });
|
|
9
9
|
var event_1 = require("./event");
|
|
10
10
|
Object.defineProperty(exports, "OrderBookEvent", { enumerable: true, get: function () { return event_1.OrderBookEvent; } });
|
|
11
|
-
Object.defineProperty(exports, "VirtualOrderBookEvent", { enumerable: true, get: function () { return event_1.VirtualOrderBookEvent; } });
|
|
12
|
-
Object.defineProperty(exports, "ClearVirtualOrderBookEvent", { enumerable: true, get: function () { return event_1.ClearVirtualOrderBookEvent; } });
|
|
13
11
|
var legacy_1 = require("./legacy");
|
|
14
12
|
Object.defineProperty(exports, "StopbookV2320", { enumerable: true, get: function () { return legacy_1.StopbookV2320; } });
|
|
15
13
|
var query_1 = require("./query");
|
|
@@ -113,16 +113,12 @@ export declare const QueryAllStopBookResponse: {
|
|
|
113
113
|
export interface Query {
|
|
114
114
|
/** Get impact price for a market */
|
|
115
115
|
ImpactPrice(request: QueryImpactPriceRequest): Promise<QueryImpactPriceResponse>;
|
|
116
|
-
/** Get
|
|
117
|
-
|
|
118
|
-
/** Get concrete book for a market */
|
|
119
|
-
ConcreteBook(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
120
|
-
/** Get virtual order book for a market */
|
|
121
|
-
VirtualBook(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
116
|
+
/** Get order book for a market */
|
|
117
|
+
Book(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
122
118
|
/** Get stop order book for a market */
|
|
123
119
|
StopBook(request: QueryGetStopBookRequest): Promise<QueryGetStopBookResponse>;
|
|
124
|
-
/** Get
|
|
125
|
-
|
|
120
|
+
/** Get order books for all markets */
|
|
121
|
+
BookAll(request: QueryAllBookRequest): Promise<QueryAllBookResponse>;
|
|
126
122
|
/** Get all stop order book for a market */
|
|
127
123
|
StopBookAll(request: QueryAllStopBookRequest): Promise<QueryAllStopBookResponse>;
|
|
128
124
|
}
|
|
@@ -130,11 +126,9 @@ export declare class QueryClientImpl implements Query {
|
|
|
130
126
|
private readonly rpc;
|
|
131
127
|
constructor(rpc: Rpc);
|
|
132
128
|
ImpactPrice(request: QueryImpactPriceRequest): Promise<QueryImpactPriceResponse>;
|
|
133
|
-
|
|
134
|
-
ConcreteBook(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
135
|
-
VirtualBook(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
129
|
+
Book(request: QueryGetBookRequest): Promise<QueryGetBookResponse>;
|
|
136
130
|
StopBook(request: QueryGetStopBookRequest): Promise<QueryGetStopBookResponse>;
|
|
137
|
-
|
|
131
|
+
BookAll(request: QueryAllBookRequest): Promise<QueryAllBookResponse>;
|
|
138
132
|
StopBookAll(request: QueryAllStopBookRequest): Promise<QueryAllStopBookResponse>;
|
|
139
133
|
}
|
|
140
134
|
interface Rpc {
|
|
@@ -568,11 +568,9 @@ class QueryClientImpl {
|
|
|
568
568
|
constructor(rpc) {
|
|
569
569
|
this.rpc = rpc;
|
|
570
570
|
this.ImpactPrice = this.ImpactPrice.bind(this);
|
|
571
|
-
this.
|
|
572
|
-
this.ConcreteBook = this.ConcreteBook.bind(this);
|
|
573
|
-
this.VirtualBook = this.VirtualBook.bind(this);
|
|
571
|
+
this.Book = this.Book.bind(this);
|
|
574
572
|
this.StopBook = this.StopBook.bind(this);
|
|
575
|
-
this.
|
|
573
|
+
this.BookAll = this.BookAll.bind(this);
|
|
576
574
|
this.StopBookAll = this.StopBookAll.bind(this);
|
|
577
575
|
}
|
|
578
576
|
ImpactPrice(request) {
|
|
@@ -580,19 +578,9 @@ class QueryClientImpl {
|
|
|
580
578
|
const promise = this.rpc.request("Switcheo.carbon.book.Query", "ImpactPrice", data);
|
|
581
579
|
return promise.then((data) => exports.QueryImpactPriceResponse.decode(new minimal_1.default.Reader(data)));
|
|
582
580
|
}
|
|
583
|
-
|
|
581
|
+
Book(request) {
|
|
584
582
|
const data = exports.QueryGetBookRequest.encode(request).finish();
|
|
585
|
-
const promise = this.rpc.request("Switcheo.carbon.book.Query", "
|
|
586
|
-
return promise.then((data) => exports.QueryGetBookResponse.decode(new minimal_1.default.Reader(data)));
|
|
587
|
-
}
|
|
588
|
-
ConcreteBook(request) {
|
|
589
|
-
const data = exports.QueryGetBookRequest.encode(request).finish();
|
|
590
|
-
const promise = this.rpc.request("Switcheo.carbon.book.Query", "ConcreteBook", data);
|
|
591
|
-
return promise.then((data) => exports.QueryGetBookResponse.decode(new minimal_1.default.Reader(data)));
|
|
592
|
-
}
|
|
593
|
-
VirtualBook(request) {
|
|
594
|
-
const data = exports.QueryGetBookRequest.encode(request).finish();
|
|
595
|
-
const promise = this.rpc.request("Switcheo.carbon.book.Query", "VirtualBook", data);
|
|
583
|
+
const promise = this.rpc.request("Switcheo.carbon.book.Query", "Book", data);
|
|
596
584
|
return promise.then((data) => exports.QueryGetBookResponse.decode(new minimal_1.default.Reader(data)));
|
|
597
585
|
}
|
|
598
586
|
StopBook(request) {
|
|
@@ -600,9 +588,9 @@ class QueryClientImpl {
|
|
|
600
588
|
const promise = this.rpc.request("Switcheo.carbon.book.Query", "StopBook", data);
|
|
601
589
|
return promise.then((data) => exports.QueryGetStopBookResponse.decode(new minimal_1.default.Reader(data)));
|
|
602
590
|
}
|
|
603
|
-
|
|
591
|
+
BookAll(request) {
|
|
604
592
|
const data = exports.QueryAllBookRequest.encode(request).finish();
|
|
605
|
-
const promise = this.rpc.request("Switcheo.carbon.book.Query", "
|
|
593
|
+
const promise = this.rpc.request("Switcheo.carbon.book.Query", "BookAll", data);
|
|
606
594
|
return promise.then((data) => exports.QueryAllBookResponse.decode(new minimal_1.default.Reader(data)));
|
|
607
595
|
}
|
|
608
596
|
StopBookAll(request) {
|
|
@@ -6,10 +6,6 @@ export interface SpotAmm {
|
|
|
6
6
|
poolId: Long;
|
|
7
7
|
market: string;
|
|
8
8
|
reservesHash: Uint8Array;
|
|
9
|
-
/**
|
|
10
|
-
* TODO: change to reserved after being used for migration
|
|
11
|
-
* reserved 4; // used to be orders, but deprecated
|
|
12
|
-
*/
|
|
13
9
|
orders: string[];
|
|
14
10
|
poolRoute: Uint8Array;
|
|
15
11
|
}
|
|
@@ -23,10 +19,6 @@ export interface PerpsAmm {
|
|
|
23
19
|
/** PerpsMarketAmm exists when it is active or when there's orders or open position */
|
|
24
20
|
export interface PerpsMarketAmm {
|
|
25
21
|
market: string;
|
|
26
|
-
/**
|
|
27
|
-
* TODO: change to reserved after being used for migration
|
|
28
|
-
* reserved 2; // used to be orders, but deprecated
|
|
29
|
-
*/
|
|
30
22
|
orders: string[];
|
|
31
23
|
lastIndexPrice: string;
|
|
32
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Params } from "./ccm";
|
|
2
2
|
export { GenesisState_CreatedTxDetailsEntry, GenesisState_ReceivedTxIdsEntry, GenesisState_DenomCreatorsEntry, GenesisState_ZionCreatedTxDetailsEntry } from "./genesis";
|
|
3
3
|
export { QueryCheckModuleContractRequest, QueryCheckModuleContractResponse } from "./query";
|
|
4
|
-
export { MsgProcessCrossChainTx, MsgProcessZionCrossChainTx, MsgProcessCrossChainTxResponse, MsgProcessZionCrossChainTxResponse, MsgCreateEmitEvent, MsgToggleEmitZionEvents
|
|
4
|
+
export { MsgProcessCrossChainTx, MsgProcessZionCrossChainTx, MsgProcessCrossChainTxResponse, MsgProcessZionCrossChainTxResponse, MsgCreateEmitEvent, MsgToggleEmitZionEvents } from "./tx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MsgToggleEmitZionEvents = exports.MsgCreateEmitEvent = exports.MsgProcessZionCrossChainTxResponse = exports.MsgProcessCrossChainTxResponse = exports.MsgProcessZionCrossChainTx = exports.MsgProcessCrossChainTx = exports.QueryCheckModuleContractResponse = exports.QueryCheckModuleContractRequest = exports.GenesisState_ZionCreatedTxDetailsEntry = exports.GenesisState_DenomCreatorsEntry = exports.GenesisState_ReceivedTxIdsEntry = exports.GenesisState_CreatedTxDetailsEntry = exports.Params = void 0;
|
|
4
4
|
var ccm_1 = require("./ccm");
|
|
5
5
|
Object.defineProperty(exports, "Params", { enumerable: true, get: function () { return ccm_1.Params; } });
|
|
6
6
|
var genesis_1 = require("./genesis");
|
|
@@ -18,5 +18,3 @@ Object.defineProperty(exports, "MsgProcessCrossChainTxResponse", { enumerable: t
|
|
|
18
18
|
Object.defineProperty(exports, "MsgProcessZionCrossChainTxResponse", { enumerable: true, get: function () { return tx_1.MsgProcessZionCrossChainTxResponse; } });
|
|
19
19
|
Object.defineProperty(exports, "MsgCreateEmitEvent", { enumerable: true, get: function () { return tx_1.MsgCreateEmitEvent; } });
|
|
20
20
|
Object.defineProperty(exports, "MsgToggleEmitZionEvents", { enumerable: true, get: function () { return tx_1.MsgToggleEmitZionEvents; } });
|
|
21
|
-
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
22
|
-
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params } from "./ccm";
|
|
4
3
|
export declare const protobufPackage = "Switcheo.carbon.ccm";
|
|
5
4
|
/** this line is used by starport scaffolding # proto/tx/message */
|
|
6
5
|
export interface MsgProcessCrossChainTx {
|
|
@@ -32,29 +31,6 @@ export interface MsgToggleEmitZionEvents {
|
|
|
32
31
|
creator: string;
|
|
33
32
|
toggleTo: boolean;
|
|
34
33
|
}
|
|
35
|
-
/**
|
|
36
|
-
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
37
|
-
*
|
|
38
|
-
* Since: cosmos-sdk 0.47
|
|
39
|
-
*/
|
|
40
|
-
export interface MsgUpdateParams {
|
|
41
|
-
/** authority is the address of the governance account. */
|
|
42
|
-
authority: string;
|
|
43
|
-
/**
|
|
44
|
-
* params defines the parameters to update.
|
|
45
|
-
*
|
|
46
|
-
* NOTE: All parameters must be supplied.
|
|
47
|
-
*/
|
|
48
|
-
params?: Params;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
52
|
-
* MsgUpdateParams message.
|
|
53
|
-
*
|
|
54
|
-
* Since: cosmos-sdk 0.47
|
|
55
|
-
*/
|
|
56
|
-
export interface MsgUpdateParamsResponse {
|
|
57
|
-
}
|
|
58
34
|
export declare const MsgProcessCrossChainTx: {
|
|
59
35
|
encode(message: MsgProcessCrossChainTx, writer?: _m0.Writer): _m0.Writer;
|
|
60
36
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgProcessCrossChainTx;
|
|
@@ -97,33 +73,12 @@ export declare const MsgToggleEmitZionEvents: {
|
|
|
97
73
|
toJSON(message: MsgToggleEmitZionEvents): unknown;
|
|
98
74
|
fromPartial(object: DeepPartial<MsgToggleEmitZionEvents>): MsgToggleEmitZionEvents;
|
|
99
75
|
};
|
|
100
|
-
export declare const MsgUpdateParams: {
|
|
101
|
-
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
102
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParams;
|
|
103
|
-
fromJSON(object: any): MsgUpdateParams;
|
|
104
|
-
toJSON(message: MsgUpdateParams): unknown;
|
|
105
|
-
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
106
|
-
};
|
|
107
|
-
export declare const MsgUpdateParamsResponse: {
|
|
108
|
-
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
109
|
-
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateParamsResponse;
|
|
110
|
-
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
111
|
-
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
112
|
-
fromPartial(_: DeepPartial<MsgUpdateParamsResponse>): MsgUpdateParamsResponse;
|
|
113
|
-
};
|
|
114
76
|
/** Msg defines the Msg service. */
|
|
115
77
|
export interface Msg {
|
|
116
78
|
/** this line is used by starport scaffolding # proto/tx/rpc */
|
|
117
79
|
Process(request: MsgProcessCrossChainTx): Promise<MsgProcessCrossChainTxResponse>;
|
|
118
80
|
ProcessZion(request: MsgProcessZionCrossChainTx): Promise<MsgProcessZionCrossChainTxResponse>;
|
|
119
81
|
ProcessToggleEmitZionEvents(request: MsgToggleEmitZionEvents): Promise<MsgProcessCrossChainTxResponse>;
|
|
120
|
-
/**
|
|
121
|
-
* UpdateParams defines a governance operation for updating the module
|
|
122
|
-
* parameters. The authority is hard-coded to the x/gov module account.
|
|
123
|
-
*
|
|
124
|
-
* Since: cosmos-sdk 0.47
|
|
125
|
-
*/
|
|
126
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
127
82
|
}
|
|
128
83
|
export declare class MsgClientImpl implements Msg {
|
|
129
84
|
private readonly rpc;
|
|
@@ -131,7 +86,6 @@ export declare class MsgClientImpl implements Msg {
|
|
|
131
86
|
Process(request: MsgProcessCrossChainTx): Promise<MsgProcessCrossChainTxResponse>;
|
|
132
87
|
ProcessZion(request: MsgProcessZionCrossChainTx): Promise<MsgProcessZionCrossChainTxResponse>;
|
|
133
88
|
ProcessToggleEmitZionEvents(request: MsgToggleEmitZionEvents): Promise<MsgProcessCrossChainTxResponse>;
|
|
134
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
135
89
|
}
|
|
136
90
|
interface Rpc {
|
|
137
91
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,11 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MsgClientImpl = exports.
|
|
6
|
+
exports.MsgClientImpl = exports.MsgToggleEmitZionEvents = exports.MsgCreateEmitEvent = exports.MsgProcessZionCrossChainTxResponse = exports.MsgProcessCrossChainTxResponse = exports.MsgProcessZionCrossChainTx = exports.MsgProcessCrossChainTx = 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 ccm_1 = require("./ccm");
|
|
11
10
|
exports.protobufPackage = "Switcheo.carbon.ccm";
|
|
12
11
|
const baseMsgProcessCrossChainTx = {
|
|
13
12
|
submitter: "",
|
|
@@ -432,99 +431,6 @@ exports.MsgToggleEmitZionEvents = {
|
|
|
432
431
|
return message;
|
|
433
432
|
},
|
|
434
433
|
};
|
|
435
|
-
const baseMsgUpdateParams = { authority: "" };
|
|
436
|
-
exports.MsgUpdateParams = {
|
|
437
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
438
|
-
if (message.authority !== "") {
|
|
439
|
-
writer.uint32(10).string(message.authority);
|
|
440
|
-
}
|
|
441
|
-
if (message.params !== undefined) {
|
|
442
|
-
ccm_1.Params.encode(message.params, writer.uint32(18).fork()).ldelim();
|
|
443
|
-
}
|
|
444
|
-
return writer;
|
|
445
|
-
},
|
|
446
|
-
decode(input, length) {
|
|
447
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
448
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
449
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
450
|
-
while (reader.pos < end) {
|
|
451
|
-
const tag = reader.uint32();
|
|
452
|
-
switch (tag >>> 3) {
|
|
453
|
-
case 1:
|
|
454
|
-
message.authority = reader.string();
|
|
455
|
-
break;
|
|
456
|
-
case 2:
|
|
457
|
-
message.params = ccm_1.Params.decode(reader, reader.uint32());
|
|
458
|
-
break;
|
|
459
|
-
default:
|
|
460
|
-
reader.skipType(tag & 7);
|
|
461
|
-
break;
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
return message;
|
|
465
|
-
},
|
|
466
|
-
fromJSON(object) {
|
|
467
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
468
|
-
message.authority =
|
|
469
|
-
object.authority !== undefined && object.authority !== null
|
|
470
|
-
? String(object.authority)
|
|
471
|
-
: "";
|
|
472
|
-
message.params =
|
|
473
|
-
object.params !== undefined && object.params !== null
|
|
474
|
-
? ccm_1.Params.fromJSON(object.params)
|
|
475
|
-
: undefined;
|
|
476
|
-
return message;
|
|
477
|
-
},
|
|
478
|
-
toJSON(message) {
|
|
479
|
-
const obj = {};
|
|
480
|
-
message.authority !== undefined && (obj.authority = message.authority);
|
|
481
|
-
message.params !== undefined &&
|
|
482
|
-
(obj.params = message.params ? ccm_1.Params.toJSON(message.params) : undefined);
|
|
483
|
-
return obj;
|
|
484
|
-
},
|
|
485
|
-
fromPartial(object) {
|
|
486
|
-
var _a;
|
|
487
|
-
const message = Object.assign({}, baseMsgUpdateParams);
|
|
488
|
-
message.authority = (_a = object.authority) !== null && _a !== void 0 ? _a : "";
|
|
489
|
-
message.params =
|
|
490
|
-
object.params !== undefined && object.params !== null
|
|
491
|
-
? ccm_1.Params.fromPartial(object.params)
|
|
492
|
-
: undefined;
|
|
493
|
-
return message;
|
|
494
|
-
},
|
|
495
|
-
};
|
|
496
|
-
const baseMsgUpdateParamsResponse = {};
|
|
497
|
-
exports.MsgUpdateParamsResponse = {
|
|
498
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
499
|
-
return writer;
|
|
500
|
-
},
|
|
501
|
-
decode(input, length) {
|
|
502
|
-
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
503
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
504
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
505
|
-
while (reader.pos < end) {
|
|
506
|
-
const tag = reader.uint32();
|
|
507
|
-
switch (tag >>> 3) {
|
|
508
|
-
default:
|
|
509
|
-
reader.skipType(tag & 7);
|
|
510
|
-
break;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
return message;
|
|
514
|
-
},
|
|
515
|
-
fromJSON(_) {
|
|
516
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
517
|
-
return message;
|
|
518
|
-
},
|
|
519
|
-
toJSON(_) {
|
|
520
|
-
const obj = {};
|
|
521
|
-
return obj;
|
|
522
|
-
},
|
|
523
|
-
fromPartial(_) {
|
|
524
|
-
const message = Object.assign({}, baseMsgUpdateParamsResponse);
|
|
525
|
-
return message;
|
|
526
|
-
},
|
|
527
|
-
};
|
|
528
434
|
class MsgClientImpl {
|
|
529
435
|
constructor(rpc) {
|
|
530
436
|
this.rpc = rpc;
|
|
@@ -532,7 +438,6 @@ class MsgClientImpl {
|
|
|
532
438
|
this.ProcessZion = this.ProcessZion.bind(this);
|
|
533
439
|
this.ProcessToggleEmitZionEvents =
|
|
534
440
|
this.ProcessToggleEmitZionEvents.bind(this);
|
|
535
|
-
this.UpdateParams = this.UpdateParams.bind(this);
|
|
536
441
|
}
|
|
537
442
|
Process(request) {
|
|
538
443
|
const data = exports.MsgProcessCrossChainTx.encode(request).finish();
|
|
@@ -549,11 +454,6 @@ class MsgClientImpl {
|
|
|
549
454
|
const promise = this.rpc.request("Switcheo.carbon.ccm.Msg", "ProcessToggleEmitZionEvents", data);
|
|
550
455
|
return promise.then((data) => exports.MsgProcessCrossChainTxResponse.decode(new minimal_1.default.Reader(data)));
|
|
551
456
|
}
|
|
552
|
-
UpdateParams(request) {
|
|
553
|
-
const data = exports.MsgUpdateParams.encode(request).finish();
|
|
554
|
-
const promise = this.rpc.request("Switcheo.carbon.ccm.Msg", "UpdateParams", data);
|
|
555
|
-
return promise.then((data) => exports.MsgUpdateParamsResponse.decode(new minimal_1.default.Reader(data)));
|
|
556
|
-
}
|
|
557
457
|
}
|
|
558
458
|
exports.MsgClientImpl = MsgClientImpl;
|
|
559
459
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -10,4 +10,4 @@ export { RateStrategyParams } from "./rate_strategy_params";
|
|
|
10
10
|
export { RewardScheme, CreateRewardSchemeParams, UpdateRewardSchemeParams, RewardDebt } from "./reward_scheme";
|
|
11
11
|
export { StablecoinDebtInfo } from "./stablecoin_debt_info";
|
|
12
12
|
export { StablecoinInterestInfo } from "./stablecoin_interest_info";
|
|
13
|
-
export { MsgAddRateStrategy, MsgAddRateStrategyResponse, MsgUpdateRateStrategy, MsgUpdateRateStrategyResponse, MsgRemoveRateStrategy, MsgRemoveRateStrategyResponse, MsgAddAsset, MsgAddAssetResponse, MsgUpdateAsset, MsgUpdateAssetResponse, MsgSupplyAsset, MsgSupplyAssetResponse, MsgWithdrawAsset, MsgWithdrawAssetResponse, MsgLockCollateral, MsgLockCollateralResponse, MsgUnlockCollateral, MsgUnlockCollateralResponse, MsgBorrowAsset, MsgBorrowAssetResponse, MsgRepayAsset, MsgRepayAssetResponse, MsgSupplyAssetAndLockCollateral, MsgSupplyAssetAndLockCollateralResponse, MsgUnlockCollateralAndWithdrawAsset, MsgUnlockCollateralAndWithdrawAssetResponse, MsgLiquidateCollateral, MsgLiquidateCollateralResponse, MsgSetLiquidationFee, MsgSetLiquidationFeeResponse, MsgSetInterestFee, MsgSetInterestFeeResponse, MsgRepayAssetWithCdpTokens, MsgRepayAssetWithCdpTokensResponse, MsgRepayAssetWithCollateral, MsgRepayAssetWithCollateralResponse, MsgSetStablecoinMintCap, MsgSetStablecoinMintCapResponse, MsgSetStablecoinInterestRate, MsgSetStablecoinInterestRateResponse, MsgMintStablecoin, MsgMintStablecoinResponse, MsgReturnStablecoin, MsgReturnStablecoinResponse, MsgSetCompleteLiquidationThreshold, MsgSetCompleteLiquidationThresholdResponse, MsgSetMinimumCloseFactor, MsgSetMinimumCloseFactorResponse, MsgSetSmallLiquidationSize, MsgSetSmallLiquidationSizeResponse, MsgLiquidateCollateralWithCdpTokens, MsgLiquidateCollateralWithCdpTokensResponse, MsgLiquidateCollateralWithCollateral, MsgLiquidateCollateralWithCollateralResponse, MsgLiquidateCollateralWithStablecoin, MsgLiquidateCollateralWithStablecoinResponse, MsgCreateRewardScheme, MsgCreateRewardSchemeResponse, MsgUpdateRewardScheme, MsgUpdateRewardSchemeResponse, MsgClaimRewards, MsgClaimRewardsResponse, MsgSetStalePriceGracePeriod, MsgSetStalePriceGracePeriodResponse, MsgSetCdpPaused, MsgSetCdpPausedResponse, MsgReturnStablecoinWithInterestInCollateral, MsgReturnStablecoinWithInterestInCollateralResponse, MsgReturnStablecoinWithInterestInCdpTokens, MsgReturnStablecoinWithInterestInCdpTokensResponse, MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokens, MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokensResponse, MsgLiquidateCollateralWithStablecoinAndInterestInCollateral, MsgLiquidateCollateralWithStablecoinAndInterestInCollateralResponse, MsgConvertTokenInCdpToGroupTokens, MsgConvertTokenInCdpToGroupTokensResponse, MsgAddEModeCategory, MsgAddEModeCategoryResponse, MsgUpdateEModeCategory, UpdateEModeCategoryParams, MsgUpdateEModeCategoryResponse, MsgSetAccountEMode, MsgSetAccountEModeResponse, MsgRemoveAccountEMode, MsgRemoveAccountEModeResponse
|
|
13
|
+
export { MsgAddRateStrategy, MsgAddRateStrategyResponse, MsgUpdateRateStrategy, MsgUpdateRateStrategyResponse, MsgRemoveRateStrategy, MsgRemoveRateStrategyResponse, MsgAddAsset, MsgAddAssetResponse, MsgUpdateAsset, MsgUpdateAssetResponse, MsgSupplyAsset, MsgSupplyAssetResponse, MsgWithdrawAsset, MsgWithdrawAssetResponse, MsgLockCollateral, MsgLockCollateralResponse, MsgUnlockCollateral, MsgUnlockCollateralResponse, MsgBorrowAsset, MsgBorrowAssetResponse, MsgRepayAsset, MsgRepayAssetResponse, MsgSupplyAssetAndLockCollateral, MsgSupplyAssetAndLockCollateralResponse, MsgUnlockCollateralAndWithdrawAsset, MsgUnlockCollateralAndWithdrawAssetResponse, MsgLiquidateCollateral, MsgLiquidateCollateralResponse, MsgSetLiquidationFee, MsgSetLiquidationFeeResponse, MsgSetInterestFee, MsgSetInterestFeeResponse, MsgRepayAssetWithCdpTokens, MsgRepayAssetWithCdpTokensResponse, MsgRepayAssetWithCollateral, MsgRepayAssetWithCollateralResponse, MsgSetStablecoinMintCap, MsgSetStablecoinMintCapResponse, MsgSetStablecoinInterestRate, MsgSetStablecoinInterestRateResponse, MsgMintStablecoin, MsgMintStablecoinResponse, MsgReturnStablecoin, MsgReturnStablecoinResponse, MsgSetCompleteLiquidationThreshold, MsgSetCompleteLiquidationThresholdResponse, MsgSetMinimumCloseFactor, MsgSetMinimumCloseFactorResponse, MsgSetSmallLiquidationSize, MsgSetSmallLiquidationSizeResponse, MsgLiquidateCollateralWithCdpTokens, MsgLiquidateCollateralWithCdpTokensResponse, MsgLiquidateCollateralWithCollateral, MsgLiquidateCollateralWithCollateralResponse, MsgLiquidateCollateralWithStablecoin, MsgLiquidateCollateralWithStablecoinResponse, MsgCreateRewardScheme, MsgCreateRewardSchemeResponse, MsgUpdateRewardScheme, MsgUpdateRewardSchemeResponse, MsgClaimRewards, MsgClaimRewardsResponse, MsgSetStalePriceGracePeriod, MsgSetStalePriceGracePeriodResponse, MsgSetCdpPaused, MsgSetCdpPausedResponse, MsgReturnStablecoinWithInterestInCollateral, MsgReturnStablecoinWithInterestInCollateralResponse, MsgReturnStablecoinWithInterestInCdpTokens, MsgReturnStablecoinWithInterestInCdpTokensResponse, MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokens, MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokensResponse, MsgLiquidateCollateralWithStablecoinAndInterestInCollateral, MsgLiquidateCollateralWithStablecoinAndInterestInCollateralResponse, MsgConvertTokenInCdpToGroupTokens, MsgConvertTokenInCdpToGroupTokensResponse, MsgAddEModeCategory, MsgAddEModeCategoryResponse, MsgUpdateEModeCategory, UpdateEModeCategoryParams, MsgUpdateEModeCategoryResponse, MsgSetAccountEMode, MsgSetAccountEModeResponse, MsgRemoveAccountEMode, MsgRemoveAccountEModeResponse } from "./tx";
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.QueryParamsResponse = exports.QueryParamsRequest = exports.Params = exports.GenesisState_AccountToEModeCategoryEntry = exports.GenesisState_AccountToRewardDebtEntry = exports.GenesisState_AccountToStablecoinInitialCumulativeInterestMultiplierEntry = exports.GenesisState_AccountToPrincipalStablecoinDebtEntry = exports.GenesisState_AccountToInitialCumulativeInterestMultiplierEntry = exports.GenesisState_AccountToPrincipalDebtEntry = exports.GenesisState_AccountToCollateralizedEntry = exports.RefundReserveEvent = exports.AddReserveEvent = exports.RewardSchemeEvent = exports.RewardDebtEvent = exports.ClaimRewardEvent = exports.LiquidateCollateralWithStablecoinEvent = exports.LiquidateCollateralEvent = exports.ReturnStablecoinEvent = exports.MintStablecoinEvent = exports.UpdateStablecoinDebtInfoEvent = exports.UpdateDebtInfoEvent = exports.UnlockCollateralEvent = exports.LockCollateralEvent = exports.RepayAssetEvent = exports.BorrowAssetEvent = exports.WithdrawAssetEvent = exports.SupplyAssetEvent = exports.SetCdpPausedEvent = exports.SetStalePriceGracePeriodEvent = exports.SetSmallLiquidationSizeEvent = exports.SetMinimumCloseFactorEvent = exports.SetCompleteLiquidationThresholdEvent = exports.SetStablecoinMintCapEvent = exports.SetStablecoinInterestRateEvent = exports.SetLiquidationFeeEvent = exports.SetInterestFeeEvent = exports.UpdateAccountEModeCategoryNameEvent = exports.UpdateEModeCategoryEvent = exports.NewEModeCategoryEvent = exports.UpdateAssetParamsEvent = exports.NewAssetParamsEvent = exports.RemoveRateStrategyParamsEvent = exports.UpdateRateStrategyParamsEvent = exports.NewRateStrategyParamsEvent = exports.EModeCategory = exports.DebtInfo = exports.CDPLiquidations = exports.UpdateAssetParams = exports.AssetUtilization = exports.AssetParams = void 0;
|
|
4
4
|
exports.RateStrategyParams = exports.QueryCDPLiquidationsAllResponse = exports.QueryCDPLiquidationsAllRequest = exports.QueryAccountEModeResponse = exports.QueryAccountEModeRequest = exports.QueryEModeResponse = exports.QueryEModeRequest = exports.QueryStablecoinInterestResponse = exports.QueryStablecoinInterestRequest = exports.QueryEModeAllResponse = exports.QueryEModeAllRequest = exports.QueryRewardDebtsAllRequest = exports.QueryRewardDebtsResponse = exports.QueryRewardDebtsRequest = exports.QueryRewardSchemesAllResponse = exports.QueryRewardSchemesAllRequest = exports.QueryCdpPositionsResponse = exports.QueryCdpPositionsRequest = exports.QueryCdpPositionResponse = exports.QueryCdpPositionRequest = exports.CdpPosition = exports.CdpPositionItem = exports.QueryStablecoinDebtResponse = exports.QueryStablecoinDebtRequest = exports.QueryTokenDebtAllResponse = exports.QueryTokenDebtAllRequest = exports.QueryTokenDebtResponse = exports.QueryTokenDebtRequest = exports.QueryAssetAllResponse = exports.QueryAssetAllRequest = exports.QueryAssetResponse = exports.QueryAssetRequest = exports.QueryAccountStablecoinResponse = exports.QueryAccountStablecoinRequest = exports.Debt = exports.QueryAccountDebtAllResponse = exports.QueryAccountDebtAllRequest = exports.QueryAccountDebtResponse = exports.QueryAccountDebtRequest = exports.Collateral = exports.QueryAccountCollateralAllResponse = exports.QueryAccountCollateralAllRequest = exports.QueryAccountCollateralResponse = exports.QueryAccountCollateralRequest = exports.QueryAccountDataResponse = exports.QueryAccountDataRequest = exports.QueryRateStrategyAllResponse = exports.QueryRateStrategyAllRequest = exports.QueryRateStrategyResponse = exports.QueryRateStrategyRequest = void 0;
|
|
5
5
|
exports.MsgReturnStablecoinResponse = exports.MsgReturnStablecoin = exports.MsgMintStablecoinResponse = exports.MsgMintStablecoin = exports.MsgSetStablecoinInterestRateResponse = exports.MsgSetStablecoinInterestRate = exports.MsgSetStablecoinMintCapResponse = exports.MsgSetStablecoinMintCap = exports.MsgRepayAssetWithCollateralResponse = exports.MsgRepayAssetWithCollateral = exports.MsgRepayAssetWithCdpTokensResponse = exports.MsgRepayAssetWithCdpTokens = exports.MsgSetInterestFeeResponse = exports.MsgSetInterestFee = exports.MsgSetLiquidationFeeResponse = exports.MsgSetLiquidationFee = exports.MsgLiquidateCollateralResponse = exports.MsgLiquidateCollateral = exports.MsgUnlockCollateralAndWithdrawAssetResponse = exports.MsgUnlockCollateralAndWithdrawAsset = exports.MsgSupplyAssetAndLockCollateralResponse = exports.MsgSupplyAssetAndLockCollateral = exports.MsgRepayAssetResponse = exports.MsgRepayAsset = exports.MsgBorrowAssetResponse = exports.MsgBorrowAsset = exports.MsgUnlockCollateralResponse = exports.MsgUnlockCollateral = exports.MsgLockCollateralResponse = exports.MsgLockCollateral = exports.MsgWithdrawAssetResponse = exports.MsgWithdrawAsset = exports.MsgSupplyAssetResponse = exports.MsgSupplyAsset = exports.MsgUpdateAssetResponse = exports.MsgUpdateAsset = exports.MsgAddAssetResponse = exports.MsgAddAsset = exports.MsgRemoveRateStrategyResponse = exports.MsgRemoveRateStrategy = exports.MsgUpdateRateStrategyResponse = exports.MsgUpdateRateStrategy = exports.MsgAddRateStrategyResponse = exports.MsgAddRateStrategy = exports.StablecoinInterestInfo = exports.StablecoinDebtInfo = exports.RewardDebt = exports.UpdateRewardSchemeParams = exports.CreateRewardSchemeParams = exports.RewardScheme = void 0;
|
|
6
|
-
exports.
|
|
6
|
+
exports.MsgRemoveAccountEModeResponse = exports.MsgRemoveAccountEMode = exports.MsgSetAccountEModeResponse = exports.MsgSetAccountEMode = exports.MsgUpdateEModeCategoryResponse = exports.UpdateEModeCategoryParams = exports.MsgUpdateEModeCategory = exports.MsgAddEModeCategoryResponse = exports.MsgAddEModeCategory = exports.MsgConvertTokenInCdpToGroupTokensResponse = exports.MsgConvertTokenInCdpToGroupTokens = exports.MsgLiquidateCollateralWithStablecoinAndInterestInCollateralResponse = exports.MsgLiquidateCollateralWithStablecoinAndInterestInCollateral = exports.MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokensResponse = exports.MsgLiquidateCollateralWithStablecoinAndInterestInCdpTokens = exports.MsgReturnStablecoinWithInterestInCdpTokensResponse = exports.MsgReturnStablecoinWithInterestInCdpTokens = exports.MsgReturnStablecoinWithInterestInCollateralResponse = exports.MsgReturnStablecoinWithInterestInCollateral = exports.MsgSetCdpPausedResponse = exports.MsgSetCdpPaused = exports.MsgSetStalePriceGracePeriodResponse = exports.MsgSetStalePriceGracePeriod = exports.MsgClaimRewardsResponse = exports.MsgClaimRewards = exports.MsgUpdateRewardSchemeResponse = exports.MsgUpdateRewardScheme = exports.MsgCreateRewardSchemeResponse = exports.MsgCreateRewardScheme = exports.MsgLiquidateCollateralWithStablecoinResponse = exports.MsgLiquidateCollateralWithStablecoin = exports.MsgLiquidateCollateralWithCollateralResponse = exports.MsgLiquidateCollateralWithCollateral = exports.MsgLiquidateCollateralWithCdpTokensResponse = exports.MsgLiquidateCollateralWithCdpTokens = exports.MsgSetSmallLiquidationSizeResponse = exports.MsgSetSmallLiquidationSize = exports.MsgSetMinimumCloseFactorResponse = exports.MsgSetMinimumCloseFactor = exports.MsgSetCompleteLiquidationThresholdResponse = exports.MsgSetCompleteLiquidationThreshold = void 0;
|
|
7
7
|
var asset_params_1 = require("./asset_params");
|
|
8
8
|
Object.defineProperty(exports, "AssetParams", { enumerable: true, get: function () { return asset_params_1.AssetParams; } });
|
|
9
9
|
Object.defineProperty(exports, "AssetUtilization", { enumerable: true, get: function () { return asset_params_1.AssetUtilization; } });
|
|
@@ -208,5 +208,3 @@ Object.defineProperty(exports, "MsgSetAccountEMode", { enumerable: true, get: fu
|
|
|
208
208
|
Object.defineProperty(exports, "MsgSetAccountEModeResponse", { enumerable: true, get: function () { return tx_1.MsgSetAccountEModeResponse; } });
|
|
209
209
|
Object.defineProperty(exports, "MsgRemoveAccountEMode", { enumerable: true, get: function () { return tx_1.MsgRemoveAccountEMode; } });
|
|
210
210
|
Object.defineProperty(exports, "MsgRemoveAccountEModeResponse", { enumerable: true, get: function () { return tx_1.MsgRemoveAccountEModeResponse; } });
|
|
211
|
-
Object.defineProperty(exports, "MsgUpdateParams", { enumerable: true, get: function () { return tx_1.MsgUpdateParams; } });
|
|
212
|
-
Object.defineProperty(exports, "MsgUpdateParamsResponse", { enumerable: true, get: function () { return tx_1.MsgUpdateParamsResponse; } });
|