coreum-js 2.5.11 → 2.5.13
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/cosmos/authz/v1beta1/authz.d.ts +167 -0
- package/dist/main/cosmos/authz/v1beta1/authz.js +320 -0
- package/dist/main/cosmos/authz/v1beta1/event.d.ts +80 -0
- package/dist/main/cosmos/authz/v1beta1/event.js +163 -0
- package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +121 -0
- package/dist/main/cosmos/authz/v1beta1/genesis.js +69 -0
- package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +128 -0
- package/dist/main/cosmos/authz/v1beta1/pagination.js +228 -0
- package/dist/main/cosmos/authz/v1beta1/query.d.ts +616 -0
- package/dist/main/cosmos/authz/v1beta1/query.js +513 -0
- package/dist/main/cosmos/authz/v1beta1/tx.d.ts +264 -0
- package/dist/main/cosmos/authz/v1beta1/tx.js +436 -0
- package/dist/main/cosmos/index.d.ts +307 -0
- package/dist/main/cosmos/index.js +72 -2
- package/dist/main/cosmos/staking/v1beta1/authz.d.ts +145 -0
- package/dist/main/cosmos/staking/v1beta1/authz.js +225 -0
- package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +899 -0
- package/dist/main/cosmos/staking/v1beta1/genesis.js +306 -0
- package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +128 -0
- package/dist/main/cosmos/staking/v1beta1/pagination.js +228 -0
- package/dist/main/cosmos/staking/v1beta1/query.d.ts +4165 -0
- package/dist/main/cosmos/staking/v1beta1/query.js +2020 -0
- package/dist/main/cosmos/staking/v1beta1/staking.d.ts +2059 -0
- package/dist/main/cosmos/staking/v1beta1/staking.js +2128 -0
- package/dist/main/cosmos/staking/v1beta1/tx.d.ts +748 -0
- package/dist/main/cosmos/staking/v1beta1/tx.js +1142 -0
- package/dist/main/tendermint/abci/types.d.ts +7075 -0
- package/dist/main/tendermint/abci/types.js +4934 -0
- package/dist/main/tendermint/crypto/keys.d.ts +38 -0
- package/dist/main/tendermint/crypto/keys.js +118 -0
- package/dist/main/tendermint/crypto/proof.d.ts +226 -0
- package/dist/main/tendermint/crypto/proof.js +427 -0
- package/dist/main/tendermint/types/params.d.ts +313 -0
- package/dist/main/tendermint/types/params.js +488 -0
- package/dist/main/tendermint/types/types.d.ts +1970 -0
- package/dist/main/tendermint/types/types.js +1602 -0
- package/dist/main/tendermint/types/validator.d.ts +277 -0
- package/dist/main/tendermint/types/validator.js +303 -0
- package/dist/main/tendermint/version/types.d.ts +71 -0
- package/dist/main/tendermint/version/types.js +162 -0
- package/dist/module/cosmos/authz/v1beta1/authz.d.ts +167 -0
- package/dist/module/cosmos/authz/v1beta1/authz.js +310 -0
- package/dist/module/cosmos/authz/v1beta1/event.d.ts +80 -0
- package/dist/module/cosmos/authz/v1beta1/event.js +155 -0
- package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +121 -0
- package/dist/module/cosmos/authz/v1beta1/genesis.js +62 -0
- package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +128 -0
- package/dist/module/cosmos/authz/v1beta1/pagination.js +220 -0
- package/dist/module/cosmos/authz/v1beta1/query.d.ts +616 -0
- package/dist/module/cosmos/authz/v1beta1/query.js +502 -0
- package/dist/module/cosmos/authz/v1beta1/tx.d.ts +264 -0
- package/dist/module/cosmos/authz/v1beta1/tx.js +427 -0
- package/dist/module/cosmos/index.d.ts +307 -0
- package/dist/module/cosmos/index.js +71 -1
- package/dist/module/cosmos/staking/v1beta1/authz.d.ts +145 -0
- package/dist/module/cosmos/staking/v1beta1/authz.js +215 -0
- package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +899 -0
- package/dist/module/cosmos/staking/v1beta1/genesis.js +298 -0
- package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +128 -0
- package/dist/module/cosmos/staking/v1beta1/pagination.js +220 -0
- package/dist/module/cosmos/staking/v1beta1/query.d.ts +4165 -0
- package/dist/module/cosmos/staking/v1beta1/query.js +1996 -0
- package/dist/module/cosmos/staking/v1beta1/staking.d.ts +2059 -0
- package/dist/module/cosmos/staking/v1beta1/staking.js +2098 -0
- package/dist/module/cosmos/staking/v1beta1/tx.d.ts +748 -0
- package/dist/module/cosmos/staking/v1beta1/tx.js +1128 -0
- package/dist/module/tendermint/abci/types.d.ts +7075 -0
- package/dist/module/tendermint/abci/types.js +4878 -0
- package/dist/module/tendermint/crypto/keys.d.ts +38 -0
- package/dist/module/tendermint/crypto/keys.js +111 -0
- package/dist/module/tendermint/crypto/proof.d.ts +226 -0
- package/dist/module/tendermint/crypto/proof.js +416 -0
- package/dist/module/tendermint/types/params.d.ts +313 -0
- package/dist/module/tendermint/types/params.js +477 -0
- package/dist/module/tendermint/types/types.d.ts +1970 -0
- package/dist/module/tendermint/types/types.js +1581 -0
- package/dist/module/tendermint/types/validator.d.ts +277 -0
- package/dist/module/tendermint/types/validator.js +294 -0
- package/dist/module/tendermint/version/types.d.ts +71 -0
- package/dist/module/tendermint/version/types.js +154 -0
- package/package.json +2 -2
|
@@ -3,6 +3,313 @@ import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
|
|
|
3
3
|
import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./bank/v1beta1/tx";
|
|
4
4
|
import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "./distribution/v1beta1/tx";
|
|
5
5
|
import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "./vesting/v1beta1/tx";
|
|
6
|
+
import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "./staking/v1beta1/tx";
|
|
7
|
+
import { MsgExec, MsgGrant, MsgRevoke } from "./authz/v1beta1/tx";
|
|
8
|
+
export declare namespace Authz {
|
|
9
|
+
const Grant: <I extends {
|
|
10
|
+
granter?: string;
|
|
11
|
+
grantee?: string;
|
|
12
|
+
grant?: {
|
|
13
|
+
authorization?: {
|
|
14
|
+
typeUrl?: string;
|
|
15
|
+
value?: Uint8Array;
|
|
16
|
+
};
|
|
17
|
+
expiration?: Date;
|
|
18
|
+
};
|
|
19
|
+
} & {
|
|
20
|
+
granter?: string;
|
|
21
|
+
grantee?: string;
|
|
22
|
+
grant?: {
|
|
23
|
+
authorization?: {
|
|
24
|
+
typeUrl?: string;
|
|
25
|
+
value?: Uint8Array;
|
|
26
|
+
};
|
|
27
|
+
expiration?: Date;
|
|
28
|
+
} & {
|
|
29
|
+
authorization?: {
|
|
30
|
+
typeUrl?: string;
|
|
31
|
+
value?: Uint8Array;
|
|
32
|
+
} & {
|
|
33
|
+
typeUrl?: string;
|
|
34
|
+
value?: Uint8Array;
|
|
35
|
+
} & { [K in Exclude<keyof I["grant"]["authorization"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
36
|
+
expiration?: Date;
|
|
37
|
+
} & { [K_1 in Exclude<keyof I["grant"], keyof import("./authz/v1beta1/authz").Grant>]: never; };
|
|
38
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgGrant>]: never; }>(object: I) => {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgGrant;
|
|
41
|
+
};
|
|
42
|
+
const Exec: <I extends {
|
|
43
|
+
grantee?: string;
|
|
44
|
+
msgs?: {
|
|
45
|
+
typeUrl?: string;
|
|
46
|
+
value?: Uint8Array;
|
|
47
|
+
}[];
|
|
48
|
+
} & {
|
|
49
|
+
grantee?: string;
|
|
50
|
+
msgs?: {
|
|
51
|
+
typeUrl?: string;
|
|
52
|
+
value?: Uint8Array;
|
|
53
|
+
}[] & ({
|
|
54
|
+
typeUrl?: string;
|
|
55
|
+
value?: Uint8Array;
|
|
56
|
+
} & {
|
|
57
|
+
typeUrl?: string;
|
|
58
|
+
value?: Uint8Array;
|
|
59
|
+
} & { [K in Exclude<keyof I["msgs"][number], keyof import("../google/protobuf/any").Any>]: never; })[] & { [K_1 in Exclude<keyof I["msgs"], keyof {
|
|
60
|
+
typeUrl?: string;
|
|
61
|
+
value?: Uint8Array;
|
|
62
|
+
}[]>]: never; };
|
|
63
|
+
} & { [K_2 in Exclude<keyof I, keyof MsgExec>]: never; }>(object: I) => {
|
|
64
|
+
typeUrl: string;
|
|
65
|
+
value: MsgExec;
|
|
66
|
+
};
|
|
67
|
+
const Revoke: <I extends {
|
|
68
|
+
granter?: string;
|
|
69
|
+
grantee?: string;
|
|
70
|
+
msgTypeUrl?: string;
|
|
71
|
+
} & {
|
|
72
|
+
granter?: string;
|
|
73
|
+
grantee?: string;
|
|
74
|
+
msgTypeUrl?: string;
|
|
75
|
+
} & { [K in Exclude<keyof I, keyof MsgRevoke>]: never; }>(object: I) => {
|
|
76
|
+
typeUrl: string;
|
|
77
|
+
value: MsgRevoke;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
export declare namespace Staking {
|
|
81
|
+
const BeginRedelegate: <I extends {
|
|
82
|
+
delegatorAddress?: string;
|
|
83
|
+
validatorSrcAddress?: string;
|
|
84
|
+
validatorDstAddress?: string;
|
|
85
|
+
amount?: {
|
|
86
|
+
denom?: string;
|
|
87
|
+
amount?: string;
|
|
88
|
+
};
|
|
89
|
+
} & {
|
|
90
|
+
delegatorAddress?: string;
|
|
91
|
+
validatorSrcAddress?: string;
|
|
92
|
+
validatorDstAddress?: string;
|
|
93
|
+
amount?: {
|
|
94
|
+
denom?: string;
|
|
95
|
+
amount?: string;
|
|
96
|
+
} & {
|
|
97
|
+
denom?: string;
|
|
98
|
+
amount?: string;
|
|
99
|
+
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
100
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgBeginRedelegate>]: never; }>(object: I) => {
|
|
101
|
+
typeUrl: string;
|
|
102
|
+
value: MsgBeginRedelegate;
|
|
103
|
+
};
|
|
104
|
+
const CancelUnbondingDelegation: <I extends {
|
|
105
|
+
delegatorAddress?: string;
|
|
106
|
+
validatorAddress?: string;
|
|
107
|
+
amount?: {
|
|
108
|
+
denom?: string;
|
|
109
|
+
amount?: string;
|
|
110
|
+
};
|
|
111
|
+
creationHeight?: number;
|
|
112
|
+
} & {
|
|
113
|
+
delegatorAddress?: string;
|
|
114
|
+
validatorAddress?: string;
|
|
115
|
+
amount?: {
|
|
116
|
+
denom?: string;
|
|
117
|
+
amount?: string;
|
|
118
|
+
} & {
|
|
119
|
+
denom?: string;
|
|
120
|
+
amount?: string;
|
|
121
|
+
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
122
|
+
creationHeight?: number;
|
|
123
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgCancelUnbondingDelegation>]: never; }>(object: I) => {
|
|
124
|
+
typeUrl: string;
|
|
125
|
+
value: MsgCancelUnbondingDelegation;
|
|
126
|
+
};
|
|
127
|
+
const CreateValidator: <I extends {
|
|
128
|
+
description?: {
|
|
129
|
+
moniker?: string;
|
|
130
|
+
identity?: string;
|
|
131
|
+
website?: string;
|
|
132
|
+
securityContact?: string;
|
|
133
|
+
details?: string;
|
|
134
|
+
};
|
|
135
|
+
commission?: {
|
|
136
|
+
rate?: string;
|
|
137
|
+
maxRate?: string;
|
|
138
|
+
maxChangeRate?: string;
|
|
139
|
+
};
|
|
140
|
+
minSelfDelegation?: string;
|
|
141
|
+
delegatorAddress?: string;
|
|
142
|
+
validatorAddress?: string;
|
|
143
|
+
pubkey?: {
|
|
144
|
+
typeUrl?: string;
|
|
145
|
+
value?: Uint8Array;
|
|
146
|
+
};
|
|
147
|
+
value?: {
|
|
148
|
+
denom?: string;
|
|
149
|
+
amount?: string;
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
description?: {
|
|
153
|
+
moniker?: string;
|
|
154
|
+
identity?: string;
|
|
155
|
+
website?: string;
|
|
156
|
+
securityContact?: string;
|
|
157
|
+
details?: string;
|
|
158
|
+
} & {
|
|
159
|
+
moniker?: string;
|
|
160
|
+
identity?: string;
|
|
161
|
+
website?: string;
|
|
162
|
+
securityContact?: string;
|
|
163
|
+
details?: string;
|
|
164
|
+
} & { [K in Exclude<keyof I["description"], keyof import("./staking/v1beta1/staking").Description>]: never; };
|
|
165
|
+
commission?: {
|
|
166
|
+
rate?: string;
|
|
167
|
+
maxRate?: string;
|
|
168
|
+
maxChangeRate?: string;
|
|
169
|
+
} & {
|
|
170
|
+
rate?: string;
|
|
171
|
+
maxRate?: string;
|
|
172
|
+
maxChangeRate?: string;
|
|
173
|
+
} & { [K_1 in Exclude<keyof I["commission"], keyof import("./staking/v1beta1/staking").CommissionRates>]: never; };
|
|
174
|
+
minSelfDelegation?: string;
|
|
175
|
+
delegatorAddress?: string;
|
|
176
|
+
validatorAddress?: string;
|
|
177
|
+
pubkey?: {
|
|
178
|
+
typeUrl?: string;
|
|
179
|
+
value?: Uint8Array;
|
|
180
|
+
} & {
|
|
181
|
+
typeUrl?: string;
|
|
182
|
+
value?: Uint8Array;
|
|
183
|
+
} & { [K_2 in Exclude<keyof I["pubkey"], keyof import("../google/protobuf/any").Any>]: never; };
|
|
184
|
+
value?: {
|
|
185
|
+
denom?: string;
|
|
186
|
+
amount?: string;
|
|
187
|
+
} & {
|
|
188
|
+
denom?: string;
|
|
189
|
+
amount?: string;
|
|
190
|
+
} & { [K_3 in Exclude<keyof I["value"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
191
|
+
} & { [K_4 in Exclude<keyof I, keyof MsgCreateValidator>]: never; }>(object: I) => {
|
|
192
|
+
typeUrl: string;
|
|
193
|
+
value: MsgCreateValidator;
|
|
194
|
+
};
|
|
195
|
+
const Delegate: <I extends {
|
|
196
|
+
delegatorAddress?: string;
|
|
197
|
+
validatorAddress?: string;
|
|
198
|
+
amount?: {
|
|
199
|
+
denom?: string;
|
|
200
|
+
amount?: string;
|
|
201
|
+
};
|
|
202
|
+
} & {
|
|
203
|
+
delegatorAddress?: string;
|
|
204
|
+
validatorAddress?: string;
|
|
205
|
+
amount?: {
|
|
206
|
+
denom?: string;
|
|
207
|
+
amount?: string;
|
|
208
|
+
} & {
|
|
209
|
+
denom?: string;
|
|
210
|
+
amount?: string;
|
|
211
|
+
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
212
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgDelegate>]: never; }>(object: I) => {
|
|
213
|
+
typeUrl: string;
|
|
214
|
+
value: MsgDelegate;
|
|
215
|
+
};
|
|
216
|
+
const EditValidator: <I extends {
|
|
217
|
+
description?: {
|
|
218
|
+
moniker?: string;
|
|
219
|
+
identity?: string;
|
|
220
|
+
website?: string;
|
|
221
|
+
securityContact?: string;
|
|
222
|
+
details?: string;
|
|
223
|
+
};
|
|
224
|
+
validatorAddress?: string;
|
|
225
|
+
commissionRate?: string;
|
|
226
|
+
minSelfDelegation?: string;
|
|
227
|
+
} & {
|
|
228
|
+
description?: {
|
|
229
|
+
moniker?: string;
|
|
230
|
+
identity?: string;
|
|
231
|
+
website?: string;
|
|
232
|
+
securityContact?: string;
|
|
233
|
+
details?: string;
|
|
234
|
+
} & {
|
|
235
|
+
moniker?: string;
|
|
236
|
+
identity?: string;
|
|
237
|
+
website?: string;
|
|
238
|
+
securityContact?: string;
|
|
239
|
+
details?: string;
|
|
240
|
+
} & { [K in Exclude<keyof I["description"], keyof import("./staking/v1beta1/staking").Description>]: never; };
|
|
241
|
+
validatorAddress?: string;
|
|
242
|
+
commissionRate?: string;
|
|
243
|
+
minSelfDelegation?: string;
|
|
244
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgEditValidator>]: never; }>(object: I) => {
|
|
245
|
+
typeUrl: string;
|
|
246
|
+
value: MsgEditValidator;
|
|
247
|
+
};
|
|
248
|
+
const Undelegate: <I extends {
|
|
249
|
+
delegatorAddress?: string;
|
|
250
|
+
validatorAddress?: string;
|
|
251
|
+
amount?: {
|
|
252
|
+
denom?: string;
|
|
253
|
+
amount?: string;
|
|
254
|
+
};
|
|
255
|
+
} & {
|
|
256
|
+
delegatorAddress?: string;
|
|
257
|
+
validatorAddress?: string;
|
|
258
|
+
amount?: {
|
|
259
|
+
denom?: string;
|
|
260
|
+
amount?: string;
|
|
261
|
+
} & {
|
|
262
|
+
denom?: string;
|
|
263
|
+
amount?: string;
|
|
264
|
+
} & { [K in Exclude<keyof I["amount"], keyof import("./base/v1beta1/coin").Coin>]: never; };
|
|
265
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgUndelegate>]: never; }>(object: I) => {
|
|
266
|
+
typeUrl: string;
|
|
267
|
+
value: MsgUndelegate;
|
|
268
|
+
};
|
|
269
|
+
const UpdateParams: <I extends {
|
|
270
|
+
authority?: string;
|
|
271
|
+
params?: {
|
|
272
|
+
unbondingTime?: {
|
|
273
|
+
seconds?: number;
|
|
274
|
+
nanos?: number;
|
|
275
|
+
};
|
|
276
|
+
maxValidators?: number;
|
|
277
|
+
maxEntries?: number;
|
|
278
|
+
historicalEntries?: number;
|
|
279
|
+
bondDenom?: string;
|
|
280
|
+
minCommissionRate?: string;
|
|
281
|
+
};
|
|
282
|
+
} & {
|
|
283
|
+
authority?: string;
|
|
284
|
+
params?: {
|
|
285
|
+
unbondingTime?: {
|
|
286
|
+
seconds?: number;
|
|
287
|
+
nanos?: number;
|
|
288
|
+
};
|
|
289
|
+
maxValidators?: number;
|
|
290
|
+
maxEntries?: number;
|
|
291
|
+
historicalEntries?: number;
|
|
292
|
+
bondDenom?: string;
|
|
293
|
+
minCommissionRate?: string;
|
|
294
|
+
} & {
|
|
295
|
+
unbondingTime?: {
|
|
296
|
+
seconds?: number;
|
|
297
|
+
nanos?: number;
|
|
298
|
+
} & {
|
|
299
|
+
seconds?: number;
|
|
300
|
+
nanos?: number;
|
|
301
|
+
} & { [K in Exclude<keyof I["params"]["unbondingTime"], keyof import("../google/protobuf/duration").Duration>]: never; };
|
|
302
|
+
maxValidators?: number;
|
|
303
|
+
maxEntries?: number;
|
|
304
|
+
historicalEntries?: number;
|
|
305
|
+
bondDenom?: string;
|
|
306
|
+
minCommissionRate?: string;
|
|
307
|
+
} & { [K_1 in Exclude<keyof I["params"], keyof import("./staking/v1beta1/staking").Params>]: never; };
|
|
308
|
+
} & { [K_2 in Exclude<keyof I, keyof SMsgUpdateParams>]: never; }>(object: I) => {
|
|
309
|
+
typeUrl: string;
|
|
310
|
+
value: SMsgUpdateParams;
|
|
311
|
+
};
|
|
312
|
+
}
|
|
6
313
|
export declare namespace Governance {
|
|
7
314
|
const Deposit: <I extends {
|
|
8
315
|
proposalId?: number;
|
|
@@ -1,16 +1,86 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Vesting = exports.Distribution = exports.Bank = exports.Feegrant = exports.Governance = void 0;
|
|
3
|
+
exports.Vesting = exports.Distribution = exports.Bank = exports.Feegrant = exports.Governance = exports.Staking = exports.Authz = void 0;
|
|
4
4
|
const tx_1 = require("./gov/v1beta1/tx");
|
|
5
5
|
const tx_2 = require("./feegrant/v1beta1/tx");
|
|
6
6
|
const tx_3 = require("./bank/v1beta1/tx");
|
|
7
7
|
const tx_4 = require("./distribution/v1beta1/tx");
|
|
8
8
|
const tx_5 = require("./vesting/v1beta1/tx");
|
|
9
|
+
const tx_6 = require("./staking/v1beta1/tx");
|
|
10
|
+
const tx_7 = require("./authz/v1beta1/tx");
|
|
11
|
+
const authzBaseUrl = "/cosmos.authz.v1beta1.";
|
|
12
|
+
const stakeBaseUrl = "/cosmos.staking.v1beta1.";
|
|
9
13
|
const govBaseUrl = "/cosmos.gov.v1beta1.";
|
|
10
14
|
const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
|
|
11
15
|
const bankBaseUrl = "/cosmos.bank.v1beta1.";
|
|
12
16
|
const distBaseUrl = "/cosmos.distribution.v1beta1.";
|
|
13
17
|
const vestBaseUrl = "/cosmos.vesting.v1beta1.";
|
|
18
|
+
var Authz;
|
|
19
|
+
(function (Authz) {
|
|
20
|
+
Authz.Grant = function (object) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: authzBaseUrl + "MsgGrant",
|
|
23
|
+
value: tx_7.MsgGrant.fromPartial(object),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
Authz.Exec = function (object) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: authzBaseUrl + "MsgExec",
|
|
29
|
+
value: tx_7.MsgExec.fromPartial(object),
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
Authz.Revoke = function (object) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: authzBaseUrl + "MsgRevoke",
|
|
35
|
+
value: tx_7.MsgRevoke.fromPartial(object),
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
})(Authz = exports.Authz || (exports.Authz = {}));
|
|
39
|
+
var Staking;
|
|
40
|
+
(function (Staking) {
|
|
41
|
+
Staking.BeginRedelegate = function (object) {
|
|
42
|
+
return {
|
|
43
|
+
typeUrl: stakeBaseUrl + "MsgBeginRedelegate",
|
|
44
|
+
value: tx_6.MsgBeginRedelegate.fromPartial(object),
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
Staking.CancelUnbondingDelegation = function (object) {
|
|
48
|
+
return {
|
|
49
|
+
typeUrl: stakeBaseUrl + "MsgCancelUnbondingDelegation",
|
|
50
|
+
value: tx_6.MsgCancelUnbondingDelegation.fromPartial(object),
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
Staking.CreateValidator = function (object) {
|
|
54
|
+
return {
|
|
55
|
+
typeUrl: stakeBaseUrl + "MsgCreateValidator",
|
|
56
|
+
value: tx_6.MsgCreateValidator.fromPartial(object),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
Staking.Delegate = function (object) {
|
|
60
|
+
return {
|
|
61
|
+
typeUrl: stakeBaseUrl + "MsgDelegate",
|
|
62
|
+
value: tx_6.MsgDelegate.fromPartial(object),
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
Staking.EditValidator = function (object) {
|
|
66
|
+
return {
|
|
67
|
+
typeUrl: stakeBaseUrl + "MsgEditValidator",
|
|
68
|
+
value: tx_6.MsgEditValidator.fromPartial(object),
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
Staking.Undelegate = function (object) {
|
|
72
|
+
return {
|
|
73
|
+
typeUrl: stakeBaseUrl + "MsgUndelegate",
|
|
74
|
+
value: tx_6.MsgUndelegate.fromPartial(object),
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
Staking.UpdateParams = function (object) {
|
|
78
|
+
return {
|
|
79
|
+
typeUrl: stakeBaseUrl + "MsgUpdateParams",
|
|
80
|
+
value: tx_6.MsgUpdateParams.fromPartial(object),
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
})(Staking = exports.Staking || (exports.Staking = {}));
|
|
14
84
|
var Governance;
|
|
15
85
|
(function (Governance) {
|
|
16
86
|
Governance.Deposit = function (object) {
|
|
@@ -146,4 +216,4 @@ var Vesting;
|
|
|
146
216
|
};
|
|
147
217
|
};
|
|
148
218
|
})(Vesting = exports.Vesting || (exports.Vesting = {}));
|
|
149
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
219
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29zbW9zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlDQU8wQjtBQUUxQiw4Q0FBOEU7QUFFOUUsMENBSzJCO0FBRTNCLGtEQVFtQztBQUVuQyw2Q0FJOEI7QUFFOUIsNkNBUThCO0FBRTlCLDJDQUFrRTtBQUVsRSxNQUFNLF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RSxXQUFXLEdBQUcseUJBQXlCO1lBQ2hELEtBQUssRUFBRSw0QkFBdUIsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQ25ELENBQUM7SUFDSixDQUFDLENBQUM7SUFFVyxvQ0FBNEIsR0FBRyxVQUUxQyxNQUFTO1FBQ1QsT0FBTztZQUNMLE9BQU8sRUFBRSxXQUFXLEdBQUcsaUNBQWlDO1lBQ3hELEtBQUssRUFBRSxvQ0FBK0IsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQzNELENBQUM7SUFDSixDQUFDLENBQUM7SUFFVyxvQ0FBNEIsR0FBRyxVQUUxQyxNQUFTO1FBQ1QsT0FBTztZQUNMLE9BQU8sRUFBRSxXQUFXLEdBQUcsaUNBQWlDO1lBQ3hELEtBQUssRUFBRSxvQ0FBK0IsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQzNELENBQUM7SUFDSixDQUFDLENBQUM7QUFDSixDQUFDLEVBM0JnQixPQUFPLEdBQVAsZUFBTyxLQUFQLGVBQU8sUUEyQnZCIn0=
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Coin } from "../../base/v1beta1/coin";
|
|
3
|
+
export declare const protobufPackage = "cosmos.staking.v1beta1";
|
|
4
|
+
/**
|
|
5
|
+
* AuthorizationType defines the type of staking module authorization type
|
|
6
|
+
*
|
|
7
|
+
* Since: cosmos-sdk 0.43
|
|
8
|
+
*/
|
|
9
|
+
export declare enum AuthorizationType {
|
|
10
|
+
/** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */
|
|
11
|
+
AUTHORIZATION_TYPE_UNSPECIFIED = 0,
|
|
12
|
+
/** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */
|
|
13
|
+
AUTHORIZATION_TYPE_DELEGATE = 1,
|
|
14
|
+
/** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */
|
|
15
|
+
AUTHORIZATION_TYPE_UNDELEGATE = 2,
|
|
16
|
+
/** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */
|
|
17
|
+
AUTHORIZATION_TYPE_REDELEGATE = 3,
|
|
18
|
+
/** AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION - AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION defines an authorization type for Msg/MsgCancelUnbondingDelegation */
|
|
19
|
+
AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION = 4,
|
|
20
|
+
UNRECOGNIZED = -1
|
|
21
|
+
}
|
|
22
|
+
export declare function authorizationTypeFromJSON(object: any): AuthorizationType;
|
|
23
|
+
export declare function authorizationTypeToJSON(object: AuthorizationType): string;
|
|
24
|
+
/**
|
|
25
|
+
* StakeAuthorization defines authorization for delegate/undelegate/redelegate.
|
|
26
|
+
*
|
|
27
|
+
* Since: cosmos-sdk 0.43
|
|
28
|
+
*/
|
|
29
|
+
export interface StakeAuthorization {
|
|
30
|
+
/**
|
|
31
|
+
* max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is
|
|
32
|
+
* empty, there is no spend limit and any amount of coins can be delegated.
|
|
33
|
+
*/
|
|
34
|
+
maxTokens: Coin | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
|
|
37
|
+
* account.
|
|
38
|
+
*/
|
|
39
|
+
allowList?: StakeAuthorization_Validators | undefined;
|
|
40
|
+
/** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */
|
|
41
|
+
denyList?: StakeAuthorization_Validators | undefined;
|
|
42
|
+
/** authorization_type defines one of AuthorizationType. */
|
|
43
|
+
authorizationType: AuthorizationType;
|
|
44
|
+
}
|
|
45
|
+
/** Validators defines list of validator addresses. */
|
|
46
|
+
export interface StakeAuthorization_Validators {
|
|
47
|
+
address: string[];
|
|
48
|
+
}
|
|
49
|
+
export declare const StakeAuthorization: {
|
|
50
|
+
encode(message: StakeAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
51
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization;
|
|
52
|
+
fromJSON(object: any): StakeAuthorization;
|
|
53
|
+
toJSON(message: StakeAuthorization): unknown;
|
|
54
|
+
create<I extends {
|
|
55
|
+
maxTokens?: {
|
|
56
|
+
denom?: string;
|
|
57
|
+
amount?: string;
|
|
58
|
+
};
|
|
59
|
+
allowList?: {
|
|
60
|
+
address?: string[];
|
|
61
|
+
};
|
|
62
|
+
denyList?: {
|
|
63
|
+
address?: string[];
|
|
64
|
+
};
|
|
65
|
+
authorizationType?: AuthorizationType;
|
|
66
|
+
} & {
|
|
67
|
+
maxTokens?: {
|
|
68
|
+
denom?: string;
|
|
69
|
+
amount?: string;
|
|
70
|
+
} & {
|
|
71
|
+
denom?: string;
|
|
72
|
+
amount?: string;
|
|
73
|
+
} & { [K in Exclude<keyof I["maxTokens"], keyof Coin>]: never; };
|
|
74
|
+
allowList?: {
|
|
75
|
+
address?: string[];
|
|
76
|
+
} & {
|
|
77
|
+
address?: string[] & string[] & { [K_1 in Exclude<keyof I["allowList"]["address"], keyof string[]>]: never; };
|
|
78
|
+
} & { [K_2 in Exclude<keyof I["allowList"], "address">]: never; };
|
|
79
|
+
denyList?: {
|
|
80
|
+
address?: string[];
|
|
81
|
+
} & {
|
|
82
|
+
address?: string[] & string[] & { [K_3 in Exclude<keyof I["denyList"]["address"], keyof string[]>]: never; };
|
|
83
|
+
} & { [K_4 in Exclude<keyof I["denyList"], "address">]: never; };
|
|
84
|
+
authorizationType?: AuthorizationType;
|
|
85
|
+
} & { [K_5 in Exclude<keyof I, keyof StakeAuthorization>]: never; }>(base?: I): StakeAuthorization;
|
|
86
|
+
fromPartial<I_1 extends {
|
|
87
|
+
maxTokens?: {
|
|
88
|
+
denom?: string;
|
|
89
|
+
amount?: string;
|
|
90
|
+
};
|
|
91
|
+
allowList?: {
|
|
92
|
+
address?: string[];
|
|
93
|
+
};
|
|
94
|
+
denyList?: {
|
|
95
|
+
address?: string[];
|
|
96
|
+
};
|
|
97
|
+
authorizationType?: AuthorizationType;
|
|
98
|
+
} & {
|
|
99
|
+
maxTokens?: {
|
|
100
|
+
denom?: string;
|
|
101
|
+
amount?: string;
|
|
102
|
+
} & {
|
|
103
|
+
denom?: string;
|
|
104
|
+
amount?: string;
|
|
105
|
+
} & { [K_6 in Exclude<keyof I_1["maxTokens"], keyof Coin>]: never; };
|
|
106
|
+
allowList?: {
|
|
107
|
+
address?: string[];
|
|
108
|
+
} & {
|
|
109
|
+
address?: string[] & string[] & { [K_7 in Exclude<keyof I_1["allowList"]["address"], keyof string[]>]: never; };
|
|
110
|
+
} & { [K_8 in Exclude<keyof I_1["allowList"], "address">]: never; };
|
|
111
|
+
denyList?: {
|
|
112
|
+
address?: string[];
|
|
113
|
+
} & {
|
|
114
|
+
address?: string[] & string[] & { [K_9 in Exclude<keyof I_1["denyList"]["address"], keyof string[]>]: never; };
|
|
115
|
+
} & { [K_10 in Exclude<keyof I_1["denyList"], "address">]: never; };
|
|
116
|
+
authorizationType?: AuthorizationType;
|
|
117
|
+
} & { [K_11 in Exclude<keyof I_1, keyof StakeAuthorization>]: never; }>(object: I_1): StakeAuthorization;
|
|
118
|
+
};
|
|
119
|
+
export declare const StakeAuthorization_Validators: {
|
|
120
|
+
encode(message: StakeAuthorization_Validators, writer?: _m0.Writer): _m0.Writer;
|
|
121
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators;
|
|
122
|
+
fromJSON(object: any): StakeAuthorization_Validators;
|
|
123
|
+
toJSON(message: StakeAuthorization_Validators): unknown;
|
|
124
|
+
create<I extends {
|
|
125
|
+
address?: string[];
|
|
126
|
+
} & {
|
|
127
|
+
address?: string[] & string[] & { [K in Exclude<keyof I["address"], keyof string[]>]: never; };
|
|
128
|
+
} & { [K_1 in Exclude<keyof I, "address">]: never; }>(base?: I): StakeAuthorization_Validators;
|
|
129
|
+
fromPartial<I_1 extends {
|
|
130
|
+
address?: string[];
|
|
131
|
+
} & {
|
|
132
|
+
address?: string[] & string[] & { [K_2 in Exclude<keyof I_1["address"], keyof string[]>]: never; };
|
|
133
|
+
} & { [K_3 in Exclude<keyof I_1, "address">]: never; }>(object: I_1): StakeAuthorization_Validators;
|
|
134
|
+
};
|
|
135
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
136
|
+
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 {} ? {
|
|
137
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
138
|
+
} : Partial<T>;
|
|
139
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
140
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
141
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
142
|
+
} & {
|
|
143
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
144
|
+
};
|
|
145
|
+
export {};
|