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,16 +1,16 @@
|
|
|
1
|
-
import { PageRequest } from "
|
|
1
|
+
import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
|
|
2
2
|
import { QueryClient } from "@cosmjs/stargate";
|
|
3
3
|
export declare function setupDistributionExtension(base: QueryClient): {
|
|
4
4
|
distribution: {
|
|
5
5
|
communityPool: () => Promise<{
|
|
6
|
-
pool: import("
|
|
6
|
+
pool: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
|
|
7
7
|
}>;
|
|
8
8
|
delegationRewards: (delegator: string, validator: string) => Promise<{
|
|
9
|
-
rewards: import("
|
|
9
|
+
rewards: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
|
|
10
10
|
}>;
|
|
11
11
|
delegationTotalRewards: (delegator: string) => Promise<{
|
|
12
|
-
rewards: import("
|
|
13
|
-
total: import("
|
|
12
|
+
rewards: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").DelegationDelegatorReward[];
|
|
13
|
+
total: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
|
|
14
14
|
}>;
|
|
15
15
|
delegatorValidators: (delegator: string) => Promise<{
|
|
16
16
|
validators: string[];
|
|
@@ -19,17 +19,17 @@ export declare function setupDistributionExtension(base: QueryClient): {
|
|
|
19
19
|
withdrawAddress: string;
|
|
20
20
|
}>;
|
|
21
21
|
params: () => Promise<{
|
|
22
|
-
params
|
|
22
|
+
params?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").Params;
|
|
23
23
|
}>;
|
|
24
24
|
validatorCommission: (validator: string) => Promise<{
|
|
25
|
-
commission
|
|
25
|
+
commission?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorAccumulatedCommission;
|
|
26
26
|
}>;
|
|
27
27
|
validatorOutstandingRewards: (validator: string) => Promise<{
|
|
28
|
-
rewards
|
|
28
|
+
rewards?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorOutstandingRewards;
|
|
29
29
|
}>;
|
|
30
|
-
validatorSlashes: (validator: string, starting_height:
|
|
31
|
-
slashes: import("
|
|
32
|
-
pagination
|
|
30
|
+
validatorSlashes: (validator: string, starting_height: Long, ending_height: Long, pagination?: PageRequest) => Promise<{
|
|
31
|
+
slashes: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorSlashEvent[];
|
|
32
|
+
pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
|
|
33
33
|
}>;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryClientImpl } from "
|
|
1
|
+
import { QueryClientImpl } from "cosmjs-types/cosmos/distribution/v1beta1/query";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
3
|
export function setupDistributionExtension(base) {
|
|
4
4
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ProposalStatus } from "
|
|
2
|
-
import { PageRequest } from "
|
|
1
|
+
import { ProposalStatus } from "cosmjs-types/cosmos/gov/v1beta1/gov";
|
|
2
|
+
import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
|
|
3
3
|
import { QueryClient } from "@cosmjs/stargate";
|
|
4
4
|
export declare function setupGovExtension(base: QueryClient): {
|
|
5
5
|
gov: {
|
|
6
6
|
params: (parametersType: "deposit" | "tallying" | "voting") => Promise<{
|
|
7
|
-
votingParams
|
|
8
|
-
depositParams
|
|
9
|
-
tallyParams
|
|
7
|
+
votingParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").VotingParams;
|
|
8
|
+
depositParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").DepositParams;
|
|
9
|
+
tallyParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyParams;
|
|
10
10
|
}>;
|
|
11
11
|
proposals: (proposalStatus: ProposalStatus, depositor: string, voter: string, pagination?: PageRequest) => Promise<{
|
|
12
|
-
proposals: import("
|
|
13
|
-
pagination
|
|
12
|
+
proposals: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal[];
|
|
13
|
+
pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
|
|
14
14
|
}>;
|
|
15
|
-
proposal: (proposal_id:
|
|
16
|
-
proposal
|
|
15
|
+
proposal: (proposal_id: Long) => Promise<{
|
|
16
|
+
proposal?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal;
|
|
17
17
|
}>;
|
|
18
|
-
deposits: (proposal_id:
|
|
19
|
-
deposits: import("
|
|
20
|
-
pagination
|
|
18
|
+
deposits: (proposal_id: Long, pagination?: PageRequest) => Promise<{
|
|
19
|
+
deposits: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit[];
|
|
20
|
+
pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
|
|
21
21
|
}>;
|
|
22
|
-
deposit: (proposal_id:
|
|
23
|
-
deposit
|
|
22
|
+
deposit: (proposal_id: Long, depositor: string) => Promise<{
|
|
23
|
+
deposit?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit;
|
|
24
24
|
}>;
|
|
25
|
-
tally: (proposal_id:
|
|
26
|
-
tally
|
|
25
|
+
tally: (proposal_id: Long) => Promise<{
|
|
26
|
+
tally?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyResult;
|
|
27
27
|
}>;
|
|
28
|
-
votes: (proposal_id:
|
|
29
|
-
votes: import("
|
|
30
|
-
pagination
|
|
28
|
+
votes: (proposal_id: Long, pagination?: PageRequest) => Promise<{
|
|
29
|
+
votes: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote[];
|
|
30
|
+
pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
|
|
31
31
|
}>;
|
|
32
|
-
vote: (proposal_id:
|
|
33
|
-
vote
|
|
32
|
+
vote: (proposal_id: Long, voter: string) => Promise<{
|
|
33
|
+
vote?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote;
|
|
34
34
|
}>;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryClientImpl } from "
|
|
1
|
+
import { QueryClientImpl } from "cosmjs-types/cosmos/gov/v1beta1/query";
|
|
2
2
|
import { createProtobufRpcClient } from "@cosmjs/stargate";
|
|
3
3
|
export function setupGovExtension(base) {
|
|
4
4
|
const rpc = createProtobufRpcClient(base);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "
|
|
2
|
-
import { MsgGrantAllowance, MsgRevokeAllowance } from "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs,
|
|
9
|
-
export * from "
|
|
1
|
+
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "cosmjs-types/cosmos/gov/v1beta1/tx";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
|
|
3
|
+
import { MsgCommunityPoolSpend, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
|
|
4
|
+
import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx";
|
|
5
|
+
import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "cosmjs-types/cosmos/staking/v1beta1/tx";
|
|
6
|
+
import { MsgExec, MsgGrant, MsgRevoke } from "cosmjs-types/cosmos/authz/v1beta1/tx";
|
|
7
|
+
import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "cosmjs-types/cosmos/bank/v1beta1/tx";
|
|
8
|
+
import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, GovMsgs } from "../types/msgs";
|
|
9
|
+
export * from "cosmjs-types/cosmos/tx/v1beta1/tx";
|
|
10
10
|
/**
|
|
11
11
|
* Module to generate the Messages related to the Authz module of the Blockchain
|
|
12
12
|
*/
|
|
@@ -17,7 +17,7 @@ export declare namespace Authz {
|
|
|
17
17
|
* @param object Represents the properties available for this MsgGrant message.
|
|
18
18
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
19
19
|
*/
|
|
20
|
-
const Grant: (object:
|
|
20
|
+
const Grant: (object: MsgGrant) => {
|
|
21
21
|
typeUrl: string;
|
|
22
22
|
value: MsgGrant;
|
|
23
23
|
};
|
|
@@ -27,7 +27,7 @@ export declare namespace Authz {
|
|
|
27
27
|
* @param object Represents the properties available for this MsgExec message.
|
|
28
28
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
29
29
|
*/
|
|
30
|
-
const Exec: (object:
|
|
30
|
+
const Exec: (object: MsgExec) => {
|
|
31
31
|
typeUrl: string;
|
|
32
32
|
value: MsgExec;
|
|
33
33
|
};
|
|
@@ -37,7 +37,7 @@ export declare namespace Authz {
|
|
|
37
37
|
* @param object Represents the properties available for this MsgRevoke message.
|
|
38
38
|
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
39
39
|
*/
|
|
40
|
-
const Revoke: (object:
|
|
40
|
+
const Revoke: (object: MsgRevoke) => {
|
|
41
41
|
typeUrl: string;
|
|
42
42
|
value: MsgRevoke;
|
|
43
43
|
};
|
|
@@ -270,15 +270,6 @@ export declare namespace Distribution {
|
|
|
270
270
|
typeUrl: string;
|
|
271
271
|
value: MsgCommunityPoolSpend;
|
|
272
272
|
};
|
|
273
|
-
/** MsgDepositValidatorRewardsPool message creator
|
|
274
|
-
*
|
|
275
|
-
* @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
|
|
276
|
-
* @returns A Msg object with the typeUrl and value object for the proper message
|
|
277
|
-
*/
|
|
278
|
-
const DepositValidatorRewardsPool: (object: DistributionMsgs.MsgDepositValidatorRewardsPool) => {
|
|
279
|
-
typeUrl: string;
|
|
280
|
-
value: MsgDepositValidatorRewardsPool;
|
|
281
|
-
};
|
|
282
273
|
/** MsgFundCommunityPool message creator
|
|
283
274
|
* Defines a method to allow an account to directly fund the community pool.
|
|
284
275
|
*
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "
|
|
2
|
-
import { MsgGrantAllowance, MsgRevokeAllowance } from "
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted, } from "cosmjs-types/cosmos/gov/v1beta1/tx";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance, } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
|
|
3
|
+
// import {
|
|
4
|
+
// MsgMultiSend,
|
|
5
|
+
// MsgSend,
|
|
6
|
+
// MsgSetSendEnabled,
|
|
7
|
+
// MsgUpdateParams,
|
|
8
|
+
// } from "./bank/v1beta1/tx";
|
|
9
|
+
import { MsgCommunityPoolSpend,
|
|
10
|
+
// MsgDepositValidatorRewardsPool,
|
|
11
|
+
MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
|
|
12
|
+
import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, } from "cosmjs-types/cosmos/vesting/v1beta1/tx";
|
|
13
|
+
import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams, } from "cosmjs-types/cosmos/staking/v1beta1/tx";
|
|
14
|
+
import { MsgExec, MsgGrant, MsgRevoke, } from "cosmjs-types/cosmos/authz/v1beta1/tx";
|
|
15
|
+
import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams, } from "cosmjs-types/cosmos/bank/v1beta1/tx";
|
|
8
16
|
const authzBaseUrl = "/cosmos.authz.v1beta1.";
|
|
9
17
|
const stakeBaseUrl = "/cosmos.staking.v1beta1.";
|
|
10
18
|
const govBaseUrl = "/cosmos.gov.v1beta1.";
|
|
@@ -12,7 +20,7 @@ const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
|
|
|
12
20
|
const bankBaseUrl = "/cosmos.bank.v1beta1.";
|
|
13
21
|
const distBaseUrl = "/cosmos.distribution.v1beta1.";
|
|
14
22
|
const vestBaseUrl = "/cosmos.vesting.v1beta1.";
|
|
15
|
-
export * from "
|
|
23
|
+
export * from "cosmjs-types/cosmos/tx/v1beta1/tx";
|
|
16
24
|
/**
|
|
17
25
|
* Module to generate the Messages related to the Authz module of the Blockchain
|
|
18
26
|
*/
|
|
@@ -330,17 +338,19 @@ export var Distribution;
|
|
|
330
338
|
value: MsgCommunityPoolSpend.fromPartial(object),
|
|
331
339
|
};
|
|
332
340
|
};
|
|
333
|
-
/** MsgDepositValidatorRewardsPool message creator
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
// /** MsgDepositValidatorRewardsPool message creator
|
|
342
|
+
// *
|
|
343
|
+
// * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
|
|
344
|
+
// * @returns A Msg object with the typeUrl and value object for the proper message
|
|
345
|
+
// */
|
|
346
|
+
// export const DepositValidatorRewardsPool = function (
|
|
347
|
+
// object: DistributionMsgs.MsgDepositValidatorRewardsPool
|
|
348
|
+
// ) {
|
|
349
|
+
// return {
|
|
350
|
+
// typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
|
|
351
|
+
// value: MsgDepositValidatorRewardsPool.fromPartial(object),
|
|
352
|
+
// };
|
|
353
|
+
// };
|
|
344
354
|
/** MsgFundCommunityPool message creator
|
|
345
355
|
* Defines a method to allow an account to directly fund the community pool.
|
|
346
356
|
*
|
|
@@ -3,12 +3,12 @@ import { Feature } from "../coreum/asset/ft/v1/token";
|
|
|
3
3
|
import { ClassFeature } from "../coreum/asset/nft/v1/nft";
|
|
4
4
|
import { Any } from "../google/protobuf/any";
|
|
5
5
|
import { AccessConfig, Params as WasmParams } from "cosmjs-types/cosmwasm/wasm/v1/types";
|
|
6
|
-
import { Description, CommissionRates, Params as StakingParams } from "../cosmos/staking/v1beta1/staking";
|
|
7
6
|
import { VoteOption, WeightedVoteOption } from "cosmjs-types/cosmos/gov/v1beta1/gov";
|
|
8
7
|
import { Input, Output, SendEnabled, Params as BankParams } from "cosmjs-types/cosmos/bank/v1beta1/bank";
|
|
9
8
|
import { Params as DistParams } from "cosmjs-types/cosmos/distribution/v1beta1/distribution";
|
|
10
|
-
import { Period } from "
|
|
11
|
-
import { Grant } from "
|
|
9
|
+
import { Period } from "cosmjs-types/cosmos/vesting/v1beta1/vesting";
|
|
10
|
+
import { Grant } from "cosmjs-types/cosmos/authz/v1beta1/authz";
|
|
11
|
+
import { CommissionRates, Description, Params as StakingParams } from "cosmjs-types/cosmos/staking/v1beta1/staking";
|
|
12
12
|
export declare namespace FTMsgs {
|
|
13
13
|
interface MsgIssue {
|
|
14
14
|
issuer: string;
|
|
@@ -330,7 +330,7 @@ export declare namespace AuthzMsgs {
|
|
|
330
330
|
interface MsgGrant {
|
|
331
331
|
granter: string;
|
|
332
332
|
grantee: string;
|
|
333
|
-
grant
|
|
333
|
+
grant?: Grant;
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* MsgExec attempts to execute the provided messages using
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Coin } from "
|
|
2
|
+
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
3
3
|
import { Any } from "../../google/protobuf/any";
|
|
4
4
|
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Coin } from "
|
|
4
|
+
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
5
5
|
import { Any } from "../../google/protobuf/any";
|
|
6
6
|
export const protobufPackage = "cosmwasm.wasm.v1";
|
|
7
7
|
function createBaseContractExecutionAuthorization() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Coin } from "
|
|
4
|
+
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
5
5
|
import { AccessConfig } from "./types";
|
|
6
6
|
export const protobufPackage = "cosmwasm.wasm.v1";
|
|
7
7
|
function createBaseStoreCodeProposal() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Coin } from "
|
|
2
|
+
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
3
3
|
import { AccessConfig, Params } from "./types";
|
|
4
4
|
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
5
5
|
/** MsgStoreCode submit Wasm code to the system */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
|
-
import { Coin } from "
|
|
4
|
+
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
5
5
|
import { AccessConfig, Params } from "./types";
|
|
6
6
|
export const protobufPackage = "cosmwasm.wasm.v1";
|
|
7
7
|
function createBaseMsgStoreCode() {
|
package/package.json
CHANGED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Any } from "../../../google/protobuf/any";
|
|
3
|
-
export declare const protobufPackage = "cosmos.auth.v1beta1";
|
|
4
|
-
/**
|
|
5
|
-
* BaseAccount defines a base account type. It contains all the necessary fields
|
|
6
|
-
* for basic account functionality. Any custom account type should extend this
|
|
7
|
-
* type for additional functionality (e.g. vesting).
|
|
8
|
-
*/
|
|
9
|
-
export interface BaseAccount {
|
|
10
|
-
address: string;
|
|
11
|
-
pubKey: Any | undefined;
|
|
12
|
-
accountNumber: number;
|
|
13
|
-
sequence: number;
|
|
14
|
-
}
|
|
15
|
-
/** ModuleAccount defines an account for modules that holds coins on a pool. */
|
|
16
|
-
export interface ModuleAccount {
|
|
17
|
-
baseAccount: BaseAccount | undefined;
|
|
18
|
-
name: string;
|
|
19
|
-
permissions: string[];
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules.
|
|
23
|
-
*
|
|
24
|
-
* Since: cosmos-sdk 0.47
|
|
25
|
-
*/
|
|
26
|
-
export interface ModuleCredential {
|
|
27
|
-
/** module_name is the name of the module used for address derivation (passed into address.Module). */
|
|
28
|
-
moduleName: string;
|
|
29
|
-
/**
|
|
30
|
-
* derivation_keys is for deriving a module account address (passed into address.Module)
|
|
31
|
-
* adding more keys creates sub-account addresses (passed into address.Derive)
|
|
32
|
-
*/
|
|
33
|
-
derivationKeys: Uint8Array[];
|
|
34
|
-
}
|
|
35
|
-
/** Params defines the parameters for the auth module. */
|
|
36
|
-
export interface Params {
|
|
37
|
-
maxMemoCharacters: number;
|
|
38
|
-
txSigLimit: number;
|
|
39
|
-
txSizeCostPerByte: number;
|
|
40
|
-
sigVerifyCostEd25519: number;
|
|
41
|
-
sigVerifyCostSecp256k1: number;
|
|
42
|
-
}
|
|
43
|
-
export declare const BaseAccount: {
|
|
44
|
-
encode(message: BaseAccount, writer?: _m0.Writer): _m0.Writer;
|
|
45
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount;
|
|
46
|
-
fromJSON(object: any): BaseAccount;
|
|
47
|
-
toJSON(message: BaseAccount): unknown;
|
|
48
|
-
create<I extends {
|
|
49
|
-
address?: string;
|
|
50
|
-
pubKey?: {
|
|
51
|
-
typeUrl?: string;
|
|
52
|
-
value?: Uint8Array;
|
|
53
|
-
};
|
|
54
|
-
accountNumber?: number;
|
|
55
|
-
sequence?: number;
|
|
56
|
-
} & {
|
|
57
|
-
address?: string;
|
|
58
|
-
pubKey?: {
|
|
59
|
-
typeUrl?: string;
|
|
60
|
-
value?: Uint8Array;
|
|
61
|
-
} & {
|
|
62
|
-
typeUrl?: string;
|
|
63
|
-
value?: Uint8Array;
|
|
64
|
-
} & { [K in Exclude<keyof I["pubKey"], keyof Any>]: never; };
|
|
65
|
-
accountNumber?: number;
|
|
66
|
-
sequence?: number;
|
|
67
|
-
} & { [K_1 in Exclude<keyof I, keyof BaseAccount>]: never; }>(base?: I): BaseAccount;
|
|
68
|
-
fromPartial<I_1 extends {
|
|
69
|
-
address?: string;
|
|
70
|
-
pubKey?: {
|
|
71
|
-
typeUrl?: string;
|
|
72
|
-
value?: Uint8Array;
|
|
73
|
-
};
|
|
74
|
-
accountNumber?: number;
|
|
75
|
-
sequence?: number;
|
|
76
|
-
} & {
|
|
77
|
-
address?: string;
|
|
78
|
-
pubKey?: {
|
|
79
|
-
typeUrl?: string;
|
|
80
|
-
value?: Uint8Array;
|
|
81
|
-
} & {
|
|
82
|
-
typeUrl?: string;
|
|
83
|
-
value?: Uint8Array;
|
|
84
|
-
} & { [K_2 in Exclude<keyof I_1["pubKey"], keyof Any>]: never; };
|
|
85
|
-
accountNumber?: number;
|
|
86
|
-
sequence?: number;
|
|
87
|
-
} & { [K_3 in Exclude<keyof I_1, keyof BaseAccount>]: never; }>(object: I_1): BaseAccount;
|
|
88
|
-
};
|
|
89
|
-
export declare const ModuleAccount: {
|
|
90
|
-
encode(message: ModuleAccount, writer?: _m0.Writer): _m0.Writer;
|
|
91
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount;
|
|
92
|
-
fromJSON(object: any): ModuleAccount;
|
|
93
|
-
toJSON(message: ModuleAccount): unknown;
|
|
94
|
-
create<I extends {
|
|
95
|
-
baseAccount?: {
|
|
96
|
-
address?: string;
|
|
97
|
-
pubKey?: {
|
|
98
|
-
typeUrl?: string;
|
|
99
|
-
value?: Uint8Array;
|
|
100
|
-
};
|
|
101
|
-
accountNumber?: number;
|
|
102
|
-
sequence?: number;
|
|
103
|
-
};
|
|
104
|
-
name?: string;
|
|
105
|
-
permissions?: string[];
|
|
106
|
-
} & {
|
|
107
|
-
baseAccount?: {
|
|
108
|
-
address?: string;
|
|
109
|
-
pubKey?: {
|
|
110
|
-
typeUrl?: string;
|
|
111
|
-
value?: Uint8Array;
|
|
112
|
-
};
|
|
113
|
-
accountNumber?: number;
|
|
114
|
-
sequence?: number;
|
|
115
|
-
} & {
|
|
116
|
-
address?: string;
|
|
117
|
-
pubKey?: {
|
|
118
|
-
typeUrl?: string;
|
|
119
|
-
value?: Uint8Array;
|
|
120
|
-
} & {
|
|
121
|
-
typeUrl?: string;
|
|
122
|
-
value?: Uint8Array;
|
|
123
|
-
} & { [K in Exclude<keyof I["baseAccount"]["pubKey"], keyof Any>]: never; };
|
|
124
|
-
accountNumber?: number;
|
|
125
|
-
sequence?: number;
|
|
126
|
-
} & { [K_1 in Exclude<keyof I["baseAccount"], keyof BaseAccount>]: never; };
|
|
127
|
-
name?: string;
|
|
128
|
-
permissions?: string[] & string[] & { [K_2 in Exclude<keyof I["permissions"], keyof string[]>]: never; };
|
|
129
|
-
} & { [K_3 in Exclude<keyof I, keyof ModuleAccount>]: never; }>(base?: I): ModuleAccount;
|
|
130
|
-
fromPartial<I_1 extends {
|
|
131
|
-
baseAccount?: {
|
|
132
|
-
address?: string;
|
|
133
|
-
pubKey?: {
|
|
134
|
-
typeUrl?: string;
|
|
135
|
-
value?: Uint8Array;
|
|
136
|
-
};
|
|
137
|
-
accountNumber?: number;
|
|
138
|
-
sequence?: number;
|
|
139
|
-
};
|
|
140
|
-
name?: string;
|
|
141
|
-
permissions?: string[];
|
|
142
|
-
} & {
|
|
143
|
-
baseAccount?: {
|
|
144
|
-
address?: string;
|
|
145
|
-
pubKey?: {
|
|
146
|
-
typeUrl?: string;
|
|
147
|
-
value?: Uint8Array;
|
|
148
|
-
};
|
|
149
|
-
accountNumber?: number;
|
|
150
|
-
sequence?: number;
|
|
151
|
-
} & {
|
|
152
|
-
address?: string;
|
|
153
|
-
pubKey?: {
|
|
154
|
-
typeUrl?: string;
|
|
155
|
-
value?: Uint8Array;
|
|
156
|
-
} & {
|
|
157
|
-
typeUrl?: string;
|
|
158
|
-
value?: Uint8Array;
|
|
159
|
-
} & { [K_4 in Exclude<keyof I_1["baseAccount"]["pubKey"], keyof Any>]: never; };
|
|
160
|
-
accountNumber?: number;
|
|
161
|
-
sequence?: number;
|
|
162
|
-
} & { [K_5 in Exclude<keyof I_1["baseAccount"], keyof BaseAccount>]: never; };
|
|
163
|
-
name?: string;
|
|
164
|
-
permissions?: string[] & string[] & { [K_6 in Exclude<keyof I_1["permissions"], keyof string[]>]: never; };
|
|
165
|
-
} & { [K_7 in Exclude<keyof I_1, keyof ModuleAccount>]: never; }>(object: I_1): ModuleAccount;
|
|
166
|
-
};
|
|
167
|
-
export declare const ModuleCredential: {
|
|
168
|
-
encode(message: ModuleCredential, writer?: _m0.Writer): _m0.Writer;
|
|
169
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ModuleCredential;
|
|
170
|
-
fromJSON(object: any): ModuleCredential;
|
|
171
|
-
toJSON(message: ModuleCredential): unknown;
|
|
172
|
-
create<I extends {
|
|
173
|
-
moduleName?: string;
|
|
174
|
-
derivationKeys?: Uint8Array[];
|
|
175
|
-
} & {
|
|
176
|
-
moduleName?: string;
|
|
177
|
-
derivationKeys?: Uint8Array[] & Uint8Array[] & { [K in Exclude<keyof I["derivationKeys"], keyof Uint8Array[]>]: never; };
|
|
178
|
-
} & { [K_1 in Exclude<keyof I, keyof ModuleCredential>]: never; }>(base?: I): ModuleCredential;
|
|
179
|
-
fromPartial<I_1 extends {
|
|
180
|
-
moduleName?: string;
|
|
181
|
-
derivationKeys?: Uint8Array[];
|
|
182
|
-
} & {
|
|
183
|
-
moduleName?: string;
|
|
184
|
-
derivationKeys?: Uint8Array[] & Uint8Array[] & { [K_2 in Exclude<keyof I_1["derivationKeys"], keyof Uint8Array[]>]: never; };
|
|
185
|
-
} & { [K_3 in Exclude<keyof I_1, keyof ModuleCredential>]: never; }>(object: I_1): ModuleCredential;
|
|
186
|
-
};
|
|
187
|
-
export declare const Params: {
|
|
188
|
-
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
189
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
|
190
|
-
fromJSON(object: any): Params;
|
|
191
|
-
toJSON(message: Params): unknown;
|
|
192
|
-
create<I extends {
|
|
193
|
-
maxMemoCharacters?: number;
|
|
194
|
-
txSigLimit?: number;
|
|
195
|
-
txSizeCostPerByte?: number;
|
|
196
|
-
sigVerifyCostEd25519?: number;
|
|
197
|
-
sigVerifyCostSecp256k1?: number;
|
|
198
|
-
} & {
|
|
199
|
-
maxMemoCharacters?: number;
|
|
200
|
-
txSigLimit?: number;
|
|
201
|
-
txSizeCostPerByte?: number;
|
|
202
|
-
sigVerifyCostEd25519?: number;
|
|
203
|
-
sigVerifyCostSecp256k1?: number;
|
|
204
|
-
} & { [K in Exclude<keyof I, keyof Params>]: never; }>(base?: I): Params;
|
|
205
|
-
fromPartial<I_1 extends {
|
|
206
|
-
maxMemoCharacters?: number;
|
|
207
|
-
txSigLimit?: number;
|
|
208
|
-
txSizeCostPerByte?: number;
|
|
209
|
-
sigVerifyCostEd25519?: number;
|
|
210
|
-
sigVerifyCostSecp256k1?: number;
|
|
211
|
-
} & {
|
|
212
|
-
maxMemoCharacters?: number;
|
|
213
|
-
txSigLimit?: number;
|
|
214
|
-
txSizeCostPerByte?: number;
|
|
215
|
-
sigVerifyCostEd25519?: number;
|
|
216
|
-
sigVerifyCostSecp256k1?: number;
|
|
217
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Params>]: never; }>(object: I_1): Params;
|
|
218
|
-
};
|
|
219
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
220
|
-
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 {} ? {
|
|
221
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
222
|
-
} : Partial<T>;
|
|
223
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
224
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
225
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
226
|
-
} & {
|
|
227
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
228
|
-
};
|
|
229
|
-
export {};
|