carbon-js-sdk 0.2.13-dev.2 → 0.2.14
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/NEOClient.js +1 -1
- package/lib/clients/TokenClient.d.ts +0 -4
- package/lib/clients/TokenClient.js +7 -23
- package/lib/codec/book/genesis.d.ts +1 -1
- package/lib/codec/book/genesis.js +1 -1
- package/lib/codec/book/query.d.ts +1 -1
- package/lib/codec/book/query.js +1 -1
- package/lib/codec/broker/genesis.d.ts +1 -1
- package/lib/codec/broker/genesis.js +1 -1
- package/lib/codec/broker/query.d.ts +3 -3
- package/lib/codec/broker/query.js +3 -3
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +1 -1
- package/lib/codec/btcx/denom_cross_chain_info.js +1 -1
- package/lib/codec/btcx/query.d.ts +1 -1
- package/lib/codec/btcx/query.js +1 -1
- package/lib/codec/ccm/genesis.d.ts +1 -1
- package/lib/codec/ccm/genesis.js +1 -1
- package/lib/codec/cdp/event.d.ts +22 -240
- package/lib/codec/cdp/event.js +80 -1516
- package/lib/codec/cdp/genesis.d.ts +4 -80
- package/lib/codec/cdp/genesis.js +22 -531
- package/lib/codec/cdp/query.d.ts +94 -397
- package/lib/codec/cdp/query.js +230 -1586
- package/lib/codec/cdp/tx.d.ts +96 -466
- package/lib/codec/cdp/tx.js +182 -1962
- package/lib/codec/coin/event.d.ts +1 -1
- package/lib/codec/coin/event.js +1 -1
- package/lib/codec/coin/genesis.d.ts +2 -2
- package/lib/codec/coin/genesis.js +2 -2
- package/lib/codec/coin/proposal.d.ts +1 -1
- package/lib/codec/coin/proposal.js +1 -1
- package/lib/codec/coin/query.d.ts +2 -2
- package/lib/codec/coin/query.js +2 -2
- package/lib/codec/coin/tx.d.ts +1 -1
- package/lib/codec/coin/tx.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +19 -0
- package/lib/codec/cosmos/authz/v1beta1/authz.js +89 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +1 -15
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +7 -120
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +70 -2
- package/lib/codec/cosmos/authz/v1beta1/query.js +275 -3
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/authz/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +43 -3
- package/lib/codec/cosmos/bank/v1beta1/query.js +140 -4
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +64 -0
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +343 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/query.js +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +35 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +139 -3
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/slashing/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +14 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +53 -5
- package/lib/codec/cosmos/tx/v1beta1/service.js +179 -4
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.js +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/upgrade/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +2 -2
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js +2 -2
- package/lib/codec/fee/genesis.d.ts +1 -1
- package/lib/codec/fee/genesis.js +1 -1
- package/lib/codec/fee/proposal.d.ts +1 -1
- package/lib/codec/fee/proposal.js +1 -1
- package/lib/codec/fee/query.d.ts +1 -1
- package/lib/codec/fee/query.js +1 -1
- package/lib/codec/fee/tx.d.ts +1 -1
- package/lib/codec/fee/tx.js +1 -1
- package/lib/codec/headersync/genesis.d.ts +1 -1
- package/lib/codec/headersync/genesis.js +1 -1
- package/lib/codec/headersync/query.d.ts +1 -1
- package/lib/codec/headersync/query.js +1 -1
- package/lib/codec/index.d.ts +16 -52
- package/lib/codec/index.js +55 -204
- package/lib/codec/inflation/genesis.d.ts +1 -1
- package/lib/codec/inflation/genesis.js +1 -1
- package/lib/codec/inflation/query.d.ts +1 -1
- package/lib/codec/inflation/query.js +1 -1
- package/lib/codec/insurance/genesis.d.ts +1 -1
- package/lib/codec/insurance/genesis.js +1 -1
- package/lib/codec/leverage/genesis.d.ts +1 -1
- package/lib/codec/leverage/genesis.js +1 -1
- package/lib/codec/leverage/query.d.ts +1 -1
- package/lib/codec/leverage/query.js +1 -1
- package/lib/codec/liquidation/genesis.d.ts +1 -1
- package/lib/codec/liquidation/genesis.js +1 -1
- package/lib/codec/liquidation/query.d.ts +1 -1
- package/lib/codec/liquidation/query.js +1 -1
- package/lib/codec/liquidation/quote_changes.d.ts +1 -1
- package/lib/codec/liquidation/quote_changes.js +1 -1
- package/lib/codec/liquiditypool/event.d.ts +2 -2
- package/lib/codec/liquiditypool/event.js +2 -2
- package/lib/codec/liquiditypool/genesis.d.ts +2 -2
- package/lib/codec/liquiditypool/genesis.js +2 -2
- package/lib/codec/liquiditypool/proposal.d.ts +1 -1
- package/lib/codec/liquiditypool/proposal.js +1 -1
- package/lib/codec/liquiditypool/query.d.ts +2 -2
- package/lib/codec/liquiditypool/query.js +2 -2
- package/lib/codec/liquiditypool/tx.d.ts +1 -1
- package/lib/codec/liquiditypool/tx.js +1 -1
- package/lib/codec/lockproxy/genesis.d.ts +1 -1
- package/lib/codec/lockproxy/genesis.js +1 -1
- package/lib/codec/lockproxy/query.d.ts +1 -1
- package/lib/codec/lockproxy/query.js +1 -1
- package/lib/codec/market/event.d.ts +1 -1
- package/lib/codec/market/event.js +1 -1
- package/lib/codec/market/genesis.d.ts +1 -1
- package/lib/codec/market/genesis.js +1 -1
- package/lib/codec/market/proposal.d.ts +1 -1
- package/lib/codec/market/proposal.js +1 -1
- package/lib/codec/market/query.d.ts +1 -1
- package/lib/codec/market/query.js +1 -1
- package/lib/codec/market/tx.d.ts +1 -1
- package/lib/codec/market/tx.js +1 -1
- package/lib/codec/marketstats/genesis.d.ts +1 -1
- package/lib/codec/marketstats/genesis.js +1 -1
- package/lib/codec/marketstats/query.d.ts +2 -2
- package/lib/codec/marketstats/query.js +2 -2
- package/lib/codec/misc/message.d.ts +1 -1
- package/lib/codec/misc/message.js +1 -1
- package/lib/codec/misc/query.d.ts +3 -3
- package/lib/codec/misc/query.js +3 -3
- package/lib/codec/misc/transaction.d.ts +1 -1
- package/lib/codec/misc/transaction.js +1 -1
- package/lib/codec/oracle/event.d.ts +1 -1
- package/lib/codec/oracle/event.js +1 -1
- package/lib/codec/oracle/genesis.d.ts +1 -1
- package/lib/codec/oracle/genesis.js +1 -1
- package/lib/codec/oracle/proposal.d.ts +1 -1
- package/lib/codec/oracle/proposal.js +1 -1
- package/lib/codec/oracle/query.d.ts +2 -2
- package/lib/codec/oracle/query.js +2 -2
- package/lib/codec/order/event.d.ts +1 -1
- package/lib/codec/order/event.js +1 -1
- package/lib/codec/order/genesis.d.ts +1 -1
- package/lib/codec/order/genesis.js +1 -1
- package/lib/codec/order/query.d.ts +1 -1
- package/lib/codec/order/query.js +1 -1
- package/lib/codec/position/event.d.ts +1 -1
- package/lib/codec/position/event.js +1 -1
- package/lib/codec/position/genesis.d.ts +1 -1
- package/lib/codec/position/genesis.js +1 -1
- package/lib/codec/position/query.d.ts +1 -1
- package/lib/codec/position/query.js +1 -1
- package/lib/codec/pricing/event.d.ts +1 -11
- package/lib/codec/pricing/event.js +2 -52
- package/lib/codec/pricing/genesis.d.ts +1 -2
- package/lib/codec/pricing/genesis.js +5 -20
- package/lib/codec/pricing/pricing.d.ts +0 -13
- package/lib/codec/pricing/pricing.js +1 -83
- package/lib/codec/pricing/query.d.ts +1 -1
- package/lib/codec/pricing/query.js +1 -1
- package/lib/codec/profile/event.d.ts +1 -1
- package/lib/codec/profile/event.js +1 -1
- package/lib/codec/profile/genesis.d.ts +1 -1
- package/lib/codec/profile/genesis.js +1 -1
- package/lib/codec/profile/query.d.ts +1 -1
- package/lib/codec/profile/query.js +1 -1
- package/lib/codec/subaccount/genesis.d.ts +1 -1
- package/lib/codec/subaccount/genesis.js +1 -1
- package/lib/codec/subaccount/query.d.ts +1 -1
- package/lib/codec/subaccount/query.js +1 -1
- package/lib/codec/tendermint/abci/types.d.ts +4 -4
- package/lib/codec/tendermint/abci/types.js +4 -4
- package/lib/codec/tendermint/types/block.d.ts +2 -2
- package/lib/codec/tendermint/types/block.js +2 -2
- package/lib/codec/tendermint/types/evidence.d.ts +2 -2
- package/lib/codec/tendermint/types/evidence.js +2 -2
- package/lib/codec/tendermint/types/types.d.ts +3 -3
- package/lib/codec/tendermint/types/types.js +3 -3
- package/lib/codec/tendermint/types/validator.d.ts +1 -1
- package/lib/codec/tendermint/types/validator.js +1 -1
- package/lib/modules/admin.d.ts +1 -53
- package/lib/modules/admin.js +43 -175
- package/lib/modules/cdp.d.ts +12 -62
- package/lib/modules/cdp.js +20 -149
- package/lib/provider/amino/types/admin.js +7 -48
- package/lib/provider/amino/types/cdp.js +32 -72
- package/lib/util/tx.d.ts +10 -42
- package/lib/wallet/CarbonSigningClient.js +27 -2
- package/lib/websocket/channel.js +0 -44
- package/lib/websocket/models.d.ts +36 -136
- package/lib/websocket/types.d.ts +3 -58
- package/lib/websocket/types.js +0 -22
- package/package.json +1 -1
package/lib/codec/fee/query.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryAllMinGasPriceResponse = exports.QueryAll
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("../fee/fee");
|
|
11
11
|
const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
13
13
|
const baseQueryGetMsgGasCostRequest = { msgType: "" };
|
package/lib/codec/fee/tx.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "../fee/fee";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
export interface MsgSetGasCost {
|
|
6
6
|
creator: string;
|
package/lib/codec/fee/tx.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgRemoveMinGasPriceResponse = exports.MsgRemove
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("../fee/fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseMsgSetGasCost = { creator: "" };
|
|
13
13
|
exports.MsgSetGasCost = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "../headersync/consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
/** GenesisState defines the headersync module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -7,7 +7,7 @@ exports.GenesisState_ZionCheckpointHashesEntry = exports.GenesisState_ZionConsen
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("../headersync/consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
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 { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "../headersync/consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
export interface QueryGetConsensusPeersRequest {
|
|
6
6
|
chainId: Long;
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryGetZionConsensusPeersResponse = exports.Q
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("../headersync/consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
12
12
|
const baseQueryGetConsensusPeersRequest = { chainId: long_1.default.UZERO };
|
|
13
13
|
exports.QueryGetConsensusPeersRequest = {
|
package/lib/codec/index.d.ts
CHANGED
|
@@ -14,48 +14,16 @@ export declare const TxTypes: {
|
|
|
14
14
|
MsgCancelOrderResponse: string;
|
|
15
15
|
MsgCancelAll: string;
|
|
16
16
|
MsgCancelAllResponse: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
MsgSupplyAsset: string;
|
|
28
|
-
MsgSupplyAssetResponse: string;
|
|
29
|
-
MsgWithdrawAsset: string;
|
|
30
|
-
MsgWithdrawAssetResponse: string;
|
|
31
|
-
MsgLockCollateral: string;
|
|
32
|
-
MsgLockCollateralResponse: string;
|
|
33
|
-
MsgUnlockCollateral: string;
|
|
34
|
-
MsgUnlockCollateralResponse: string;
|
|
35
|
-
MsgBorrowAsset: string;
|
|
36
|
-
MsgBorrowAssetResponse: string;
|
|
37
|
-
MsgRepayAsset: string;
|
|
38
|
-
MsgRepayAssetResponse: string;
|
|
39
|
-
MsgSupplyAssetAndLockCollateral: string;
|
|
40
|
-
MsgSupplyAssetAndLockCollateralResponse: string;
|
|
41
|
-
MsgUnlockCollateralAndWithdrawAsset: string;
|
|
42
|
-
MsgUnlockCollateralAndWithdrawAssetResponse: string;
|
|
43
|
-
MsgLiquidateCollateral: string;
|
|
44
|
-
MsgLiquidateCollateralResponse: string;
|
|
45
|
-
MsgSetLiquidationFee: string;
|
|
46
|
-
MsgSetLiquidationFeeResponse: string;
|
|
47
|
-
MsgSetInterestFee: string;
|
|
48
|
-
MsgSetInterestFeeResponse: string;
|
|
49
|
-
MsgRepayAssetWithCdpTokens: string;
|
|
50
|
-
MsgRepayAssetWithCdpTokensResponse: string;
|
|
51
|
-
MsgRepayAssetWithCollateral: string;
|
|
52
|
-
MsgRepayAssetWithCollateralResponse: string;
|
|
53
|
-
MsgSetStablecoinInterestRate: string;
|
|
54
|
-
MsgSetStablecoinInterestRateResponse: string;
|
|
55
|
-
MsgMintStablecoin: string;
|
|
56
|
-
MsgMintStablecoinResponse: string;
|
|
57
|
-
MsgReturnStablecoin: string;
|
|
58
|
-
MsgReturnStablecoinResponse: string;
|
|
17
|
+
MsgAddCollateral: string;
|
|
18
|
+
MsgAddCollateralResponse: string;
|
|
19
|
+
MsgRemoveCollateral: string;
|
|
20
|
+
MsgRemoveCollateralResponse: string;
|
|
21
|
+
MsgAddDebt: string;
|
|
22
|
+
MsgAddDebtResponse: string;
|
|
23
|
+
MsgRemoveDebt: string;
|
|
24
|
+
MsgRemoveDebtResponse: string;
|
|
25
|
+
MsgCreateVaultType: string;
|
|
26
|
+
MsgCreateVaultTypeResponse: string;
|
|
59
27
|
MsgSyncGenesis: string;
|
|
60
28
|
MsgSyncGenesisResponse: string;
|
|
61
29
|
MsgSyncHeaders: string;
|
|
@@ -290,14 +258,10 @@ export { MsgSetTradingFlag, MsgSetTradingFlagResponse, MsgCreateOrder, MsgCreate
|
|
|
290
258
|
export { Params as OrderParams, Order, DBOrder, OrdersForMarket, OrderIDsForMarket, OrderIDs, Orders } from "./order/order";
|
|
291
259
|
export { QueryGetOrderRequest, QueryGetOrderResponse, QueryAllOrderRequest, QueryAllOrderResponse, QueryAccountOpenOrdersRequest, QueryAccountOpenOrdersResponse, QueryParamsRequest as QueryOrderParamsRequest, QueryParamsResponse as QueryOrderParamsResponse, QueryOrderAllocatedMarginRequest, QueryOrderAllocatedMarginResponse } from "./order/query";
|
|
292
260
|
export { OrderEvent } from "./order/event";
|
|
293
|
-
export {
|
|
294
|
-
export {
|
|
295
|
-
export {
|
|
296
|
-
export {
|
|
297
|
-
export { StablecoinDebtInfo } from "./cdp/stablecoin_debt_info";
|
|
298
|
-
export { QueryParamsRequest as QueryCdpParamsRequest, QueryParamsResponse as QueryCdpParamsResponse, QueryRateStrategyRequest, QueryRateStrategyResponse, QueryRateStrategiesAllRequest, QueryRateStrategiesAllResponse, QueryAssetRequest, QueryAssetResponse, QueryAssetsAllRequest, QueryAssetsAllResponse, QueryAccountCollateralsRequest, QueryAccountCollateralsResponse, Collateral, QueryAccountDebtsRequest, QueryAccountDebtsResponse, Debt, QueryAccountStablecoinRequest, QueryAccountStablecoinResponse, QueryAccountDataRequest, QueryAccountDataResponse, QueryBorrowsRequest, QueryBorrowsResponse, QueryBorrowsAllRequest, QueryBorrowsAllResponse, DBBorrow, QueryCollateralsRequest, QueryCollateralsResponse, QueryCollateralsAllRequest, QueryCollateralsAllResponse, DBCollateral, QueryTokenDebtRequest, QueryTokenDebtResponse, QueryTokenDebtsAllRequest, QueryTokenDebtsAllResponse, QueryStablecoinDebtRequest, QueryStablecoinDebtResponse } from "./cdp/query";
|
|
299
|
-
export { NewRateStrategyParamsEvent, UpdateRateStrategyParamsEvent, RemoveRateStrategyParamsEvent, NewAssetParamsEvent, UpdateAssetParamsEvent, SetInterestFeeEvent, SetLiquidationFeeEvent, SetStablecoinInterestRateEvent, SupplyAssetEvent, WithdrawAssetEvent, BorrowAssetEvent, RepayAssetEvent, LockCollateralEvent, UnlockCollateralEvent, UpdateDebtInfoEvent, UpdateStablecoinDebtInfoEvent, MintStablecoinEvent, ReturnStablecoinEvent, LiquidateCollateralEvent } from "./cdp/event";
|
|
300
|
-
export { Params as CdpParams } from "./cdp/params";
|
|
261
|
+
export { MsgAddCollateral, MsgAddCollateralResponse, MsgRemoveCollateral, MsgRemoveCollateralResponse, MsgAddDebt, MsgAddDebtResponse, MsgRemoveDebt, MsgRemoveDebtResponse, MsgCreateVaultType, MsgCreateVaultTypeResponse } from "./cdp/tx";
|
|
262
|
+
export { Vault, VaultType, Params as CdpParams } from "./cdp/vault";
|
|
263
|
+
export { QueryGetVaultRequest, QueryGetVaultResponse, QueryAllVaultRequest, QueryAllVaultResponse, QueryGetVaultTypeRequest, QueryGetVaultTypeResponse, QueryAllVaultTypeRequest, QueryAllVaultTypeResponse, QueryParamsRequest as QueryCdpParamsRequest, QueryParamsResponse as QueryCdpParamsResponse } from "./cdp/query";
|
|
264
|
+
export { VaultTypeEvent, VaultEvent } from "./cdp/event";
|
|
301
265
|
export { HashOp, hashOpFromJSON, hashOpToJSON, LengthOp, lengthOpFromJSON, lengthOpToJSON, ExistenceProof, NonExistenceProof, CommitmentProof, LeafOp, InnerOp, ProofSpec, InnerSpec, BatchProof, BatchEntry, CompressedBatchProof, CompressedBatchEntry, CompressedExistenceProof, CompressedNonExistenceProof } from "./proofs";
|
|
302
266
|
export { LiquidatorPosition, MsgInitiateLiquidation, MsgInitiateLiquidationResponse } from "./broker/tx";
|
|
303
267
|
export { IncomingLiquidations } from "./broker/incoming_liquidations";
|
|
@@ -373,7 +337,7 @@ export { PoolEvent, TotalCommitmentChangeEvent, RewardsWeightChangeEvent, Commit
|
|
|
373
337
|
export { QueryCoinBalancesRequest, QueryCoinBalancesResponse } from "./insurance/query";
|
|
374
338
|
export { EventDataInsuranceFundTransfer } from "./insurance/event";
|
|
375
339
|
export { FundByMarket, Fund } from "./insurance/fund";
|
|
376
|
-
export { Params as PricingParams, PriceSet
|
|
340
|
+
export { Params as PricingParams, PriceSet } from "./pricing/pricing";
|
|
377
341
|
export { SettlementPriceProposal, SettlementPriceParams } from "./pricing/proposal";
|
|
378
342
|
export { QueryPriceSetRequest, QueryPriceSetResponse, QueryAllPriceSetRequest, QueryAllPriceSetResponse, QueryRateRequest, QueryRateResponse, QueryParamsRequest as QueryPricingParamsRequest, QueryParamsResponse as QueryPricingParamsResponse } from "./pricing/query";
|
|
379
|
-
export { PriceUpdateEvent
|
|
343
|
+
export { PriceUpdateEvent } from "./pricing/event";
|
package/lib/codec/index.js
CHANGED
|
@@ -23,16 +23,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.QueryOrderAllocatedMarginResponse = exports.QueryOrderAllocatedMarginRequest = exports.QueryOrderParamsResponse = exports.QueryOrderParamsRequest = exports.QueryAccountOpenOrdersResponse = exports.QueryAccountOpenOrdersRequest = exports.QueryAllOrderResponse = exports.QueryAllOrderRequest = exports.QueryGetOrderResponse = exports.QueryGetOrderRequest = exports.Orders = exports.OrderIDs = exports.OrderIDsForMarket = exports.OrdersForMarket = exports.DBOrder = exports.Order = exports.OrderParams = exports.MsgCancelAllResponse = exports.MsgCancelAll = exports.MsgCancelOrderResponse = exports.MsgCancelOrder = exports.MsgEditOrderResponse = exports.MsgEditOrder = exports.MsgCreateOrderResponse = exports.MsgCreateOrder = exports.MsgSetTradingFlagResponse = exports.MsgSetTradingFlag = exports.QueryModuleAddressResponse = exports.QueryModuleAddressRequest = exports.QueryAllModuleAddressResponse_AddressesEntry = exports.QueryAllModuleAddressResponse = exports.QueryAllModuleAddressRequest = exports.QueryAllBlockResponse = exports.QueryAllBlockRequest = exports.QueryAllTransactionResponse = exports.QueryAllTransactionRequest = exports.QueryAllMessageTypeResponse = exports.QueryAllMessageTypeRequest = exports.QuerySearchResponse = exports.QuerySearchRequest = exports.AccountTrade = exports.APITransaction = exports.Transaction = exports.MessageType = exports.Message = exports.Block = exports.TxTypes = exports.registry = exports.PolyNetwork = exports.IBC = void 0;
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.TokenPriceUpdateEvent = exports.PriceUpdateEvent = exports.QueryPricingParamsResponse = exports.QueryPricingParamsRequest = exports.QueryRateResponse = exports.QueryRateRequest = exports.QueryAllPriceSetResponse = exports.QueryAllPriceSetRequest = exports.QueryPriceSetResponse = exports.QueryPriceSetRequest = exports.SettlementPriceParams = exports.SettlementPriceProposal = exports.TokenPrice = exports.PriceSet = exports.PricingParams = exports.Fund = exports.FundByMarket = exports.EventDataInsuranceFundTransfer = exports.QueryCoinBalancesResponse = exports.QueryCoinBalancesRequest = exports.CommitmentEvent = exports.CommitmentCurveEvent = exports.RewardsWeightChangeEvent = exports.TotalCommitmentChangeEvent = exports.PoolEvent = exports.QueryLiquiditypoolParamsResponse = exports.QueryLiquiditypoolParamsRequest = exports.QueryClaimableRewardsResponse = exports.QueryClaimableRewardsRequest = exports.QueryAllTotalCommitmentResponse = exports.QueryAllTotalCommitmentRequest = exports.QueryTotalCommitmentResponse = exports.QueryTotalCommitmentRequest = exports.QueryRewardCurveResponse = exports.QueryRewardCurveRequest = exports.QueryCommitmentCurveResponse = exports.QueryCommitmentCurveRequest = exports.QueryLastClaimResponse = exports.QueryLastClaimRequest = exports.QueryAllCommitmentResponse = void 0;
|
|
26
|
+
exports.MinMaxBoundary = exports.IncomingLiquidations = exports.MsgInitiateLiquidationResponse = exports.MsgInitiateLiquidation = exports.LiquidatorPosition = exports.CompressedNonExistenceProof = exports.CompressedExistenceProof = exports.CompressedBatchEntry = exports.CompressedBatchProof = exports.BatchEntry = exports.BatchProof = exports.InnerSpec = exports.ProofSpec = exports.InnerOp = exports.LeafOp = exports.CommitmentProof = exports.NonExistenceProof = exports.ExistenceProof = exports.lengthOpToJSON = exports.lengthOpFromJSON = exports.LengthOp = exports.hashOpToJSON = exports.hashOpFromJSON = exports.HashOp = exports.VaultEvent = exports.VaultTypeEvent = exports.QueryCdpParamsResponse = exports.QueryCdpParamsRequest = exports.QueryAllVaultTypeResponse = exports.QueryAllVaultTypeRequest = exports.QueryGetVaultTypeResponse = exports.QueryGetVaultTypeRequest = exports.QueryAllVaultResponse = exports.QueryAllVaultRequest = exports.QueryGetVaultResponse = exports.QueryGetVaultRequest = exports.CdpParams = exports.VaultType = exports.Vault = exports.MsgCreateVaultTypeResponse = exports.MsgCreateVaultType = exports.MsgRemoveDebtResponse = exports.MsgRemoveDebt = exports.MsgAddDebtResponse = exports.MsgAddDebt = exports.MsgRemoveCollateralResponse = exports.MsgRemoveCollateral = exports.MsgAddCollateralResponse = exports.MsgAddCollateral = exports.OrderEvent = void 0;
|
|
27
|
+
exports.UInt64Value = exports.Int64Value = exports.FloatValue = exports.DoubleValue = exports.Timestamp = exports.Any = exports.QueryLiquidationParamsResponse = exports.QueryLiquidationParamsRequest = exports.QueryAllLiquidationResponse = exports.QueryAllLiquidationRequest = exports.OutstandingPositions = exports.OutstandingPosition = exports.QuoteChanges = exports.LiquidationParams = exports.CoinReceived = exports.CoinSpent = exports.FeeDeductionEvent = exports.QueryAllMinGasPriceResponse = exports.QueryAllMinGasPriceRequest = exports.QueryGetMinGasPriceResponse = exports.QueryGetMinGasPriceRequest = exports.QueryAllMsgGasCostResponse = exports.QueryAllMsgGasCostRequest = exports.QueryGetMsgGasCostResponse = exports.QueryGetMsgGasCostRequest = exports.RemoveMinGasPriceProposal = exports.RemoveMsgGasCostProposal = exports.SetMinGasPriceProposal = exports.SetMsgGasCostProposal = exports.MinGasPrice = exports.MsgGasCost = exports.MsgFee = exports.MsgRemoveMinGasPriceResponse = exports.MsgRemoveMinGasPrice = exports.MsgRemoveGasCostResponse = exports.MsgRemoveGasCost = exports.MsgSetMinGasPriceResponse = exports.MsgSetMinGasPrice = exports.MsgSetGasCostResponse = exports.MsgSetGasCost = exports.IncomingPoolSwap = exports.TradeEvent = exports.QueryTradesForPositionResponse = exports.QueryTradesForPositionRequest = exports.QueryTradesResponse = exports.QueryTradesRequest = exports.QueryCandlesticksResponse = exports.QueryCandlesticksRequest = exports.Amm = exports.Candlestick = void 0;
|
|
28
|
+
exports.QueryAllSlashCounterRequest = exports.QueryVoterPowerResponse = exports.QueryVoterPowerRequest = exports.QueryAllVoteResponse = exports.QueryAllVoteRequest = exports.QueryAllResultResponse = exports.QueryAllResultRequest = exports.QueryAllOracleResponse = exports.QueryAllOracleRequest = exports.QueryOracleResponse = exports.QueryOracleRequest = exports.CreateOracleProposal = exports.SlashCounter = exports.OracleVotesWindow = exports.Mark = exports.Result = exports.Vote = exports.Oracle = exports.OracleParams = exports.MsgSetOracleSlashEnabledResponse = exports.MsgSetOracleSlashEnabled = exports.MsgRemoveOracleResponse = exports.MsgRemoveOracle = exports.MsgUpdateOracleResponse = exports.UpdateOracleParams = exports.MsgUpdateOracle = exports.MsgCreateVoteResponse = exports.MsgCreateVote = exports.MsgCreateOracleResponse = exports.CreateOracleParams = exports.MsgCreateOracle = exports.PositionEvent = exports.QueryPositionAllocatedMarginResponse = exports.QueryPositionAllocatedMarginRequest = exports.QueryAllPositionResponse = exports.QueryAllPositionRequest = exports.QueryGetPositionResponse = exports.QueryGetPositionRequest = exports.PositionAllocatedMargin = exports.APIPosition = exports.Positions = exports.Position = exports.MsgSetMarginResponse = exports.MsgSetMargin = exports.Duration = exports.BytesValue = exports.StringValue = exports.BoolValue = exports.UInt32Value = exports.Int32Value = void 0;
|
|
29
|
+
exports.MsgAddBridgeAddressResponse = exports.MsgAddBridgeAddress = exports.MsgUpdateTokenResponse = exports.UpdateTokenParams = exports.MsgUpdateToken = exports.MsgRemoveBridgeResponse = exports.MsgRemoveBridge = exports.MsgEditBridgeNameResponse = exports.MsgEditBridgeName = exports.MsgDeauthorizeBridgeResponse = exports.MsgDeauthorizeBridge = exports.MsgAuthorizeBridgeResponse = exports.MsgAuthorizeBridge = exports.MsgWithdrawResponse = exports.MsgWithdraw = exports.MsgLinkTokenResponse = exports.MsgLinkToken = exports.MsgUnbindTokenResponse = exports.MsgUnbindToken = exports.MsgBindTokenResponse = exports.MsgBindToken = exports.MsgMintTokenResponse = exports.MsgMintToken = exports.MsgSyncTokenResponse = exports.MsgSyncToken = exports.MsgCreateTokenResponse = exports.CreateTokenParams = exports.MsgCreateToken = exports.MarketStats = exports.MarketstatsParams = exports.QueryMarketStatsResponse = exports.QueryMarketStatsRequest = exports.QueryMarketstatsParamsResponse = exports.QueryMarketstatsParamsRequest = exports.QueryCrisisParamsResponse = exports.QueryCrisisParamsRequest = exports.OracleSlashEvent = exports.ResultEvent = exports.VoteEvent = exports.RecordVoteEvent = exports.NewVoteEvent = exports.QueryOracleParamsResponse = exports.QueryOracleParamsRequest = exports.QueryOracleVotesWindowResponse = exports.QueryOracleVotesWindowRequest = exports.QueryAllOracleVotesWindowResponse = exports.QueryAllOracleVotesWindowRequest = exports.QuerySlashCounterResponse = exports.QuerySlashCounterRequest = exports.QueryAllSlashCounterResponse = void 0;
|
|
30
|
+
exports.UpdateProfileEvent = exports.QueryAllProfileResponse = exports.QueryAllProfileRequest = exports.QueryGetProfileResponse = exports.QueryGetProfileRequest = exports.Profile = exports.MsgUpdateProfileResponse = exports.MsgUpdateProfile = exports.LeverageEvent = exports.QueryAllLeverageResponse = exports.QueryAllLeverageRequest = exports.QueryGetLeverageResponse = exports.QueryGetLeverageRequest = exports.MsgSetLeverageResponse = exports.MsgSetLeverage = exports.MarketLeverageRecord = exports.MarketLeverage = exports.LinkTokenEvent = exports.UnbindTokenEvent = exports.BindTokenEvent = exports.SyncTokenEvent = exports.NewTokenEvent = exports.TokenBalance = exports.PositionPool = exports.LockedCoinsRecord = exports.LockedCoins = exports.Metadata = exports.BalanceChange = exports.Token = exports.QueryAllBridgeResponse = exports.QueryAllBridgeRequest = exports.QueryGetBridgeResponse = exports.QueryGetBridgeRequest = exports.QueryTotalBalancesResponse = exports.QueryTotalBalancesRequest = exports.QueryGetBalancesResponse = exports.QueryGetBalancesRequest = exports.QueryAllWrapperMappingsResponse_WrapperMappingsEntry = exports.QueryAllWrapperMappingsResponse = exports.QueryAllWrapperMappingsRequest = exports.QueryGetLockedCoinsResponse = exports.QueryGetLockedCoinsRequest = exports.QueryAllTokenResponse = exports.QueryAllTokenRequest = exports.QueryGetTokenResponse = exports.QueryGetTokenRequest = exports.Bridge = exports.CreateTokenProposal = exports.MsgRemoveBridgeAddressResponse = exports.MsgRemoveBridgeAddress = void 0;
|
|
31
|
+
exports.PageRequest = exports.QueryMintDataResponse = exports.QueryMintDataRequest = exports.MintData = exports.MarketEvent = exports.ParamsV280 = exports.ParamsV270 = exports.QueryMarketParamsResponse = exports.QueryMarketParamsRequest = exports.QueryAllMarketResponse = exports.QueryAllMarketRequest = exports.QueryGetMarketResponse = exports.QueryGetMarketRequest = exports.MarketParams = exports.Market = exports.ControlledParams = exports.MarketDefaultsParams = exports.UpdatePerpetualsFundingIntervalProposal = exports.UpdateMarketProposal = exports.CreateMarketProposal = exports.MsgUpdatePerpetualsFundingIntervalResponse = exports.MsgUpdatePerpetualsFundingInterval = exports.MsgUpdateMarketResponse = exports.MsgUpdateMarket = exports.MsgCreateMarketResponse = exports.MsgCreateMarket = exports.OrderBookEvent = exports.QueryAllBookResponse = exports.QueryAllBookRequest = exports.QueryGetBookResponse = exports.QueryGetBookRequest = exports.StopBook = exports.OrderBook = exports.OrderBookLevel = exports.GenesisSubAccount = exports.SubAccount = exports.QuerySubAccountPowerResponse = exports.QuerySubAccountPowerRequest = exports.QuerySubAccountStatusResponse = exports.QuerySubAccountStatusRequest = exports.QueryAllSubAccountResponse = exports.QueryAllSubAccountRequest = exports.QueryGetSubAccountResponse = exports.QueryGetSubAccountRequest = exports.MsgRemoveSubAccountResponse = exports.MsgRemoveSubAccount = exports.MsgActivateSubAccountResponse = exports.MsgActivateSubAccount = exports.MsgCreateSubAccountResponse = exports.MsgCreateSubAccount = void 0;
|
|
32
|
+
exports.LiquiditypoolParams = exports.AllocatedRewards = exports.LastClaimRecord = exports.CommitmentExpiriesRecord = exports.CommitmentExpiries = exports.CommitmentExpiry = exports.RewardHistoryRecord = exports.RewardHistory = exports.CommitmentResponse = exports.TotalCommitmentRecord = exports.TotalCommitment = exports.CommitmentRecord = exports.Commitment = exports.RewardWeights = exports.RewardWeight = exports.CommitmentCurve = exports.RewardCurve = exports.MsgUpdatePoolResponse = exports.UpdatePoolParams = exports.MsgUpdatePool = exports.MsgSetCommitmentCurveResponse = exports.SetCommitmentCurveParams = exports.MsgSetCommitmentCurve = exports.MsgSetRewardCurveResponse = exports.SetRewardCurveParams = exports.MsgSetRewardCurve = exports.MsgClaimPoolRewardsResponse = exports.MsgClaimPoolRewards = exports.MsgUnstakePoolTokenResponse = exports.MsgUnstakePoolToken = exports.MsgStakePoolTokenResponse = exports.MsgStakePoolToken = exports.MsgSetRewardsWeightsResponse = exports.SetRewardsWeightsParams = exports.MsgSetRewardsWeights = exports.MsgUnlinkPoolResponse = exports.UnlinkPoolParams = exports.MsgUnlinkPool = exports.MsgLinkPoolResponse = exports.LinkPoolParams = exports.MsgLinkPool = exports.MsgRemoveLiquidityResponse = exports.MsgRemoveLiquidity = exports.MsgAddLiquidityResponse = exports.MsgAddLiquidity = exports.MsgCreatePoolWithLiquidityResponse = exports.MsgCreatePoolWithLiquidity = exports.MsgCreatePoolResponse = exports.MsgCreatePool = exports.PageResponse = void 0;
|
|
33
|
+
exports.SettlementPriceProposal = exports.PriceSet = exports.PricingParams = exports.Fund = exports.FundByMarket = exports.EventDataInsuranceFundTransfer = exports.QueryCoinBalancesResponse = exports.QueryCoinBalancesRequest = exports.CommitmentEvent = exports.CommitmentCurveEvent = exports.RewardsWeightChangeEvent = exports.TotalCommitmentChangeEvent = exports.PoolEvent = exports.QueryLiquiditypoolParamsResponse = exports.QueryLiquiditypoolParamsRequest = exports.QueryClaimableRewardsResponse = exports.QueryClaimableRewardsRequest = exports.QueryAllTotalCommitmentResponse = exports.QueryAllTotalCommitmentRequest = exports.QueryTotalCommitmentResponse = exports.QueryTotalCommitmentRequest = exports.QueryRewardCurveResponse = exports.QueryRewardCurveRequest = exports.QueryCommitmentCurveResponse = exports.QueryCommitmentCurveRequest = exports.QueryLastClaimResponse = exports.QueryLastClaimRequest = exports.QueryAllCommitmentResponse = exports.QueryAllCommitmentRequest = exports.QueryCommitmentResponse = exports.QueryCommitmentRequest = exports.QueryRewardHistoryResponse = exports.ExtendedPool = exports.QueryRewardHistoryRequest = exports.QueryAllPoolResponse = exports.QueryAllPoolRequest = exports.QueryGetPoolResponse = exports.QueryGetPoolRequest = exports.UpdatePoolProposal = exports.SetRewardsWeightsProposal = exports.SetCommitmentCurveProposal = exports.SetRewardCurveProposal = exports.UnlinkPoolProposal = exports.LinkPoolProposal = exports.RemoveLiquidities = exports.RemoveLiquidity = exports.AddLiquidities = exports.AddLiquidity = exports.Pools = exports.Pool = void 0;
|
|
34
|
+
exports.PriceUpdateEvent = exports.QueryPricingParamsResponse = exports.QueryPricingParamsRequest = exports.QueryRateResponse = exports.QueryRateRequest = exports.QueryAllPriceSetResponse = exports.QueryAllPriceSetRequest = exports.QueryPriceSetResponse = exports.QueryPriceSetRequest = exports.SettlementPriceParams = void 0;
|
|
36
35
|
// GENERATED by scripts/generate-registry.sh
|
|
37
36
|
const proto_signing_1 = require("@cosmjs/proto-signing");
|
|
38
37
|
const tx_1 = require("./order/tx");
|
|
@@ -88,48 +87,16 @@ exports.registry.register("/Switcheo.carbon.order.MsgCancelOrder", tx_1.MsgCance
|
|
|
88
87
|
exports.registry.register("/Switcheo.carbon.order.MsgCancelOrderResponse", tx_1.MsgCancelOrderResponse);
|
|
89
88
|
exports.registry.register("/Switcheo.carbon.order.MsgCancelAll", tx_1.MsgCancelAll);
|
|
90
89
|
exports.registry.register("/Switcheo.carbon.order.MsgCancelAllResponse", tx_1.MsgCancelAllResponse);
|
|
91
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
92
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
93
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
94
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
95
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
96
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
97
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
98
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
99
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
100
|
-
exports.registry.register("/Switcheo.carbon.cdp.
|
|
101
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSupplyAsset", tx_2.MsgSupplyAsset);
|
|
102
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSupplyAssetResponse", tx_2.MsgSupplyAssetResponse);
|
|
103
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgWithdrawAsset", tx_2.MsgWithdrawAsset);
|
|
104
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgWithdrawAssetResponse", tx_2.MsgWithdrawAssetResponse);
|
|
105
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgLockCollateral", tx_2.MsgLockCollateral);
|
|
106
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgLockCollateralResponse", tx_2.MsgLockCollateralResponse);
|
|
107
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgUnlockCollateral", tx_2.MsgUnlockCollateral);
|
|
108
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgUnlockCollateralResponse", tx_2.MsgUnlockCollateralResponse);
|
|
109
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgBorrowAsset", tx_2.MsgBorrowAsset);
|
|
110
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgBorrowAssetResponse", tx_2.MsgBorrowAssetResponse);
|
|
111
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAsset", tx_2.MsgRepayAsset);
|
|
112
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAssetResponse", tx_2.MsgRepayAssetResponse);
|
|
113
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSupplyAssetAndLockCollateral", tx_2.MsgSupplyAssetAndLockCollateral);
|
|
114
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSupplyAssetAndLockCollateralResponse", tx_2.MsgSupplyAssetAndLockCollateralResponse);
|
|
115
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgUnlockCollateralAndWithdrawAsset", tx_2.MsgUnlockCollateralAndWithdrawAsset);
|
|
116
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgUnlockCollateralAndWithdrawAssetResponse", tx_2.MsgUnlockCollateralAndWithdrawAssetResponse);
|
|
117
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgLiquidateCollateral", tx_2.MsgLiquidateCollateral);
|
|
118
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgLiquidateCollateralResponse", tx_2.MsgLiquidateCollateralResponse);
|
|
119
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetLiquidationFee", tx_2.MsgSetLiquidationFee);
|
|
120
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetLiquidationFeeResponse", tx_2.MsgSetLiquidationFeeResponse);
|
|
121
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetInterestFee", tx_2.MsgSetInterestFee);
|
|
122
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetInterestFeeResponse", tx_2.MsgSetInterestFeeResponse);
|
|
123
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAssetWithCdpTokens", tx_2.MsgRepayAssetWithCdpTokens);
|
|
124
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAssetWithCdpTokensResponse", tx_2.MsgRepayAssetWithCdpTokensResponse);
|
|
125
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAssetWithCollateral", tx_2.MsgRepayAssetWithCollateral);
|
|
126
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgRepayAssetWithCollateralResponse", tx_2.MsgRepayAssetWithCollateralResponse);
|
|
127
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetStablecoinInterestRate", tx_2.MsgSetStablecoinInterestRate);
|
|
128
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgSetStablecoinInterestRateResponse", tx_2.MsgSetStablecoinInterestRateResponse);
|
|
129
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgMintStablecoin", tx_2.MsgMintStablecoin);
|
|
130
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgMintStablecoinResponse", tx_2.MsgMintStablecoinResponse);
|
|
131
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgReturnStablecoin", tx_2.MsgReturnStablecoin);
|
|
132
|
-
exports.registry.register("/Switcheo.carbon.cdp.MsgReturnStablecoinResponse", tx_2.MsgReturnStablecoinResponse);
|
|
90
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgAddCollateral", tx_2.MsgAddCollateral);
|
|
91
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgAddCollateralResponse", tx_2.MsgAddCollateralResponse);
|
|
92
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgRemoveCollateral", tx_2.MsgRemoveCollateral);
|
|
93
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgRemoveCollateralResponse", tx_2.MsgRemoveCollateralResponse);
|
|
94
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgAddDebt", tx_2.MsgAddDebt);
|
|
95
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgAddDebtResponse", tx_2.MsgAddDebtResponse);
|
|
96
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgRemoveDebt", tx_2.MsgRemoveDebt);
|
|
97
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgRemoveDebtResponse", tx_2.MsgRemoveDebtResponse);
|
|
98
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgCreateVaultType", tx_2.MsgCreateVaultType);
|
|
99
|
+
exports.registry.register("/Switcheo.carbon.cdp.MsgCreateVaultTypeResponse", tx_2.MsgCreateVaultTypeResponse);
|
|
133
100
|
exports.registry.register("/Switcheo.carbon.headersync.MsgSyncGenesis", PolyNetwork.Headersync.MsgSyncGenesis);
|
|
134
101
|
exports.registry.register("/Switcheo.carbon.headersync.MsgSyncGenesisResponse", PolyNetwork.Headersync.MsgSyncGenesisResponse);
|
|
135
102
|
exports.registry.register("/Switcheo.carbon.headersync.MsgSyncHeaders", PolyNetwork.Headersync.MsgSyncHeaders);
|
|
@@ -370,48 +337,16 @@ exports.TxTypes = {
|
|
|
370
337
|
"MsgCancelOrderResponse": "/Switcheo.carbon.order.MsgCancelOrderResponse",
|
|
371
338
|
"MsgCancelAll": "/Switcheo.carbon.order.MsgCancelAll",
|
|
372
339
|
"MsgCancelAllResponse": "/Switcheo.carbon.order.MsgCancelAllResponse",
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
383
|
-
"MsgSupplyAsset": "/Switcheo.carbon.cdp.MsgSupplyAsset",
|
|
384
|
-
"MsgSupplyAssetResponse": "/Switcheo.carbon.cdp.MsgSupplyAssetResponse",
|
|
385
|
-
"MsgWithdrawAsset": "/Switcheo.carbon.cdp.MsgWithdrawAsset",
|
|
386
|
-
"MsgWithdrawAssetResponse": "/Switcheo.carbon.cdp.MsgWithdrawAssetResponse",
|
|
387
|
-
"MsgLockCollateral": "/Switcheo.carbon.cdp.MsgLockCollateral",
|
|
388
|
-
"MsgLockCollateralResponse": "/Switcheo.carbon.cdp.MsgLockCollateralResponse",
|
|
389
|
-
"MsgUnlockCollateral": "/Switcheo.carbon.cdp.MsgUnlockCollateral",
|
|
390
|
-
"MsgUnlockCollateralResponse": "/Switcheo.carbon.cdp.MsgUnlockCollateralResponse",
|
|
391
|
-
"MsgBorrowAsset": "/Switcheo.carbon.cdp.MsgBorrowAsset",
|
|
392
|
-
"MsgBorrowAssetResponse": "/Switcheo.carbon.cdp.MsgBorrowAssetResponse",
|
|
393
|
-
"MsgRepayAsset": "/Switcheo.carbon.cdp.MsgRepayAsset",
|
|
394
|
-
"MsgRepayAssetResponse": "/Switcheo.carbon.cdp.MsgRepayAssetResponse",
|
|
395
|
-
"MsgSupplyAssetAndLockCollateral": "/Switcheo.carbon.cdp.MsgSupplyAssetAndLockCollateral",
|
|
396
|
-
"MsgSupplyAssetAndLockCollateralResponse": "/Switcheo.carbon.cdp.MsgSupplyAssetAndLockCollateralResponse",
|
|
397
|
-
"MsgUnlockCollateralAndWithdrawAsset": "/Switcheo.carbon.cdp.MsgUnlockCollateralAndWithdrawAsset",
|
|
398
|
-
"MsgUnlockCollateralAndWithdrawAssetResponse": "/Switcheo.carbon.cdp.MsgUnlockCollateralAndWithdrawAssetResponse",
|
|
399
|
-
"MsgLiquidateCollateral": "/Switcheo.carbon.cdp.MsgLiquidateCollateral",
|
|
400
|
-
"MsgLiquidateCollateralResponse": "/Switcheo.carbon.cdp.MsgLiquidateCollateralResponse",
|
|
401
|
-
"MsgSetLiquidationFee": "/Switcheo.carbon.cdp.MsgSetLiquidationFee",
|
|
402
|
-
"MsgSetLiquidationFeeResponse": "/Switcheo.carbon.cdp.MsgSetLiquidationFeeResponse",
|
|
403
|
-
"MsgSetInterestFee": "/Switcheo.carbon.cdp.MsgSetInterestFee",
|
|
404
|
-
"MsgSetInterestFeeResponse": "/Switcheo.carbon.cdp.MsgSetInterestFeeResponse",
|
|
405
|
-
"MsgRepayAssetWithCdpTokens": "/Switcheo.carbon.cdp.MsgRepayAssetWithCdpTokens",
|
|
406
|
-
"MsgRepayAssetWithCdpTokensResponse": "/Switcheo.carbon.cdp.MsgRepayAssetWithCdpTokensResponse",
|
|
407
|
-
"MsgRepayAssetWithCollateral": "/Switcheo.carbon.cdp.MsgRepayAssetWithCollateral",
|
|
408
|
-
"MsgRepayAssetWithCollateralResponse": "/Switcheo.carbon.cdp.MsgRepayAssetWithCollateralResponse",
|
|
409
|
-
"MsgSetStablecoinInterestRate": "/Switcheo.carbon.cdp.MsgSetStablecoinInterestRate",
|
|
410
|
-
"MsgSetStablecoinInterestRateResponse": "/Switcheo.carbon.cdp.MsgSetStablecoinInterestRateResponse",
|
|
411
|
-
"MsgMintStablecoin": "/Switcheo.carbon.cdp.MsgMintStablecoin",
|
|
412
|
-
"MsgMintStablecoinResponse": "/Switcheo.carbon.cdp.MsgMintStablecoinResponse",
|
|
413
|
-
"MsgReturnStablecoin": "/Switcheo.carbon.cdp.MsgReturnStablecoin",
|
|
414
|
-
"MsgReturnStablecoinResponse": "/Switcheo.carbon.cdp.MsgReturnStablecoinResponse",
|
|
340
|
+
"MsgAddCollateral": "/Switcheo.carbon.cdp.MsgAddCollateral",
|
|
341
|
+
"MsgAddCollateralResponse": "/Switcheo.carbon.cdp.MsgAddCollateralResponse",
|
|
342
|
+
"MsgRemoveCollateral": "/Switcheo.carbon.cdp.MsgRemoveCollateral",
|
|
343
|
+
"MsgRemoveCollateralResponse": "/Switcheo.carbon.cdp.MsgRemoveCollateralResponse",
|
|
344
|
+
"MsgAddDebt": "/Switcheo.carbon.cdp.MsgAddDebt",
|
|
345
|
+
"MsgAddDebtResponse": "/Switcheo.carbon.cdp.MsgAddDebtResponse",
|
|
346
|
+
"MsgRemoveDebt": "/Switcheo.carbon.cdp.MsgRemoveDebt",
|
|
347
|
+
"MsgRemoveDebtResponse": "/Switcheo.carbon.cdp.MsgRemoveDebtResponse",
|
|
348
|
+
"MsgCreateVaultType": "/Switcheo.carbon.cdp.MsgCreateVaultType",
|
|
349
|
+
"MsgCreateVaultTypeResponse": "/Switcheo.carbon.cdp.MsgCreateVaultTypeResponse",
|
|
415
350
|
"MsgSyncGenesis": "/Switcheo.carbon.headersync.MsgSyncGenesis",
|
|
416
351
|
"MsgSyncGenesisResponse": "/Switcheo.carbon.headersync.MsgSyncGenesisResponse",
|
|
417
352
|
"MsgSyncHeaders": "/Switcheo.carbon.headersync.MsgSyncHeaders",
|
|
@@ -694,117 +629,35 @@ Object.defineProperty(exports, "QueryOrderAllocatedMarginRequest", { enumerable:
|
|
|
694
629
|
Object.defineProperty(exports, "QueryOrderAllocatedMarginResponse", { enumerable: true, get: function () { return query_2.QueryOrderAllocatedMarginResponse; } });
|
|
695
630
|
var event_1 = require("./order/event");
|
|
696
631
|
Object.defineProperty(exports, "OrderEvent", { enumerable: true, get: function () { return event_1.OrderEvent; } });
|
|
697
|
-
var debt_info_1 = require("./cdp/debt_info");
|
|
698
|
-
Object.defineProperty(exports, "DebtInfo", { enumerable: true, get: function () { return debt_info_1.DebtInfo; } });
|
|
699
632
|
var tx_28 = require("./cdp/tx");
|
|
700
|
-
Object.defineProperty(exports, "
|
|
701
|
-
Object.defineProperty(exports, "
|
|
702
|
-
Object.defineProperty(exports, "
|
|
703
|
-
Object.defineProperty(exports, "
|
|
704
|
-
Object.defineProperty(exports, "
|
|
705
|
-
Object.defineProperty(exports, "
|
|
706
|
-
Object.defineProperty(exports, "
|
|
707
|
-
Object.defineProperty(exports, "
|
|
708
|
-
Object.defineProperty(exports, "
|
|
709
|
-
Object.defineProperty(exports, "
|
|
710
|
-
|
|
711
|
-
Object.defineProperty(exports, "
|
|
712
|
-
Object.defineProperty(exports, "
|
|
713
|
-
Object.defineProperty(exports, "
|
|
714
|
-
Object.defineProperty(exports, "MsgLockCollateral", { enumerable: true, get: function () { return tx_28.MsgLockCollateral; } });
|
|
715
|
-
Object.defineProperty(exports, "MsgLockCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgLockCollateralResponse; } });
|
|
716
|
-
Object.defineProperty(exports, "MsgUnlockCollateral", { enumerable: true, get: function () { return tx_28.MsgUnlockCollateral; } });
|
|
717
|
-
Object.defineProperty(exports, "MsgUnlockCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgUnlockCollateralResponse; } });
|
|
718
|
-
Object.defineProperty(exports, "MsgBorrowAsset", { enumerable: true, get: function () { return tx_28.MsgBorrowAsset; } });
|
|
719
|
-
Object.defineProperty(exports, "MsgBorrowAssetResponse", { enumerable: true, get: function () { return tx_28.MsgBorrowAssetResponse; } });
|
|
720
|
-
Object.defineProperty(exports, "MsgRepayAsset", { enumerable: true, get: function () { return tx_28.MsgRepayAsset; } });
|
|
721
|
-
Object.defineProperty(exports, "MsgRepayAssetResponse", { enumerable: true, get: function () { return tx_28.MsgRepayAssetResponse; } });
|
|
722
|
-
Object.defineProperty(exports, "MsgSupplyAssetAndLockCollateral", { enumerable: true, get: function () { return tx_28.MsgSupplyAssetAndLockCollateral; } });
|
|
723
|
-
Object.defineProperty(exports, "MsgSupplyAssetAndLockCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgSupplyAssetAndLockCollateralResponse; } });
|
|
724
|
-
Object.defineProperty(exports, "MsgUnlockCollateralAndWithdrawAsset", { enumerable: true, get: function () { return tx_28.MsgUnlockCollateralAndWithdrawAsset; } });
|
|
725
|
-
Object.defineProperty(exports, "MsgUnlockCollateralAndWithdrawAssetResponse", { enumerable: true, get: function () { return tx_28.MsgUnlockCollateralAndWithdrawAssetResponse; } });
|
|
726
|
-
Object.defineProperty(exports, "MsgLiquidateCollateral", { enumerable: true, get: function () { return tx_28.MsgLiquidateCollateral; } });
|
|
727
|
-
Object.defineProperty(exports, "MsgLiquidateCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgLiquidateCollateralResponse; } });
|
|
728
|
-
Object.defineProperty(exports, "MsgSetLiquidationFee", { enumerable: true, get: function () { return tx_28.MsgSetLiquidationFee; } });
|
|
729
|
-
Object.defineProperty(exports, "MsgSetLiquidationFeeResponse", { enumerable: true, get: function () { return tx_28.MsgSetLiquidationFeeResponse; } });
|
|
730
|
-
Object.defineProperty(exports, "MsgSetInterestFee", { enumerable: true, get: function () { return tx_28.MsgSetInterestFee; } });
|
|
731
|
-
Object.defineProperty(exports, "MsgSetInterestFeeResponse", { enumerable: true, get: function () { return tx_28.MsgSetInterestFeeResponse; } });
|
|
732
|
-
Object.defineProperty(exports, "MsgRepayAssetWithCdpTokens", { enumerable: true, get: function () { return tx_28.MsgRepayAssetWithCdpTokens; } });
|
|
733
|
-
Object.defineProperty(exports, "MsgRepayAssetWithCdpTokensResponse", { enumerable: true, get: function () { return tx_28.MsgRepayAssetWithCdpTokensResponse; } });
|
|
734
|
-
Object.defineProperty(exports, "MsgRepayAssetWithCollateral", { enumerable: true, get: function () { return tx_28.MsgRepayAssetWithCollateral; } });
|
|
735
|
-
Object.defineProperty(exports, "MsgRepayAssetWithCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgRepayAssetWithCollateralResponse; } });
|
|
736
|
-
Object.defineProperty(exports, "MsgSetStablecoinInterestRate", { enumerable: true, get: function () { return tx_28.MsgSetStablecoinInterestRate; } });
|
|
737
|
-
Object.defineProperty(exports, "MsgSetStablecoinInterestRateResponse", { enumerable: true, get: function () { return tx_28.MsgSetStablecoinInterestRateResponse; } });
|
|
738
|
-
Object.defineProperty(exports, "MsgMintStablecoin", { enumerable: true, get: function () { return tx_28.MsgMintStablecoin; } });
|
|
739
|
-
Object.defineProperty(exports, "MsgMintStablecoinResponse", { enumerable: true, get: function () { return tx_28.MsgMintStablecoinResponse; } });
|
|
740
|
-
Object.defineProperty(exports, "MsgReturnStablecoin", { enumerable: true, get: function () { return tx_28.MsgReturnStablecoin; } });
|
|
741
|
-
Object.defineProperty(exports, "MsgReturnStablecoinResponse", { enumerable: true, get: function () { return tx_28.MsgReturnStablecoinResponse; } });
|
|
742
|
-
var asset_params_1 = require("./cdp/asset_params");
|
|
743
|
-
Object.defineProperty(exports, "AssetParams", { enumerable: true, get: function () { return asset_params_1.AssetParams; } });
|
|
744
|
-
Object.defineProperty(exports, "AssetUtilization", { enumerable: true, get: function () { return asset_params_1.AssetUtilization; } });
|
|
745
|
-
var rate_strategy_params_1 = require("./cdp/rate_strategy_params");
|
|
746
|
-
Object.defineProperty(exports, "RateStrategyParams", { enumerable: true, get: function () { return rate_strategy_params_1.RateStrategyParams; } });
|
|
747
|
-
var stablecoin_debt_info_1 = require("./cdp/stablecoin_debt_info");
|
|
748
|
-
Object.defineProperty(exports, "StablecoinDebtInfo", { enumerable: true, get: function () { return stablecoin_debt_info_1.StablecoinDebtInfo; } });
|
|
633
|
+
Object.defineProperty(exports, "MsgAddCollateral", { enumerable: true, get: function () { return tx_28.MsgAddCollateral; } });
|
|
634
|
+
Object.defineProperty(exports, "MsgAddCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgAddCollateralResponse; } });
|
|
635
|
+
Object.defineProperty(exports, "MsgRemoveCollateral", { enumerable: true, get: function () { return tx_28.MsgRemoveCollateral; } });
|
|
636
|
+
Object.defineProperty(exports, "MsgRemoveCollateralResponse", { enumerable: true, get: function () { return tx_28.MsgRemoveCollateralResponse; } });
|
|
637
|
+
Object.defineProperty(exports, "MsgAddDebt", { enumerable: true, get: function () { return tx_28.MsgAddDebt; } });
|
|
638
|
+
Object.defineProperty(exports, "MsgAddDebtResponse", { enumerable: true, get: function () { return tx_28.MsgAddDebtResponse; } });
|
|
639
|
+
Object.defineProperty(exports, "MsgRemoveDebt", { enumerable: true, get: function () { return tx_28.MsgRemoveDebt; } });
|
|
640
|
+
Object.defineProperty(exports, "MsgRemoveDebtResponse", { enumerable: true, get: function () { return tx_28.MsgRemoveDebtResponse; } });
|
|
641
|
+
Object.defineProperty(exports, "MsgCreateVaultType", { enumerable: true, get: function () { return tx_28.MsgCreateVaultType; } });
|
|
642
|
+
Object.defineProperty(exports, "MsgCreateVaultTypeResponse", { enumerable: true, get: function () { return tx_28.MsgCreateVaultTypeResponse; } });
|
|
643
|
+
var vault_1 = require("./cdp/vault");
|
|
644
|
+
Object.defineProperty(exports, "Vault", { enumerable: true, get: function () { return vault_1.Vault; } });
|
|
645
|
+
Object.defineProperty(exports, "VaultType", { enumerable: true, get: function () { return vault_1.VaultType; } });
|
|
646
|
+
Object.defineProperty(exports, "CdpParams", { enumerable: true, get: function () { return vault_1.Params; } });
|
|
749
647
|
var query_3 = require("./cdp/query");
|
|
648
|
+
Object.defineProperty(exports, "QueryGetVaultRequest", { enumerable: true, get: function () { return query_3.QueryGetVaultRequest; } });
|
|
649
|
+
Object.defineProperty(exports, "QueryGetVaultResponse", { enumerable: true, get: function () { return query_3.QueryGetVaultResponse; } });
|
|
650
|
+
Object.defineProperty(exports, "QueryAllVaultRequest", { enumerable: true, get: function () { return query_3.QueryAllVaultRequest; } });
|
|
651
|
+
Object.defineProperty(exports, "QueryAllVaultResponse", { enumerable: true, get: function () { return query_3.QueryAllVaultResponse; } });
|
|
652
|
+
Object.defineProperty(exports, "QueryGetVaultTypeRequest", { enumerable: true, get: function () { return query_3.QueryGetVaultTypeRequest; } });
|
|
653
|
+
Object.defineProperty(exports, "QueryGetVaultTypeResponse", { enumerable: true, get: function () { return query_3.QueryGetVaultTypeResponse; } });
|
|
654
|
+
Object.defineProperty(exports, "QueryAllVaultTypeRequest", { enumerable: true, get: function () { return query_3.QueryAllVaultTypeRequest; } });
|
|
655
|
+
Object.defineProperty(exports, "QueryAllVaultTypeResponse", { enumerable: true, get: function () { return query_3.QueryAllVaultTypeResponse; } });
|
|
750
656
|
Object.defineProperty(exports, "QueryCdpParamsRequest", { enumerable: true, get: function () { return query_3.QueryParamsRequest; } });
|
|
751
657
|
Object.defineProperty(exports, "QueryCdpParamsResponse", { enumerable: true, get: function () { return query_3.QueryParamsResponse; } });
|
|
752
|
-
Object.defineProperty(exports, "QueryRateStrategyRequest", { enumerable: true, get: function () { return query_3.QueryRateStrategyRequest; } });
|
|
753
|
-
Object.defineProperty(exports, "QueryRateStrategyResponse", { enumerable: true, get: function () { return query_3.QueryRateStrategyResponse; } });
|
|
754
|
-
Object.defineProperty(exports, "QueryRateStrategiesAllRequest", { enumerable: true, get: function () { return query_3.QueryRateStrategiesAllRequest; } });
|
|
755
|
-
Object.defineProperty(exports, "QueryRateStrategiesAllResponse", { enumerable: true, get: function () { return query_3.QueryRateStrategiesAllResponse; } });
|
|
756
|
-
Object.defineProperty(exports, "QueryAssetRequest", { enumerable: true, get: function () { return query_3.QueryAssetRequest; } });
|
|
757
|
-
Object.defineProperty(exports, "QueryAssetResponse", { enumerable: true, get: function () { return query_3.QueryAssetResponse; } });
|
|
758
|
-
Object.defineProperty(exports, "QueryAssetsAllRequest", { enumerable: true, get: function () { return query_3.QueryAssetsAllRequest; } });
|
|
759
|
-
Object.defineProperty(exports, "QueryAssetsAllResponse", { enumerable: true, get: function () { return query_3.QueryAssetsAllResponse; } });
|
|
760
|
-
Object.defineProperty(exports, "QueryAccountCollateralsRequest", { enumerable: true, get: function () { return query_3.QueryAccountCollateralsRequest; } });
|
|
761
|
-
Object.defineProperty(exports, "QueryAccountCollateralsResponse", { enumerable: true, get: function () { return query_3.QueryAccountCollateralsResponse; } });
|
|
762
|
-
Object.defineProperty(exports, "Collateral", { enumerable: true, get: function () { return query_3.Collateral; } });
|
|
763
|
-
Object.defineProperty(exports, "QueryAccountDebtsRequest", { enumerable: true, get: function () { return query_3.QueryAccountDebtsRequest; } });
|
|
764
|
-
Object.defineProperty(exports, "QueryAccountDebtsResponse", { enumerable: true, get: function () { return query_3.QueryAccountDebtsResponse; } });
|
|
765
|
-
Object.defineProperty(exports, "Debt", { enumerable: true, get: function () { return query_3.Debt; } });
|
|
766
|
-
Object.defineProperty(exports, "QueryAccountStablecoinRequest", { enumerable: true, get: function () { return query_3.QueryAccountStablecoinRequest; } });
|
|
767
|
-
Object.defineProperty(exports, "QueryAccountStablecoinResponse", { enumerable: true, get: function () { return query_3.QueryAccountStablecoinResponse; } });
|
|
768
|
-
Object.defineProperty(exports, "QueryAccountDataRequest", { enumerable: true, get: function () { return query_3.QueryAccountDataRequest; } });
|
|
769
|
-
Object.defineProperty(exports, "QueryAccountDataResponse", { enumerable: true, get: function () { return query_3.QueryAccountDataResponse; } });
|
|
770
|
-
Object.defineProperty(exports, "QueryBorrowsRequest", { enumerable: true, get: function () { return query_3.QueryBorrowsRequest; } });
|
|
771
|
-
Object.defineProperty(exports, "QueryBorrowsResponse", { enumerable: true, get: function () { return query_3.QueryBorrowsResponse; } });
|
|
772
|
-
Object.defineProperty(exports, "QueryBorrowsAllRequest", { enumerable: true, get: function () { return query_3.QueryBorrowsAllRequest; } });
|
|
773
|
-
Object.defineProperty(exports, "QueryBorrowsAllResponse", { enumerable: true, get: function () { return query_3.QueryBorrowsAllResponse; } });
|
|
774
|
-
Object.defineProperty(exports, "DBBorrow", { enumerable: true, get: function () { return query_3.DBBorrow; } });
|
|
775
|
-
Object.defineProperty(exports, "QueryCollateralsRequest", { enumerable: true, get: function () { return query_3.QueryCollateralsRequest; } });
|
|
776
|
-
Object.defineProperty(exports, "QueryCollateralsResponse", { enumerable: true, get: function () { return query_3.QueryCollateralsResponse; } });
|
|
777
|
-
Object.defineProperty(exports, "QueryCollateralsAllRequest", { enumerable: true, get: function () { return query_3.QueryCollateralsAllRequest; } });
|
|
778
|
-
Object.defineProperty(exports, "QueryCollateralsAllResponse", { enumerable: true, get: function () { return query_3.QueryCollateralsAllResponse; } });
|
|
779
|
-
Object.defineProperty(exports, "DBCollateral", { enumerable: true, get: function () { return query_3.DBCollateral; } });
|
|
780
|
-
Object.defineProperty(exports, "QueryTokenDebtRequest", { enumerable: true, get: function () { return query_3.QueryTokenDebtRequest; } });
|
|
781
|
-
Object.defineProperty(exports, "QueryTokenDebtResponse", { enumerable: true, get: function () { return query_3.QueryTokenDebtResponse; } });
|
|
782
|
-
Object.defineProperty(exports, "QueryTokenDebtsAllRequest", { enumerable: true, get: function () { return query_3.QueryTokenDebtsAllRequest; } });
|
|
783
|
-
Object.defineProperty(exports, "QueryTokenDebtsAllResponse", { enumerable: true, get: function () { return query_3.QueryTokenDebtsAllResponse; } });
|
|
784
|
-
Object.defineProperty(exports, "QueryStablecoinDebtRequest", { enumerable: true, get: function () { return query_3.QueryStablecoinDebtRequest; } });
|
|
785
|
-
Object.defineProperty(exports, "QueryStablecoinDebtResponse", { enumerable: true, get: function () { return query_3.QueryStablecoinDebtResponse; } });
|
|
786
658
|
var event_2 = require("./cdp/event");
|
|
787
|
-
Object.defineProperty(exports, "
|
|
788
|
-
Object.defineProperty(exports, "
|
|
789
|
-
Object.defineProperty(exports, "RemoveRateStrategyParamsEvent", { enumerable: true, get: function () { return event_2.RemoveRateStrategyParamsEvent; } });
|
|
790
|
-
Object.defineProperty(exports, "NewAssetParamsEvent", { enumerable: true, get: function () { return event_2.NewAssetParamsEvent; } });
|
|
791
|
-
Object.defineProperty(exports, "UpdateAssetParamsEvent", { enumerable: true, get: function () { return event_2.UpdateAssetParamsEvent; } });
|
|
792
|
-
Object.defineProperty(exports, "SetInterestFeeEvent", { enumerable: true, get: function () { return event_2.SetInterestFeeEvent; } });
|
|
793
|
-
Object.defineProperty(exports, "SetLiquidationFeeEvent", { enumerable: true, get: function () { return event_2.SetLiquidationFeeEvent; } });
|
|
794
|
-
Object.defineProperty(exports, "SetStablecoinInterestRateEvent", { enumerable: true, get: function () { return event_2.SetStablecoinInterestRateEvent; } });
|
|
795
|
-
Object.defineProperty(exports, "SupplyAssetEvent", { enumerable: true, get: function () { return event_2.SupplyAssetEvent; } });
|
|
796
|
-
Object.defineProperty(exports, "WithdrawAssetEvent", { enumerable: true, get: function () { return event_2.WithdrawAssetEvent; } });
|
|
797
|
-
Object.defineProperty(exports, "BorrowAssetEvent", { enumerable: true, get: function () { return event_2.BorrowAssetEvent; } });
|
|
798
|
-
Object.defineProperty(exports, "RepayAssetEvent", { enumerable: true, get: function () { return event_2.RepayAssetEvent; } });
|
|
799
|
-
Object.defineProperty(exports, "LockCollateralEvent", { enumerable: true, get: function () { return event_2.LockCollateralEvent; } });
|
|
800
|
-
Object.defineProperty(exports, "UnlockCollateralEvent", { enumerable: true, get: function () { return event_2.UnlockCollateralEvent; } });
|
|
801
|
-
Object.defineProperty(exports, "UpdateDebtInfoEvent", { enumerable: true, get: function () { return event_2.UpdateDebtInfoEvent; } });
|
|
802
|
-
Object.defineProperty(exports, "UpdateStablecoinDebtInfoEvent", { enumerable: true, get: function () { return event_2.UpdateStablecoinDebtInfoEvent; } });
|
|
803
|
-
Object.defineProperty(exports, "MintStablecoinEvent", { enumerable: true, get: function () { return event_2.MintStablecoinEvent; } });
|
|
804
|
-
Object.defineProperty(exports, "ReturnStablecoinEvent", { enumerable: true, get: function () { return event_2.ReturnStablecoinEvent; } });
|
|
805
|
-
Object.defineProperty(exports, "LiquidateCollateralEvent", { enumerable: true, get: function () { return event_2.LiquidateCollateralEvent; } });
|
|
806
|
-
var params_2 = require("./cdp/params");
|
|
807
|
-
Object.defineProperty(exports, "CdpParams", { enumerable: true, get: function () { return params_2.Params; } });
|
|
659
|
+
Object.defineProperty(exports, "VaultTypeEvent", { enumerable: true, get: function () { return event_2.VaultTypeEvent; } });
|
|
660
|
+
Object.defineProperty(exports, "VaultEvent", { enumerable: true, get: function () { return event_2.VaultEvent; } });
|
|
808
661
|
var proofs_1 = require("./proofs");
|
|
809
662
|
Object.defineProperty(exports, "HashOp", { enumerable: true, get: function () { return proofs_1.HashOp; } });
|
|
810
663
|
Object.defineProperty(exports, "hashOpFromJSON", { enumerable: true, get: function () { return proofs_1.hashOpFromJSON; } });
|
|
@@ -984,8 +837,8 @@ Object.defineProperty(exports, "QueryMarketstatsParamsRequest", { enumerable: tr
|
|
|
984
837
|
Object.defineProperty(exports, "QueryMarketstatsParamsResponse", { enumerable: true, get: function () { return query_10.QueryParamsResponse; } });
|
|
985
838
|
Object.defineProperty(exports, "QueryMarketStatsRequest", { enumerable: true, get: function () { return query_10.QueryMarketStatsRequest; } });
|
|
986
839
|
Object.defineProperty(exports, "QueryMarketStatsResponse", { enumerable: true, get: function () { return query_10.QueryMarketStatsResponse; } });
|
|
987
|
-
var
|
|
988
|
-
Object.defineProperty(exports, "MarketstatsParams", { enumerable: true, get: function () { return
|
|
840
|
+
var params_2 = require("./marketstats/params");
|
|
841
|
+
Object.defineProperty(exports, "MarketstatsParams", { enumerable: true, get: function () { return params_2.Params; } });
|
|
989
842
|
var marketstats_1 = require("./marketstats/marketstats");
|
|
990
843
|
Object.defineProperty(exports, "MarketStats", { enumerable: true, get: function () { return marketstats_1.MarketStats; } });
|
|
991
844
|
var tx_33 = require("./coin/tx");
|
|
@@ -1254,7 +1107,6 @@ Object.defineProperty(exports, "Fund", { enumerable: true, get: function () { re
|
|
|
1254
1107
|
var pricing_1 = require("./pricing/pricing");
|
|
1255
1108
|
Object.defineProperty(exports, "PricingParams", { enumerable: true, get: function () { return pricing_1.Params; } });
|
|
1256
1109
|
Object.defineProperty(exports, "PriceSet", { enumerable: true, get: function () { return pricing_1.PriceSet; } });
|
|
1257
|
-
Object.defineProperty(exports, "TokenPrice", { enumerable: true, get: function () { return pricing_1.TokenPrice; } });
|
|
1258
1110
|
var proposal_12 = require("./pricing/proposal");
|
|
1259
1111
|
Object.defineProperty(exports, "SettlementPriceProposal", { enumerable: true, get: function () { return proposal_12.SettlementPriceProposal; } });
|
|
1260
1112
|
Object.defineProperty(exports, "SettlementPriceParams", { enumerable: true, get: function () { return proposal_12.SettlementPriceParams; } });
|
|
@@ -1269,4 +1121,3 @@ Object.defineProperty(exports, "QueryPricingParamsRequest", { enumerable: true,
|
|
|
1269
1121
|
Object.defineProperty(exports, "QueryPricingParamsResponse", { enumerable: true, get: function () { return query_20.QueryParamsResponse; } });
|
|
1270
1122
|
var event_15 = require("./pricing/event");
|
|
1271
1123
|
Object.defineProperty(exports, "PriceUpdateEvent", { enumerable: true, get: function () { return event_15.PriceUpdateEvent; } });
|
|
1272
|
-
Object.defineProperty(exports, "TokenPriceUpdateEvent", { enumerable: true, get: function () { return event_15.TokenPriceUpdateEvent; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MintData } from "
|
|
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("
|
|
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 "
|
|
3
|
+
import { MintData } from "../inflation/inflation";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.inflation";
|
|
5
5
|
export interface QueryMintDataRequest {
|
|
6
6
|
}
|