@iconlake/client 0.4.0 → 0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iconlake/client",
3
- "version": "0.4.0",
3
+ "version": "0.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@8.14.0",
25
+ "packageManager": "pnpm@8.15.4",
26
26
  "dependencies": {
27
27
  "axios": "^0.21.4",
28
28
  "buffer": "^6.0.3",
@@ -3,15 +3,10 @@ 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 { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
7
6
  import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx";
8
7
  import { MsgExec } from "./types/cosmos/authz/v1beta1/tx";
9
- export { MsgRevoke, MsgGrant, MsgExec };
10
- type sendMsgRevokeParams = {
11
- value: MsgRevoke;
12
- fee?: StdFee;
13
- memo?: string;
14
- };
8
+ import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx";
9
+ export { MsgGrant, MsgExec, MsgRevoke };
15
10
  type sendMsgGrantParams = {
16
11
  value: MsgGrant;
17
12
  fee?: StdFee;
@@ -22,8 +17,10 @@ type sendMsgExecParams = {
22
17
  fee?: StdFee;
23
18
  memo?: string;
24
19
  };
25
- type msgRevokeParams = {
20
+ type sendMsgRevokeParams = {
26
21
  value: MsgRevoke;
22
+ fee?: StdFee;
23
+ memo?: string;
27
24
  };
28
25
  type msgGrantParams = {
29
26
  value: MsgGrant;
@@ -31,6 +28,9 @@ type msgGrantParams = {
31
28
  type msgExecParams = {
32
29
  value: MsgExec;
33
30
  };
31
+ type msgRevokeParams = {
32
+ value: MsgRevoke;
33
+ };
34
34
  export declare const registry: Registry;
35
35
  interface TxClientOptions {
36
36
  addr: string;
@@ -38,12 +38,12 @@ interface TxClientOptions {
38
38
  signer?: OfflineSigner;
39
39
  }
40
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
41
- sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise<DeliverTxResponse>;
42
41
  sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise<DeliverTxResponse>;
43
42
  sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
44
- msgRevoke({ value }: msgRevokeParams): EncodeObject;
43
+ sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise<DeliverTxResponse>;
45
44
  msgGrant({ value }: msgGrantParams): EncodeObject;
46
45
  msgExec({ value }: msgExecParams): EncodeObject;
46
+ msgRevoke({ value }: msgRevokeParams): 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 { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
6
7
  import { MsgCommunityPoolSpend } from "./types/cosmos/distribution/v1beta1/tx";
7
8
  import { MsgWithdrawDelegatorReward } from "./types/cosmos/distribution/v1beta1/tx";
9
+ import { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx";
8
10
  import { MsgUpdateParams } from "./types/cosmos/distribution/v1beta1/tx";
9
11
  import { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx";
10
- import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx";
11
- import { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx";
12
- export { MsgCommunityPoolSpend, MsgWithdrawDelegatorReward, MsgUpdateParams, MsgSetWithdrawAddress, MsgFundCommunityPool, MsgWithdrawValidatorCommission };
12
+ export { MsgFundCommunityPool, MsgCommunityPoolSpend, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgUpdateParams, MsgSetWithdrawAddress };
13
+ type sendMsgFundCommunityPoolParams = {
14
+ value: MsgFundCommunityPool;
15
+ fee?: StdFee;
16
+ memo?: string;
17
+ };
13
18
  type sendMsgCommunityPoolSpendParams = {
14
19
  value: MsgCommunityPoolSpend;
15
20
  fee?: StdFee;
@@ -20,6 +25,11 @@ type sendMsgWithdrawDelegatorRewardParams = {
20
25
  fee?: StdFee;
21
26
  memo?: string;
22
27
  };
28
+ type sendMsgWithdrawValidatorCommissionParams = {
29
+ value: MsgWithdrawValidatorCommission;
30
+ fee?: StdFee;
31
+ memo?: string;
32
+ };
23
33
  type sendMsgUpdateParamsParams = {
24
34
  value: MsgUpdateParams;
25
35
  fee?: StdFee;
@@ -30,15 +40,8 @@ type sendMsgSetWithdrawAddressParams = {
30
40
  fee?: StdFee;
31
41
  memo?: string;
32
42
  };
33
- type sendMsgFundCommunityPoolParams = {
43
+ type msgFundCommunityPoolParams = {
34
44
  value: MsgFundCommunityPool;
35
- fee?: StdFee;
36
- memo?: string;
37
- };
38
- type sendMsgWithdrawValidatorCommissionParams = {
39
- value: MsgWithdrawValidatorCommission;
40
- fee?: StdFee;
41
- memo?: string;
42
45
  };
43
46
  type msgCommunityPoolSpendParams = {
44
47
  value: MsgCommunityPoolSpend;
@@ -46,18 +49,15 @@ type msgCommunityPoolSpendParams = {
46
49
  type msgWithdrawDelegatorRewardParams = {
47
50
  value: MsgWithdrawDelegatorReward;
48
51
  };
52
+ type msgWithdrawValidatorCommissionParams = {
53
+ value: MsgWithdrawValidatorCommission;
54
+ };
49
55
  type msgUpdateParamsParams = {
50
56
  value: MsgUpdateParams;
51
57
  };
52
58
  type msgSetWithdrawAddressParams = {
53
59
  value: MsgSetWithdrawAddress;
54
60
  };
55
- type msgFundCommunityPoolParams = {
56
- value: MsgFundCommunityPool;
57
- };
58
- type msgWithdrawValidatorCommissionParams = {
59
- value: MsgWithdrawValidatorCommission;
60
- };
61
61
  export declare const registry: Registry;
62
62
  interface TxClientOptions {
63
63
  addr: string;
@@ -65,18 +65,18 @@ interface TxClientOptions {
65
65
  signer?: OfflineSigner;
66
66
  }
67
67
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
68
+ sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
68
69
  sendMsgCommunityPoolSpend({ value, fee, memo }: sendMsgCommunityPoolSpendParams): Promise<DeliverTxResponse>;
69
70
  sendMsgWithdrawDelegatorReward({ value, fee, memo }: sendMsgWithdrawDelegatorRewardParams): Promise<DeliverTxResponse>;
71
+ sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise<DeliverTxResponse>;
70
72
  sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
71
73
  sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise<DeliverTxResponse>;
72
- sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise<DeliverTxResponse>;
73
- sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise<DeliverTxResponse>;
74
+ msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
74
75
  msgCommunityPoolSpend({ value }: msgCommunityPoolSpendParams): EncodeObject;
75
76
  msgWithdrawDelegatorReward({ value }: msgWithdrawDelegatorRewardParams): EncodeObject;
77
+ msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): EncodeObject;
76
78
  msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
77
79
  msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject;
78
- msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject;
79
- msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): EncodeObject;
80
80
  };
81
81
  interface QueryClientOptions {
82
82
  addr: string;
@@ -5,10 +5,10 @@ import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
6
  import { MsgVote } from "./types/cosmos/gov/v1/tx";
7
7
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1/tx";
8
+ import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
8
9
  import { MsgUpdateParams } from "./types/cosmos/gov/v1/tx";
9
10
  import { MsgDeposit } from "./types/cosmos/gov/v1/tx";
10
- import { MsgSubmitProposal } from "./types/cosmos/gov/v1/tx";
11
- export { MsgVote, MsgVoteWeighted, MsgUpdateParams, MsgDeposit, MsgSubmitProposal };
11
+ export { MsgVote, MsgVoteWeighted, MsgSubmitProposal, MsgUpdateParams, MsgDeposit };
12
12
  type sendMsgVoteParams = {
13
13
  value: MsgVote;
14
14
  fee?: StdFee;
@@ -19,6 +19,11 @@ type sendMsgVoteWeightedParams = {
19
19
  fee?: StdFee;
20
20
  memo?: string;
21
21
  };
22
+ type sendMsgSubmitProposalParams = {
23
+ value: MsgSubmitProposal;
24
+ fee?: StdFee;
25
+ memo?: string;
26
+ };
22
27
  type sendMsgUpdateParamsParams = {
23
28
  value: MsgUpdateParams;
24
29
  fee?: StdFee;
@@ -29,26 +34,21 @@ type sendMsgDepositParams = {
29
34
  fee?: StdFee;
30
35
  memo?: string;
31
36
  };
32
- type sendMsgSubmitProposalParams = {
33
- value: MsgSubmitProposal;
34
- fee?: StdFee;
35
- memo?: string;
36
- };
37
37
  type msgVoteParams = {
38
38
  value: MsgVote;
39
39
  };
40
40
  type msgVoteWeightedParams = {
41
41
  value: MsgVoteWeighted;
42
42
  };
43
+ type msgSubmitProposalParams = {
44
+ value: MsgSubmitProposal;
45
+ };
43
46
  type msgUpdateParamsParams = {
44
47
  value: MsgUpdateParams;
45
48
  };
46
49
  type msgDepositParams = {
47
50
  value: MsgDeposit;
48
51
  };
49
- type msgSubmitProposalParams = {
50
- value: MsgSubmitProposal;
51
- };
52
52
  export declare const registry: Registry;
53
53
  interface TxClientOptions {
54
54
  addr: string;
@@ -58,14 +58,14 @@ interface TxClientOptions {
58
58
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
59
59
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
60
60
  sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
61
+ sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
61
62
  sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
62
63
  sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
63
- sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
64
64
  msgVote({ value }: msgVoteParams): EncodeObject;
65
65
  msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
66
+ msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
66
67
  msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
67
68
  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 { MsgDeposit } from "./types/cosmos/gov/v1beta1/tx";
8
7
  import { MsgVote } from "./types/cosmos/gov/v1beta1/tx";
9
8
  import { MsgVoteWeighted } from "./types/cosmos/gov/v1beta1/tx";
10
- export { MsgSubmitProposal, MsgDeposit, MsgVote, MsgVoteWeighted };
9
+ import { MsgDeposit } from "./types/cosmos/gov/v1beta1/tx";
10
+ export { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit };
11
11
  type sendMsgSubmitProposalParams = {
12
12
  value: MsgSubmitProposal;
13
13
  fee?: StdFee;
14
14
  memo?: string;
15
15
  };
16
- type sendMsgDepositParams = {
17
- value: MsgDeposit;
18
- fee?: StdFee;
19
- memo?: string;
20
- };
21
16
  type sendMsgVoteParams = {
22
17
  value: MsgVote;
23
18
  fee?: StdFee;
@@ -28,18 +23,23 @@ type sendMsgVoteWeightedParams = {
28
23
  fee?: StdFee;
29
24
  memo?: string;
30
25
  };
26
+ type sendMsgDepositParams = {
27
+ value: MsgDeposit;
28
+ fee?: StdFee;
29
+ memo?: string;
30
+ };
31
31
  type msgSubmitProposalParams = {
32
32
  value: MsgSubmitProposal;
33
33
  };
34
- type msgDepositParams = {
35
- value: MsgDeposit;
36
- };
37
34
  type msgVoteParams = {
38
35
  value: MsgVote;
39
36
  };
40
37
  type msgVoteWeightedParams = {
41
38
  value: MsgVoteWeighted;
42
39
  };
40
+ type msgDepositParams = {
41
+ value: MsgDeposit;
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
- sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
52
51
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
53
52
  sendMsgVoteWeighted({ value, fee, memo }: sendMsgVoteWeightedParams): Promise<DeliverTxResponse>;
53
+ sendMsgDeposit({ value, fee, memo }: sendMsgDepositParams): Promise<DeliverTxResponse>;
54
54
  msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
55
- msgDeposit({ value }: msgDepositParams): EncodeObject;
56
55
  msgVote({ value }: msgVoteParams): EncodeObject;
57
56
  msgVoteWeighted({ value }: msgVoteWeightedParams): EncodeObject;
57
+ msgDeposit({ value }: msgDepositParams): EncodeObject;
58
58
  };
59
59
  interface QueryClientOptions {
60
60
  addr: string;
@@ -3,38 +3,38 @@ 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 { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
7
- import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
8
- import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
9
6
  import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
7
+ import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
8
+ import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
9
+ import { MsgExec } from "./types/cosmos/group/v1/tx";
10
10
  import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
11
- import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
12
11
  import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
13
- import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
12
+ import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
13
+ import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
14
+ import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
15
+ import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
14
16
  import { MsgVote } from "./types/cosmos/group/v1/tx";
17
+ import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
18
+ import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
15
19
  import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
16
- import { MsgExec } from "./types/cosmos/group/v1/tx";
17
- import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
18
- import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
19
- import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
20
- export { MsgUpdateGroupPolicyMetadata, MsgWithdrawProposal, MsgSubmitProposal, MsgLeaveGroup, MsgUpdateGroupAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgCreateGroupWithPolicy, MsgCreateGroupPolicy, MsgVote, MsgUpdateGroupMembers, MsgExec, MsgCreateGroup, MsgUpdateGroupMetadata, MsgUpdateGroupPolicyAdmin };
21
- type sendMsgUpdateGroupPolicyMetadataParams = {
22
- value: MsgUpdateGroupPolicyMetadata;
20
+ export { MsgLeaveGroup, MsgCreateGroup, MsgUpdateGroupPolicyMetadata, MsgExec, MsgUpdateGroupAdmin, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgWithdrawProposal, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupMetadata, MsgVote, MsgSubmitProposal, MsgCreateGroupPolicy, MsgUpdateGroupMembers };
21
+ type sendMsgLeaveGroupParams = {
22
+ value: MsgLeaveGroup;
23
23
  fee?: StdFee;
24
24
  memo?: string;
25
25
  };
26
- type sendMsgWithdrawProposalParams = {
27
- value: MsgWithdrawProposal;
26
+ type sendMsgCreateGroupParams = {
27
+ value: MsgCreateGroup;
28
28
  fee?: StdFee;
29
29
  memo?: string;
30
30
  };
31
- type sendMsgSubmitProposalParams = {
32
- value: MsgSubmitProposal;
31
+ type sendMsgUpdateGroupPolicyMetadataParams = {
32
+ value: MsgUpdateGroupPolicyMetadata;
33
33
  fee?: StdFee;
34
34
  memo?: string;
35
35
  };
36
- type sendMsgLeaveGroupParams = {
37
- value: MsgLeaveGroup;
36
+ type sendMsgExecParams = {
37
+ value: MsgExec;
38
38
  fee?: StdFee;
39
39
  memo?: string;
40
40
  };
@@ -43,92 +43,92 @@ type sendMsgUpdateGroupAdminParams = {
43
43
  fee?: StdFee;
44
44
  memo?: string;
45
45
  };
46
- type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
47
- value: MsgUpdateGroupPolicyDecisionPolicy;
46
+ type sendMsgCreateGroupWithPolicyParams = {
47
+ value: MsgCreateGroupWithPolicy;
48
48
  fee?: StdFee;
49
49
  memo?: string;
50
50
  };
51
- type sendMsgCreateGroupWithPolicyParams = {
52
- value: MsgCreateGroupWithPolicy;
51
+ type sendMsgUpdateGroupPolicyAdminParams = {
52
+ value: MsgUpdateGroupPolicyAdmin;
53
53
  fee?: StdFee;
54
54
  memo?: string;
55
55
  };
56
- type sendMsgCreateGroupPolicyParams = {
57
- value: MsgCreateGroupPolicy;
56
+ type sendMsgWithdrawProposalParams = {
57
+ value: MsgWithdrawProposal;
58
58
  fee?: StdFee;
59
59
  memo?: string;
60
60
  };
61
- type sendMsgVoteParams = {
62
- value: MsgVote;
61
+ type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
62
+ value: MsgUpdateGroupPolicyDecisionPolicy;
63
63
  fee?: StdFee;
64
64
  memo?: string;
65
65
  };
66
- type sendMsgUpdateGroupMembersParams = {
67
- value: MsgUpdateGroupMembers;
66
+ type sendMsgUpdateGroupMetadataParams = {
67
+ value: MsgUpdateGroupMetadata;
68
68
  fee?: StdFee;
69
69
  memo?: string;
70
70
  };
71
- type sendMsgExecParams = {
72
- value: MsgExec;
71
+ type sendMsgVoteParams = {
72
+ value: MsgVote;
73
73
  fee?: StdFee;
74
74
  memo?: string;
75
75
  };
76
- type sendMsgCreateGroupParams = {
77
- value: MsgCreateGroup;
76
+ type sendMsgSubmitProposalParams = {
77
+ value: MsgSubmitProposal;
78
78
  fee?: StdFee;
79
79
  memo?: string;
80
80
  };
81
- type sendMsgUpdateGroupMetadataParams = {
82
- value: MsgUpdateGroupMetadata;
81
+ type sendMsgCreateGroupPolicyParams = {
82
+ value: MsgCreateGroupPolicy;
83
83
  fee?: StdFee;
84
84
  memo?: string;
85
85
  };
86
- type sendMsgUpdateGroupPolicyAdminParams = {
87
- value: MsgUpdateGroupPolicyAdmin;
86
+ type sendMsgUpdateGroupMembersParams = {
87
+ value: MsgUpdateGroupMembers;
88
88
  fee?: StdFee;
89
89
  memo?: string;
90
90
  };
91
- type msgUpdateGroupPolicyMetadataParams = {
92
- value: MsgUpdateGroupPolicyMetadata;
91
+ type msgLeaveGroupParams = {
92
+ value: MsgLeaveGroup;
93
93
  };
94
- type msgWithdrawProposalParams = {
95
- value: MsgWithdrawProposal;
94
+ type msgCreateGroupParams = {
95
+ value: MsgCreateGroup;
96
96
  };
97
- type msgSubmitProposalParams = {
98
- value: MsgSubmitProposal;
97
+ type msgUpdateGroupPolicyMetadataParams = {
98
+ value: MsgUpdateGroupPolicyMetadata;
99
99
  };
100
- type msgLeaveGroupParams = {
101
- value: MsgLeaveGroup;
100
+ type msgExecParams = {
101
+ value: MsgExec;
102
102
  };
103
103
  type msgUpdateGroupAdminParams = {
104
104
  value: MsgUpdateGroupAdmin;
105
105
  };
106
- type msgUpdateGroupPolicyDecisionPolicyParams = {
107
- value: MsgUpdateGroupPolicyDecisionPolicy;
108
- };
109
106
  type msgCreateGroupWithPolicyParams = {
110
107
  value: MsgCreateGroupWithPolicy;
111
108
  };
112
- type msgCreateGroupPolicyParams = {
113
- value: MsgCreateGroupPolicy;
114
- };
115
- type msgVoteParams = {
116
- value: MsgVote;
117
- };
118
- type msgUpdateGroupMembersParams = {
119
- value: MsgUpdateGroupMembers;
109
+ type msgUpdateGroupPolicyAdminParams = {
110
+ value: MsgUpdateGroupPolicyAdmin;
120
111
  };
121
- type msgExecParams = {
122
- value: MsgExec;
112
+ type msgWithdrawProposalParams = {
113
+ value: MsgWithdrawProposal;
123
114
  };
124
- type msgCreateGroupParams = {
125
- value: MsgCreateGroup;
115
+ type msgUpdateGroupPolicyDecisionPolicyParams = {
116
+ value: MsgUpdateGroupPolicyDecisionPolicy;
126
117
  };
127
118
  type msgUpdateGroupMetadataParams = {
128
119
  value: MsgUpdateGroupMetadata;
129
120
  };
130
- type msgUpdateGroupPolicyAdminParams = {
131
- value: MsgUpdateGroupPolicyAdmin;
121
+ type msgVoteParams = {
122
+ value: MsgVote;
123
+ };
124
+ type msgSubmitProposalParams = {
125
+ value: MsgSubmitProposal;
126
+ };
127
+ type msgCreateGroupPolicyParams = {
128
+ value: MsgCreateGroupPolicy;
129
+ };
130
+ type msgUpdateGroupMembersParams = {
131
+ value: MsgUpdateGroupMembers;
132
132
  };
133
133
  export declare const registry: Registry;
134
134
  interface TxClientOptions {
@@ -137,34 +137,34 @@ interface TxClientOptions {
137
137
  signer?: OfflineSigner;
138
138
  }
139
139
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
140
- sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
141
- sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
142
- sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
143
140
  sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
141
+ sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
142
+ sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
143
+ sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
144
144
  sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
145
- sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
146
145
  sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
147
- sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
146
+ sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
147
+ sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
148
+ sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
149
+ sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
148
150
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
151
+ sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
152
+ sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
149
153
  sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
150
- sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
151
- sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
152
- sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
153
- sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
154
- msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
155
- msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
156
- msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
157
154
  msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
155
+ msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
156
+ msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
157
+ msgExec({ value }: msgExecParams): EncodeObject;
158
158
  msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
159
- msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
160
159
  msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
161
- msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
160
+ msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
161
+ msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
162
+ msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
163
+ msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
162
164
  msgVote({ value }: msgVoteParams): EncodeObject;
165
+ msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
166
+ msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
163
167
  msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
164
- msgExec({ value }: msgExecParams): EncodeObject;
165
- msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
166
- msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
167
- msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
168
168
  };
169
169
  interface QueryClientOptions {
170
170
  addr: string;