@iconlake/client 1.3.1 → 1.5.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.
Files changed (51) hide show
  1. package/dist/index.iife.js +4 -4
  2. package/dist/index.js +4 -4
  3. package/dist/index.mjs +35119 -30974
  4. package/dist/index.umd.js +4 -4
  5. package/package.json +2 -2
  6. package/types/amino.d.ts +90 -0
  7. package/types/client.d.ts +1 -0
  8. package/types/cosmos.authz.v1beta1/module.d.ts +15 -15
  9. package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
  10. package/types/cosmos.distribution.v1beta1/module.d.ts +25 -25
  11. package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
  12. package/types/cosmos.gov.v1/module.d.ts +21 -21
  13. package/types/cosmos.group.v1/module.d.ts +70 -70
  14. package/types/cosmos.staking.v1beta1/module.d.ts +29 -29
  15. package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
  16. package/types/cosmos.vesting.v1beta1/module.d.ts +15 -15
  17. package/types/iconlake.drop/module.d.ts +11 -11
  18. package/types/iconlake.icon/module.d.ts +18 -18
  19. package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +3 -3
  20. package/types/iconlake.lake/index.d.ts +5 -0
  21. package/types/iconlake.lake/module.d.ts +55 -0
  22. package/types/iconlake.lake/registry.d.ts +3 -0
  23. package/types/iconlake.lake/rest.d.ts +183 -0
  24. package/types/iconlake.lake/types/cosmos/base/query/v1beta1/pagination.d.ts +108 -0
  25. package/types/iconlake.lake/types/gogoproto/gogo.d.ts +1 -0
  26. package/types/iconlake.lake/types/google/api/annotations.d.ts +1 -0
  27. package/types/iconlake.lake/types/google/api/http.d.ts +1634 -0
  28. package/types/iconlake.lake/types/google/protobuf/descriptor.d.ts +50957 -0
  29. package/types/iconlake.lake/types/iconlake/lake/allowed_sender.d.ts +27 -0
  30. package/types/iconlake.lake/types/iconlake/lake/genesis.d.ts +43 -0
  31. package/types/iconlake.lake/types/iconlake/lake/params.d.ts +23 -0
  32. package/types/iconlake.lake/types/iconlake/lake/query.d.ts +162 -0
  33. package/types/iconlake.lake/types/iconlake/lake/tx.d.ts +103 -0
  34. package/types/iconlake.lake/types.d.ts +3 -0
  35. package/types/iconlake.license/index.d.ts +5 -0
  36. package/types/iconlake.license/module.d.ts +77 -0
  37. package/types/iconlake.license/registry.d.ts +3 -0
  38. package/types/iconlake.license/rest.d.ts +305 -0
  39. package/types/iconlake.license/types/cosmos/base/query/v1beta1/pagination.d.ts +108 -0
  40. package/types/iconlake.license/types/gogoproto/gogo.d.ts +1 -0
  41. package/types/iconlake.license/types/google/api/annotations.d.ts +1 -0
  42. package/types/iconlake.license/types/google/api/http.d.ts +1634 -0
  43. package/types/iconlake.license/types/google/protobuf/descriptor.d.ts +50957 -0
  44. package/types/iconlake.license/types/iconlake/license/genesis.d.ts +132 -0
  45. package/types/iconlake.license/types/iconlake/license/license_template.d.ts +48 -0
  46. package/types/iconlake.license/types/iconlake/license/params.d.ts +31 -0
  47. package/types/iconlake.license/types/iconlake/license/query.d.ts +581 -0
  48. package/types/iconlake.license/types/iconlake/license/tx.d.ts +246 -0
  49. package/types/iconlake.license/types/iconlake/license/user_license.d.ts +42 -0
  50. package/types/iconlake.license/types.d.ts +4 -0
  51. package/types/index.d.ts +215 -149
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iconlake/client",
3
- "version": "1.3.1",
3
+ "version": "1.5.0",
4
4
  "description": "iconLake Typescript Client",
