carbon-js-sdk 0.2.10 → 0.2.11-dev.1
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/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
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgFundCommunityPoolResponse = exports.MsgFundCo
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const coin_1 = require("
|
|
10
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.distribution.v1beta1";
|
|
12
12
|
const baseMsgSetWithdrawAddress = {
|
|
13
13
|
delegatorAddress: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { PageRequest, PageResponse } from "
|
|
4
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "cosmos.evidence.v1beta1";
|
|
6
6
|
/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */
|
|
7
7
|
export interface QueryEvidenceRequest {
|
|
@@ -8,7 +8,7 @@ exports.QueryClientImpl = exports.QueryAllEvidenceResponse = exports.QueryAllEvi
|
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
11
|
-
const pagination_1 = require("
|
|
11
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.evidence.v1beta1";
|
|
13
13
|
const baseQueryEvidenceRequest = {};
|
|
14
14
|
exports.QueryEvidenceRequest = {
|
|
@@ -2,7 +2,7 @@ import Long from "long";
|
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Duration } from "../../../google/protobuf/duration";
|
|
4
4
|
import { Any } from "../../../google/protobuf/any";
|
|
5
|
-
import { Coin } from "
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
6
6
|
export declare const protobufPackage = "cosmos.feegrant.v1beta1";
|
|
7
7
|
/** Since: cosmos-sdk 0.43 */
|
|
8
8
|
/**
|
|
@@ -10,7 +10,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
10
10
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
11
11
|
const any_1 = require("../../../google/protobuf/any");
|
|
12
12
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
13
|
-
const coin_1 = require("
|
|
13
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
14
14
|
exports.protobufPackage = "cosmos.feegrant.v1beta1";
|
|
15
15
|
const baseBasicAllowance = {};
|
|
16
16
|
exports.BasicAllowance = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Grant } from "
|
|
3
|
+
import { Grant } from "./feegrant";
|
|
4
4
|
export declare const protobufPackage = "cosmos.feegrant.v1beta1";
|
|
5
5
|
/** Since: cosmos-sdk 0.43 */
|
|
6
6
|
/** GenesisState contains a set of fee allowances, persisted from the store */
|
|
@@ -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 feegrant_1 = require("
|
|
10
|
+
const feegrant_1 = require("./feegrant");
|
|
11
11
|
exports.protobufPackage = "cosmos.feegrant.v1beta1";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Grant } from "
|
|
4
|
-
import { PageRequest, PageResponse } from "
|
|
3
|
+
import { Grant } from "./feegrant";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "cosmos.feegrant.v1beta1";
|
|
6
6
|
/** Since: cosmos-sdk 0.43 */
|
|
7
7
|
/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */
|
|
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QueryAllowancesResponse = exports.QueryAllowan
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const feegrant_1 = require("
|
|
11
|
-
const pagination_1 = require("
|
|
10
|
+
const feegrant_1 = require("./feegrant");
|
|
11
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.feegrant.v1beta1";
|
|
13
13
|
const baseQueryAllowanceRequest = { granter: "", grantee: "" };
|
|
14
14
|
exports.QueryAllowanceRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { DepositParams, VotingParams, TallyParams, Deposit, Vote, Proposal } from "
|
|
3
|
+
import { DepositParams, VotingParams, TallyParams, Deposit, Vote, Proposal } from "./gov";
|
|
4
4
|
export declare const protobufPackage = "cosmos.gov.v1beta1";
|
|
5
5
|
/** GenesisState defines the gov 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 gov_1 = require("
|
|
10
|
+
const gov_1 = require("./gov");
|
|
11
11
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
12
12
|
const baseGenesisState = { startingProposalId: long_1.default.UZERO };
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -2,7 +2,7 @@ import Long from "long";
|
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
4
|
import { Duration } from "../../../google/protobuf/duration";
|
|
5
|
-
import { Coin } from "
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
6
6
|
export declare const protobufPackage = "cosmos.gov.v1beta1";
|
|
7
7
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
8
8
|
export declare enum VoteOption {
|
|
@@ -10,7 +10,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
10
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
11
11
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
12
12
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
13
|
-
const coin_1 = require("
|
|
13
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
14
14
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
15
15
|
/** VoteOption enumerates the valid vote options for a given governance proposal. */
|
|
16
16
|
var VoteOption;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Proposal, ProposalStatus, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "
|
|
4
|
-
import { PageRequest, PageResponse } from "
|
|
3
|
+
import { Proposal, ProposalStatus, Vote, VotingParams, DepositParams, TallyParams, Deposit, TallyResult } from "./gov";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "cosmos.gov.v1beta1";
|
|
6
6
|
/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */
|
|
7
7
|
export interface QueryProposalRequest {
|
|
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QueryTallyResultResponse = exports.QueryTallyR
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const gov_1 = require("
|
|
11
|
-
const pagination_1 = require("
|
|
10
|
+
const gov_1 = require("./gov");
|
|
11
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
13
13
|
const baseQueryProposalRequest = { proposalId: long_1.default.UZERO };
|
|
14
14
|
exports.QueryProposalRequest = {
|
|
@@ -159,7 +159,7 @@ exports.QueryProposalsRequest = {
|
|
|
159
159
|
const message = Object.assign({}, baseQueryProposalsRequest);
|
|
160
160
|
message.proposalStatus =
|
|
161
161
|
object.proposalStatus !== undefined && object.proposalStatus !== null
|
|
162
|
-
? gov_1.proposalStatusFromJSON(object.proposalStatus)
|
|
162
|
+
? (0, gov_1.proposalStatusFromJSON)(object.proposalStatus)
|
|
163
163
|
: 0;
|
|
164
164
|
message.voter =
|
|
165
165
|
object.voter !== undefined && object.voter !== null
|
|
@@ -178,7 +178,7 @@ exports.QueryProposalsRequest = {
|
|
|
178
178
|
toJSON(message) {
|
|
179
179
|
const obj = {};
|
|
180
180
|
message.proposalStatus !== undefined &&
|
|
181
|
-
(obj.proposalStatus = gov_1.proposalStatusToJSON(message.proposalStatus));
|
|
181
|
+
(obj.proposalStatus = (0, gov_1.proposalStatusToJSON)(message.proposalStatus));
|
|
182
182
|
message.voter !== undefined && (obj.voter = message.voter);
|
|
183
183
|
message.depositor !== undefined && (obj.depositor = message.depositor);
|
|
184
184
|
message.pagination !== undefined &&
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { VoteOption, WeightedVoteOption } from "
|
|
5
|
-
import { Coin } from "
|
|
4
|
+
import { VoteOption, WeightedVoteOption } from "./gov";
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
6
6
|
export declare const protobufPackage = "cosmos.gov.v1beta1";
|
|
7
7
|
/**
|
|
8
8
|
* MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
|
|
@@ -8,8 +8,8 @@ exports.MsgClientImpl = exports.MsgDepositResponse = exports.MsgDeposit = export
|
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
11
|
-
const gov_1 = require("
|
|
12
|
-
const coin_1 = require("
|
|
11
|
+
const gov_1 = require("./gov");
|
|
12
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
13
13
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
14
14
|
const baseMsgSubmitProposal = { proposer: "" };
|
|
15
15
|
exports.MsgSubmitProposal = {
|
|
@@ -185,7 +185,7 @@ exports.MsgVote = {
|
|
|
185
185
|
: "";
|
|
186
186
|
message.option =
|
|
187
187
|
object.option !== undefined && object.option !== null
|
|
188
|
-
? gov_1.voteOptionFromJSON(object.option)
|
|
188
|
+
? (0, gov_1.voteOptionFromJSON)(object.option)
|
|
189
189
|
: 0;
|
|
190
190
|
return message;
|
|
191
191
|
},
|
|
@@ -195,7 +195,7 @@ exports.MsgVote = {
|
|
|
195
195
|
(obj.proposalId = (message.proposalId || long_1.default.UZERO).toString());
|
|
196
196
|
message.voter !== undefined && (obj.voter = message.voter);
|
|
197
197
|
message.option !== undefined &&
|
|
198
|
-
(obj.option = gov_1.voteOptionToJSON(message.option));
|
|
198
|
+
(obj.option = (0, gov_1.voteOptionToJSON)(message.option));
|
|
199
199
|
return obj;
|
|
200
200
|
},
|
|
201
201
|
fromPartial(object) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Minter, Params } from "
|
|
3
|
+
import { Minter, Params } from "./mint";
|
|
4
4
|
export declare const protobufPackage = "cosmos.mint.v1beta1";
|
|
5
5
|
/** GenesisState defines the mint 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 mint_1 = require("
|
|
10
|
+
const mint_1 = require("./mint");
|
|
11
11
|
exports.protobufPackage = "cosmos.mint.v1beta1";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params } from "
|
|
3
|
+
import { Params } from "./mint";
|
|
4
4
|
export declare const protobufPackage = "cosmos.mint.v1beta1";
|
|
5
5
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
6
6
|
export interface QueryParamsRequest {
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryAnnualProvisionsResponse = exports.QueryA
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const mint_1 = require("
|
|
10
|
+
const mint_1 = require("./mint");
|
|
11
11
|
exports.protobufPackage = "cosmos.mint.v1beta1";
|
|
12
12
|
const baseQueryParamsRequest = {};
|
|
13
13
|
exports.QueryParamsRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ParamChange } from "
|
|
3
|
+
import { ParamChange } from "./params";
|
|
4
4
|
export declare const protobufPackage = "cosmos.params.v1beta1";
|
|
5
5
|
/** QueryParamsRequest is request type for the Query/Params RPC method. */
|
|
6
6
|
export interface QueryParamsRequest {
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const params_1 = require("
|
|
10
|
+
const params_1 = require("./params");
|
|
11
11
|
exports.protobufPackage = "cosmos.params.v1beta1";
|
|
12
12
|
const baseQueryParamsRequest = { subspace: "", key: "" };
|
|
13
13
|
exports.QueryParamsRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, ValidatorSigningInfo } from "
|
|
3
|
+
import { Params, ValidatorSigningInfo } from "./slashing";
|
|
4
4
|
export declare const protobufPackage = "cosmos.slashing.v1beta1";
|
|
5
5
|
/** GenesisState defines the slashing module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -7,7 +7,7 @@ exports.MissedBlock = exports.ValidatorMissedBlocks = exports.SigningInfo = expo
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const slashing_1 = require("
|
|
10
|
+
const slashing_1 = require("./slashing");
|
|
11
11
|
exports.protobufPackage = "cosmos.slashing.v1beta1";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, ValidatorSigningInfo } from "
|
|
4
|
-
import { PageRequest, PageResponse } from "
|
|
3
|
+
import { Params, ValidatorSigningInfo } from "./slashing";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
5
5
|
export declare const protobufPackage = "cosmos.slashing.v1beta1";
|
|
6
6
|
/** QueryParamsRequest is the request type for the Query/Params RPC method */
|
|
7
7
|
export interface QueryParamsRequest {
|
|
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QuerySigningInfosResponse = exports.QuerySigni
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const slashing_1 = require("
|
|
11
|
-
const pagination_1 = require("
|
|
10
|
+
const slashing_1 = require("./slashing");
|
|
11
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.slashing.v1beta1";
|
|
13
13
|
const baseQueryParamsRequest = {};
|
|
14
14
|
exports.QueryParamsRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "
|
|
3
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
4
4
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* AuthorizationType defines the type of staking module authorization type
|
|
@@ -7,7 +7,7 @@ exports.StakeAuthorization_Validators = exports.StakeAuthorization = exports.aut
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const coin_1 = require("
|
|
10
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.staking.v1beta1";
|
|
12
12
|
/**
|
|
13
13
|
* AuthorizationType defines the type of staking module authorization type
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "
|
|
3
|
+
import { Params, Validator, Delegation, UnbondingDelegation, Redelegation } from "./staking";
|
|
4
4
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
5
5
|
/** GenesisState defines the staking module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -7,7 +7,7 @@ exports.LastValidatorPower = exports.GenesisState = exports.protobufPackage = vo
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const staking_1 = require("
|
|
10
|
+
const staking_1 = require("./staking");
|
|
11
11
|
exports.protobufPackage = "cosmos.staking.v1beta1";
|
|
12
12
|
const baseGenesisState = { exported: false };
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { PageRequest, PageResponse } from "
|
|
4
|
-
import { Validator, DelegationResponse, UnbondingDelegation, HistoricalInfo, Pool, Params, RedelegationResponse } from "
|
|
3
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
4
|
+
import { Validator, DelegationResponse, UnbondingDelegation, HistoricalInfo, Pool, Params, RedelegationResponse } from "./staking";
|
|
5
5
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
6
6
|
/** QueryValidatorsRequest is request type for Query/Validators RPC method. */
|
|
7
7
|
export interface QueryValidatorsRequest {
|
|
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QueryParamsResponse = exports.QueryParamsReque
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const pagination_1 = require("
|
|
11
|
-
const staking_1 = require("
|
|
10
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
11
|
+
const staking_1 = require("./staking");
|
|
12
12
|
exports.protobufPackage = "cosmos.staking.v1beta1";
|
|
13
13
|
const baseQueryValidatorsRequest = { status: "" };
|
|
14
14
|
exports.QueryValidatorsRequest = {
|
|
@@ -3,7 +3,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
3
3
|
import { Header } from "../../../tendermint/types/types";
|
|
4
4
|
import { Any } from "../../../google/protobuf/any";
|
|
5
5
|
import { Duration } from "../../../google/protobuf/duration";
|
|
6
|
-
import { Coin } from "
|
|
6
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
7
7
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
8
8
|
/** BondStatus is the status of a validator. */
|
|
9
9
|
export declare enum BondStatus {
|
|
@@ -10,7 +10,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
10
10
|
const types_1 = require("../../../tendermint/types/types");
|
|
11
11
|
const any_1 = require("../../../google/protobuf/any");
|
|
12
12
|
const duration_1 = require("../../../google/protobuf/duration");
|
|
13
|
-
const coin_1 = require("
|
|
13
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
14
14
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
15
15
|
exports.protobufPackage = "cosmos.staking.v1beta1";
|
|
16
16
|
/** BondStatus is the status of a validator. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Description, CommissionRates } from "
|
|
3
|
+
import { Description, CommissionRates } from "./staking";
|
|
4
4
|
import { Any } from "../../../google/protobuf/any";
|
|
5
|
-
import { Coin } from "
|
|
5
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
6
6
|
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
7
7
|
/** MsgCreateValidator defines a SDK message for creating a new validator. */
|
|
8
8
|
export interface MsgCreateValidator {
|
|
@@ -7,9 +7,9 @@ exports.MsgClientImpl = exports.MsgUndelegateResponse = exports.MsgUndelegate =
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const staking_1 = require("
|
|
10
|
+
const staking_1 = require("./staking");
|
|
11
11
|
const any_1 = require("../../../google/protobuf/any");
|
|
12
|
-
const coin_1 = require("
|
|
12
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
13
13
|
const timestamp_1 = require("../../../google/protobuf/timestamp");
|
|
14
14
|
exports.protobufPackage = "cosmos.staking.v1beta1";
|
|
15
15
|
const baseMsgCreateValidator = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../../google/protobuf/any";
|
|
4
|
-
import { CompactBitArray } from "
|
|
4
|
+
import { CompactBitArray } from "../../../crypto/multisig/v1beta1/multisig";
|
|
5
5
|
export declare const protobufPackage = "cosmos.tx.signing.v1beta1";
|
|
6
6
|
/** SignMode represents a signing mode with its own security guarantees. */
|
|
7
7
|
export declare enum SignMode {
|
|
@@ -8,7 +8,7 @@ exports.SignatureDescriptor_Data_Multi = exports.SignatureDescriptor_Data_Single
|
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const any_1 = require("../../../../google/protobuf/any");
|
|
11
|
-
const multisig_1 = require("
|
|
11
|
+
const multisig_1 = require("../../../crypto/multisig/v1beta1/multisig");
|
|
12
12
|
exports.protobufPackage = "cosmos.tx.signing.v1beta1";
|
|
13
13
|
/** SignMode represents a signing mode with its own security guarantees. */
|
|
14
14
|
var SignMode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { PageRequest, PageResponse } from "
|
|
4
|
-
import { TxResponse, GasInfo, Result } from "
|
|
5
|
-
import { Tx } from "
|
|
3
|
+
import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination";
|
|
4
|
+
import { TxResponse, GasInfo, Result } from "../../base/abci/v1beta1/abci";
|
|
5
|
+
import { Tx } from "./tx";
|
|
6
6
|
export declare const protobufPackage = "cosmos.tx.v1beta1";
|
|
7
7
|
/** OrderBy defines the sorting order */
|
|
8
8
|
export declare enum OrderBy {
|
|
@@ -7,9 +7,9 @@ exports.ServiceClientImpl = exports.GetTxResponse = exports.GetTxRequest = expor
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const pagination_1 = require("
|
|
11
|
-
const abci_1 = require("
|
|
12
|
-
const tx_1 = require("
|
|
10
|
+
const pagination_1 = require("../../base/query/v1beta1/pagination");
|
|
11
|
+
const abci_1 = require("../../base/abci/v1beta1/abci");
|
|
12
|
+
const tx_1 = require("./tx");
|
|
13
13
|
exports.protobufPackage = "cosmos.tx.v1beta1";
|
|
14
14
|
/** OrderBy defines the sorting order */
|
|
15
15
|
var OrderBy;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
|
-
import { SignMode } from "
|
|
5
|
-
import { CompactBitArray } from "
|
|
6
|
-
import { Coin } from "
|
|
4
|
+
import { SignMode } from "../signing/v1beta1/signing";
|
|
5
|
+
import { CompactBitArray } from "../../crypto/multisig/v1beta1/multisig";
|
|
6
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
7
7
|
export declare const protobufPackage = "cosmos.tx.v1beta1";
|
|
8
8
|
/** Tx is the standard type used for broadcasting transactions. */
|
|
9
9
|
export interface Tx {
|
|
@@ -8,9 +8,9 @@ exports.Fee = exports.ModeInfo_Multi = exports.ModeInfo_Single = exports.ModeInf
|
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
10
|
const any_1 = require("../../../google/protobuf/any");
|
|
11
|
-
const signing_1 = require("
|
|
12
|
-
const multisig_1 = require("
|
|
13
|
-
const coin_1 = require("
|
|
11
|
+
const signing_1 = require("../signing/v1beta1/signing");
|
|
12
|
+
const multisig_1 = require("../../crypto/multisig/v1beta1/multisig");
|
|
13
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
14
14
|
exports.protobufPackage = "cosmos.tx.v1beta1";
|
|
15
15
|
const baseTx = {};
|
|
16
16
|
exports.Tx = {
|
|
@@ -618,13 +618,13 @@ exports.ModeInfo_Single = {
|
|
|
618
618
|
const message = Object.assign({}, baseModeInfo_Single);
|
|
619
619
|
message.mode =
|
|
620
620
|
object.mode !== undefined && object.mode !== null
|
|
621
|
-
? signing_1.signModeFromJSON(object.mode)
|
|
621
|
+
? (0, signing_1.signModeFromJSON)(object.mode)
|
|
622
622
|
: 0;
|
|
623
623
|
return message;
|
|
624
624
|
},
|
|
625
625
|
toJSON(message) {
|
|
626
626
|
const obj = {};
|
|
627
|
-
message.mode !== undefined && (obj.mode = signing_1.signModeToJSON(message.mode));
|
|
627
|
+
message.mode !== undefined && (obj.mode = (0, signing_1.signModeToJSON)(message.mode));
|
|
628
628
|
return obj;
|
|
629
629
|
},
|
|
630
630
|
fromPartial(object) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Plan, ModuleVersion } from "
|
|
3
|
+
import { Plan, ModuleVersion } from "./upgrade";
|
|
4
4
|
export declare const protobufPackage = "cosmos.upgrade.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryModuleVersionsResponse = exports.QueryMod
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const upgrade_1 = require("
|
|
10
|
+
const upgrade_1 = require("./upgrade");
|
|
11
11
|
exports.protobufPackage = "cosmos.upgrade.v1beta1";
|
|
12
12
|
const baseQueryCurrentPlanRequest = {};
|
|
13
13
|
exports.QueryCurrentPlanRequest = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Coin } from "
|
|
3
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
4
4
|
export declare const protobufPackage = "cosmos.vesting.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* MsgCreateVestingAccount defines a message that enables creating a vesting
|
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgCreateVestingAccountResponse = exports.MsgCre
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const coin_1 = require("
|
|
10
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.vesting.v1beta1";
|
|
12
12
|
const baseMsgCreateVestingAccount = {
|
|
13
13
|
fromAddress: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { BaseAccount } from "
|
|
4
|
-
import { Coin } from "
|
|
3
|
+
import { BaseAccount } from "../../auth/v1beta1/auth";
|
|
4
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
5
5
|
export declare const protobufPackage = "cosmos.vesting.v1beta1";
|
|
6
6
|
/**
|
|
7
7
|
* BaseVestingAccount implements the VestingAccount interface. It contains all
|
|
@@ -7,8 +7,8 @@ exports.PermanentLockedAccount = exports.PeriodicVestingAccount = exports.Period
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const auth_1 = require("
|
|
11
|
-
const coin_1 = require("
|
|
10
|
+
const auth_1 = require("../../auth/v1beta1/auth");
|
|
11
|
+
const coin_1 = require("../../base/v1beta1/coin");
|
|
12
12
|
exports.protobufPackage = "cosmos.vesting.v1beta1";
|
|
13
13
|
const baseBaseVestingAccount = { endTime: long_1.default.ZERO };
|
|
14
14
|
exports.BaseVestingAccount = {
|
|
@@ -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
|
/** GenesisState defines the fee module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
package/lib/codec/fee/genesis.js
CHANGED
|
@@ -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 fee_1 = require("
|
|
10
|
+
const fee_1 = require("./fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|