@iconlake/client 0.2.1 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iconlake/client",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "iconLake Typescript Client",
5
5
  "author": "iconLake",
6
6
  "license": "Apache-2.0",
@@ -10,18 +10,19 @@
10
10
  "url": "http://www.apache.org/licenses/LICENSE-2.0"
11
11
  }
12
12
  ],
13
- "files": [
14
- "./dist",
15
- "./types",
16
- "./types.d.ts"
17
- ],
13
+ "files": ["./dist", "./types", "./types.d.ts"],
18
14
  "main": "./dist/index.umd.js",
19
15
  "module": "./dist/index.mjs",
20
16
  "types": "./types/index.d.ts",
21
17
  "publishConfig": {
22
18
  "access": "public"
23
19
  },
24
- "packageManager": "pnpm@8.6.12",
20
+ "scripts": {
21
+ "build-ts": "rm -rf ./types && export NODE_OPTIONS=--max-old-space-size=8192 && tsc",
22
+ "build-js": "vite build",
23
+ "build": "pnpm run build-ts && pnpm run build-js"
24
+ },
25
+ "packageManager": "pnpm@8.14.0",
25
26
  "dependencies": {
26
27
  "axios": "^0.21.4",
27
28
  "buffer": "^6.0.3",
@@ -49,10 +50,5 @@
49
50
  "./umd": "./dist/index.umd.js",
50
51
  "./cjs": "./dist/index.js",
51
52
  "./iife": "./dist/index.iife.js"
52
- },
53
- "scripts": {
54
- "build-ts": "rm -rf ./types && export NODE_OPTIONS=--max-old-space-size=8192 && tsc",
55
- "build-js": "vite build",
56
- "build": "pnpm run build-ts && pnpm run build-js"
57
53
  }
58
- }
54
+ }
@@ -4,33 +4,33 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
6
  import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
7
- import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
8
7
  import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