5
5
  "author": "iconLake",
6
6
  "license": "Apache-2.0",
@@ -22,7 +22,7 @@
22
22
  "build-js": "vite build",
23
23
  "build": "pnpm run build-ts && pnpm run build-js"
24
24
  },
25
- "packageManager": "pnpm@9.5.0",
25
+ "packageManager": "pnpm@10.27.0",
26
26
  "dependencies": {
27
27
  "axios": "^0.21.4",
28
28
  "buffer": "^6.0.3",
package/types/amino.d.ts CHANGED
@@ -1,4 +1,94 @@
1
1
  export declare function createIconlakeAminoConverters(): {
2
+ "/iconlake.license.MsgCreateLicenseTemplate": {
3
+ aminoType: string;
4
+ toAmino: (msg: import("./iconlake.license/types/iconlake/license/tx").MsgCreateLicenseTemplate) => {
5
+ creator: string;
6
+ name: string;
7
+ description: string;
8
+ licenseType: string;
9
+ targetId: string;
10
+ price: string;
11
+ duration: number;
12
+ };
13
+ fromAmino: (obj: any) => {
14
+ creator: any;
15
+ name: any;
16
+ description: any;
17
+ licenseType: any;
18
+ targetId: any;
19
+ price: any;
20
+ duration: any;
21
+ };
22
+ };
23
+ "/iconlake.license.MsgUpdateLicenseTemplate": {
24
+ aminoType: string;
25
+ toAmino: (msg: import("./iconlake.license/types/iconlake/license/tx").MsgUpdateLicenseTemplate) => {
26
+ creator: string;
27
+ id: number;
28
+ name: string;
29
+ description: string;
30
+ licenseType: string;
31
+ targetId: string;
32
+ price: string;
33
+ duration: number;
34
+ };
35
+ fromAmino: (obj: any) => {
36
+ creator: any;
37
+ id: any;
38
+ name: any;
39
+ description: any;
40
+ licenseType: any;
41
+ targetId: any;
42
+ price: any;
43
+ duration: any;
44
+ };
45
+ };
46
+ "/iconlake.license.MsgDeleteLicenseTemplate": {
47
+ aminoType: string;
48
+ toAmino: (msg: import("./iconlake.license/types/iconlake/license/tx").MsgDeleteLicenseTemplate) => {
49
+ creator: string;
50
+ id: number;
51
+ };
52
+ fromAmino: (obj: any) => {
53
+ creator: any;
54
+ id: any;
55
+ };
56
+ };
57
+ "/iconlake.license.MsgBuyLicense": {
58
+ aminoType: string;
59
+ toAmino: (msg: import("./iconlake.license/types/iconlake/license/tx").MsgBuyLicense) => {
60
+ creator: string;
61
+ templateId: number;
62
+ targetId: string;
63
+ };
64
+ fromAmino: (obj: any) => {
65
+ creator: any;
66
+ templateId: any;
67
+ targetId: any;
68
+ };
69
+ };
70
+ "/iconlake.lake.MsgCreateAllowedSender": {
71
+ aminoType: string;
72
+ toAmino: (msg: import("./iconlake.lake/types/iconlake/lake/tx").MsgCreateAllowedSender) => {
73
+ creator: string;
74
+ address: string;
75
+ };
76
+ fromAmino: (obj: any) => {
77
+ creator: any;
78
+ address: any;
79
+ };
80
+ };
81
+ "/iconlake.lake.MsgDeleteAllowedSender": {
82
+ aminoType: string;
83
+ toAmino: (msg: import("./iconlake.lake/types/iconlake/lake/tx").MsgDeleteAllowedSender) => {
84
+ creator: string;
85
+ address: string;
86
+ };
87
+ fromAmino: (obj: any) => {
88
+ creator: any;
89
+ address: any;
90
+ };
91
+ };
2
92
  "/iconlake.drop.MsgMint": {
3
93
  aminoType: string;
4
94
  toAmino: ({ creator, amount }: import("./iconlake.drop/types/iconlake/drop/tx").MsgMint) => unknown;
package/types/client.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="../types.d.ts" />
2
+ /// <reference types="node" />
2
3
  import { GeneratedType, OfflineSigner, EncodeObject } from "@cosmjs/proto-signing";
3
4
  import { StdFee } from "@cosmjs/launchpad";
4
5
  import { AminoTypes } from "@cosmjs/stargate";
@@ -3,12 +3,12 @@ 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 { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
7
- import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
8
6
  import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
9
- export { MsgExec, MsgRevoke, MsgGrant };
10
- type sendMsgExecParams = {
11
- value: MsgExec;
7
+ import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
8
+ import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
9
+ export { MsgGrant, MsgRevoke, MsgExec };
10
+ type sendMsgGrantParams = {
11
+ value: MsgGrant;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
@@ -17,19 +17,19 @@ type sendMsgRevokeParams = {
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
- type msgExecParams = {
26
- value: MsgExec;
25
+ type msgGrantParams = {
26
+ value: MsgGrant;
27
27
  };
28
28
  type msgRevokeParams = {
29
29
  value: MsgRevoke;
30
30
  };
31
- type msgGrantParams = {
32
- value: MsgGrant;
31
+ type msgExecParams = {
32
+ value: MsgExec;
33
33
  };
34
34
  export declare const registry: Registry;
35
35
  interface TxClientOptions {
@@ -38,12 +38,12 @@ interface TxClientOptions {
38
38
  signer?: OfflineSigner;
39
39
  }
40
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
41
- sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
42
- sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise<DeliverTxResponse>;
43
41
  sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise<DeliverTxResponse>;
44
- msgExec({ value }: msgExecParams): EncodeObject;
45
- msgRevoke({ value }: msgRevokeParams): EncodeObject;
42
+ sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise<DeliverTxResponse>;
43
+ sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
46
44
  msgGrant({ value }: msgGrantParams): EncodeObject;
45
+ msgRevoke({ value }: msgRevokeParams): 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 { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
7
6
  import { MsgSend } from "./types/cosmos/bank/v1beta1/tx";
8
- export { MsgMultiSend, MsgSend };
9
- type sendMsgMultiSendParams = {
10
- value: MsgMultiSend;
11
- fee?: StdFee;
12
- memo?: string;
13
- };
7
+ import { MsgMultiSend } from "./types/cosmos/bank/v1beta1/tx";
8
+ export { MsgSend, MsgMultiSend };
14
9
  type sendMsgSendParams = {
15
10
  value: MsgSend;
16
11
  fee?: StdFee;
17
12
  memo?: string;
18
13
  };
19
- type msgMultiSendParams = {
14
+ type sendMsgMultiSendParams = {
20
15
  value: MsgMultiSend;
16
+ fee?: StdFee;
17
+ memo?: string;
21
18
  };
22
19
  type msgSendParams = {
23
20
  value: MsgSend;
24
21
  };
22
+ type msgMultiSendParams = {
23
+ value: MsgMultiSend;
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
- sendMsgMultiSend({ value, fee, memo }: sendMsgMultiSendParams): Promise<DeliverTxResponse>;
33
32
  sendMsgSend({ value, fee, memo }: sendMsgSendParams): Promise<DeliverTxResponse>;
34
- msgMultiSend({ value }: msgMultiSendParams): EncodeObject;
33
+ sendMsgMultiSend({ value, fee, memo }: sendMsgMultiSendParams): Promise<DeliverTxResponse>;
35
34
  msgSend({ value }: msgSendParams): EncodeObject;
35
+ msgMultiSend({ value }: msgMultiSendParams): EncodeObject;
36
36
  };
37
37
  interface QueryClientOptions {
38
38
  addr: string;
@@ -3,13 +3,18 @@ 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 { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx";
6
7
  import { MsgWithdrawDelegatorReward } from "./types/cosmos/distribution/v1beta1/tx";
7
8
  import { MsgCommunityPoolSpend } from "./types/cosmos/distribution/v1beta1/tx";
8
- import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
9
- import { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx";
10
- import { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx";
11
9
  import { MsgUpdateParams } from "./types/cosmos/distribution/v1beta1/tx";
12
- export { MsgWithdrawDelegatorReward, MsgCommunityPoolSpend, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgWithdrawValidatorCommission, MsgUpdateParams };
10
+ import { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx";
11
+ import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
12
+ export { MsgWithdrawValidatorCommission, MsgWithdrawDelegatorReward, MsgCommunityPoolSpend, MsgUpdateParams, MsgSetWithdrawAddress, MsgFundCommunityPool };
13
+ type sendMsgWithdrawValidatorCommissionParams = {
14
+ value: MsgWithdrawValidatorCommission;
15
+ fee?: StdFee;
16
+ memo?: string;
17
+ };
13
18
  type sendMsgWithdrawDelegatorRewardParams = {
14
19
  value: MsgWithdrawDelegatorReward;
15
20
  fee?: StdFee;
@@ -20,8 +25,8 @@ type sendMsgCommunityPoolSpendParams = {
20
25
  fee?: StdFee;
21
26
  memo?: string;
22
27
  };
23
- type sendMsgFundCommunityPoolParams = {
24
- value: MsgFundCommunityPool;
28
+ type sendMsgUpdateParamsParams = {
29
+ value: MsgUpdateParams;
25
30
  fee?: StdFee;
26
31
  memo?: string;
27
32
  };
@@ -30,15 +35,13 @@ type sendMsgSetWithdrawAddressParams = {
30
35
  fee?: StdFee;
31
36
  memo?: string;
32
37
  };
33
- type sendMsgWithdrawValidatorCommissionParams = {
34
- value: MsgWithdrawValidatorCommission;
38
+ type sendMsgFundCommunityPoolParams = {
39
+ value: MsgFundCommunityPool;
35
40
  fee?: StdFee;
36
41
  memo?: string;
37
42
  };
38
- type sendMsgUpdateParamsParams = {
39
- value: MsgUpdateParams;
40
- fee?: StdFee;
41
- memo?: string;
43
+ type msgWithdrawValidatorCommissionParams = {
44
+ value: MsgWithdrawValidatorCommission;
42
45
  };
43
46
  type msgWithdrawDelegatorRewardParams = {
44
47
  value: MsgWithdrawDelegatorReward;
@@ -46,17 +49,14 @@ type msgWithdrawDelegatorRewardParams = {
46
49
  type msgCommunityPoolSpendParams = {
47
50
  value: MsgCommunityPoolSpend;
48
51
  };
49
- type msgFundCommunityPoolParams = {
50
- value: MsgFundCommunityPool;
52
+ type msgUpdateParamsParams = {
53
+ value: MsgUpdateParams;
51
54
  };
52
55
  type msgSetWithdrawAddressParams = {
53
56
  value: MsgSetWithdrawAddress;
54
57
  };
55
- type msgWithdrawValidatorCommissionParams = {
56
- value: MsgWithdrawValidatorCommission;
57
- };
58
- type msgUpdateParamsParams = {
59
- value: MsgUpdateParams;
58
+ type msgFundCommunityPoolParams = {
59
+ value: MsgFundCommunityPool;
60
60
  };
61
61
  export declare const registry: Registry;
62
62
  interface TxClientOptions {
@@ -65,18 +65,18 @@ interface TxClientOptions {
65
65
  signer?: OfflineSigner;
66
66
  }
67
67
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
68
+ sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise<DeliverTxResponse>;
68
69
  sendMsgWithdrawDelegatorReward({ value, fee, memo }: sendMsgWithdrawDelegatorRewardParams): Promise<DeliverTxResponse>;
69
70
  sendMsgCommunityPoolSpend({ value, fee, memo }: sendMsgCommunityPoolSpendParams): Promise<DeliverTxResponse>;
70
- sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
71
- sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise<DeliverTxResponse>;
72
- sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise<DeliverTxResponse>;
73
71
  sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
72
+ sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise<DeliverTxResponse>;
73
+ sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
74
+ msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): EncodeObject;
74
75
  msgWithdrawDelegatorReward({ value }: msgWithdrawDelegatorRewardParams): EncodeObject;
75
76
  msgCommunityPoolSpend({ value }: msgCommunityPoolSpendParams): EncodeObject;
76
- msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
77
- msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject;
78
- msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): EncodeObject;
79
77
  msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
78
+ msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject;
79
+ msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
80
80
  };
81
81
  interface QueryClientOptions {
82
82
  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 { 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,29 +3,29 @@ 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 { MsgVote } from "./types/cosmos/gov/v1/tx";
7
- import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
8
6
  import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
9
7
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
8
+ import { MsgVote } from "./types/cosmos/gov/v1/tx";
9
+ import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
10
10
  import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
11
- export { MsgVote, MsgUpdateParams, MsgDeposit, MsgVoteWeighted, MsgSubmitProposal };
12
- type sendMsgVoteParams = {
13
- value: MsgVote;
11
+ export { MsgDeposit, MsgVoteWeighted, MsgVote, MsgUpdateParams, MsgSubmitProposal };
12
+ type sendMsgDepositParams = {
13
+ value: MsgDeposit;
14
14
  fee?: StdFee;
15
15
  memo?: string;
16
16
  };
17
- type sendMsgUpdateParamsParams = {
18
- value: MsgUpdateParams;
17
+ type sendMsgVoteWeightedParams = {
18
+ value: MsgVoteWeighted;
19
19
  fee?: StdFee;
20
20
  memo?: string;
21
21
  };
22
- type sendMsgDepositParams = {
23
- value: MsgDeposit;
22
+ type sendMsgVoteParams = {
23
+ value: MsgVote;
24
24
  fee?: StdFee;
25
25
  memo?: string;
26
26
  };
27
- type sendMsgVoteWeightedParams = {
28
- value: MsgVoteWeighted;
27
+ type sendMsgUpdateParamsParams = {
28
+ value: MsgUpdateParams;
29
29
  fee?: StdFee;
30
30
  memo?: string;
31
31
  };
@@ -34,18 +34,18 @@ type sendMsgSubmitProposalParams = {
34
34
  fee?: StdFee;
35
35
  memo?: string;
36
36
  };
37
- type msgVoteParams = {
38
- value: MsgVote;
39
- };
40
- type msgUpdateParamsParams = {
41
- value: MsgUpdateParams;
42
- };
43
37
  type msgDepositParams = {
44
38
  value: MsgDeposit;
45
39
  };
46
40
  type msgVoteWeightedParams = {
47
41
  value: MsgVoteWeighted;
48
42
  };
43
+ type msgVoteParams = {
44
+ value: MsgVote;
45
+ };
46
+ type msgUpdateParamsParams = {
47
+ value: MsgUpdateParams;
48
+ };
49
49
  type msgSubmitProposalParams = {
50
50
  value: MsgSubmitProposal;
51
51
  };
@@ -56,15 +56,15 @@ interface TxClientOptions {
56
56
  signer?: OfflineSigner;
57
57
  }
58
58
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
59
- sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
60
- sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
61
59
  sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
62
60
  sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
61
+ sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
62
+ sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
63
63
  sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
64
- msgVote({ value }: msgVoteParams): EncodeObject;
65
- msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
66
64
  msgDeposit({ value }: msgDepositParams): EncodeObject;
67
65
  msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
66
+ msgVote({ value }: msgVoteParams): EncodeObject;
67
+ msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
68
68
  msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
69
69
  };
70
70
  interface QueryClientOptions {