@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
@@ -3,28 +3,28 @@ 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 { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
7
- import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
8
- import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
9
6
  import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
7
+ import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
8
+ import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
9
+ import { MsgVote } from "./types/cosmos/group/v1/tx";
10
+ import { MsgExec } from "./types/cosmos/group/v1/tx";
11
+ import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
12
+ import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
10
13
  import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
14
+ import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
11
15
  import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
16
+ import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
12
17
  import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
13
- import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
14
- import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
15
18
  import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
16
- import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
17
- import { MsgExec } from "./types/cosmos/group/v1/tx";
18
- import { MsgVote } from "./types/cosmos/group/v1/tx";
19
19
  import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
20
- export { MsgCreateGroupPolicy, MsgUpdateGroupPolicyAdmin, MsgLeaveGroup, MsgUpdateGroupMetadata, MsgUpdateGroupAdmin, MsgUpdateGroupMembers, MsgUpdateGroupPolicyDecisionPolicy, MsgCreateGroup, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgCreateGroupWithPolicy, MsgExec, MsgVote, MsgWithdrawProposal };
21
- type sendMsgCreateGroupPolicyParams = {
22
- value: MsgCreateGroupPolicy;
20
+ export { MsgUpdateGroupMetadata, MsgCreateGroupWithPolicy, MsgLeaveGroup, MsgVote, MsgExec, MsgCreateGroupPolicy, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupAdmin, MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgSubmitProposal, MsgWithdrawProposal };
21
+ type sendMsgUpdateGroupMetadataParams = {
22
+ value: MsgUpdateGroupMetadata;
23
23
  fee?: StdFee;
24
24
  memo?: string;
25
25
  };
26
- type sendMsgUpdateGroupPolicyAdminParams = {
27
- value: MsgUpdateGroupPolicyAdmin;
26
+ type sendMsgCreateGroupWithPolicyParams = {
27
+ value: MsgCreateGroupWithPolicy;
28
28
  fee?: StdFee;
29
29
  memo?: string;
30
30
  };
@@ -33,53 +33,53 @@ type sendMsgLeaveGroupParams = {
33
33
  fee?: StdFee;
34
34
  memo?: string;
35
35
  };
36
- type sendMsgUpdateGroupMetadataParams = {
37
- value: MsgUpdateGroupMetadata;
36
+ type sendMsgVoteParams = {
37
+ value: MsgVote;
38
38
  fee?: StdFee;
39
39
  memo?: string;
40
40
  };
41
- type sendMsgUpdateGroupAdminParams = {
42
- value: MsgUpdateGroupAdmin;
41
+ type sendMsgExecParams = {
42
+ value: MsgExec;
43
43
  fee?: StdFee;
44
44
  memo?: string;
45
45
  };
46
- type sendMsgUpdateGroupMembersParams = {
47
- value: MsgUpdateGroupMembers;
46
+ type sendMsgCreateGroupPolicyParams = {
47
+ value: MsgCreateGroupPolicy;
48
48
  fee?: StdFee;
49
49
  memo?: string;
50
50
  };
51
- type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
52
- value: MsgUpdateGroupPolicyDecisionPolicy;
51
+ type sendMsgUpdateGroupPolicyMetadataParams = {
52
+ value: MsgUpdateGroupPolicyMetadata;
53
53
  fee?: StdFee;
54
54
  memo?: string;
55
55
  };
56
- type sendMsgCreateGroupParams = {
57
- value: MsgCreateGroup;
56
+ type sendMsgUpdateGroupAdminParams = {
57
+ value: MsgUpdateGroupAdmin;
58
58
  fee?: StdFee;
59
59
  memo?: string;
60
60
  };
61
- type sendMsgUpdateGroupPolicyMetadataParams = {
62
- value: MsgUpdateGroupPolicyMetadata;
61
+ type sendMsgCreateGroupParams = {
62
+ value: MsgCreateGroup;
63
63
  fee?: StdFee;
64
64
  memo?: string;
65
65
  };
66
- type sendMsgSubmitProposalParams = {
67
- value: MsgSubmitProposal;
66
+ type sendMsgUpdateGroupMembersParams = {
67
+ value: MsgUpdateGroupMembers;
68
68
  fee?: StdFee;
69
69
  memo?: string;
70
70
  };
71
- type sendMsgCreateGroupWithPolicyParams = {
72
- value: MsgCreateGroupWithPolicy;
71
+ type sendMsgUpdateGroupPolicyAdminParams = {
72
+ value: MsgUpdateGroupPolicyAdmin;
73
73
  fee?: StdFee;
74
74
  memo?: string;
75
75
  };
76
- type sendMsgExecParams = {
77
- value: MsgExec;
76
+ type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
77
+ value: MsgUpdateGroupPolicyDecisionPolicy;
78
78
  fee?: StdFee;
79
79
  memo?: string;
80
80
  };
81
- type sendMsgVoteParams = {
82
- value: MsgVote;
81
+ type sendMsgSubmitProposalParams = {
82
+ value: MsgSubmitProposal;
83
83
  fee?: StdFee;
84
84
  memo?: string;
85
85
  };
@@ -88,45 +88,45 @@ type sendMsgWithdrawProposalParams = {
88
88
  fee?: StdFee;
89
89
  memo?: string;
90
90
  };
91
- type msgCreateGroupPolicyParams = {
92
- value: MsgCreateGroupPolicy;
91
+ type msgUpdateGroupMetadataParams = {
92
+ value: MsgUpdateGroupMetadata;
93
93
  };
94
- type msgUpdateGroupPolicyAdminParams = {
95
- value: MsgUpdateGroupPolicyAdmin;
94
+ type msgCreateGroupWithPolicyParams = {
95
+ value: MsgCreateGroupWithPolicy;
96
96
  };
97
97
  type msgLeaveGroupParams = {
98
98
  value: MsgLeaveGroup;
99
99
  };
100
- type msgUpdateGroupMetadataParams = {
101
- value: MsgUpdateGroupMetadata;
100
+ type msgVoteParams = {
101
+ value: MsgVote;
102
+ };
103
+ type msgExecParams = {
104
+ value: MsgExec;
105
+ };
106
+ type msgCreateGroupPolicyParams = {
107
+ value: MsgCreateGroupPolicy;
108
+ };
109
+ type msgUpdateGroupPolicyMetadataParams = {
110
+ value: MsgUpdateGroupPolicyMetadata;
102
111
  };
103
112
  type msgUpdateGroupAdminParams = {
104
113
  value: MsgUpdateGroupAdmin;
105
114
  };
115
+ type msgCreateGroupParams = {
116
+ value: MsgCreateGroup;
117
+ };
106
118
  type msgUpdateGroupMembersParams = {
107
119
  value: MsgUpdateGroupMembers;
108
120
  };
121
+ type msgUpdateGroupPolicyAdminParams = {
122
+ value: MsgUpdateGroupPolicyAdmin;
123
+ };
109
124
  type msgUpdateGroupPolicyDecisionPolicyParams = {
110
125
  value: MsgUpdateGroupPolicyDecisionPolicy;
111
126
  };
112
- type msgCreateGroupParams = {
113
- value: MsgCreateGroup;
114
- };
115
- type msgUpdateGroupPolicyMetadataParams = {
116
- value: MsgUpdateGroupPolicyMetadata;
117
- };
118
127
  type msgSubmitProposalParams = {
119
128
  value: MsgSubmitProposal;
120
129
  };
121
- type msgCreateGroupWithPolicyParams = {
122
- value: MsgCreateGroupWithPolicy;
123
- };
124
- type msgExecParams = {
125
- value: MsgExec;
126
- };
127
- type msgVoteParams = {
128
- value: MsgVote;
129
- };
130
130
  type msgWithdrawProposalParams = {
131
131
  value: MsgWithdrawProposal;
132
132
  };
@@ -137,33 +137,33 @@ interface TxClientOptions {
137
137
  signer?: OfflineSigner;
138
138
  }
139
139
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
140
- sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
141
- sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
142
- sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
143
140
  sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
141
+ sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
142
+ sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
143
+ sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
144
+ sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
145
+ sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
146
+ sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
144
147
  sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
148
+ sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
145
149
  sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
150
+ sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
146
151
  sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
147
- sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
148
- sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
149
152
  sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
150
- sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
151
- sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
152
- sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
153
153
  sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
154
- msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
155
- msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
156
- msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
157
154
  msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
155
+ msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
156
+ msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
157
+ msgVote({ value }: msgVoteParams): EncodeObject;
158
+ msgExec({ value }: msgExecParams): EncodeObject;
159
+ msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
160
+ msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
158
161
  msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
162
+ msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
159
163
  msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
164
+ msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
160
165
  msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
161
- msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
162
- msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
163
166
  msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
164
- msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
165
- msgExec({ value }: msgExecParams): EncodeObject;
166
- msgVote({ value }: msgVoteParams): EncodeObject;
167
167
  msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
168
168
  };
169
169
  interface QueryClientOptions {
@@ -3,25 +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 { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
6
7
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
7
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
8
- import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
9
8
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
10
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
9
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
11
10
  import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
12
- export { MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgUndelegate, MsgCancelUnbondingDelegation, MsgCreateValidator };
13
- type sendMsgDelegateParams = {
14
- value: MsgDelegate;
15
- fee?: StdFee;
16
- memo?: string;
17
- };
18
- type sendMsgBeginRedelegateParams = {
19
- value: MsgBeginRedelegate;
11
+ import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
12
+ export { MsgCancelUnbondingDelegation, MsgDelegate, MsgUndelegate, MsgBeginRedelegate, MsgCreateValidator, MsgEditValidator };
13
+ type sendMsgCancelUnbondingDelegationParams = {
14
+ value: MsgCancelUnbondingDelegation;
20
15
  fee?: StdFee;
21
16
  memo?: string;
22
17
  };
23
- type sendMsgEditValidatorParams = {
24
- value: MsgEditValidator;
18
+ type sendMsgDelegateParams = {
19
+ value: MsgDelegate;
25
20
  fee?: StdFee;
26
21
  memo?: string;
27
22
  };
@@ -30,8 +25,8 @@ type sendMsgUndelegateParams = {
30
25
  fee?: StdFee;
31
26
  memo?: string;
32
27
  };
33
- type sendMsgCancelUnbondingDelegationParams = {
34
- value: MsgCancelUnbondingDelegation;
28
+ type sendMsgBeginRedelegateParams = {
29
+ value: MsgBeginRedelegate;
35
30
  fee?: StdFee;
36
31
  memo?: string;
37
32
  };
@@ -40,24 +35,29 @@ type sendMsgCreateValidatorParams = {
40
35
  fee?: StdFee;
41
36
  memo?: string;
42
37
  };
43
- type msgDelegateParams = {
44
- value: MsgDelegate;
38
+ type sendMsgEditValidatorParams = {
39
+ value: MsgEditValidator;
40
+ fee?: StdFee;
41
+ memo?: string;
45
42
  };
46
- type msgBeginRedelegateParams = {
47
- value: MsgBeginRedelegate;
43
+ type msgCancelUnbondingDelegationParams = {
44
+ value: MsgCancelUnbondingDelegation;
48
45
  };
49
- type msgEditValidatorParams = {
50
- value: MsgEditValidator;
46
+ type msgDelegateParams = {
47
+ value: MsgDelegate;
51
48
  };
52
49
  type msgUndelegateParams = {
53
50
  value: MsgUndelegate;
54
51
  };
55
- type msgCancelUnbondingDelegationParams = {
56
- value: MsgCancelUnbondingDelegation;
52
+ type msgBeginRedelegateParams = {
53
+ value: MsgBeginRedelegate;
57
54
  };
58
55
  type msgCreateValidatorParams = {
59
56
  value: MsgCreateValidator;
60
57
  };
58
+ type msgEditValidatorParams = {
59
+ value: MsgEditValidator;
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
+ sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
68
69
  sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
69
- sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
70
- sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
71
70
  sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
72
- sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
71
+ sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
73
72
  sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
73
+ sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
74
+ msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
74
75
  msgDelegate({ value }: msgDelegateParams): EncodeObject;
75
- msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
76
- msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
77
76
  msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
78
- msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
77
+ msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
79
78
  msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
79
+ msgEditValidator({ value }: msgEditValidatorParams): 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 { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
7
6
  import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
8
- export { MsgSoftwareUpgrade, MsgCancelUpgrade };
9
- type sendMsgSoftwareUpgradeParams = {
10
- value: MsgSoftwareUpgrade;
11
- fee?: StdFee;
12
- memo?: string;
13
- };
7
+ import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
8
+ export { MsgCancelUpgrade, MsgSoftwareUpgrade };
14
9
  type sendMsgCancelUpgradeParams = {
15
10
  value: MsgCancelUpgrade;
16
11
  fee?: StdFee;
17
12
  memo?: string;
18
13
  };
19
- type msgSoftwareUpgradeParams = {
14
+ type sendMsgSoftwareUpgradeParams = {
20
15
  value: MsgSoftwareUpgrade;
16
+ fee?: StdFee;
17
+ memo?: string;
21
18
  };
22
19
  type msgCancelUpgradeParams = {
23
20
  value: MsgCancelUpgrade;
24
21
  };
22
+ type msgSoftwareUpgradeParams = {
23
+ value: MsgSoftwareUpgrade;
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
- sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
33
32
  sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
34
- msgSoftwareUpgrade({ value }: msgSoftwareUpgradeParams): EncodeObject;
33
+ sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
35
34
  msgCancelUpgrade({ value }: msgCancelUpgradeParams): EncodeObject;
35
+ msgSoftwareUpgrade({ value }: msgSoftwareUpgradeParams): EncodeObject;
36
36
  };
37
37
  interface QueryClientOptions {
38
38
  addr: string;
@@ -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 { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
7
- import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
6
  import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
- export { MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount };
10
- type sendMsgCreatePermanentLockedAccountParams = {
11
- value: MsgCreatePermanentLockedAccount;
7
+ import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
+ import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
+ export { MsgCreatePeriodicVestingAccount, MsgCreateVestingAccount, MsgCreatePermanentLockedAccount };
10
+ type sendMsgCreatePeriodicVestingAccountParams = {
11
+ value: MsgCreatePeriodicVestingAccount;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
@@ -17,19 +17,19 @@ type sendMsgCreateVestingAccountParams = {
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
20
- type sendMsgCreatePeriodicVestingAccountParams = {
21
- value: MsgCreatePeriodicVestingAccount;
20
+ type sendMsgCreatePermanentLockedAccountParams = {
21
+ value: MsgCreatePermanentLockedAccount;
22
22
  fee?: StdFee;
23
23
  memo?: string;
24
24
  };
25
- type msgCreatePermanentLockedAccountParams = {
26
- value: MsgCreatePermanentLockedAccount;
25
+ type msgCreatePeriodicVestingAccountParams = {
26
+ value: MsgCreatePeriodicVestingAccount;
27
27
  };
28
28
  type msgCreateVestingAccountParams = {
29
29
  value: MsgCreateVestingAccount;
30
30
  };
31
- type msgCreatePeriodicVestingAccountParams = {
32
- value: MsgCreatePeriodicVestingAccount;
31
+ type msgCreatePermanentLockedAccountParams = {
32
+ value: MsgCreatePermanentLockedAccount;
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
- sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
42
- sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
43
41
  sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
44
- msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
45
- msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
42
+ sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
43
+ sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
46
44
  msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
45
+ msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
46
+ msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;
@@ -3,17 +3,17 @@ 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 { MsgUpdateParams } from "./types/iconlake/drop/tx";
7
6
  import { MsgInit } from "./types/iconlake/drop/tx";
7
+ import { MsgUpdateParams } from "./types/iconlake/drop/tx";
8
8
  import { MsgMint } from "./types/iconlake/drop/tx";
9
- export { MsgUpdateParams, MsgInit, MsgMint };
10
- type sendMsgUpdateParamsParams = {
11
- value: MsgUpdateParams;
9
+ export { MsgInit, MsgUpdateParams, MsgMint };
10
+ type sendMsgInitParams = {
11
+ value: MsgInit;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
15
- type sendMsgInitParams = {
16
- value: MsgInit;
15
+ type sendMsgUpdateParamsParams = {
16
+ value: MsgUpdateParams;
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
@@ -22,12 +22,12 @@ type sendMsgMintParams = {
22
22
  fee?: StdFee;
23
23
  memo?: string;
24
24
  };
25
- type msgUpdateParamsParams = {
26
- value: MsgUpdateParams;
27
- };
28
25
  type msgInitParams = {
29
26
  value: MsgInit;
30
27
  };
28
+ type msgUpdateParamsParams = {
29
+ value: MsgUpdateParams;
30
+ };
31
31
  type msgMintParams = {
32
32
  value: MsgMint;
33
33
  };
@@ -38,11 +38,11 @@ interface TxClientOptions {
38
38
  signer?: OfflineSigner;
39
39
  }
40
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
41
- sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
42
41
  sendMsgInit({ value, fee, memo }: sendMsgInitParams): Promise<DeliverTxResponse>;
42
+ sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
43
43
  sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
44
- msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
45
44
  msgInit({ value }: msgInitParams): EncodeObject;
45
+ msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
46
46
  msgMint({ value }: msgMintParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
@@ -4,23 +4,23 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
6
  import { MsgUpdateClass } from "./types/iconlake/icon/tx";
7
- import { MsgUpdateCreator } from "./types/iconlake/icon/tx";
8
7
  import { MsgDeleteCreator } from "./types/iconlake/icon/tx";
9
- import { MsgBurn } from "./types/iconlake/icon/tx";
10
8
  import { MsgMint } from "./types/iconlake/icon/tx";
11
- export { MsgUpdateClass, MsgUpdateCreator, MsgDeleteCreator, MsgBurn, MsgMint };
9
+ import { MsgBurn } from "./types/iconlake/icon/tx";
10
+ import { MsgUpdateCreator } from "./types/iconlake/icon/tx";
11
+ export { MsgUpdateClass, MsgDeleteCreator, MsgMint, MsgBurn, MsgUpdateCreator };
12
12
  type sendMsgUpdateClassParams = {
13
13
  value: MsgUpdateClass;
14
14
  fee?: StdFee;
15
15
  memo?: string;
16
16
  };
17
- type sendMsgUpdateCreatorParams = {
18
- value: MsgUpdateCreator;
17
+ type sendMsgDeleteCreatorParams = {
18
+ value: MsgDeleteCreator;
19
19
  fee?: StdFee;
20
20
  memo?: string;
21
21
  };
22
- type sendMsgDeleteCreatorParams = {
23
- value: MsgDeleteCreator;
22
+ type sendMsgMintParams = {
23
+ value: MsgMint;
24
24
  fee?: StdFee;
25
25
  memo?: string;
26
26
  };
@@ -29,25 +29,25 @@ type sendMsgBurnParams = {
29
29
  fee?: StdFee;
30
30
  memo?: string;
31
31
  };
32
- type sendMsgMintParams = {
33
- value: MsgMint;
32
+ type sendMsgUpdateCreatorParams = {
33
+ value: MsgUpdateCreator;
34
34
  fee?: StdFee;
35
35
  memo?: string;
36
36
  };
37
37
  type msgUpdateClassParams = {
38
38
  value: MsgUpdateClass;
39
39
  };
40
- type msgUpdateCreatorParams = {
41
- value: MsgUpdateCreator;
42
- };
43
40
  type msgDeleteCreatorParams = {
44
41
  value: MsgDeleteCreator;
45
42
  };
43
+ type msgMintParams = {
44
+ value: MsgMint;
45
+ };
46
46
  type msgBurnParams = {
47
47
  value: MsgBurn;
48
48
  };
49
- type msgMintParams = {
50
- value: MsgMint;
49
+ type msgUpdateCreatorParams = {
50
+ value: MsgUpdateCreator;
51
51
  };
52
52
  export declare const registry: Registry;
53
53
  interface TxClientOptions {
@@ -57,15 +57,15 @@ interface TxClientOptions {
57
57
  }
58
58
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
59
59
  sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
60
- sendMsgUpdateCreator({ value, fee, memo }: sendMsgUpdateCreatorParams): Promise<DeliverTxResponse>;
61
60
  sendMsgDeleteCreator({ value, fee, memo }: sendMsgDeleteCreatorParams): Promise<DeliverTxResponse>;
62
- sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
63
61
  sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
62
+ sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
63
+ sendMsgUpdateCreator({ value, fee, memo }: sendMsgUpdateCreatorParams): Promise<DeliverTxResponse>;
64
64
  msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
65
- msgUpdateCreator({ value }: msgUpdateCreatorParams): EncodeObject;
66
65
  msgDeleteCreator({ value }: msgDeleteCreatorParams): EncodeObject;
67
- msgBurn({ value }: msgBurnParams): EncodeObject;
68
66
  msgMint({ value }: msgMintParams): EncodeObject;
67
+ msgBurn({ value }: msgBurnParams): EncodeObject;
68
+ msgUpdateCreator({ value }: msgUpdateCreatorParams): EncodeObject;
69
69
  };
70
70
  interface QueryClientOptions {
71
71
  addr: string;
@@ -9,7 +9,7 @@ export interface MsgMint {
9
9
  description: string;
10
10
  uri: string;
11
11
  uriHash: string;
12
- supply: string;
12
+ supply: number;
13
13
  }
14
14
  export interface MsgMintResponse {
15
15
  }
@@ -62,7 +62,7 @@ export declare const MsgMint: {
62
62
  description?: string;
63
63
  uri?: string;
64
64
  uriHash?: string;
65
- supply?: string;
65
+ supply?: number;
66
66
  } & {
67
67
  creator?: string;
68
68
  classId?: string;
@@ -71,7 +71,7 @@ export declare const MsgMint: {
71
71
  description?: string;
72
72
  uri?: string;
73
73
  uriHash?: string;
74
- supply?: string;
74
+ supply?: number;
75
75
  } & { [K in Exclude<keyof I, keyof MsgMint>]: never; }>(object: I): MsgMint;
76
76
  };
77
77
  export declare const MsgMintResponse: {
@@ -0,0 +1,5 @@
1
+ import Module from './module';
2
+ import { txClient, queryClient, registry } from './module';
3
+ import { msgTypes } from './registry';
4
+ export * from "./types";
5
+ export { Module, msgTypes, txClient, queryClient, registry };