carbon-js-sdk 0.2.10 → 0.2.11-dev.2
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.js +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/HydrogenClient.js +1 -1
- package/lib/clients/InsightsQueryClient.d.ts +3 -1
- package/lib/clients/InsightsQueryClient.js +17 -6
- package/lib/clients/NEOClient.js +7 -7
- package/lib/clients/TokenClient.d.ts +4 -0
- package/lib/clients/TokenClient.js +23 -7
- package/lib/clients/ZILClient.js +16 -16
- 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/asset_params.d.ts +1 -0
- package/lib/codec/cdp/asset_params.js +31 -15
- package/lib/codec/cdp/event.d.ts +226 -22
- package/lib/codec/cdp/event.js +1414 -80
- package/lib/codec/cdp/genesis.d.ts +57 -4
- package/lib/codec/cdp/genesis.js +417 -22
- package/lib/codec/cdp/query.d.ts +328 -94
- package/lib/codec/cdp/query.js +1300 -236
- package/lib/codec/cdp/tx.d.ts +466 -96
- package/lib/codec/cdp/tx.js +1961 -181
- 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 -5
- package/lib/codec/coin/query.js +2 -8
- package/lib/codec/coin/token.d.ts +11 -0
- package/lib/codec/coin/token.js +65 -1
- 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/query.d.ts +2 -2
- package/lib/codec/cosmos/authz/v1beta1/query.js +2 -2
- 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/genesis.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +3 -3
- package/lib/codec/cosmos/bank/v1beta1/query.js +3 -3
- 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/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 +2 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +2 -2
- 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 +4 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.js +4 -4
- 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 +1 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +1 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.js +5 -5
- 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 +53 -22
- package/lib/codec/index.js +514 -384
- 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 +2 -1
- package/lib/codec/market/genesis.js +20 -2
- 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/trade.d.ts +1 -0
- package/lib/codec/misc/trade.js +17 -0
- 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 +11 -1
- package/lib/codec/pricing/event.js +52 -2
- package/lib/codec/pricing/genesis.d.ts +2 -1
- package/lib/codec/pricing/genesis.js +20 -5
- package/lib/codec/pricing/pricing.d.ts +13 -0
- package/lib/codec/pricing/pricing.js +83 -1
- 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/constant/generic.js +1 -1
- package/lib/insights/common.d.ts +2 -0
- package/lib/insights/common.js +2 -0
- package/lib/insights/competition.d.ts +49 -7
- package/lib/modules/admin.d.ts +61 -1
- package/lib/modules/admin.js +193 -42
- package/lib/modules/cdp.d.ts +55 -12
- package/lib/modules/cdp.js +134 -20
- package/lib/modules/gov.js +14 -14
- package/lib/modules/liquiditypool.js +1 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +8 -8
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +3 -3
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +1 -1
- package/lib/provider/amino/types/admin.js +67 -26
- package/lib/provider/amino/types/bank.js +1 -1
- package/lib/provider/amino/types/broker.js +1 -1
- package/lib/provider/amino/types/cdp.js +72 -32
- package/lib/provider/amino/types/coin.js +2 -2
- package/lib/provider/amino/types/gov.js +4 -4
- package/lib/provider/amino/types/ibc.js +1 -1
- package/lib/provider/amino/types/leverage.js +1 -1
- package/lib/provider/amino/types/liquidityPool.js +7 -7
- package/lib/provider/amino/types/market.js +1 -1
- package/lib/provider/amino/types/oracle.js +1 -1
- package/lib/provider/amino/types/order.js +4 -4
- package/lib/provider/amino/types/position.js +1 -1
- package/lib/provider/amino/types/profile.js +1 -1
- package/lib/provider/amino/types/staking.js +4 -4
- package/lib/provider/amino/types/subaccount.js +3 -3
- package/lib/provider/amino/utils.js +11 -11
- package/lib/provider/keplr/KeplrStore.js +1 -1
- package/lib/provider/ledger/ledger.js +2 -2
- package/lib/provider/metamask/MetaMask.js +1 -1
- package/lib/provider/o3/O3Wallet.js +2 -2
- package/lib/util/address.js +13 -13
- package/lib/util/api.js +4 -4
- package/lib/util/fetch.js +1 -1
- package/lib/util/generic.js +3 -3
- package/lib/util/number.js +5 -5
- package/lib/util/tx.d.ts +42 -14
- package/lib/wallet/CarbonSigner.js +2 -2
- package/lib/wallet/CarbonSigningClient.js +8 -8
- package/lib/wallet/CarbonWallet.js +6 -6
- package/lib/websocket/channel.js +26 -0
- package/lib/websocket/connector.js +3 -3
- package/lib/websocket/models.d.ts +63 -0
- package/lib/websocket/types.d.ts +38 -3
- package/lib/websocket/types.js +16 -0
- package/package.json +2 -1
|
@@ -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";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
export interface SetMsgGasCostProposal {
|
|
6
6
|
title: string;
|
|
@@ -7,7 +7,7 @@ exports.RemoveMinGasPriceProposal = exports.RemoveMsgGasCostProposal = exports.S
|
|
|
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");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseSetMsgGasCostProposal = { title: "", description: "" };
|
|
13
13
|
exports.SetMsgGasCostProposal = {
|
package/lib/codec/fee/query.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";
|
|
4
4
|
import { PageRequest, PageResponse } from "../cosmos/base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
6
6
|
/** this line is used by starport scaffolding # 3 */
|
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");
|
|
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";
|
|
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");
|
|
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 "./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("./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 "./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("./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,16 +14,48 @@ 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
|
-
|
|
17
|
+
MsgAddRateStrategy: string;
|
|
18
|
+
MsgAddRateStrategyResponse: string;
|
|
19
|
+
MsgUpdateRateStrategy: string;
|
|
20
|
+
MsgUpdateRateStrategyResponse: string;
|
|
21
|
+
MsgRemoveRateStrategy: string;
|
|
22
|
+
MsgRemoveRateStrategyResponse: string;
|
|
23
|
+
MsgAddAsset: string;
|
|
24
|
+
MsgAddAssetResponse: string;
|
|
25
|
+
MsgUpdateAsset: string;
|
|
26
|
+
MsgUpdateAssetResponse: string;
|
|
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;
|
|
27
59
|
MsgSyncGenesis: string;
|
|
28
60
|
MsgSyncGenesisResponse: string;
|
|
29
61
|
MsgSyncHeaders: string;
|
|
@@ -42,10 +74,6 @@ export declare const TxTypes: {
|
|
|
42
74
|
SetMinGasPriceProposal: string;
|
|
43
75
|
RemoveMsgGasCostProposal: string;
|
|
44
76
|
RemoveMinGasPriceProposal: string;
|
|
45
|
-
MsgEnableSend: string;
|
|
46
|
-
MsgEnableSendResponse: string;
|
|
47
|
-
MsgDisableSend: string;
|
|
48
|
-
MsgDisableSendResponse: string;
|
|
49
77
|
MsgCreate: string;
|
|
50
78
|
MsgCreateResponse: string;
|
|
51
79
|
MsgBind: string;
|
|
@@ -262,10 +290,14 @@ export { MsgSetTradingFlag, MsgSetTradingFlagResponse, MsgCreateOrder, MsgCreate
|
|
|
262
290
|
export { Params as OrderParams, Order, DBOrder, OrdersForMarket, OrderIDsForMarket, OrderIDs, Orders } from "./order/order";
|
|
263
291
|
export { QueryGetOrderRequest, QueryGetOrderResponse, QueryAllOrderRequest, QueryAllOrderResponse, QueryAccountOpenOrdersRequest, QueryAccountOpenOrdersResponse, QueryParamsRequest as QueryOrderParamsRequest, QueryParamsResponse as QueryOrderParamsResponse, QueryOrderAllocatedMarginRequest, QueryOrderAllocatedMarginResponse } from "./order/query";
|
|
264
292
|
export { OrderEvent } from "./order/event";
|
|
265
|
-
export {
|
|
266
|
-
export {
|
|
267
|
-
export {
|
|
268
|
-
export {
|
|
293
|
+
export { DebtInfo } from "./cdp/debt_info";
|
|
294
|
+
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, MsgSetStablecoinInterestRate, MsgSetStablecoinInterestRateResponse, MsgMintStablecoin, MsgMintStablecoinResponse, MsgReturnStablecoin, MsgReturnStablecoinResponse } from "./cdp/tx";
|
|
295
|
+
export { AssetParams, AssetUtilization, AssetData } from "./cdp/asset_params";
|
|
296
|
+
export { RateStrategyParams } from "./cdp/rate_strategy_params";
|
|
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 } from "./cdp/query";
|
|
299
|
+
export { NewRateStrategyParamsEvent, UpdateRateStrategyParamsEvent, RemoveRateStrategyParamsEvent, NewAssetParamsEvent, UpdateAssetParamsEvent, SetInterestFeeEvent, SetLiquidationFeeEvent, SetStablecoinInterestRateEvent, SupplyAssetEvent, WithdrawAssetEvent, BorrowAssetEvent, RepayAssetEvent, LockCollateralEvent, UnlockCollateralEvent, UpdateDebtInfoEvent, UpdateStablecoinDebtInfoEvent, ReturnStablecoinEvent, LiquidateCollateralEvent } from "./cdp/event";
|
|
300
|
+
export { Params as CdpParams } from "./cdp/params";
|
|
269
301
|
export { HashOp, hashOpFromJSON, hashOpToJSON, LengthOp, lengthOpFromJSON, lengthOpToJSON, ExistenceProof, NonExistenceProof, CommitmentProof, LeafOp, InnerOp, ProofSpec, InnerSpec, BatchProof, BatchEntry, CompressedBatchProof, CompressedBatchEntry, CompressedExistenceProof, CompressedNonExistenceProof } from "./proofs";
|
|
270
302
|
export { LiquidatorPosition, MsgInitiateLiquidation, MsgInitiateLiquidationResponse } from "./broker/tx";
|
|
271
303
|
export { IncomingLiquidations } from "./broker/incoming_liquidations";
|
|
@@ -280,7 +312,6 @@ export { MsgFee, MsgGasCost, MinGasPrice } from "./fee/fee";
|
|
|
280
312
|
export { SetMsgGasCostProposal, SetMinGasPriceProposal, RemoveMsgGasCostProposal, RemoveMinGasPriceProposal } from "./fee/proposal";
|
|
281
313
|
export { QueryGetMsgGasCostRequest, QueryGetMsgGasCostResponse, QueryAllMsgGasCostRequest, QueryAllMsgGasCostResponse, QueryGetMinGasPriceRequest, QueryGetMinGasPriceResponse, QueryAllMinGasPriceRequest, QueryAllMinGasPriceResponse } from "./fee/query";
|
|
282
314
|
export { FeeDeductionEvent } from "./fee/event";
|
|
283
|
-
export { MsgEnableSend, MsgEnableSendResponse, MsgDisableSend, MsgDisableSendResponse } from "./bank/tx";
|
|
284
315
|
export { CoinSpent, CoinReceived } from "./bank/event";
|
|
285
316
|
export { Params as LiquidationParams } from "./liquidation/liquidation";
|
|
286
317
|
export { QuoteChanges } from "./liquidation/quote_changes";
|
|
@@ -308,7 +339,7 @@ export { MsgCreateToken, CreateTokenParams, MsgCreateTokenResponse, MsgSyncToken
|
|
|
308
339
|
export { CreateTokenProposal } from "./coin/proposal";
|
|
309
340
|
export { Bridge } from "./coin/bridge";
|
|
310
341
|
export { QueryGetTokenRequest, QueryGetTokenResponse, QueryAllTokenRequest, QueryAllTokenResponse, QueryGetLockedCoinsRequest, QueryGetLockedCoinsResponse, QueryAllWrapperMappingsRequest, QueryAllWrapperMappingsResponse, QueryAllWrapperMappingsResponse_WrapperMappingsEntry, QueryGetBalancesRequest, QueryGetBalancesResponse, QueryTotalBalancesRequest, QueryTotalBalancesResponse, QueryGetBridgeRequest, QueryGetBridgeResponse, QueryAllBridgeRequest, QueryAllBridgeResponse } from "./coin/query";
|
|
311
|
-
export { Token, BalanceChange, LockedCoins, LockedCoinsRecord, PositionPool, TokenBalance } from "./coin/token";
|
|
342
|
+
export { Token, BalanceChange, Metadata, LockedCoins, LockedCoinsRecord, PositionPool, TokenBalance } from "./coin/token";
|
|
312
343
|
export { NewTokenEvent, SyncTokenEvent, BindTokenEvent, UnbindTokenEvent, LinkTokenEvent } from "./coin/event";
|
|
313
344
|
export { MarketLeverage, MarketLeverageRecord } from "./leverage/leverage";
|
|
314
345
|
export { MsgSetLeverage, MsgSetLeverageResponse } from "./leverage/tx";
|
|
@@ -342,7 +373,7 @@ export { PoolEvent, TotalCommitmentChangeEvent, RewardsWeightChangeEvent, Commit
|
|
|
342
373
|
export { QueryCoinBalancesRequest, QueryCoinBalancesResponse } from "./insurance/query";
|
|
343
374
|
export { EventDataInsuranceFundTransfer } from "./insurance/event";
|
|
344
375
|
export { FundByMarket, Fund } from "./insurance/fund";
|
|
345
|
-
export { Params as PricingParams, PriceSet } from "./pricing/pricing";
|
|
376
|
+
export { Params as PricingParams, PriceSet, TokenPrice } from "./pricing/pricing";
|
|
346
377
|
export { SettlementPriceProposal, SettlementPriceParams } from "./pricing/proposal";
|
|
347
378
|
export { QueryPriceSetRequest, QueryPriceSetResponse, QueryAllPriceSetRequest, QueryAllPriceSetResponse, QueryRateRequest, QueryRateResponse, QueryParamsRequest as QueryPricingParamsRequest, QueryParamsResponse as QueryPricingParamsResponse } from "./pricing/query";
|
|
348
|
-
export { PriceUpdateEvent } from "./pricing/event";
|
|
379
|
+
export { PriceUpdateEvent, TokenPriceUpdateEvent } from "./pricing/event";
|