coreum-js 2.11.0 → 2.13.0
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/dist/main/client/index.d.ts +2 -1
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/params.js +14 -6
- package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/main/coreum/asset/ft/v1/query.js +116 -54
- package/dist/main/coreum/asset/ft/v1/token.d.ts +1 -0
- package/dist/main/coreum/asset/ft/v1/token.js +6 -0
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/main/coreum/asset/nft/v1/params.js +14 -6
- package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/main/coreum/asset/nft/v1/query.js +49 -22
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/main/coreum/feemodel/v1/query.js +22 -11
- package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/main/coreum/nft/v1beta1/query.js +83 -39
- package/dist/main/cosmos/extensions/bank.d.ts +8 -8
- package/dist/main/cosmos/extensions/bank.js +2 -2
- package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/main/cosmos/extensions/distribution.js +1 -1
- package/dist/main/cosmos/extensions/gov.d.ts +21 -21
- package/dist/main/cosmos/extensions/gov.js +1 -1
- package/dist/main/cosmos/index.d.ts +12 -21
- package/dist/main/cosmos/index.js +50 -42
- package/dist/main/types/msgs.d.ts +4 -4
- package/dist/main/wasm/v1/authz.d.ts +1 -1
- package/dist/main/wasm/v1/authz.js +1 -1
- package/dist/main/wasm/v1/proposal.d.ts +1 -1
- package/dist/main/wasm/v1/proposal.js +1 -1
- package/dist/main/wasm/v1/tx.d.ts +1 -1
- package/dist/main/wasm/v1/tx.js +1 -1
- package/dist/module/client/index.d.ts +2 -1
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
- package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/params.js +14 -6
- package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
- package/dist/module/coreum/asset/ft/v1/query.js +116 -54
- package/dist/module/coreum/asset/ft/v1/token.d.ts +1 -0
- package/dist/module/coreum/asset/ft/v1/token.js +6 -0
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
- package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
- package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
- package/dist/module/coreum/asset/nft/v1/params.js +14 -6
- package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
- package/dist/module/coreum/asset/nft/v1/query.js +49 -22
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
- package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
- package/dist/module/coreum/feemodel/v1/query.js +22 -11
- package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
- package/dist/module/coreum/nft/v1beta1/query.js +83 -39
- package/dist/module/cosmos/extensions/bank.d.ts +8 -8
- package/dist/module/cosmos/extensions/bank.js +2 -2
- package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
- package/dist/module/cosmos/extensions/distribution.js +1 -1
- package/dist/module/cosmos/extensions/gov.d.ts +21 -21
- package/dist/module/cosmos/extensions/gov.js +1 -1
- package/dist/module/cosmos/index.d.ts +12 -21
- package/dist/module/cosmos/index.js +29 -19
- package/dist/module/types/msgs.d.ts +4 -4
- package/dist/module/wasm/v1/authz.d.ts +1 -1
- package/dist/module/wasm/v1/authz.js +1 -1
- package/dist/module/wasm/v1/proposal.d.ts +1 -1
- package/dist/module/wasm/v1/proposal.js +1 -1
- package/dist/module/wasm/v1/tx.d.ts +1 -1
- package/dist/module/wasm/v1/tx.js +1 -1
- package/package.json +1 -1
- package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
- package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
- package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
- package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
- package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
- package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
- package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
- package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
- package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
- package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
- package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
- package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
- package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
- package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
- package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
- package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
- package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
- package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
- package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
- package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
- package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
- package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
- package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
- package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/main/cosmos/msg/v1/msg.js +0 -5
- package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
- package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
- package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
- package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
- package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
- package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
- package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
- package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
- package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
- package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
- package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
- package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
- package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
- package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
- package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
- package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
- package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
- package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
- package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
- package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
- package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
- package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
- package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
- package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
- package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
- package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
- package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
- package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
- package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
- package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
- package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
- package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
- package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
- package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
- package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
- package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
- package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
- package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
- package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
- package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
- package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
- package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
- package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
- package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
- package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
- package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
- package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
- package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
- package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
- package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
- package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
- package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
- package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
- package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
- package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
- package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
- package/dist/module/cosmos/msg/v1/msg.js +0 -2
- package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
- package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
- package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
- package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
- package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
- package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
- package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
- package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
- package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
- package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
- package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
- package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
- package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
- package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
- package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
- package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
- package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
- package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
import { Coin } from "../../base/v1beta1/coin";
|
|
4
|
-
import { CommissionRates, Description, Params } from "./staking";
|
|
5
|
-
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
6
|
-
/** MsgCreateValidator defines a SDK message for creating a new validator. */
|
|
7
|
-
export interface MsgCreateValidator {
|
|
8
|
-
description: Description | undefined;
|
|
9
|
-
commission: CommissionRates | undefined;
|
|
10
|
-
minSelfDelegation: string;
|
|
11
|
-
/**
|
|
12
|
-
* Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated.
|
|
13
|
-
* The validator address bytes and delegator address bytes refer to the same account while creating validator (defer
|
|
14
|
-
* only in bech32 notation).
|
|
15
|
-
*
|
|
16
|
-
* @deprecated
|
|
17
|
-
*/
|
|
18
|
-
delegatorAddress: string;
|
|
19
|
-
validatorAddress: string;
|
|
20
|
-
pubkey: Any | undefined;
|
|
21
|
-
value: Coin | undefined;
|
|
22
|
-
}
|
|
23
|
-
/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */
|
|
24
|
-
export interface MsgCreateValidatorResponse {
|
|
25
|
-
}
|
|
26
|
-
/** MsgEditValidator defines a SDK message for editing an existing validator. */
|
|
27
|
-
export interface MsgEditValidator {
|
|
28
|
-
description: Description | undefined;
|
|
29
|
-
validatorAddress: string;
|
|
30
|
-
/**
|
|
31
|
-
* We pass a reference to the new commission rate and min self delegation as
|
|
32
|
-
* it's not mandatory to update. If not updated, the deserialized rate will be
|
|
33
|
-
* zero with no way to distinguish if an update was intended.
|
|
34
|
-
* REF: #2373
|
|
35
|
-
*/
|
|
36
|
-
commissionRate: string;
|
|
37
|
-
minSelfDelegation: string;
|
|
38
|
-
}
|
|
39
|
-
/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */
|
|
40
|
-
export interface MsgEditValidatorResponse {
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* MsgDelegate defines a SDK message for performing a delegation of coins
|
|
44
|
-
* from a delegator to a validator.
|
|
45
|
-
*/
|
|
46
|
-
export interface MsgDelegate {
|
|
47
|
-
delegatorAddress: string;
|
|
48
|
-
validatorAddress: string;
|
|
49
|
-
amount: Coin | undefined;
|
|
50
|
-
}
|
|
51
|
-
/** MsgDelegateResponse defines the Msg/Delegate response type. */
|
|
52
|
-
export interface MsgDelegateResponse {
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* MsgBeginRedelegate defines a SDK message for performing a redelegation
|
|
56
|
-
* of coins from a delegator and source validator to a destination validator.
|
|
57
|
-
*/
|
|
58
|
-
export interface MsgBeginRedelegate {
|
|
59
|
-
delegatorAddress: string;
|
|
60
|
-
validatorSrcAddress: string;
|
|
61
|
-
validatorDstAddress: string;
|
|
62
|
-
amount: Coin | undefined;
|
|
63
|
-
}
|
|
64
|
-
/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */
|
|
65
|
-
export interface MsgBeginRedelegateResponse {
|
|
66
|
-
completionTime: Date | undefined;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* MsgUndelegate defines a SDK message for performing an undelegation from a
|
|
70
|
-
* delegate and a validator.
|
|
71
|
-
*/
|
|
72
|
-
export interface MsgUndelegate {
|
|
73
|
-
delegatorAddress: string;
|
|
74
|
-
validatorAddress: string;
|
|
75
|
-
amount: Coin | undefined;
|
|
76
|
-
}
|
|
77
|
-
/** MsgUndelegateResponse defines the Msg/Undelegate response type. */
|
|
78
|
-
export interface MsgUndelegateResponse {
|
|
79
|
-
completionTime: Date | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* amount returns the amount of undelegated coins
|
|
82
|
-
*
|
|
83
|
-
* Since: cosmos-sdk 0.48
|
|
84
|
-
*/
|
|
85
|
-
amount: Coin | undefined;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator
|
|
89
|
-
*
|
|
90
|
-
* Since: cosmos-sdk 0.46
|
|
91
|
-
*/
|
|
92
|
-
export interface MsgCancelUnbondingDelegation {
|
|
93
|
-
delegatorAddress: string;
|
|
94
|
-
validatorAddress: string;
|
|
95
|
-
/** amount is always less than or equal to unbonding delegation entry balance */
|
|
96
|
-
amount: Coin | undefined;
|
|
97
|
-
/** creation_height is the height which the unbonding took place. */
|
|
98
|
-
creationHeight: number;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* MsgCancelUnbondingDelegationResponse
|
|
102
|
-
*
|
|
103
|
-
* Since: cosmos-sdk 0.46
|
|
104
|
-
*/
|
|
105
|
-
export interface MsgCancelUnbondingDelegationResponse {
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
109
|
-
*
|
|
110
|
-
* Since: cosmos-sdk 0.47
|
|
111
|
-
*/
|
|
112
|
-
export interface MsgUpdateParams {
|
|
113
|
-
/** authority is the address that controls the module (defaults to x/gov unless overwritten). */
|
|
114
|
-
authority: string;
|
|
115
|
-
/**
|
|
116
|
-
* params defines the x/staking parameters to update.
|
|
117
|
-
*
|
|
118
|
-
* NOTE: All parameters must be supplied.
|
|
119
|
-
*/
|
|
120
|
-
params: Params | undefined;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* MsgUpdateParamsResponse defines the response structure for executing a
|
|
124
|
-
* MsgUpdateParams message.
|
|
125
|
-
*
|
|
126
|
-
* Since: cosmos-sdk 0.47
|
|
127
|
-
*/
|
|
128
|
-
export interface MsgUpdateParamsResponse {
|
|
129
|
-
}
|
|
130
|
-
export declare const MsgCreateValidator: {
|
|
131
|
-
encode(message: MsgCreateValidator, writer?: _m0.Writer): _m0.Writer;
|
|
132
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator;
|
|
133
|
-
fromJSON(object: any): MsgCreateValidator;
|
|
134
|
-
toJSON(message: MsgCreateValidator): unknown;
|
|
135
|
-
create<I extends {
|
|
136
|
-
description?: {
|
|
137
|
-
moniker?: string;
|
|
138
|
-
identity?: string;
|
|
139
|
-
website?: string;
|
|
140
|
-
securityContact?: string;
|
|
141
|
-
details?: string;
|
|
142
|
-
};
|
|
143
|
-
commission?: {
|
|
144
|
-
rate?: string;
|
|
145
|
-
maxRate?: string;
|
|
146
|
-
maxChangeRate?: string;
|
|
147
|
-
};
|
|
148
|
-
minSelfDelegation?: string;
|
|
149
|
-
delegatorAddress?: string;
|
|
150
|
-
validatorAddress?: string;
|
|
151
|
-
pubkey?: {
|
|
152
|
-
typeUrl?: string;
|
|
153
|
-
value?: Uint8Array;
|
|
154
|
-
};
|
|
155
|
-
value?: {
|
|
156
|
-
denom?: string;
|
|
157
|
-
amount?: string;
|
|
158
|
-
};
|
|
159
|
-
} & {
|
|
160
|
-
description?: {
|
|
161
|
-
moniker?: string;
|
|
162
|
-
identity?: string;
|
|
163
|
-
website?: string;
|
|
164
|
-
securityContact?: string;
|
|
165
|
-
details?: string;
|
|
166
|
-
} & {
|
|
167
|
-
moniker?: string;
|
|
168
|
-
identity?: string;
|
|
169
|
-
website?: string;
|
|
170
|
-
securityContact?: string;
|
|
171
|
-
details?: string;
|
|
172
|
-
} & { [K in Exclude<keyof I["description"], keyof Description>]: never; };
|
|
173
|
-
commission?: {
|
|
174
|
-
rate?: string;
|
|
175
|
-
maxRate?: string;
|
|
176
|
-
maxChangeRate?: string;
|
|
177
|
-
} & {
|
|
178
|
-
rate?: string;
|
|
179
|
-
maxRate?: string;
|
|
180
|
-
maxChangeRate?: string;
|
|
181
|
-
} & { [K_1 in Exclude<keyof I["commission"], keyof CommissionRates>]: never; };
|
|
182
|
-
minSelfDelegation?: string;
|
|
183
|
-
delegatorAddress?: string;
|
|
184
|
-
validatorAddress?: string;
|
|
185
|
-
pubkey?: {
|
|
186
|
-
typeUrl?: string;
|
|
187
|
-
value?: Uint8Array;
|
|
188
|
-
} & {
|
|
189
|
-
typeUrl?: string;
|
|
190
|
-
value?: Uint8Array;
|
|
191
|
-
} & { [K_2 in Exclude<keyof I["pubkey"], keyof Any>]: never; };
|
|
192
|
-
value?: {
|
|
193
|
-
denom?: string;
|
|
194
|
-
amount?: string;
|
|
195
|
-
} & {
|
|
196
|
-
denom?: string;
|
|
197
|
-
amount?: string;
|
|
198
|
-
} & { [K_3 in Exclude<keyof I["value"], keyof Coin>]: never; };
|
|
199
|
-
} & { [K_4 in Exclude<keyof I, keyof MsgCreateValidator>]: never; }>(base?: I): MsgCreateValidator;
|
|
200
|
-
fromPartial<I_1 extends {
|
|
201
|
-
description?: {
|
|
202
|
-
moniker?: string;
|
|
203
|
-
identity?: string;
|
|
204
|
-
website?: string;
|
|
205
|
-
securityContact?: string;
|
|
206
|
-
details?: string;
|
|
207
|
-
};
|
|
208
|
-
commission?: {
|
|
209
|
-
rate?: string;
|
|
210
|
-
maxRate?: string;
|
|
211
|
-
maxChangeRate?: string;
|
|
212
|
-
};
|
|
213
|
-
minSelfDelegation?: string;
|
|
214
|
-
delegatorAddress?: string;
|
|
215
|
-
validatorAddress?: string;
|
|
216
|
-
pubkey?: {
|
|
217
|
-
typeUrl?: string;
|
|
218
|
-
value?: Uint8Array;
|
|
219
|
-
};
|
|
220
|
-
value?: {
|
|
221
|
-
denom?: string;
|
|
222
|
-
amount?: string;
|
|
223
|
-
};
|
|
224
|
-
} & {
|
|
225
|
-
description?: {
|
|
226
|
-
moniker?: string;
|
|
227
|
-
identity?: string;
|
|
228
|
-
website?: string;
|
|
229
|
-
securityContact?: string;
|
|
230
|
-
details?: string;
|
|
231
|
-
} & {
|
|
232
|
-
moniker?: string;
|
|
233
|
-
identity?: string;
|
|
234
|
-
website?: string;
|
|
235
|
-
securityContact?: string;
|
|
236
|
-
details?: string;
|
|
237
|
-
} & { [K_5 in Exclude<keyof I_1["description"], keyof Description>]: never; };
|
|
238
|
-
commission?: {
|
|
239
|
-
rate?: string;
|
|
240
|
-
maxRate?: string;
|
|
241
|
-
maxChangeRate?: string;
|
|
242
|
-
} & {
|
|
243
|
-
rate?: string;
|
|
244
|
-
maxRate?: string;
|
|
245
|
-
maxChangeRate?: string;
|
|
246
|
-
} & { [K_6 in Exclude<keyof I_1["commission"], keyof CommissionRates>]: never; };
|
|
247
|
-
minSelfDelegation?: string;
|
|
248
|
-
delegatorAddress?: string;
|
|
249
|
-
validatorAddress?: string;
|
|
250
|
-
pubkey?: {
|
|
251
|
-
typeUrl?: string;
|
|
252
|
-
value?: Uint8Array;
|
|
253
|
-
} & {
|
|
254
|
-
typeUrl?: string;
|
|
255
|
-
value?: Uint8Array;
|
|
256
|
-
} & { [K_7 in Exclude<keyof I_1["pubkey"], keyof Any>]: never; };
|
|
257
|
-
value?: {
|
|
258
|
-
denom?: string;
|
|
259
|
-
amount?: string;
|
|
260
|
-
} & {
|
|
261
|
-
denom?: string;
|
|
262
|
-
amount?: string;
|
|
263
|
-
} & { [K_8 in Exclude<keyof I_1["value"], keyof Coin>]: never; };
|
|
264
|
-
} & { [K_9 in Exclude<keyof I_1, keyof MsgCreateValidator>]: never; }>(object: I_1): MsgCreateValidator;
|
|
265
|
-
};
|
|
266
|
-
export declare const MsgCreateValidatorResponse: {
|
|
267
|
-
encode(_: MsgCreateValidatorResponse, writer?: _m0.Writer): _m0.Writer;
|
|
268
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse;
|
|
269
|
-
fromJSON(_: any): MsgCreateValidatorResponse;
|
|
270
|
-
toJSON(_: MsgCreateValidatorResponse): unknown;
|
|
271
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgCreateValidatorResponse;
|
|
272
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgCreateValidatorResponse;
|
|
273
|
-
};
|
|
274
|
-
export declare const MsgEditValidator: {
|
|
275
|
-
encode(message: MsgEditValidator, writer?: _m0.Writer): _m0.Writer;
|
|
276
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator;
|
|
277
|
-
fromJSON(object: any): MsgEditValidator;
|
|
278
|
-
toJSON(message: MsgEditValidator): unknown;
|
|
279
|
-
create<I extends {
|
|
280
|
-
description?: {
|
|
281
|
-
moniker?: string;
|
|
282
|
-
identity?: string;
|
|
283
|
-
website?: string;
|
|
284
|
-
securityContact?: string;
|
|
285
|
-
details?: string;
|
|
286
|
-
};
|
|
287
|
-
validatorAddress?: string;
|
|
288
|
-
commissionRate?: string;
|
|
289
|
-
minSelfDelegation?: string;
|
|
290
|
-
} & {
|
|
291
|
-
description?: {
|
|
292
|
-
moniker?: string;
|
|
293
|
-
identity?: string;
|
|
294
|
-
website?: string;
|
|
295
|
-
securityContact?: string;
|
|
296
|
-
details?: string;
|
|
297
|
-
} & {
|
|
298
|
-
moniker?: string;
|
|
299
|
-
identity?: string;
|
|
300
|
-
website?: string;
|
|
301
|
-
securityContact?: string;
|
|
302
|
-
details?: string;
|
|
303
|
-
} & { [K in Exclude<keyof I["description"], keyof Description>]: never; };
|
|
304
|
-
validatorAddress?: string;
|
|
305
|
-
commissionRate?: string;
|
|
306
|
-
minSelfDelegation?: string;
|
|
307
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgEditValidator>]: never; }>(base?: I): MsgEditValidator;
|
|
308
|
-
fromPartial<I_1 extends {
|
|
309
|
-
description?: {
|
|
310
|
-
moniker?: string;
|
|
311
|
-
identity?: string;
|
|
312
|
-
website?: string;
|
|
313
|
-
securityContact?: string;
|
|
314
|
-
details?: string;
|
|
315
|
-
};
|
|
316
|
-
validatorAddress?: string;
|
|
317
|
-
commissionRate?: string;
|
|
318
|
-
minSelfDelegation?: string;
|
|
319
|
-
} & {
|
|
320
|
-
description?: {
|
|
321
|
-
moniker?: string;
|
|
322
|
-
identity?: string;
|
|
323
|
-
website?: string;
|
|
324
|
-
securityContact?: string;
|
|
325
|
-
details?: string;
|
|
326
|
-
} & {
|
|
327
|
-
moniker?: string;
|
|
328
|
-
identity?: string;
|
|
329
|
-
website?: string;
|
|
330
|
-
securityContact?: string;
|
|
331
|
-
details?: string;
|
|
332
|
-
} & { [K_2 in Exclude<keyof I_1["description"], keyof Description>]: never; };
|
|
333
|
-
validatorAddress?: string;
|
|
334
|
-
commissionRate?: string;
|
|
335
|
-
minSelfDelegation?: string;
|
|
336
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgEditValidator>]: never; }>(object: I_1): MsgEditValidator;
|
|
337
|
-
};
|
|
338
|
-
export declare const MsgEditValidatorResponse: {
|
|
339
|
-
encode(_: MsgEditValidatorResponse, writer?: _m0.Writer): _m0.Writer;
|
|
340
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse;
|
|
341
|
-
fromJSON(_: any): MsgEditValidatorResponse;
|
|
342
|
-
toJSON(_: MsgEditValidatorResponse): unknown;
|
|
343
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgEditValidatorResponse;
|
|
344
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgEditValidatorResponse;
|
|
345
|
-
};
|
|
346
|
-
export declare const MsgDelegate: {
|
|
347
|
-
encode(message: MsgDelegate, writer?: _m0.Writer): _m0.Writer;
|
|
348
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate;
|
|
349
|
-
fromJSON(object: any): MsgDelegate;
|
|
350
|
-
toJSON(message: MsgDelegate): unknown;
|
|
351
|
-
create<I extends {
|
|
352
|
-
delegatorAddress?: string;
|
|
353
|
-
validatorAddress?: string;
|
|
354
|
-
amount?: {
|
|
355
|
-
denom?: string;
|
|
356
|
-
amount?: string;
|
|
357
|
-
};
|
|
358
|
-
} & {
|
|
359
|
-
delegatorAddress?: string;
|
|
360
|
-
validatorAddress?: string;
|
|
361
|
-
amount?: {
|
|
362
|
-
denom?: string;
|
|
363
|
-
amount?: string;
|
|
364
|
-
} & {
|
|
365
|
-
denom?: string;
|
|
366
|
-
amount?: string;
|
|
367
|
-
} & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
|
|
368
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgDelegate>]: never; }>(base?: I): MsgDelegate;
|
|
369
|
-
fromPartial<I_1 extends {
|
|
370
|
-
delegatorAddress?: string;
|
|
371
|
-
validatorAddress?: string;
|
|
372
|
-
amount?: {
|
|
373
|
-
denom?: string;
|
|
374
|
-
amount?: string;
|
|
375
|
-
};
|
|
376
|
-
} & {
|
|
377
|
-
delegatorAddress?: string;
|
|
378
|
-
validatorAddress?: string;
|
|
379
|
-
amount?: {
|
|
380
|
-
denom?: string;
|
|
381
|
-
amount?: string;
|
|
382
|
-
} & {
|
|
383
|
-
denom?: string;
|
|
384
|
-
amount?: string;
|
|
385
|
-
} & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
|
|
386
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgDelegate>]: never; }>(object: I_1): MsgDelegate;
|
|
387
|
-
};
|
|
388
|
-
export declare const MsgDelegateResponse: {
|
|
389
|
-
encode(_: MsgDelegateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
390
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse;
|
|
391
|
-
fromJSON(_: any): MsgDelegateResponse;
|
|
392
|
-
toJSON(_: MsgDelegateResponse): unknown;
|
|
393
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgDelegateResponse;
|
|
394
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgDelegateResponse;
|
|
395
|
-
};
|
|
396
|
-
export declare const MsgBeginRedelegate: {
|
|
397
|
-
encode(message: MsgBeginRedelegate, writer?: _m0.Writer): _m0.Writer;
|
|
398
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate;
|
|
399
|
-
fromJSON(object: any): MsgBeginRedelegate;
|
|
400
|
-
toJSON(message: MsgBeginRedelegate): unknown;
|
|
401
|
-
create<I extends {
|
|
402
|
-
delegatorAddress?: string;
|
|
403
|
-
validatorSrcAddress?: string;
|
|
404
|
-
validatorDstAddress?: string;
|
|
405
|
-
amount?: {
|
|
406
|
-
denom?: string;
|
|
407
|
-
amount?: string;
|
|
408
|
-
};
|
|
409
|
-
} & {
|
|
410
|
-
delegatorAddress?: string;
|
|
411
|
-
validatorSrcAddress?: string;
|
|
412
|
-
validatorDstAddress?: string;
|
|
413
|
-
amount?: {
|
|
414
|
-
denom?: string;
|
|
415
|
-
amount?: string;
|
|
416
|
-
} & {
|
|
417
|
-
denom?: string;
|
|
418
|
-
amount?: string;
|
|
419
|
-
} & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
|
|
420
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgBeginRedelegate>]: never; }>(base?: I): MsgBeginRedelegate;
|
|
421
|
-
fromPartial<I_1 extends {
|
|
422
|
-
delegatorAddress?: string;
|
|
423
|
-
validatorSrcAddress?: string;
|
|
424
|
-
validatorDstAddress?: string;
|
|
425
|
-
amount?: {
|
|
426
|
-
denom?: string;
|
|
427
|
-
amount?: string;
|
|
428
|
-
};
|
|
429
|
-
} & {
|
|
430
|
-
delegatorAddress?: string;
|
|
431
|
-
validatorSrcAddress?: string;
|
|
432
|
-
validatorDstAddress?: string;
|
|
433
|
-
amount?: {
|
|
434
|
-
denom?: string;
|
|
435
|
-
amount?: string;
|
|
436
|
-
} & {
|
|
437
|
-
denom?: string;
|
|
438
|
-
amount?: string;
|
|
439
|
-
} & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
|
|
440
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgBeginRedelegate>]: never; }>(object: I_1): MsgBeginRedelegate;
|
|
441
|
-
};
|
|
442
|
-
export declare const MsgBeginRedelegateResponse: {
|
|
443
|
-
encode(message: MsgBeginRedelegateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
444
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse;
|
|
445
|
-
fromJSON(object: any): MsgBeginRedelegateResponse;
|
|
446
|
-
toJSON(message: MsgBeginRedelegateResponse): unknown;
|
|
447
|
-
create<I extends {
|
|
448
|
-
completionTime?: Date | undefined;
|
|
449
|
-
} & {
|
|
450
|
-
completionTime?: Date | undefined;
|
|
451
|
-
} & { [K in Exclude<keyof I, "completionTime">]: never; }>(base?: I): MsgBeginRedelegateResponse;
|
|
452
|
-
fromPartial<I_1 extends {
|
|
453
|
-
completionTime?: Date | undefined;
|
|
454
|
-
} & {
|
|
455
|
-
completionTime?: Date | undefined;
|
|
456
|
-
} & { [K_1 in Exclude<keyof I_1, "completionTime">]: never; }>(object: I_1): MsgBeginRedelegateResponse;
|
|
457
|
-
};
|
|
458
|
-
export declare const MsgUndelegate: {
|
|
459
|
-
encode(message: MsgUndelegate, writer?: _m0.Writer): _m0.Writer;
|
|
460
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate;
|
|
461
|
-
fromJSON(object: any): MsgUndelegate;
|
|
462
|
-
toJSON(message: MsgUndelegate): unknown;
|
|
463
|
-
create<I extends {
|
|
464
|
-
delegatorAddress?: string;
|
|
465
|
-
validatorAddress?: string;
|
|
466
|
-
amount?: {
|
|
467
|
-
denom?: string;
|
|
468
|
-
amount?: string;
|
|
469
|
-
};
|
|
470
|
-
} & {
|
|
471
|
-
delegatorAddress?: string;
|
|
472
|
-
validatorAddress?: string;
|
|
473
|
-
amount?: {
|
|
474
|
-
denom?: string;
|
|
475
|
-
amount?: string;
|
|
476
|
-
} & {
|
|
477
|
-
denom?: string;
|
|
478
|
-
amount?: string;
|
|
479
|
-
} & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
|
|
480
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgUndelegate>]: never; }>(base?: I): MsgUndelegate;
|
|
481
|
-
fromPartial<I_1 extends {
|
|
482
|
-
delegatorAddress?: string;
|
|
483
|
-
validatorAddress?: string;
|
|
484
|
-
amount?: {
|
|
485
|
-
denom?: string;
|
|
486
|
-
amount?: string;
|
|
487
|
-
};
|
|
488
|
-
} & {
|
|
489
|
-
delegatorAddress?: string;
|
|
490
|
-
validatorAddress?: string;
|
|
491
|
-
amount?: {
|
|
492
|
-
denom?: string;
|
|
493
|
-
amount?: string;
|
|
494
|
-
} & {
|
|
495
|
-
denom?: string;
|
|
496
|
-
amount?: string;
|
|
497
|
-
} & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
|
|
498
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgUndelegate>]: never; }>(object: I_1): MsgUndelegate;
|
|
499
|
-
};
|
|
500
|
-
export declare const MsgUndelegateResponse: {
|
|
501
|
-
encode(message: MsgUndelegateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
502
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse;
|
|
503
|
-
fromJSON(object: any): MsgUndelegateResponse;
|
|
504
|
-
toJSON(message: MsgUndelegateResponse): unknown;
|
|
505
|
-
create<I extends {
|
|
506
|
-
completionTime?: Date | undefined;
|
|
507
|
-
amount?: {
|
|
508
|
-
denom?: string;
|
|
509
|
-
amount?: string;
|
|
510
|
-
};
|
|
511
|
-
} & {
|
|
512
|
-
completionTime?: Date | undefined;
|
|
513
|
-
amount?: {
|
|
514
|
-
denom?: string;
|
|
515
|
-
amount?: string;
|
|
516
|
-
} & {
|
|
517
|
-
denom?: string;
|
|
518
|
-
amount?: string;
|
|
519
|
-
} & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
|
|
520
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgUndelegateResponse>]: never; }>(base?: I): MsgUndelegateResponse;
|
|
521
|
-
fromPartial<I_1 extends {
|
|
522
|
-
completionTime?: Date | undefined;
|
|
523
|
-
amount?: {
|
|
524
|
-
denom?: string;
|
|
525
|
-
amount?: string;
|
|
526
|
-
};
|
|
527
|
-
} & {
|
|
528
|
-
completionTime?: Date | undefined;
|
|
529
|
-
amount?: {
|
|
530
|
-
denom?: string;
|
|
531
|
-
amount?: string;
|
|
532
|
-
} & {
|
|
533
|
-
denom?: string;
|
|
534
|
-
amount?: string;
|
|
535
|
-
} & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
|
|
536
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgUndelegateResponse>]: never; }>(object: I_1): MsgUndelegateResponse;
|
|
537
|
-
};
|
|
538
|
-
export declare const MsgCancelUnbondingDelegation: {
|
|
539
|
-
encode(message: MsgCancelUnbondingDelegation, writer?: _m0.Writer): _m0.Writer;
|
|
540
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUnbondingDelegation;
|
|
541
|
-
fromJSON(object: any): MsgCancelUnbondingDelegation;
|
|
542
|
-
toJSON(message: MsgCancelUnbondingDelegation): unknown;
|
|
543
|
-
create<I extends {
|
|
544
|
-
delegatorAddress?: string;
|
|
545
|
-
validatorAddress?: string;
|
|
546
|
-
amount?: {
|
|
547
|
-
denom?: string;
|
|
548
|
-
amount?: string;
|
|
549
|
-
};
|
|
550
|
-
creationHeight?: number;
|
|
551
|
-
} & {
|
|
552
|
-
delegatorAddress?: string;
|
|
553
|
-
validatorAddress?: string;
|
|
554
|
-
amount?: {
|
|
555
|
-
denom?: string;
|
|
556
|
-
amount?: string;
|
|
557
|
-
} & {
|
|
558
|
-
denom?: string;
|
|
559
|
-
amount?: string;
|
|
560
|
-
} & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
|
|
561
|
-
creationHeight?: number;
|
|
562
|
-
} & { [K_1 in Exclude<keyof I, keyof MsgCancelUnbondingDelegation>]: never; }>(base?: I): MsgCancelUnbondingDelegation;
|
|
563
|
-
fromPartial<I_1 extends {
|
|
564
|
-
delegatorAddress?: string;
|
|
565
|
-
validatorAddress?: string;
|
|
566
|
-
amount?: {
|
|
567
|
-
denom?: string;
|
|
568
|
-
amount?: string;
|
|
569
|
-
};
|
|
570
|
-
creationHeight?: number;
|
|
571
|
-
} & {
|
|
572
|
-
delegatorAddress?: string;
|
|
573
|
-
validatorAddress?: string;
|
|
574
|
-
amount?: {
|
|
575
|
-
denom?: string;
|
|
576
|
-
amount?: string;
|
|
577
|
-
} & {
|
|
578
|
-
denom?: string;
|
|
579
|
-
amount?: string;
|
|
580
|
-
} & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
|
|
581
|
-
creationHeight?: number;
|
|
582
|
-
} & { [K_3 in Exclude<keyof I_1, keyof MsgCancelUnbondingDelegation>]: never; }>(object: I_1): MsgCancelUnbondingDelegation;
|
|
583
|
-
};
|
|
584
|
-
export declare const MsgCancelUnbondingDelegationResponse: {
|
|
585
|
-
encode(_: MsgCancelUnbondingDelegationResponse, writer?: _m0.Writer): _m0.Writer;
|
|
586
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUnbondingDelegationResponse;
|
|
587
|
-
fromJSON(_: any): MsgCancelUnbondingDelegationResponse;
|
|
588
|
-
toJSON(_: MsgCancelUnbondingDelegationResponse): unknown;
|
|
589
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgCancelUnbondingDelegationResponse;
|
|
590
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgCancelUnbondingDelegationResponse;
|
|
591
|
-
};
|
|
592
|
-
export declare const MsgUpdateParams: {
|
|
593
|
-
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
594
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
|
|
595
|
-
fromJSON(object: any): MsgUpdateParams;
|
|
596
|
-
toJSON(message: MsgUpdateParams): unknown;
|
|
597
|
-
create<I extends {
|
|
598
|
-
authority?: string;
|
|
599
|
-
params?: {
|
|
600
|
-
unbondingTime?: {
|
|
601
|
-
seconds?: number;
|
|
602
|
-
nanos?: number;
|
|
603
|
-
};
|
|
604
|
-
maxValidators?: number;
|
|
605
|
-
maxEntries?: number;
|
|
606
|
-
historicalEntries?: number;
|
|
607
|
-
bondDenom?: string;
|
|
608
|
-
minCommissionRate?: string;
|
|
609
|
-
};
|
|
610
|
-
} & {
|
|
611
|
-
authority?: string;
|
|
612
|
-
params?: {
|
|
613
|
-
unbondingTime?: {
|
|
614
|
-
seconds?: number;
|
|
615
|
-
nanos?: number;
|
|
616
|
-
};
|
|
617
|
-
maxValidators?: number;
|
|
618
|
-
maxEntries?: number;
|
|
619
|
-
historicalEntries?: number;
|
|
620
|
-
bondDenom?: string;
|
|
621
|
-
minCommissionRate?: string;
|
|
622
|
-
} & {
|
|
623
|
-
unbondingTime?: {
|
|
624
|
-
seconds?: number;
|
|
625
|
-
nanos?: number;
|
|
626
|
-
} & {
|
|
627
|
-
seconds?: number;
|
|
628
|
-
nanos?: number;
|
|
629
|
-
} & { [K in Exclude<keyof I["params"]["unbondingTime"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
|
|
630
|
-
maxValidators?: number;
|
|
631
|
-
maxEntries?: number;
|
|
632
|
-
historicalEntries?: number;
|
|
633
|
-
bondDenom?: string;
|
|
634
|
-
minCommissionRate?: string;
|
|
635
|
-
} & { [K_1 in Exclude<keyof I["params"], keyof Params>]: never; };
|
|
636
|
-
} & { [K_2 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(base?: I): MsgUpdateParams;
|
|
637
|
-
fromPartial<I_1 extends {
|
|
638
|
-
authority?: string;
|
|
639
|
-
params?: {
|
|
640
|
-
unbondingTime?: {
|
|
641
|
-
seconds?: number;
|
|
642
|
-
nanos?: number;
|
|
643
|
-
};
|
|
644
|
-
maxValidators?: number;
|
|
645
|
-
maxEntries?: number;
|
|
646
|
-
historicalEntries?: number;
|
|
647
|
-
bondDenom?: string;
|
|
648
|
-
minCommissionRate?: string;
|
|
649
|
-
};
|
|
650
|
-
} & {
|
|
651
|
-
authority?: string;
|
|
652
|
-
params?: {
|
|
653
|
-
unbondingTime?: {
|
|
654
|
-
seconds?: number;
|
|
655
|
-
nanos?: number;
|
|
656
|
-
};
|
|
657
|
-
maxValidators?: number;
|
|
658
|
-
maxEntries?: number;
|
|
659
|
-
historicalEntries?: number;
|
|
660
|
-
bondDenom?: string;
|
|
661
|
-
minCommissionRate?: string;
|
|
662
|
-
} & {
|
|
663
|
-
unbondingTime?: {
|
|
664
|
-
seconds?: number;
|
|
665
|
-
nanos?: number;
|
|
666
|
-
} & {
|
|
667
|
-
seconds?: number;
|
|
668
|
-
nanos?: number;
|
|
669
|
-
} & { [K_3 in Exclude<keyof I_1["params"]["unbondingTime"], keyof import("../../../google/protobuf/duration").Duration>]: never; };
|
|
670
|
-
maxValidators?: number;
|
|
671
|
-
maxEntries?: number;
|
|
672
|
-
historicalEntries?: number;
|
|
673
|
-
bondDenom?: string;
|
|
674
|
-
minCommissionRate?: string;
|
|
675
|
-
} & { [K_4 in Exclude<keyof I_1["params"], keyof Params>]: never; };
|
|
676
|
-
} & { [K_5 in Exclude<keyof I_1, keyof MsgUpdateParams>]: never; }>(object: I_1): MsgUpdateParams;
|
|
677
|
-
};
|
|
678
|
-
export declare const MsgUpdateParamsResponse: {
|
|
679
|
-
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
680
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
|
|
681
|
-
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
682
|
-
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
683
|
-
create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): MsgUpdateParamsResponse;
|
|
684
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): MsgUpdateParamsResponse;
|
|
685
|
-
};
|
|
686
|
-
/** Msg defines the staking Msg service. */
|
|
687
|
-
export interface Msg {
|
|
688
|
-
/** CreateValidator defines a method for creating a new validator. */
|
|
689
|
-
CreateValidator(request: MsgCreateValidator): Promise<MsgCreateValidatorResponse>;
|
|
690
|
-
/** EditValidator defines a method for editing an existing validator. */
|
|
691
|
-
EditValidator(request: MsgEditValidator): Promise<MsgEditValidatorResponse>;
|
|
692
|
-
/**
|
|
693
|
-
* Delegate defines a method for performing a delegation of coins
|
|
694
|
-
* from a delegator to a validator.
|
|
695
|
-
*/
|
|
696
|
-
Delegate(request: MsgDelegate): Promise<MsgDelegateResponse>;
|
|
697
|
-
/**
|
|
698
|
-
* BeginRedelegate defines a method for performing a redelegation
|
|
699
|
-
* of coins from a delegator and source validator to a destination validator.
|
|
700
|
-
*/
|
|
701
|
-
BeginRedelegate(request: MsgBeginRedelegate): Promise<MsgBeginRedelegateResponse>;
|
|
702
|
-
/**
|
|
703
|
-
* Undelegate defines a method for performing an undelegation from a
|
|
704
|
-
* delegate and a validator.
|
|
705
|
-
*/
|
|
706
|
-
Undelegate(request: MsgUndelegate): Promise<MsgUndelegateResponse>;
|
|
707
|
-
/**
|
|
708
|
-
* CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation
|
|
709
|
-
* and delegate back to previous validator.
|
|
710
|
-
*
|
|
711
|
-
* Since: cosmos-sdk 0.46
|
|
712
|
-
*/
|
|
713
|
-
CancelUnbondingDelegation(request: MsgCancelUnbondingDelegation): Promise<MsgCancelUnbondingDelegationResponse>;
|
|
714
|
-
/**
|
|
715
|
-
* UpdateParams defines an operation for updating the x/staking module
|
|
716
|
-
* parameters.
|
|
717
|
-
* Since: cosmos-sdk 0.47
|
|
718
|
-
*/
|
|
719
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
720
|
-
}
|
|
721
|
-
export declare class MsgClientImpl implements Msg {
|
|
722
|
-
private readonly rpc;
|
|
723
|
-
private readonly service;
|
|
724
|
-
constructor(rpc: Rpc, opts?: {
|
|
725
|
-
service?: string;
|
|
726
|
-
});
|
|
727
|
-
CreateValidator(request: MsgCreateValidator): Promise<MsgCreateValidatorResponse>;
|
|
728
|
-
EditValidator(request: MsgEditValidator): Promise<MsgEditValidatorResponse>;
|
|
729
|
-
Delegate(request: MsgDelegate): Promise<MsgDelegateResponse>;
|
|
730
|
-
BeginRedelegate(request: MsgBeginRedelegate): Promise<MsgBeginRedelegateResponse>;
|
|
731
|
-
Undelegate(request: MsgUndelegate): Promise<MsgUndelegateResponse>;
|
|
732
|
-
CancelUnbondingDelegation(request: MsgCancelUnbondingDelegation): Promise<MsgCancelUnbondingDelegationResponse>;
|
|
733
|
-
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
734
|
-
}
|
|
735
|
-
interface Rpc {
|
|
736
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
737
|
-
}
|
|
738
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
739
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
740
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
741
|
-
} : Partial<T>;
|
|
742
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
743
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
744
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
745
|
-
} & {
|
|
746
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
747
|
-
};
|
|
748
|
-
export {};
|