carbon-js-sdk 0.2.16-dev.4 → 0.2.17
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/CarbonSDK.d.ts +1 -13
- package/lib/CarbonSDK.js +2 -31
- package/lib/clients/CarbonQueryClient.js +2 -2
- package/lib/clients/ETHClient.d.ts +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/HydrogenClient.js +1 -1
- package/lib/clients/N3Client.js +2 -3
- package/lib/clients/NEOClient.d.ts +1 -1
- package/lib/clients/NEOClient.js +7 -7
- package/lib/clients/TokenClient.d.ts +0 -5
- package/lib/clients/TokenClient.js +10 -38
- package/lib/clients/ZILClient.d.ts +1 -1
- 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/event.d.ts +22 -389
- package/lib/codec/cdp/event.js +83 -2494
- package/lib/codec/cdp/genesis.d.ts +4 -97
- package/lib/codec/cdp/genesis.js +23 -648
- package/lib/codec/cdp/query.d.ts +89 -439
- package/lib/codec/cdp/query.js +173 -1991
- package/lib/codec/cdp/tx.d.ts +96 -760
- package/lib/codec/cdp/tx.js +235 -3645
- 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/genesis.d.ts +1 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +1 -1
- 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 +18 -89
- package/lib/codec/index.js +180 -463
- 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/liquiditypool.d.ts +0 -3
- package/lib/codec/liquiditypool/liquiditypool.js +1 -44
- 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 -39
- package/lib/codec/liquiditypool/query.js +3 -195
- package/lib/codec/liquiditypool/tx.d.ts +1 -3
- package/lib/codec/liquiditypool/tx.js +1 -35
- 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 -4
- package/lib/codec/oracle/genesis.js +3 -34
- 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 -56
- package/lib/codec/pricing/event.js +2 -298
- 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 -14
- package/lib/codec/pricing/pricing.js +1 -103
- package/lib/codec/pricing/query.d.ts +1 -68
- package/lib/codec/pricing/query.js +2 -321
- package/lib/codec/pricing/tx.d.ts +0 -96
- package/lib/codec/pricing/tx.js +1 -399
- 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/constant/token.d.ts +0 -4
- package/lib/constant/token.js +1 -5
- package/lib/modules/admin.d.ts +7 -114
- package/lib/modules/admin.js +53 -275
- package/lib/modules/cdp.d.ts +13 -152
- package/lib/modules/cdp.js +20 -800
- package/lib/modules/gov.js +14 -14
- package/lib/modules/liquiditypool.d.ts +0 -3
- package/lib/modules/liquiditypool.js +1 -3
- 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 +26 -91
- 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 +24 -135
- 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 -9
- 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.d.ts +0 -1
- package/lib/util/address.js +13 -21
- 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.d.ts +0 -1
- package/lib/util/number.js +6 -7
- package/lib/util/tx.d.ts +10 -74
- package/lib/wallet/CarbonSigner.js +2 -2
- package/lib/wallet/CarbonSigningClient.js +8 -8
- package/lib/wallet/CarbonWallet.js +7 -6
- package/lib/websocket/channel.js +21 -115
- package/lib/websocket/connector.js +3 -3
- package/lib/websocket/models.d.ts +0 -156
- package/lib/websocket/types.d.ts +3 -87
- package/lib/websocket/types.js +0 -31
- package/package.json +1 -1
|
@@ -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 = {
|
|
@@ -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 "../../../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 = {
|
|
@@ -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 "../../../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 {
|
|
@@ -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("../../../cosmos/staking/v1beta1/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 "../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
+
import { Validator, DelegationResponse, UnbondingDelegation, HistoricalInfo, Pool, Params, RedelegationResponse } from "../../../cosmos/staking/v1beta1/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("../../../cosmos/base/query/v1beta1/pagination");
|
|
11
|
+
const staking_1 = require("../../../cosmos/staking/v1beta1/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/staking/v1beta1/staking";
|
|
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.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("../../../cosmos/staking/v1beta1/staking");
|
|
11
11
|
const any_1 = require("../../../google/protobuf/any");
|
|
12
|
-
const coin_1 = require("
|
|
12
|
+
const coin_1 = require("../../../cosmos/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 "../../../../cosmos/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("../../../../cosmos/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 "../../../cosmos/base/query/v1beta1/pagination";
|
|
4
|
+
import { TxResponse, GasInfo, Result } from "../../../cosmos/base/abci/v1beta1/abci";
|
|
5
|
+
import { Tx } from "../../../cosmos/tx/v1beta1/tx";
|
|
6
6
|
import { BlockID } from "../../../tendermint/types/types";
|
|
7
7
|
import { Block } from "../../../tendermint/types/block";
|
|
8
8
|
export declare const protobufPackage = "cosmos.tx.v1beta1";
|
|
@@ -7,9 +7,9 @@ exports.ServiceClientImpl = exports.GetBlockWithTxsResponse = exports.GetBlockWi
|
|
|
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("../../../cosmos/base/query/v1beta1/pagination");
|
|
11
|
+
const abci_1 = require("../../../cosmos/base/abci/v1beta1/abci");
|
|
12
|
+
const tx_1 = require("../../../cosmos/tx/v1beta1/tx");
|
|
13
13
|
const types_1 = require("../../../tendermint/types/types");
|
|
14
14
|
const block_1 = require("../../../tendermint/types/block");
|
|
15
15
|
exports.protobufPackage = "cosmos.tx.v1beta1";
|
|
@@ -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 "../../../cosmos/tx/signing/v1beta1/signing";
|
|
5
|
+
import { CompactBitArray } from "../../../cosmos/crypto/multisig/v1beta1/multisig";
|
|
6
|
+
import { Coin } from "../../../cosmos/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("../../../cosmos/tx/signing/v1beta1/signing");
|
|
12
|
+
const multisig_1 = require("../../../cosmos/crypto/multisig/v1beta1/multisig");
|
|
13
|
+
const coin_1 = require("../../../cosmos/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 "../../../cosmos/upgrade/v1beta1/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("../../../cosmos/upgrade/v1beta1/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 "../../../cosmos/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("../../../cosmos/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 "../../../cosmos/auth/v1beta1/auth";
|
|
4
|
+
import { Coin } from "../../../cosmos/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("../../../cosmos/auth/v1beta1/auth");
|
|
11
|
+
const coin_1 = require("../../../cosmos/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/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/fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
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 { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "../fee/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/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/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/fee");
|
|
11
11
|
const pagination_1 = require("../cosmos/base/query/v1beta1/pagination");
|
|
12
12
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
13
13
|
const baseQueryGetMsgGasCostRequest = { msgType: "" };
|
package/lib/codec/fee/tx.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { MsgGasCost, MinGasPrice } from "
|
|
3
|
+
import { MsgGasCost, MinGasPrice } from "../fee/fee";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.fee";
|
|
5
5
|
export interface MsgSetGasCost {
|
|
6
6
|
creator: string;
|
package/lib/codec/fee/tx.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgRemoveMinGasPriceResponse = exports.MsgRemove
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const fee_1 = require("
|
|
10
|
+
const fee_1 = require("../fee/fee");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.fee";
|
|
12
12
|
const baseMsgSetGasCost = { creator: "" };
|
|
13
13
|
exports.MsgSetGasCost = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "../headersync/consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
/** GenesisState defines the headersync module's genesis state. */
|
|
6
6
|
export interface GenesisState {
|
|
@@ -7,7 +7,7 @@ exports.GenesisState_ZionCheckpointHashesEntry = exports.GenesisState_ZionConsen
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("../headersync/consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
12
12
|
const baseGenesisState = {};
|
|
13
13
|
exports.GenesisState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { ConsensusPeers } from "
|
|
3
|
+
import { ConsensusPeers } from "../headersync/consensus_peers";
|
|
4
4
|
export declare const protobufPackage = "Switcheo.carbon.headersync";
|
|
5
5
|
export interface QueryGetConsensusPeersRequest {
|
|
6
6
|
chainId: Long;
|
|
@@ -7,7 +7,7 @@ exports.QueryClientImpl = exports.QueryGetZionConsensusPeersResponse = exports.Q
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
const long_1 = __importDefault(require("long"));
|
|
9
9
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
10
|
-
const consensus_peers_1 = require("
|
|
10
|
+
const consensus_peers_1 = require("../headersync/consensus_peers");
|
|
11
11
|
exports.protobufPackage = "Switcheo.carbon.headersync";
|
|
12
12
|
const baseQueryGetConsensusPeersRequest = { chainId: long_1.default.UZERO };
|
|
13
13
|
exports.QueryGetConsensusPeersRequest = {
|