9
- export { MsgRevoke, MsgExec, MsgGrant };
8
+ import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
9
+ export { MsgRevoke, MsgGrant, MsgExec };
10
10
  type sendMsgRevokeParams = {
11
11
  value: MsgRevoke;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
15
- type sendMsgExecParams = {
16
- value: MsgExec;
15
+ type sendMsgGrantParams = {
16
+ value: MsgGrant;
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
20
- type sendMsgGrantParams = {
21
- value: MsgGrant;
20
+ type sendMsgExecParams = {
21
+ value: MsgExec;
22
22
  fee?: StdFee;
23
23
  memo?: string;
24
24
  };
25
25
  type msgRevokeParams = {
26
26
  value: MsgRevoke;
27
27
  };
28
- type msgExecParams = {
29
- value: MsgExec;
30
- };
31
28
  type msgGrantParams = {
32
29
  value: MsgGrant;
33
30
  };
31
+ type msgExecParams = {
32
+ value: MsgExec;
33
+ };
34
34
  export declare const registry: Registry;
35
35
  interface TxClientOptions {
36
36
  addr: string;
@@ -39,11 +39,11 @@ interface TxClientOptions {
39
39
  }
40
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
41
41
  sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise<DeliverTxResponse>;
42
- sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
43
42
  sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise<DeliverTxResponse>;
43
+ sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
44
44
  msgRevoke({ value }: msgRevokeParams): EncodeObject;
45
- msgExec({ value }: msgExecParams): EncodeObject;
46
45
  msgGrant({ value }: msgGrantParams): EncodeObject;
46
+ msgExec({ value }: msgExecParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;
@@ -3,25 +3,25 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
3
3
  import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
- import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
7
6
  import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
8
- export { MsgSend, MsgMultiSend };
9
- type sendMsgSendParams = {
10
- value: MsgSend;
11
- fee?: StdFee;
12
- memo?: string;
13
- };
7
+ import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
8
+ export { MsgMultiSend, MsgSend };
14
9
  type sendMsgMultiSendParams = {
15
10
  value: MsgMultiSend;
16
11
  fee?: StdFee;
17
12
  memo?: string;
18
13
  };
19
- type msgSendParams = {
14
+ type sendMsgSendParams = {
20
15
  value: MsgSend;
16
+ fee?: StdFee;
17
+ memo?: string;
21
18
  };
22
19
  type msgMultiSendParams = {
23
20
  value: MsgMultiSend;
24
21
  };
22
+ type msgSendParams = {
23
+ value: MsgSend;
24
+ };
25
25
  export declare const registry: Registry;
26
26
  interface TxClientOptions {
27
27
  addr: string;
@@ -29,10 +29,10 @@ interface TxClientOptions {
29
29
  signer?: OfflineSigner;
30
30
  }
31
31
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
32
- sendMsgSend({ value, fee, memo }: sendMsgSendParams): Promise<DeliverTxResponse>;
33
32
  sendMsgMultiSend({ value, fee, memo }: sendMsgMultiSendParams): Promise<DeliverTxResponse>;
34
- msgSend({ value }: msgSendParams): EncodeObject;
33
+ sendMsgSend({ value, fee, memo }: sendMsgSendParams): Promise<DeliverTxResponse>;
35
34
  msgMultiSend({ value }: msgMultiSendParams): EncodeObject;
35
+ msgSend({ value }: msgSendParams): EncodeObject;
36
36
  };
37
37
  interface QueryClientOptions {
38
38
  addr: string;
@@ -3,15 +3,20 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
3
3
  import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
- import { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx";
7
- import { MsgUpdateParams } from "./types/cosmos/distribution/v1beta1/tx";
8
6
  import { MsgCommunityPoolSpend } from "./types/cosmos/distribution/v1beta1/tx";
9
- import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
10
7
  import { MsgWithdrawDelegatorReward } from "./types/cosmos/distribution/v1beta1/tx";
8
+ import { MsgUpdateParams } from "./types/cosmos/distribution/v1beta1/tx";
9
+ import { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx";
10
+ import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
11
11
  import { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx";
12
- export { MsgSetWithdrawAddress, MsgUpdateParams, MsgCommunityPoolSpend, MsgFundCommunityPool, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission };
13
- type sendMsgSetWithdrawAddressParams = {
14
- value: MsgSetWithdrawAddress;
12
+ export { MsgCommunityPoolSpend, MsgWithdrawDelegatorReward, MsgUpdateParams, MsgSetWithdrawAddress, MsgFundCommunityPool, MsgWithdrawValidatorCommission };
13
+ type sendMsgCommunityPoolSpendParams = {
14
+ value: MsgCommunityPoolSpend;
15
+ fee?: StdFee;
16
+ memo?: string;
17
+ };
18
+ type sendMsgWithdrawDelegatorRewardParams = {
19
+ value: MsgWithdrawDelegatorReward;
15
20
  fee?: StdFee;
16
21
  memo?: string;
17
22
  };
@@ -20,8 +25,8 @@ type sendMsgUpdateParamsParams = {
20
25
  fee?: StdFee;
21
26
  memo?: string;
22
27
  };
23
- type sendMsgCommunityPoolSpendParams = {
24
- value: MsgCommunityPoolSpend;
28
+ type sendMsgSetWithdrawAddressParams = {
29
+ value: MsgSetWithdrawAddress;
25
30
  fee?: StdFee;
26
31
  memo?: string;
27
32
  };
@@ -30,31 +35,26 @@ type sendMsgFundCommunityPoolParams = {
30
35
  fee?: StdFee;
31
36
  memo?: string;
32
37
  };
33
- type sendMsgWithdrawDelegatorRewardParams = {
34
- value: MsgWithdrawDelegatorReward;
35
- fee?: StdFee;
36
- memo?: string;
37
- };
38
38
  type sendMsgWithdrawValidatorCommissionParams = {
39
39
  value: MsgWithdrawValidatorCommission;
40
40
  fee?: StdFee;
41
41
  memo?: string;
42
42
  };
43
- type msgSetWithdrawAddressParams = {
44
- value: MsgSetWithdrawAddress;
43
+ type msgCommunityPoolSpendParams = {
44
+ value: MsgCommunityPoolSpend;
45
+ };
46
+ type msgWithdrawDelegatorRewardParams = {
47
+ value: MsgWithdrawDelegatorReward;
45
48
  };
46
49
  type msgUpdateParamsParams = {
47
50
  value: MsgUpdateParams;
48
51
  };
49
- type msgCommunityPoolSpendParams = {
50
- value: MsgCommunityPoolSpend;
52
+ type msgSetWithdrawAddressParams = {
53
+ value: MsgSetWithdrawAddress;
51
54
  };
52
55
  type msgFundCommunityPoolParams = {
53
56
  value: MsgFundCommunityPool;
54
57
  };
55
- type msgWithdrawDelegatorRewardParams = {
56
- value: MsgWithdrawDelegatorReward;
57
- };
58
58
  type msgWithdrawValidatorCommissionParams = {
59
59
  value: MsgWithdrawValidatorCommission;
60
60
  };
@@ -65,17 +65,17 @@ interface TxClientOptions {
65
65
  signer?: OfflineSigner;
66
66
  }
67
67
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
68
- sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise<DeliverTxResponse>;
69
- sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
70
68
  sendMsgCommunityPoolSpend({ value, fee, memo }: sendMsgCommunityPoolSpendParams): Promise<DeliverTxResponse>;
71
- sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
72
69
  sendMsgWithdrawDelegatorReward({ value, fee, memo }: sendMsgWithdrawDelegatorRewardParams): Promise<DeliverTxResponse>;
70
+ sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
71
+ sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise<DeliverTxResponse>;
72
+ sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
73
73
  sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise<DeliverTxResponse>;
74
- msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject;
75
- msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
76
74
  msgCommunityPoolSpend({ value }: msgCommunityPoolSpendParams): EncodeObject;
77
- msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
78
75
  msgWithdrawDelegatorReward({ value }: msgWithdrawDelegatorRewardParams): EncodeObject;
76
+ msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
77
+ msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject;
78
+ msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
79
79
  msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): EncodeObject;
80
80
  };
81
81
  interface QueryClientOptions {
@@ -3,25 +3,25 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
3
3
  import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
- import { MsgGrantAllowance } from "./types/cosmos/feegrant/v1beta1/tx";
7
6
  import { MsgRevokeAllowance } from "./types/cosmos/feegrant/v1beta1/tx";
8
- export { MsgGrantAllowance, MsgRevokeAllowance };
9
- type sendMsgGrantAllowanceParams = {
10
- value: MsgGrantAllowance;
11
- fee?: StdFee;
12
- memo?: string;
13
- };
7
+ import { MsgGrantAllowance } from "./types/cosmos/feegrant/v1beta1/tx";
8
+ export { MsgRevokeAllowance, MsgGrantAllowance };
14
9
  type sendMsgRevokeAllowanceParams = {
15
10
  value: MsgRevokeAllowance;
16
11
  fee?: StdFee;
17
12
  memo?: string;
18
13
  };
19
- type msgGrantAllowanceParams = {
14
+ type sendMsgGrantAllowanceParams = {
20
15
  value: MsgGrantAllowance;
16
+ fee?: StdFee;
17
+ memo?: string;
21
18
  };
22
19
  type msgRevokeAllowanceParams = {
23
20
  value: MsgRevokeAllowance;
24
21
  };
22
+ type msgGrantAllowanceParams = {
23
+ value: MsgGrantAllowance;
24
+ };
25
25
  export declare const registry: Registry;
26
26
  interface TxClientOptions {
27
27
  addr: string;
@@ -29,10 +29,10 @@ interface TxClientOptions {
29
29
  signer?: OfflineSigner;
30
30
  }
31
31
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
32
- sendMsgGrantAllowance({ value, fee, memo }: sendMsgGrantAllowanceParams): Promise<DeliverTxResponse>;
33
32
  sendMsgRevokeAllowance({ value, fee, memo }: sendMsgRevokeAllowanceParams): Promise<DeliverTxResponse>;
34
- msgGrantAllowance({ value }: msgGrantAllowanceParams): EncodeObject;
33
+ sendMsgGrantAllowance({ value, fee, memo }: sendMsgGrantAllowanceParams): Promise<DeliverTxResponse>;
35
34
  msgRevokeAllowance({ value }: msgRevokeAllowanceParams): EncodeObject;
35
+ msgGrantAllowance({ value }: msgGrantAllowanceParams): EncodeObject;
36
36
  };
37
37
  interface QueryClientOptions {
38
38
  addr: string;
@@ -3,14 +3,14 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
3
3
  import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
- import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
7
- import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
8
6
  import { MsgVote } from "./types/cosmos/gov/v1/tx";
9
- import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
7
+ import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
10
8
  import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
11
- export { MsgSubmitProposal, MsgVoteWeighted, MsgVote, MsgDeposit, MsgUpdateParams };
12
- type sendMsgSubmitProposalParams = {
13
- value: MsgSubmitProposal;
9
+ import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
10
+ import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
11
+ export { MsgVote, MsgVoteWeighted, MsgUpdateParams, MsgDeposit, MsgSubmitProposal };
12
+ type sendMsgVoteParams = {
13
+ value: MsgVote;
14
14
  fee?: StdFee;
15
15
  memo?: string;
16
16
  };
@@ -19,8 +19,8 @@ type sendMsgVoteWeightedParams = {
19
19
  fee?: StdFee;
20
20
  memo?: string;
21
21
  };
22
- type sendMsgVoteParams = {
23
- value: MsgVote;
22
+ type sendMsgUpdateParamsParams = {
23
+ value: MsgUpdateParams;
24
24
  fee?: StdFee;
25
25
  memo?: string;
26
26
  };
@@ -29,25 +29,25 @@ type sendMsgDepositParams = {
29
29
  fee?: StdFee;
30
30
  memo?: string;
31
31
  };
32
- type sendMsgUpdateParamsParams = {
33
- value: MsgUpdateParams;
32
+ type sendMsgSubmitProposalParams = {
33
+ value: MsgSubmitProposal;
34
34
  fee?: StdFee;
35
35
  memo?: string;
36
36
  };
37
- type msgSubmitProposalParams = {
38
- value: MsgSubmitProposal;
37
+ type msgVoteParams = {
38
+ value: MsgVote;
39
39
  };
40
40
  type msgVoteWeightedParams = {
41
41
  value: MsgVoteWeighted;
42
42
  };
43
- type msgVoteParams = {
44
- value: MsgVote;
43
+ type msgUpdateParamsParams = {
44
+ value: MsgUpdateParams;
45
45
  };
46
46
  type msgDepositParams = {
47
47
  value: MsgDeposit;
48
48
  };
49
- type msgUpdateParamsParams = {
50
- value: MsgUpdateParams;
49
+ type msgSubmitProposalParams = {
50
+ value: MsgSubmitProposal;
51
51
  };
52
52
  export declare const registry: Registry;
53
53
  interface TxClientOptions {
@@ -56,16 +56,16 @@ interface TxClientOptions {
56
56
  signer?: OfflineSigner;
57
57
  }
58
58
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
59
- sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
60
- sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
61
59
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
62
- sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
60
+ sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
63
61
  sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
64
- msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
65
- msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
62
+ sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
63
+ sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
66
64
  msgVote({ value }: msgVoteParams): EncodeObject;
67
- msgDeposit({ value }: msgDepositParams): EncodeObject;
65
+ msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
68
66
  msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
67
+ msgDeposit({ value }: msgDepositParams): EncodeObject;
68
+ msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
69
69
  };
70
70
  interface QueryClientOptions {
71
71
  addr: string;
@@ -4,20 +4,15 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
6
  import { MsgSubmitProposal } from "./types/cosmos/gov/v1beta1/tx";
7
- import { MsgVoteWeighted } from "./types/cosmos/gov/v1beta1/tx";
8
7
  import { MsgDeposit } from "./types/cosmos/gov/v1beta1/tx";
9
8
  import { MsgVote } from "./types/cosmos/gov/v1beta1/tx";
10
- export { MsgSubmitProposal, MsgVoteWeighted, MsgDeposit, MsgVote };
9
+ import { MsgVoteWeighted } from "./types/cosmos/gov/v1beta1/tx";
10
+ export { MsgSubmitProposal, MsgDeposit, MsgVote, MsgVoteWeighted };
11
11
  type sendMsgSubmitProposalParams = {
12
12
  value: MsgSubmitProposal;
13
13
  fee?: StdFee;
14
14
  memo?: string;
15
15
  };
16
- type sendMsgVoteWeightedParams = {
17
- value: MsgVoteWeighted;
18
- fee?: StdFee;
19
- memo?: string;
20
- };
21
16
  type sendMsgDepositParams = {
22
17
  value: MsgDeposit;
23
18
  fee?: StdFee;
@@ -28,18 +23,23 @@ type sendMsgVoteParams = {
28
23
  fee?: StdFee;
29
24
  memo?: string;
30
25
  };
26
+ type sendMsgVoteWeightedParams = {
27
+ value: MsgVoteWeighted;
28
+ fee?: StdFee;
29
+ memo?: string;
30
+ };
31
31
  type msgSubmitProposalParams = {
32
32
  value: MsgSubmitProposal;
33
33
  };
34
- type msgVoteWeightedParams = {
35
- value: MsgVoteWeighted;
36
- };
37
34
  type msgDepositParams = {
38
35
  value: MsgDeposit;
39
36
  };
40
37
  type msgVoteParams = {
41
38
  value: MsgVote;
42
39
  };
40
+ type msgVoteWeightedParams = {
41
+ value: MsgVoteWeighted;
42
+ };
43
43
  export declare const registry: Registry;
44
44
  interface TxClientOptions {
45
45
  addr: string;
@@ -48,13 +48,13 @@ interface TxClientOptions {
48
48
  }
49
49
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
50
50
  sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
51
- sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
52
51
  sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
53
52
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
53
+ sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
54
54
  msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
55
- msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
56
55
  msgDeposit({ value }: msgDepositParams): EncodeObject;
57
56
  msgVote({ value }: msgVoteParams): EncodeObject;
57
+ msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
58
58
  };
59
59
  interface QueryClientOptions {
60
60
  addr: string;