juno-network 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/types/codegen/JunoSwap.client.d.ts +122 -0
- package/types/codegen/JunoSwap.types.d.ts +142 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +12 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +32 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +57 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +25545 -0
- package/types/codegen/cosmos/client.d.ts +473 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +51 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +33 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +44 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +27 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +44 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/types/codegen/cosmos/lcd.d.ts +28 -0
- package/types/codegen/cosmos/rpc.query.d.ts +97 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +80 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +33 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +36 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +43 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +5227 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +33 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +48 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +27 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/bundle.d.ts +8939 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/helpers.d.ts +82 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +21744 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +88 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +42 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +50 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +41 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/ibc/lcd.d.ts +46 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +148 -0
- package/types/codegen/ibc/rpc.tx.d.ts +44 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +18 -0
- package/types/codegen/juno/bundle.d.ts +723 -0
- package/types/codegen/juno/lcd.d.ts +31 -0
- package/types/codegen/juno/mint/genesis.d.ts +22 -0
- package/types/codegen/juno/mint/mint.d.ts +44 -0
- package/types/codegen/juno/mint/query.d.ts +99 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
- package/types/codegen/juno/mint/query.rpc.query.d.ts +24 -0
- package/types/codegen/juno/rpc.query.d.ts +104 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +19673 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
3
|
+
import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query";
|
4
|
+
/** Query defines the gRPC querier service. */
|
5
|
+
export interface Query {
|
6
|
+
/** Validators queries all validators that match the given status. */
|
7
|
+
validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
|
8
|
+
/** Validator queries validator info for given validator address. */
|
9
|
+
validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
|
10
|
+
/** ValidatorDelegations queries delegate info for given validator. */
|
11
|
+
validatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
|
12
|
+
/** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */
|
13
|
+
validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise<QueryValidatorUnbondingDelegationsResponse>;
|
14
|
+
/** Delegation queries delegate info for given validator delegator pair. */
|
15
|
+
delegation(request: QueryDelegationRequest): Promise<QueryDelegationResponse>;
|
16
|
+
/**
|
17
|
+
* UnbondingDelegation queries unbonding info for given validator delegator
|
18
|
+
* pair.
|
19
|
+
*/
|
20
|
+
unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
|
21
|
+
/** DelegatorDelegations queries all delegations of a given delegator address. */
|
22
|
+
delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
|
23
|
+
/**
|
24
|
+
* DelegatorUnbondingDelegations queries all unbonding delegations of a given
|
25
|
+
* delegator address.
|
26
|
+
*/
|
27
|
+
delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise<QueryDelegatorUnbondingDelegationsResponse>;
|
28
|
+
/** Redelegations queries redelegations of given address. */
|
29
|
+
redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
|
30
|
+
/**
|
31
|
+
* DelegatorValidators queries all validators info for given delegator
|
32
|
+
* address.
|
33
|
+
*/
|
34
|
+
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
|
35
|
+
/**
|
36
|
+
* DelegatorValidator queries validator info for given delegator validator
|
37
|
+
* pair.
|
38
|
+
*/
|
39
|
+
delegatorValidator(request: QueryDelegatorValidatorRequest): Promise<QueryDelegatorValidatorResponse>;
|
40
|
+
/** HistoricalInfo queries the historical info for given height. */
|
41
|
+
historicalInfo(request: QueryHistoricalInfoRequest): Promise<QueryHistoricalInfoResponse>;
|
42
|
+
/** Pool queries the pool info. */
|
43
|
+
pool(request?: QueryPoolRequest): Promise<QueryPoolResponse>;
|
44
|
+
/** Parameters queries the staking parameters. */
|
45
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
46
|
+
}
|
47
|
+
export declare class QueryClientImpl implements Query {
|
48
|
+
private readonly rpc;
|
49
|
+
constructor(rpc: Rpc);
|
50
|
+
validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
|
51
|
+
validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
|
52
|
+
validatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
|
53
|
+
validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise<QueryValidatorUnbondingDelegationsResponse>;
|
54
|
+
delegation(request: QueryDelegationRequest): Promise<QueryDelegationResponse>;
|
55
|
+
unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
|
56
|
+
delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
|
57
|
+
delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise<QueryDelegatorUnbondingDelegationsResponse>;
|
58
|
+
redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
|
59
|
+
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
|
60
|
+
delegatorValidator(request: QueryDelegatorValidatorRequest): Promise<QueryDelegatorValidatorResponse>;
|
61
|
+
historicalInfo(request: QueryHistoricalInfoRequest): Promise<QueryHistoricalInfoResponse>;
|
62
|
+
pool(request?: QueryPoolRequest): Promise<QueryPoolResponse>;
|
63
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
64
|
+
}
|
65
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
66
|
+
validators(request: QueryValidatorsRequest): Promise<QueryValidatorsResponse>;
|
67
|
+
validator(request: QueryValidatorRequest): Promise<QueryValidatorResponse>;
|
68
|
+
validatorDelegations(request: QueryValidatorDelegationsRequest): Promise<QueryValidatorDelegationsResponse>;
|
69
|
+
validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise<QueryValidatorUnbondingDelegationsResponse>;
|
70
|
+
delegation(request: QueryDelegationRequest): Promise<QueryDelegationResponse>;
|
71
|
+
unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise<QueryUnbondingDelegationResponse>;
|
72
|
+
delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise<QueryDelegatorDelegationsResponse>;
|
73
|
+
delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise<QueryDelegatorUnbondingDelegationsResponse>;
|
74
|
+
redelegations(request: QueryRedelegationsRequest): Promise<QueryRedelegationsResponse>;
|
75
|
+
delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
|
76
|
+
delegatorValidator(request: QueryDelegatorValidatorRequest): Promise<QueryDelegatorValidatorResponse>;
|
77
|
+
historicalInfo(request: QueryHistoricalInfoRequest): Promise<QueryHistoricalInfoResponse>;
|
78
|
+
pool(request?: QueryPoolRequest): Promise<QueryPoolResponse>;
|
79
|
+
params(request?: QueryParamsRequest): Promise<QueryParamsResponse>;
|
80
|
+
};
|
@@ -0,0 +1,568 @@
|
|
1
|
+
import { Header, HeaderSDKType } from "../../../tendermint/types/types";
|
2
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
3
|
+
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
|
4
|
+
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
5
|
+
import * as _m0 from "protobufjs/minimal";
|
6
|
+
import { DeepPartial, Long } from "../../../helpers";
|
7
|
+
/** BondStatus is the status of a validator. */
|
8
|
+
export declare enum BondStatus {
|
9
|
+
/** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
|
10
|
+
BOND_STATUS_UNSPECIFIED = 0,
|
11
|
+
/** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
|
12
|
+
BOND_STATUS_UNBONDED = 1,
|
13
|
+
/** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
|
14
|
+
BOND_STATUS_UNBONDING = 2,
|
15
|
+
/** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
|
16
|
+
BOND_STATUS_BONDED = 3,
|
17
|
+
UNRECOGNIZED = -1
|
18
|
+
}
|
19
|
+
/** BondStatus is the status of a validator. */
|
20
|
+
export declare enum BondStatusSDKType {
|
21
|
+
/** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */
|
22
|
+
BOND_STATUS_UNSPECIFIED = 0,
|
23
|
+
/** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */
|
24
|
+
BOND_STATUS_UNBONDED = 1,
|
25
|
+
/** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */
|
26
|
+
BOND_STATUS_UNBONDING = 2,
|
27
|
+
/** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */
|
28
|
+
BOND_STATUS_BONDED = 3,
|
29
|
+
UNRECOGNIZED = -1
|
30
|
+
}
|
31
|
+
export declare function bondStatusFromJSON(object: any): BondStatus;
|
32
|
+
export declare function bondStatusToJSON(object: BondStatus): string;
|
33
|
+
/**
|
34
|
+
* HistoricalInfo contains header and validator information for a given block.
|
35
|
+
* It is stored as part of staking module's state, which persists the `n` most
|
36
|
+
* recent HistoricalInfo
|
37
|
+
* (`n` is set by the staking module's `historical_entries` parameter).
|
38
|
+
*/
|
39
|
+
export interface HistoricalInfo {
|
40
|
+
header?: Header;
|
41
|
+
valset: Validator[];
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* HistoricalInfo contains header and validator information for a given block.
|
45
|
+
* It is stored as part of staking module's state, which persists the `n` most
|
46
|
+
* recent HistoricalInfo
|
47
|
+
* (`n` is set by the staking module's `historical_entries` parameter).
|
48
|
+
*/
|
49
|
+
export interface HistoricalInfoSDKType {
|
50
|
+
header?: HeaderSDKType;
|
51
|
+
valset: ValidatorSDKType[];
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* CommissionRates defines the initial commission rates to be used for creating
|
55
|
+
* a validator.
|
56
|
+
*/
|
57
|
+
export interface CommissionRates {
|
58
|
+
/** rate is the commission rate charged to delegators, as a fraction. */
|
59
|
+
rate: string;
|
60
|
+
/** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
|
61
|
+
maxRate: string;
|
62
|
+
/** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
|
63
|
+
maxChangeRate: string;
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* CommissionRates defines the initial commission rates to be used for creating
|
67
|
+
* a validator.
|
68
|
+
*/
|
69
|
+
export interface CommissionRatesSDKType {
|
70
|
+
/** rate is the commission rate charged to delegators, as a fraction. */
|
71
|
+
rate: string;
|
72
|
+
/** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */
|
73
|
+
max_rate: string;
|
74
|
+
/** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */
|
75
|
+
max_change_rate: string;
|
76
|
+
}
|
77
|
+
/** Commission defines commission parameters for a given validator. */
|
78
|
+
export interface Commission {
|
79
|
+
/** commission_rates defines the initial commission rates to be used for creating a validator. */
|
80
|
+
commissionRates?: CommissionRates;
|
81
|
+
/** update_time is the last time the commission rate was changed. */
|
82
|
+
updateTime?: Date;
|
83
|
+
}
|
84
|
+
/** Commission defines commission parameters for a given validator. */
|
85
|
+
export interface CommissionSDKType {
|
86
|
+
/** commission_rates defines the initial commission rates to be used for creating a validator. */
|
87
|
+
commission_rates?: CommissionRatesSDKType;
|
88
|
+
/** update_time is the last time the commission rate was changed. */
|
89
|
+
update_time?: Date;
|
90
|
+
}
|
91
|
+
/** Description defines a validator description. */
|
92
|
+
export interface Description {
|
93
|
+
/** moniker defines a human-readable name for the validator. */
|
94
|
+
moniker: string;
|
95
|
+
/** identity defines an optional identity signature (ex. UPort or Keybase). */
|
96
|
+
identity: string;
|
97
|
+
/** website defines an optional website link. */
|
98
|
+
website: string;
|
99
|
+
/** security_contact defines an optional email for security contact. */
|
100
|
+
securityContact: string;
|
101
|
+
/** details define other optional details. */
|
102
|
+
details: string;
|
103
|
+
}
|
104
|
+
/** Description defines a validator description. */
|
105
|
+
export interface DescriptionSDKType {
|
106
|
+
/** moniker defines a human-readable name for the validator. */
|
107
|
+
moniker: string;
|
108
|
+
/** identity defines an optional identity signature (ex. UPort or Keybase). */
|
109
|
+
identity: string;
|
110
|
+
/** website defines an optional website link. */
|
111
|
+
website: string;
|
112
|
+
/** security_contact defines an optional email for security contact. */
|
113
|
+
security_contact: string;
|
114
|
+
/** details define other optional details. */
|
115
|
+
details: string;
|
116
|
+
}
|
117
|
+
/**
|
118
|
+
* Validator defines a validator, together with the total amount of the
|
119
|
+
* Validator's bond shares and their exchange rate to coins. Slashing results in
|
120
|
+
* a decrease in the exchange rate, allowing correct calculation of future
|
121
|
+
* undelegations without iterating over delegators. When coins are delegated to
|
122
|
+
* this validator, the validator is credited with a delegation whose number of
|
123
|
+
* bond shares is based on the amount of coins delegated divided by the current
|
124
|
+
* exchange rate. Voting power can be calculated as total bonded shares
|
125
|
+
* multiplied by exchange rate.
|
126
|
+
*/
|
127
|
+
export interface Validator {
|
128
|
+
/** operator_address defines the address of the validator's operator; bech encoded in JSON. */
|
129
|
+
operatorAddress: string;
|
130
|
+
/** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
|
131
|
+
consensusPubkey?: Any;
|
132
|
+
/** jailed defined whether the validator has been jailed from bonded status or not. */
|
133
|
+
jailed: boolean;
|
134
|
+
/** status is the validator status (bonded/unbonding/unbonded). */
|
135
|
+
status: BondStatus;
|
136
|
+
/** tokens define the delegated tokens (incl. self-delegation). */
|
137
|
+
tokens: string;
|
138
|
+
/** delegator_shares defines total shares issued to a validator's delegators. */
|
139
|
+
delegatorShares: string;
|
140
|
+
/** description defines the description terms for the validator. */
|
141
|
+
description?: Description;
|
142
|
+
/** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
|
143
|
+
unbondingHeight: Long;
|
144
|
+
/** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
|
145
|
+
unbondingTime?: Date;
|
146
|
+
/** commission defines the commission parameters. */
|
147
|
+
commission?: Commission;
|
148
|
+
/** min_self_delegation is the validator's self declared minimum self delegation. */
|
149
|
+
minSelfDelegation: string;
|
150
|
+
}
|
151
|
+
/**
|
152
|
+
* Validator defines a validator, together with the total amount of the
|
153
|
+
* Validator's bond shares and their exchange rate to coins. Slashing results in
|
154
|
+
* a decrease in the exchange rate, allowing correct calculation of future
|
155
|
+
* undelegations without iterating over delegators. When coins are delegated to
|
156
|
+
* this validator, the validator is credited with a delegation whose number of
|
157
|
+
* bond shares is based on the amount of coins delegated divided by the current
|
158
|
+
* exchange rate. Voting power can be calculated as total bonded shares
|
159
|
+
* multiplied by exchange rate.
|
160
|
+
*/
|
161
|
+
export interface ValidatorSDKType {
|
162
|
+
/** operator_address defines the address of the validator's operator; bech encoded in JSON. */
|
163
|
+
operator_address: string;
|
164
|
+
/** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */
|
165
|
+
consensus_pubkey?: AnySDKType;
|
166
|
+
/** jailed defined whether the validator has been jailed from bonded status or not. */
|
167
|
+
jailed: boolean;
|
168
|
+
/** status is the validator status (bonded/unbonding/unbonded). */
|
169
|
+
status: BondStatusSDKType;
|
170
|
+
/** tokens define the delegated tokens (incl. self-delegation). */
|
171
|
+
tokens: string;
|
172
|
+
/** delegator_shares defines total shares issued to a validator's delegators. */
|
173
|
+
delegator_shares: string;
|
174
|
+
/** description defines the description terms for the validator. */
|
175
|
+
description?: DescriptionSDKType;
|
176
|
+
/** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */
|
177
|
+
unbonding_height: Long;
|
178
|
+
/** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */
|
179
|
+
unbonding_time?: Date;
|
180
|
+
/** commission defines the commission parameters. */
|
181
|
+
commission?: CommissionSDKType;
|
182
|
+
/** min_self_delegation is the validator's self declared minimum self delegation. */
|
183
|
+
min_self_delegation: string;
|
184
|
+
}
|
185
|
+
/** ValAddresses defines a repeated set of validator addresses. */
|
186
|
+
export interface ValAddresses {
|
187
|
+
addresses: string[];
|
188
|
+
}
|
189
|
+
/** ValAddresses defines a repeated set of validator addresses. */
|
190
|
+
export interface ValAddressesSDKType {
|
191
|
+
addresses: string[];
|
192
|
+
}
|
193
|
+
/**
|
194
|
+
* DVPair is struct that just has a delegator-validator pair with no other data.
|
195
|
+
* It is intended to be used as a marshalable pointer. For example, a DVPair can
|
196
|
+
* be used to construct the key to getting an UnbondingDelegation from state.
|
197
|
+
*/
|
198
|
+
export interface DVPair {
|
199
|
+
delegatorAddress: string;
|
200
|
+
validatorAddress: string;
|
201
|
+
}
|
202
|
+
/**
|
203
|
+
* DVPair is struct that just has a delegator-validator pair with no other data.
|
204
|
+
* It is intended to be used as a marshalable pointer. For example, a DVPair can
|
205
|
+
* be used to construct the key to getting an UnbondingDelegation from state.
|
206
|
+
*/
|
207
|
+
export interface DVPairSDKType {
|
208
|
+
delegator_address: string;
|
209
|
+
validator_address: string;
|
210
|
+
}
|
211
|
+
/** DVPairs defines an array of DVPair objects. */
|
212
|
+
export interface DVPairs {
|
213
|
+
pairs: DVPair[];
|
214
|
+
}
|
215
|
+
/** DVPairs defines an array of DVPair objects. */
|
216
|
+
export interface DVPairsSDKType {
|
217
|
+
pairs: DVPairSDKType[];
|
218
|
+
}
|
219
|
+
/**
|
220
|
+
* DVVTriplet is struct that just has a delegator-validator-validator triplet
|
221
|
+
* with no other data. It is intended to be used as a marshalable pointer. For
|
222
|
+
* example, a DVVTriplet can be used to construct the key to getting a
|
223
|
+
* Redelegation from state.
|
224
|
+
*/
|
225
|
+
export interface DVVTriplet {
|
226
|
+
delegatorAddress: string;
|
227
|
+
validatorSrcAddress: string;
|
228
|
+
validatorDstAddress: string;
|
229
|
+
}
|
230
|
+
/**
|
231
|
+
* DVVTriplet is struct that just has a delegator-validator-validator triplet
|
232
|
+
* with no other data. It is intended to be used as a marshalable pointer. For
|
233
|
+
* example, a DVVTriplet can be used to construct the key to getting a
|
234
|
+
* Redelegation from state.
|
235
|
+
*/
|
236
|
+
export interface DVVTripletSDKType {
|
237
|
+
delegator_address: string;
|
238
|
+
validator_src_address: string;
|
239
|
+
validator_dst_address: string;
|
240
|
+
}
|
241
|
+
/** DVVTriplets defines an array of DVVTriplet objects. */
|
242
|
+
export interface DVVTriplets {
|
243
|
+
triplets: DVVTriplet[];
|
244
|
+
}
|
245
|
+
/** DVVTriplets defines an array of DVVTriplet objects. */
|
246
|
+
export interface DVVTripletsSDKType {
|
247
|
+
triplets: DVVTripletSDKType[];
|
248
|
+
}
|
249
|
+
/**
|
250
|
+
* Delegation represents the bond with tokens held by an account. It is
|
251
|
+
* owned by one delegator, and is associated with the voting power of one
|
252
|
+
* validator.
|
253
|
+
*/
|
254
|
+
export interface Delegation {
|
255
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
256
|
+
delegatorAddress: string;
|
257
|
+
/** validator_address is the bech32-encoded address of the validator. */
|
258
|
+
validatorAddress: string;
|
259
|
+
/** shares define the delegation shares received. */
|
260
|
+
shares: string;
|
261
|
+
}
|
262
|
+
/**
|
263
|
+
* Delegation represents the bond with tokens held by an account. It is
|
264
|
+
* owned by one delegator, and is associated with the voting power of one
|
265
|
+
* validator.
|
266
|
+
*/
|
267
|
+
export interface DelegationSDKType {
|
268
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
269
|
+
delegator_address: string;
|
270
|
+
/** validator_address is the bech32-encoded address of the validator. */
|
271
|
+
validator_address: string;
|
272
|
+
/** shares define the delegation shares received. */
|
273
|
+
shares: string;
|
274
|
+
}
|
275
|
+
/**
|
276
|
+
* UnbondingDelegation stores all of a single delegator's unbonding bonds
|
277
|
+
* for a single validator in an time-ordered list.
|
278
|
+
*/
|
279
|
+
export interface UnbondingDelegation {
|
280
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
281
|
+
delegatorAddress: string;
|
282
|
+
/** validator_address is the bech32-encoded address of the validator. */
|
283
|
+
validatorAddress: string;
|
284
|
+
/** entries are the unbonding delegation entries. */
|
285
|
+
entries: UnbondingDelegationEntry[];
|
286
|
+
}
|
287
|
+
/**
|
288
|
+
* UnbondingDelegation stores all of a single delegator's unbonding bonds
|
289
|
+
* for a single validator in an time-ordered list.
|
290
|
+
*/
|
291
|
+
export interface UnbondingDelegationSDKType {
|
292
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
293
|
+
delegator_address: string;
|
294
|
+
/** validator_address is the bech32-encoded address of the validator. */
|
295
|
+
validator_address: string;
|
296
|
+
/** entries are the unbonding delegation entries. */
|
297
|
+
entries: UnbondingDelegationEntrySDKType[];
|
298
|
+
}
|
299
|
+
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
300
|
+
export interface UnbondingDelegationEntry {
|
301
|
+
/** creation_height is the height which the unbonding took place. */
|
302
|
+
creationHeight: Long;
|
303
|
+
/** completion_time is the unix time for unbonding completion. */
|
304
|
+
completionTime?: Date;
|
305
|
+
/** initial_balance defines the tokens initially scheduled to receive at completion. */
|
306
|
+
initialBalance: string;
|
307
|
+
/** balance defines the tokens to receive at completion. */
|
308
|
+
balance: string;
|
309
|
+
}
|
310
|
+
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
311
|
+
export interface UnbondingDelegationEntrySDKType {
|
312
|
+
/** creation_height is the height which the unbonding took place. */
|
313
|
+
creation_height: Long;
|
314
|
+
/** completion_time is the unix time for unbonding completion. */
|
315
|
+
completion_time?: Date;
|
316
|
+
/** initial_balance defines the tokens initially scheduled to receive at completion. */
|
317
|
+
initial_balance: string;
|
318
|
+
/** balance defines the tokens to receive at completion. */
|
319
|
+
balance: string;
|
320
|
+
}
|
321
|
+
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
322
|
+
export interface RedelegationEntry {
|
323
|
+
/** creation_height defines the height which the redelegation took place. */
|
324
|
+
creationHeight: Long;
|
325
|
+
/** completion_time defines the unix time for redelegation completion. */
|
326
|
+
completionTime?: Date;
|
327
|
+
/** initial_balance defines the initial balance when redelegation started. */
|
328
|
+
initialBalance: string;
|
329
|
+
/** shares_dst is the amount of destination-validator shares created by redelegation. */
|
330
|
+
sharesDst: string;
|
331
|
+
}
|
332
|
+
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
333
|
+
export interface RedelegationEntrySDKType {
|
334
|
+
/** creation_height defines the height which the redelegation took place. */
|
335
|
+
creation_height: Long;
|
336
|
+
/** completion_time defines the unix time for redelegation completion. */
|
337
|
+
completion_time?: Date;
|
338
|
+
/** initial_balance defines the initial balance when redelegation started. */
|
339
|
+
initial_balance: string;
|
340
|
+
/** shares_dst is the amount of destination-validator shares created by redelegation. */
|
341
|
+
shares_dst: string;
|
342
|
+
}
|
343
|
+
/**
|
344
|
+
* Redelegation contains the list of a particular delegator's redelegating bonds
|
345
|
+
* from a particular source validator to a particular destination validator.
|
346
|
+
*/
|
347
|
+
export interface Redelegation {
|
348
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
349
|
+
delegatorAddress: string;
|
350
|
+
/** validator_src_address is the validator redelegation source operator address. */
|
351
|
+
validatorSrcAddress: string;
|
352
|
+
/** validator_dst_address is the validator redelegation destination operator address. */
|
353
|
+
validatorDstAddress: string;
|
354
|
+
/** entries are the redelegation entries. */
|
355
|
+
entries: RedelegationEntry[];
|
356
|
+
}
|
357
|
+
/**
|
358
|
+
* Redelegation contains the list of a particular delegator's redelegating bonds
|
359
|
+
* from a particular source validator to a particular destination validator.
|
360
|
+
*/
|
361
|
+
export interface RedelegationSDKType {
|
362
|
+
/** delegator_address is the bech32-encoded address of the delegator. */
|
363
|
+
delegator_address: string;
|
364
|
+
/** validator_src_address is the validator redelegation source operator address. */
|
365
|
+
validator_src_address: string;
|
366
|
+
/** validator_dst_address is the validator redelegation destination operator address. */
|
367
|
+
validator_dst_address: string;
|
368
|
+
/** entries are the redelegation entries. */
|
369
|
+
entries: RedelegationEntrySDKType[];
|
370
|
+
}
|
371
|
+
/** Params defines the parameters for the staking module. */
|
372
|
+
export interface Params {
|
373
|
+
/** unbonding_time is the time duration of unbonding. */
|
374
|
+
unbondingTime?: Duration;
|
375
|
+
/** max_validators is the maximum number of validators. */
|
376
|
+
maxValidators: number;
|
377
|
+
/** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
|
378
|
+
maxEntries: number;
|
379
|
+
/** historical_entries is the number of historical entries to persist. */
|
380
|
+
historicalEntries: number;
|
381
|
+
/** bond_denom defines the bondable coin denomination. */
|
382
|
+
bondDenom: string;
|
383
|
+
/** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
|
384
|
+
minCommissionRate: string;
|
385
|
+
}
|
386
|
+
/** Params defines the parameters for the staking module. */
|
387
|
+
export interface ParamsSDKType {
|
388
|
+
/** unbonding_time is the time duration of unbonding. */
|
389
|
+
unbonding_time?: DurationSDKType;
|
390
|
+
/** max_validators is the maximum number of validators. */
|
391
|
+
max_validators: number;
|
392
|
+
/** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */
|
393
|
+
max_entries: number;
|
394
|
+
/** historical_entries is the number of historical entries to persist. */
|
395
|
+
historical_entries: number;
|
396
|
+
/** bond_denom defines the bondable coin denomination. */
|
397
|
+
bond_denom: string;
|
398
|
+
/** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */
|
399
|
+
min_commission_rate: string;
|
400
|
+
}
|
401
|
+
/**
|
402
|
+
* DelegationResponse is equivalent to Delegation except that it contains a
|
403
|
+
* balance in addition to shares which is more suitable for client responses.
|
404
|
+
*/
|
405
|
+
export interface DelegationResponse {
|
406
|
+
delegation?: Delegation;
|
407
|
+
balance?: Coin;
|
408
|
+
}
|
409
|
+
/**
|
410
|
+
* DelegationResponse is equivalent to Delegation except that it contains a
|
411
|
+
* balance in addition to shares which is more suitable for client responses.
|
412
|
+
*/
|
413
|
+
export interface DelegationResponseSDKType {
|
414
|
+
delegation?: DelegationSDKType;
|
415
|
+
balance?: CoinSDKType;
|
416
|
+
}
|
417
|
+
/**
|
418
|
+
* RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
|
419
|
+
* contains a balance in addition to shares which is more suitable for client
|
420
|
+
* responses.
|
421
|
+
*/
|
422
|
+
export interface RedelegationEntryResponse {
|
423
|
+
redelegationEntry?: RedelegationEntry;
|
424
|
+
balance: string;
|
425
|
+
}
|
426
|
+
/**
|
427
|
+
* RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
|
428
|
+
* contains a balance in addition to shares which is more suitable for client
|
429
|
+
* responses.
|
430
|
+
*/
|
431
|
+
export interface RedelegationEntryResponseSDKType {
|
432
|
+
redelegation_entry?: RedelegationEntrySDKType;
|
433
|
+
balance: string;
|
434
|
+
}
|
435
|
+
/**
|
436
|
+
* RedelegationResponse is equivalent to a Redelegation except that its entries
|
437
|
+
* contain a balance in addition to shares which is more suitable for client
|
438
|
+
* responses.
|
439
|
+
*/
|
440
|
+
export interface RedelegationResponse {
|
441
|
+
redelegation?: Redelegation;
|
442
|
+
entries: RedelegationEntryResponse[];
|
443
|
+
}
|
444
|
+
/**
|
445
|
+
* RedelegationResponse is equivalent to a Redelegation except that its entries
|
446
|
+
* contain a balance in addition to shares which is more suitable for client
|
447
|
+
* responses.
|
448
|
+
*/
|
449
|
+
export interface RedelegationResponseSDKType {
|
450
|
+
redelegation?: RedelegationSDKType;
|
451
|
+
entries: RedelegationEntryResponseSDKType[];
|
452
|
+
}
|
453
|
+
/**
|
454
|
+
* Pool is used for tracking bonded and not-bonded token supply of the bond
|
455
|
+
* denomination.
|
456
|
+
*/
|
457
|
+
export interface Pool {
|
458
|
+
notBondedTokens: string;
|
459
|
+
bondedTokens: string;
|
460
|
+
}
|
461
|
+
/**
|
462
|
+
* Pool is used for tracking bonded and not-bonded token supply of the bond
|
463
|
+
* denomination.
|
464
|
+
*/
|
465
|
+
export interface PoolSDKType {
|
466
|
+
not_bonded_tokens: string;
|
467
|
+
bonded_tokens: string;
|
468
|
+
}
|
469
|
+
export declare const HistoricalInfo: {
|
470
|
+
encode(message: HistoricalInfo, writer?: _m0.Writer): _m0.Writer;
|
471
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo;
|
472
|
+
fromPartial(object: DeepPartial<HistoricalInfo>): HistoricalInfo;
|
473
|
+
};
|
474
|
+
export declare const CommissionRates: {
|
475
|
+
encode(message: CommissionRates, writer?: _m0.Writer): _m0.Writer;
|
476
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates;
|
477
|
+
fromPartial(object: DeepPartial<CommissionRates>): CommissionRates;
|
478
|
+
};
|
479
|
+
export declare const Commission: {
|
480
|
+
encode(message: Commission, writer?: _m0.Writer): _m0.Writer;
|
481
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Commission;
|
482
|
+
fromPartial(object: DeepPartial<Commission>): Commission;
|
483
|
+
};
|
484
|
+
export declare const Description: {
|
485
|
+
encode(message: Description, writer?: _m0.Writer): _m0.Writer;
|
486
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Description;
|
487
|
+
fromPartial(object: DeepPartial<Description>): Description;
|
488
|
+
};
|
489
|
+
export declare const Validator: {
|
490
|
+
encode(message: Validator, writer?: _m0.Writer): _m0.Writer;
|
491
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Validator;
|
492
|
+
fromPartial(object: DeepPartial<Validator>): Validator;
|
493
|
+
};
|
494
|
+
export declare const ValAddresses: {
|
495
|
+
encode(message: ValAddresses, writer?: _m0.Writer): _m0.Writer;
|
496
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses;
|
497
|
+
fromPartial(object: DeepPartial<ValAddresses>): ValAddresses;
|
498
|
+
};
|
499
|
+
export declare const DVPair: {
|
500
|
+
encode(message: DVPair, writer?: _m0.Writer): _m0.Writer;
|
501
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DVPair;
|
502
|
+
fromPartial(object: DeepPartial<DVPair>): DVPair;
|
503
|
+
};
|
504
|
+
export declare const DVPairs: {
|
505
|
+
encode(message: DVPairs, writer?: _m0.Writer): _m0.Writer;
|
506
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs;
|
507
|
+
fromPartial(object: DeepPartial<DVPairs>): DVPairs;
|
508
|
+
};
|
509
|
+
export declare const DVVTriplet: {
|
510
|
+
encode(message: DVVTriplet, writer?: _m0.Writer): _m0.Writer;
|
511
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet;
|
512
|
+
fromPartial(object: DeepPartial<DVVTriplet>): DVVTriplet;
|
513
|
+
};
|
514
|
+
export declare const DVVTriplets: {
|
515
|
+
encode(message: DVVTriplets, writer?: _m0.Writer): _m0.Writer;
|
516
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets;
|
517
|
+
fromPartial(object: DeepPartial<DVVTriplets>): DVVTriplets;
|
518
|
+
};
|
519
|
+
export declare const Delegation: {
|
520
|
+
encode(message: Delegation, writer?: _m0.Writer): _m0.Writer;
|
521
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Delegation;
|
522
|
+
fromPartial(object: DeepPartial<Delegation>): Delegation;
|
523
|
+
};
|
524
|
+
export declare const UnbondingDelegation: {
|
525
|
+
encode(message: UnbondingDelegation, writer?: _m0.Writer): _m0.Writer;
|
526
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation;
|
527
|
+
fromPartial(object: DeepPartial<UnbondingDelegation>): UnbondingDelegation;
|
528
|
+
};
|
529
|
+
export declare const UnbondingDelegationEntry: {
|
530
|
+
encode(message: UnbondingDelegationEntry, writer?: _m0.Writer): _m0.Writer;
|
531
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry;
|
532
|
+
fromPartial(object: DeepPartial<UnbondingDelegationEntry>): UnbondingDelegationEntry;
|
533
|
+
};
|
534
|
+
export declare const RedelegationEntry: {
|
535
|
+
encode(message: RedelegationEntry, writer?: _m0.Writer): _m0.Writer;
|
536
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry;
|
537
|
+
fromPartial(object: DeepPartial<RedelegationEntry>): RedelegationEntry;
|
538
|
+
};
|
539
|
+
export declare const Redelegation: {
|
540
|
+
encode(message: Redelegation, writer?: _m0.Writer): _m0.Writer;
|
541
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation;
|
542
|
+
fromPartial(object: DeepPartial<Redelegation>): Redelegation;
|
543
|
+
};
|
544
|
+
export declare const Params: {
|
545
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
546
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
547
|
+
fromPartial(object: DeepPartial<Params>): Params;
|
548
|
+
};
|
549
|
+
export declare const DelegationResponse: {
|
550
|
+
encode(message: DelegationResponse, writer?: _m0.Writer): _m0.Writer;
|
551
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse;
|
552
|
+
fromPartial(object: DeepPartial<DelegationResponse>): DelegationResponse;
|
553
|
+
};
|
554
|
+
export declare const RedelegationEntryResponse: {
|
555
|
+
encode(message: RedelegationEntryResponse, writer?: _m0.Writer): _m0.Writer;
|
556
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse;
|
557
|
+
fromPartial(object: DeepPartial<RedelegationEntryResponse>): RedelegationEntryResponse;
|
558
|
+
};
|
559
|
+
export declare const RedelegationResponse: {
|
560
|
+
encode(message: RedelegationResponse, writer?: _m0.Writer): _m0.Writer;
|
561
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse;
|
562
|
+
fromPartial(object: DeepPartial<RedelegationResponse>): RedelegationResponse;
|
563
|
+
};
|
564
|
+
export declare const Pool: {
|
565
|
+
encode(message: Pool, writer?: _m0.Writer): _m0.Writer;
|
566
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Pool;
|
567
|
+
fromPartial(object: DeepPartial<Pool>): Pool;
|
568
|
+
};
|