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
|
@@ -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 coin_1 = require("
|
|
10
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.crisis.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 { DecCoin, Coin } from "
|
|
3
|
+
import { DecCoin, Coin } from "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
export declare const protobufPackage = "cosmos.distribution.v1beta1";
|
|
5
5
|
/** Params defines the set of params for the distribution module. */
|
|
6
6
|
export interface Params {
|
|
@@ -7,7 +7,7 @@ exports.CommunityPoolSpendProposalWithDeposit = exports.DelegationDelegatorRewar
|
|
|
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("../../../cosmos/base/v1beta1/coin");
|
|
11
11
|
exports.protobufPackage = "cosmos.distribution.v1beta1";
|
|
12
12
|
const baseParams = {
|
|
13
13
|
communityTax: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "
|
|
4
|
-
import { DecCoin } from "
|
|
3
|
+
import { ValidatorAccumulatedCommission, ValidatorHistoricalRewards, ValidatorCurrentRewards, DelegatorStartingInfo, ValidatorSlashEvent, Params, FeePool } from "../../../cosmos/distribution/v1beta1/distribution";
|
|
4
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
5
5
|
export declare const protobufPackage = "cosmos.distribution.v1beta1";
|
|
6
6
|
/**
|
|
7
7
|
* DelegatorWithdrawInfo is the address for where distributions rewards are
|
|
@@ -7,8 +7,8 @@ exports.GenesisState = exports.ValidatorSlashEventRecord = exports.DelegatorStar
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const distribution_1 = require("
|
|
11
|
-
const coin_1 = require("
|
|
10
|
+
const distribution_1 = require("../../../cosmos/distribution/v1beta1/distribution");
|
|
11
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
12
12
|
exports.protobufPackage = "cosmos.distribution.v1beta1";
|
|
13
13
|
const baseDelegatorWithdrawInfo = {
|
|
14
14
|
delegatorAddress: "",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "
|
|
4
|
-
import { PageRequest, PageResponse } from "
|
|
5
|
-
import { DecCoin } from "
|
|
3
|
+
import { Params, ValidatorOutstandingRewards, ValidatorAccumulatedCommission, ValidatorSlashEvent, DelegationDelegatorReward } from "../../../cosmos/distribution/v1beta1/distribution";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
|
|
5
|
+
import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
|
|
6
6
|
export declare const protobufPackage = "cosmos.distribution.v1beta1";
|
|
7
7
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
8
8
|
export interface QueryParamsRequest {
|
|
@@ -7,9 +7,9 @@ exports.QueryClientImpl = exports.QueryLiquidityProviderRewardsResponse = export
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const distribution_1 = require("
|
|
11
|
-
const pagination_1 = require("
|
|
12
|
-
const coin_1 = require("
|
|
10
|
+
const distribution_1 = require("../../../cosmos/distribution/v1beta1/distribution");
|
|
11
|
+
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
12
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
13
13
|
exports.protobufPackage = "cosmos.distribution.v1beta1";
|
|
14
14
|
const baseQueryParamsRequest = {};
|
|
15
15
|
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 "../../../cosmos/base/v1beta1/coin";
|
|
4
4
|
export declare const protobufPackage = "cosmos.distribution.v1beta1";
|
|
5
5
|
/**
|
|
6
6
|
* MsgSetWithdrawAddress sets the withdraw address for
|
|
@@ -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("../../../cosmos/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/feegrant/v1beta1/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("../../../cosmos/feegrant/v1beta1/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 "../../../cosmos/feegrant/v1beta1/feegrant";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../../cosmos/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. */
|
|
@@ -29,6 +29,19 @@ export interface QueryAllowancesResponse {
|
|
|
29
29
|
/** pagination defines an pagination for the response. */
|
|
30
30
|
pagination?: PageResponse;
|
|
31
31
|
}
|
|
32
|
+
/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */
|
|
33
|
+
export interface QueryAllowancesByGranterRequest {
|
|
34
|
+
granter: string;
|
|
35
|
+
/** pagination defines an pagination for the request. */
|
|
36
|
+
pagination?: PageRequest;
|
|
37
|
+
}
|
|
38
|
+
/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */
|
|
39
|
+
export interface QueryAllowancesByGranterResponse {
|
|
40
|
+
/** allowances that have been issued by the granter. */
|
|
41
|
+
allowances: Grant[];
|
|
42
|
+
/** pagination defines an pagination for the response. */
|
|
43
|
+
pagination?: PageResponse;
|
|
44
|
+
}
|
|
32
45
|
export declare const QueryAllowanceRequest: {
|
|
33
46
|
encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
34
47
|
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAllowanceRequest;
|
|
@@ -57,18 +70,38 @@ export declare const QueryAllowancesResponse: {
|
|
|
57
70
|
toJSON(message: QueryAllowancesResponse): unknown;
|
|
58
71
|
fromPartial(object: DeepPartial<QueryAllowancesResponse>): QueryAllowancesResponse;
|
|
59
72
|
};
|
|
73
|
+
export declare const QueryAllowancesByGranterRequest: {
|
|
74
|
+
encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer;
|
|
75
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAllowancesByGranterRequest;
|
|
76
|
+
fromJSON(object: any): QueryAllowancesByGranterRequest;
|
|
77
|
+
toJSON(message: QueryAllowancesByGranterRequest): unknown;
|
|
78
|
+
fromPartial(object: DeepPartial<QueryAllowancesByGranterRequest>): QueryAllowancesByGranterRequest;
|
|
79
|
+
};
|
|
80
|
+
export declare const QueryAllowancesByGranterResponse: {
|
|
81
|
+
encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer;
|
|
82
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): QueryAllowancesByGranterResponse;
|
|
83
|
+
fromJSON(object: any): QueryAllowancesByGranterResponse;
|
|
84
|
+
toJSON(message: QueryAllowancesByGranterResponse): unknown;
|
|
85
|
+
fromPartial(object: DeepPartial<QueryAllowancesByGranterResponse>): QueryAllowancesByGranterResponse;
|
|
86
|
+
};
|
|
60
87
|
/** Query defines the gRPC querier service. */
|
|
61
88
|
export interface Query {
|
|
62
89
|
/** Allowance returns fee granted to the grantee by the granter. */
|
|
63
90
|
Allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
|
64
91
|
/** Allowances returns all the grants for address. */
|
|
65
92
|
Allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* AllowancesByGranter returns all the grants given by an address
|
|
95
|
+
* Since v0.46
|
|
96
|
+
*/
|
|
97
|
+
AllowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
|
66
98
|
}
|
|
67
99
|
export declare class QueryClientImpl implements Query {
|
|
68
100
|
private readonly rpc;
|
|
69
101
|
constructor(rpc: Rpc);
|
|
70
102
|
Allowance(request: QueryAllowanceRequest): Promise<QueryAllowanceResponse>;
|
|
71
103
|
Allowances(request: QueryAllowancesRequest): Promise<QueryAllowancesResponse>;
|
|
104
|
+
AllowancesByGranter(request: QueryAllowancesByGranterRequest): Promise<QueryAllowancesByGranterResponse>;
|
|
72
105
|
}
|
|
73
106
|
interface Rpc {
|
|
74
107
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.QueryClientImpl = exports.QueryAllowancesResponse = exports.QueryAllowancesRequest = exports.QueryAllowanceResponse = exports.QueryAllowanceRequest = exports.protobufPackage = void 0;
|
|
6
|
+
exports.QueryClientImpl = exports.QueryAllowancesByGranterResponse = exports.QueryAllowancesByGranterRequest = exports.QueryAllowancesResponse = exports.QueryAllowancesRequest = exports.QueryAllowanceResponse = exports.QueryAllowanceRequest = 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("
|
|
11
|
-
const pagination_1 = require("
|
|
10
|
+
const feegrant_1 = require("../../../cosmos/feegrant/v1beta1/feegrant");
|
|
11
|
+
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.feegrant.v1beta1";
|
|
13
13
|
const baseQueryAllowanceRequest = { granter: "", grantee: "" };
|
|
14
14
|
exports.QueryAllowanceRequest = {
|
|
@@ -247,11 +247,142 @@ exports.QueryAllowancesResponse = {
|
|
|
247
247
|
return message;
|
|
248
248
|
},
|
|
249
249
|
};
|
|
250
|
+
const baseQueryAllowancesByGranterRequest = { granter: "" };
|
|
251
|
+
exports.QueryAllowancesByGranterRequest = {
|
|
252
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
253
|
+
if (message.granter !== "") {
|
|
254
|
+
writer.uint32(10).string(message.granter);
|
|
255
|
+
}
|
|
256
|
+
if (message.pagination !== undefined) {
|
|
257
|
+
pagination_1.PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
258
|
+
}
|
|
259
|
+
return writer;
|
|
260
|
+
},
|
|
261
|
+
decode(input, length) {
|
|
262
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
263
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
264
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterRequest);
|
|
265
|
+
while (reader.pos < end) {
|
|
266
|
+
const tag = reader.uint32();
|
|
267
|
+
switch (tag >>> 3) {
|
|
268
|
+
case 1:
|
|
269
|
+
message.granter = reader.string();
|
|
270
|
+
break;
|
|
271
|
+
case 2:
|
|
272
|
+
message.pagination = pagination_1.PageRequest.decode(reader, reader.uint32());
|
|
273
|
+
break;
|
|
274
|
+
default:
|
|
275
|
+
reader.skipType(tag & 7);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return message;
|
|
280
|
+
},
|
|
281
|
+
fromJSON(object) {
|
|
282
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterRequest);
|
|
283
|
+
message.granter =
|
|
284
|
+
object.granter !== undefined && object.granter !== null
|
|
285
|
+
? String(object.granter)
|
|
286
|
+
: "";
|
|
287
|
+
message.pagination =
|
|
288
|
+
object.pagination !== undefined && object.pagination !== null
|
|
289
|
+
? pagination_1.PageRequest.fromJSON(object.pagination)
|
|
290
|
+
: undefined;
|
|
291
|
+
return message;
|
|
292
|
+
},
|
|
293
|
+
toJSON(message) {
|
|
294
|
+
const obj = {};
|
|
295
|
+
message.granter !== undefined && (obj.granter = message.granter);
|
|
296
|
+
message.pagination !== undefined &&
|
|
297
|
+
(obj.pagination = message.pagination
|
|
298
|
+
? pagination_1.PageRequest.toJSON(message.pagination)
|
|
299
|
+
: undefined);
|
|
300
|
+
return obj;
|
|
301
|
+
},
|
|
302
|
+
fromPartial(object) {
|
|
303
|
+
var _a;
|
|
304
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterRequest);
|
|
305
|
+
message.granter = (_a = object.granter) !== null && _a !== void 0 ? _a : "";
|
|
306
|
+
message.pagination =
|
|
307
|
+
object.pagination !== undefined && object.pagination !== null
|
|
308
|
+
? pagination_1.PageRequest.fromPartial(object.pagination)
|
|
309
|
+
: undefined;
|
|
310
|
+
return message;
|
|
311
|
+
},
|
|
312
|
+
};
|
|
313
|
+
const baseQueryAllowancesByGranterResponse = {};
|
|
314
|
+
exports.QueryAllowancesByGranterResponse = {
|
|
315
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
316
|
+
for (const v of message.allowances) {
|
|
317
|
+
feegrant_1.Grant.encode(v, writer.uint32(10).fork()).ldelim();
|
|
318
|
+
}
|
|
319
|
+
if (message.pagination !== undefined) {
|
|
320
|
+
pagination_1.PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
321
|
+
}
|
|
322
|
+
return writer;
|
|
323
|
+
},
|
|
324
|
+
decode(input, length) {
|
|
325
|
+
const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
|
|
326
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
327
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterResponse);
|
|
328
|
+
message.allowances = [];
|
|
329
|
+
while (reader.pos < end) {
|
|
330
|
+
const tag = reader.uint32();
|
|
331
|
+
switch (tag >>> 3) {
|
|
332
|
+
case 1:
|
|
333
|
+
message.allowances.push(feegrant_1.Grant.decode(reader, reader.uint32()));
|
|
334
|
+
break;
|
|
335
|
+
case 2:
|
|
336
|
+
message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
|
|
337
|
+
break;
|
|
338
|
+
default:
|
|
339
|
+
reader.skipType(tag & 7);
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return message;
|
|
344
|
+
},
|
|
345
|
+
fromJSON(object) {
|
|
346
|
+
var _a;
|
|
347
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterResponse);
|
|
348
|
+
message.allowances = ((_a = object.allowances) !== null && _a !== void 0 ? _a : []).map((e) => feegrant_1.Grant.fromJSON(e));
|
|
349
|
+
message.pagination =
|
|
350
|
+
object.pagination !== undefined && object.pagination !== null
|
|
351
|
+
? pagination_1.PageResponse.fromJSON(object.pagination)
|
|
352
|
+
: undefined;
|
|
353
|
+
return message;
|
|
354
|
+
},
|
|
355
|
+
toJSON(message) {
|
|
356
|
+
const obj = {};
|
|
357
|
+
if (message.allowances) {
|
|
358
|
+
obj.allowances = message.allowances.map((e) => e ? feegrant_1.Grant.toJSON(e) : undefined);
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
obj.allowances = [];
|
|
362
|
+
}
|
|
363
|
+
message.pagination !== undefined &&
|
|
364
|
+
(obj.pagination = message.pagination
|
|
365
|
+
? pagination_1.PageResponse.toJSON(message.pagination)
|
|
366
|
+
: undefined);
|
|
367
|
+
return obj;
|
|
368
|
+
},
|
|
369
|
+
fromPartial(object) {
|
|
370
|
+
var _a;
|
|
371
|
+
const message = Object.assign({}, baseQueryAllowancesByGranterResponse);
|
|
372
|
+
message.allowances = ((_a = object.allowances) !== null && _a !== void 0 ? _a : []).map((e) => feegrant_1.Grant.fromPartial(e));
|
|
373
|
+
message.pagination =
|
|
374
|
+
object.pagination !== undefined && object.pagination !== null
|
|
375
|
+
? pagination_1.PageResponse.fromPartial(object.pagination)
|
|
376
|
+
: undefined;
|
|
377
|
+
return message;
|
|
378
|
+
},
|
|
379
|
+
};
|
|
250
380
|
class QueryClientImpl {
|
|
251
381
|
constructor(rpc) {
|
|
252
382
|
this.rpc = rpc;
|
|
253
383
|
this.Allowance = this.Allowance.bind(this);
|
|
254
384
|
this.Allowances = this.Allowances.bind(this);
|
|
385
|
+
this.AllowancesByGranter = this.AllowancesByGranter.bind(this);
|
|
255
386
|
}
|
|
256
387
|
Allowance(request) {
|
|
257
388
|
const data = exports.QueryAllowanceRequest.encode(request).finish();
|
|
@@ -263,6 +394,11 @@ class QueryClientImpl {
|
|
|
263
394
|
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "Allowances", data);
|
|
264
395
|
return promise.then((data) => exports.QueryAllowancesResponse.decode(new minimal_1.default.Reader(data)));
|
|
265
396
|
}
|
|
397
|
+
AllowancesByGranter(request) {
|
|
398
|
+
const data = exports.QueryAllowancesByGranterRequest.encode(request).finish();
|
|
399
|
+
const promise = this.rpc.request("cosmos.feegrant.v1beta1.Query", "AllowancesByGranter", data);
|
|
400
|
+
return promise.then((data) => exports.QueryAllowancesByGranterResponse.decode(new minimal_1.default.Reader(data)));
|
|
401
|
+
}
|
|
266
402
|
}
|
|
267
403
|
exports.QueryClientImpl = QueryClientImpl;
|
|
268
404
|
if (minimal_1.default.util.Long !== long_1.default) {
|
|
@@ -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 "../../../cosmos/gov/v1beta1/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("../../../cosmos/gov/v1beta1/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/gov/v1beta1/gov";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../../cosmos/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("../../../cosmos/gov/v1beta1/gov");
|
|
11
|
+
const pagination_1 = require("../../../cosmos/base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
13
13
|
const baseQueryProposalRequest = { proposalId: long_1.default.UZERO };
|
|
14
14
|
exports.QueryProposalRequest = {
|
|
@@ -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 "../../../cosmos/gov/v1beta1/gov";
|
|
5
|
+
import { Coin } from "../../../cosmos/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("../../../cosmos/gov/v1beta1/gov");
|
|
12
|
+
const coin_1 = require("../../../cosmos/base/v1beta1/coin");
|
|
13
13
|
exports.protobufPackage = "cosmos.gov.v1beta1";
|
|
14
14
|
const baseMsgSubmitProposal = { proposer: "" };
|
|
15
15
|
exports.MsgSubmitProposal = {
|
|
@@ -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 "../../../cosmos/mint/v1beta1/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("../../../cosmos/mint/v1beta1/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 "../../../cosmos/mint/v1beta1/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("../../../cosmos/mint/v1beta1/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 "../../../cosmos/params/v1beta1/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("../../../cosmos/params/v1beta1/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 "../../../cosmos/slashing/v1beta1/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("../../../cosmos/slashing/v1beta1/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 "../../../cosmos/slashing/v1beta1/slashing";
|
|
4
|
+
import { PageRequest, PageResponse } from "../../../cosmos/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("../../../cosmos/slashing/v1beta1/slashing");
|
|
11
|
+
const pagination_1 = require("../../../cosmos/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/staking/v1beta1/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 {
|