@iconlake/client 0.5.0 → 1.0.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 (40) hide show
  1. package/dist/index.iife.js +4 -4
  2. package/dist/index.js +4 -4
  3. package/dist/index.mjs +5085 -4940
  4. package/dist/index.umd.js +4 -4
  5. package/package.json +2 -2
  6. package/types/amino.d.ts +32 -0
  7. package/types/client.d.ts +2 -0
  8. package/types/cosmos.authz.v1beta1/module.d.ts +10 -10
  9. package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
  10. package/types/cosmos.distribution.v1beta1/module.d.ts +26 -26
  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.gov.v1beta1/module.d.ts +15 -15
  14. package/types/cosmos.group.v1/module.d.ts +78 -78
  15. package/types/cosmos.staking.v1beta1/module.d.ts +33 -33
  16. package/types/cosmos.vesting.v1beta1/module.d.ts +10 -10
  17. package/types/iconlake.drop/module.d.ts +12 -1
  18. package/types/iconlake.drop/rest.d.ts +1 -0
  19. package/types/iconlake.drop/types/iconlake/drop/tx.d.ts +58 -0
  20. package/types/iconlake.icon/module.d.ts +10 -10
  21. package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +20 -3
  22. package/types/index.d.ts +208 -200
  23. package/types/iconlake.iconlake/index.d.ts +0 -5
  24. package/types/iconlake.iconlake/module.d.ts +0 -44
  25. package/types/iconlake.iconlake/registry.d.ts +0 -3
  26. package/types/iconlake.iconlake/rest.d.ts +0 -196
  27. package/types/iconlake.iconlake/types/amino/amino.d.ts +0 -1
  28. package/types/iconlake.iconlake/types/cosmos/base/query/v1beta1/pagination.d.ts +0 -108
  29. package/types/iconlake.iconlake/types/cosmos/base/v1beta1/coin.d.ts +0 -89
  30. package/types/iconlake.iconlake/types/cosmos_proto/cosmos.d.ts +0 -98
  31. package/types/iconlake.iconlake/types/gogoproto/gogo.d.ts +0 -1
  32. package/types/iconlake.iconlake/types/google/api/annotations.d.ts +0 -1
  33. package/types/iconlake.iconlake/types/google/api/http.d.ts +0 -1634
  34. package/types/iconlake.iconlake/types/google/protobuf/descriptor.d.ts +0 -50957
  35. package/types/iconlake.iconlake/types/iconlake/iconlake/account.d.ts +0 -30
  36. package/types/iconlake.iconlake/types/iconlake/iconlake/genesis.d.ts +0 -48
  37. package/types/iconlake.iconlake/types/iconlake/iconlake/params.d.ts +0 -23
  38. package/types/iconlake.iconlake/types/iconlake/iconlake/query.d.ts +0 -170
  39. package/types/iconlake.iconlake/types/iconlake/iconlake/tx.d.ts +0 -66
  40. package/types/iconlake.iconlake/types.d.ts +0 -3
@@ -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 { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
7
+ import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
6
8
  import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
9
+ import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
10
+ import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
11
+ import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
12
+ import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
7
13
  import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
8
14
  import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
9
- import { MsgExec } from "./types/cosmos/group/v1/tx";
10
- import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
15
+ import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
11
16
  import { MsgCreateGroupWithPolicy } 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";
17
+ import { MsgExec } from "./types/cosmos/group/v1/tx";
16
18
  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";
19
- import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
20
- export { MsgLeaveGroup, MsgCreateGroup, MsgUpdateGroupPolicyMetadata, MsgExec, MsgUpdateGroupAdmin, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgWithdrawProposal, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupMetadata, MsgVote, MsgSubmitProposal, MsgCreateGroupPolicy, MsgUpdateGroupMembers };
21
- type sendMsgLeaveGroupParams = {
22
- value: MsgLeaveGroup;
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;
23
23
  fee?: StdFee;
24
24
  memo?: string;
25
25
  };
26
- type sendMsgCreateGroupParams = {
27
- value: MsgCreateGroup;
26
+ type sendMsgUpdateGroupPolicyAdminParams = {
27
+ value: MsgUpdateGroupPolicyAdmin;
28
28
  fee?: StdFee;
29
29
  memo?: string;
30
30
  };
31
- type sendMsgUpdateGroupPolicyMetadataParams = {
32
- value: MsgUpdateGroupPolicyMetadata;
31
+ type sendMsgLeaveGroupParams = {
32
+ value: MsgLeaveGroup;
33
33
  fee?: StdFee;
34
34
  memo?: string;
35
35
  };
36
- type sendMsgExecParams = {
37
- value: MsgExec;
36
+ type sendMsgUpdateGroupMetadataParams = {
37
+ value: MsgUpdateGroupMetadata;
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 sendMsgCreateGroupWithPolicyParams = {
47
- value: MsgCreateGroupWithPolicy;
46
+ type sendMsgUpdateGroupMembersParams = {
47
+ value: MsgUpdateGroupMembers;
48
48
  fee?: StdFee;
49
49
  memo?: string;
50
50
  };
51
- type sendMsgUpdateGroupPolicyAdminParams = {
52
- value: MsgUpdateGroupPolicyAdmin;
51
+ type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
52
+ value: MsgUpdateGroupPolicyDecisionPolicy;
53
53
  fee?: StdFee;
54
54
  memo?: string;
55
55
  };
56
- type sendMsgWithdrawProposalParams = {
57
- value: MsgWithdrawProposal;
56
+ type sendMsgCreateGroupParams = {
57
+ value: MsgCreateGroup;
58
58
  fee?: StdFee;
59
59
  memo?: string;
60
60
  };
61
- type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
62
- value: MsgUpdateGroupPolicyDecisionPolicy;
61
+ type sendMsgUpdateGroupPolicyMetadataParams = {
62
+ value: MsgUpdateGroupPolicyMetadata;
63
63
  fee?: StdFee;
64
64
  memo?: string;
65
65
  };
66
- type sendMsgUpdateGroupMetadataParams = {
67
- value: MsgUpdateGroupMetadata;
66
+ type sendMsgSubmitProposalParams = {
67
+ value: MsgSubmitProposal;
68
68
  fee?: StdFee;
69
69
  memo?: string;
70
70
  };
71
- type sendMsgVoteParams = {
72
- value: MsgVote;
71
+ type sendMsgCreateGroupWithPolicyParams = {
72
+ value: MsgCreateGroupWithPolicy;
73
73
  fee?: StdFee;
74
74
  memo?: string;
75
75
  };
76
- type sendMsgSubmitProposalParams = {
77
- value: MsgSubmitProposal;
76
+ type sendMsgExecParams = {
77
+ value: MsgExec;
78
78
  fee?: StdFee;
79
79
  memo?: string;
80
80
  };
81
- type sendMsgCreateGroupPolicyParams = {
82
- value: MsgCreateGroupPolicy;
81
+ type sendMsgVoteParams = {
82
+ value: MsgVote;
83
83
  fee?: StdFee;
84
84
  memo?: string;
85
85
  };
86
- type sendMsgUpdateGroupMembersParams = {
87
- value: MsgUpdateGroupMembers;
86
+ type sendMsgWithdrawProposalParams = {
87
+ value: MsgWithdrawProposal;
88
88
  fee?: StdFee;
89
89
  memo?: string;
90
90
  };
91
- type msgLeaveGroupParams = {
92
- value: MsgLeaveGroup;
91
+ type msgCreateGroupPolicyParams = {
92
+ value: MsgCreateGroupPolicy;
93
93
  };
94
- type msgCreateGroupParams = {
95
- value: MsgCreateGroup;
94
+ type msgUpdateGroupPolicyAdminParams = {
95
+ value: MsgUpdateGroupPolicyAdmin;
96
96
  };
97
- type msgUpdateGroupPolicyMetadataParams = {
98
- value: MsgUpdateGroupPolicyMetadata;
97
+ type msgLeaveGroupParams = {
98
+ value: MsgLeaveGroup;
99
99
  };
100
- type msgExecParams = {
101
- value: MsgExec;
100
+ type msgUpdateGroupMetadataParams = {
101
+ value: MsgUpdateGroupMetadata;
102
102
  };
103
103
  type msgUpdateGroupAdminParams = {
104
104
  value: MsgUpdateGroupAdmin;
105
105
  };
106
- type msgCreateGroupWithPolicyParams = {
107
- value: MsgCreateGroupWithPolicy;
108
- };
109
- type msgUpdateGroupPolicyAdminParams = {
110
- value: MsgUpdateGroupPolicyAdmin;
111
- };
112
- type msgWithdrawProposalParams = {
113
- value: MsgWithdrawProposal;
106
+ type msgUpdateGroupMembersParams = {
107
+ value: MsgUpdateGroupMembers;
114
108
  };
115
109
  type msgUpdateGroupPolicyDecisionPolicyParams = {
116
110
  value: MsgUpdateGroupPolicyDecisionPolicy;
117
111
  };
118
- type msgUpdateGroupMetadataParams = {
119
- value: MsgUpdateGroupMetadata;
112
+ type msgCreateGroupParams = {
113
+ value: MsgCreateGroup;
120
114
  };
121
- type msgVoteParams = {
122
- value: MsgVote;
115
+ type msgUpdateGroupPolicyMetadataParams = {
116
+ value: MsgUpdateGroupPolicyMetadata;
123
117
  };
124
118
  type msgSubmitProposalParams = {
125
119
  value: MsgSubmitProposal;
126
120
  };
127
- type msgCreateGroupPolicyParams = {
128
- value: MsgCreateGroupPolicy;
121
+ type msgCreateGroupWithPolicyParams = {
122
+ value: MsgCreateGroupWithPolicy;
129
123
  };
130
- type msgUpdateGroupMembersParams = {
131
- value: MsgUpdateGroupMembers;
124
+ type msgExecParams = {
125
+ value: MsgExec;
126
+ };
127
+ type msgVoteParams = {
128
+ value: MsgVote;
129
+ };
130
+ type msgWithdrawProposalParams = {
131
+ value: MsgWithdrawProposal;
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
+ sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
141
+ sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
140
142
  sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
143
+ sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
144
+ sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
145
+ sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
146
+ sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
141
147
  sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
142
148
  sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
143
- sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
144
- sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
149
+ sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
145
150
  sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): 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>;
151
+ sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
150
152
  sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
151
- sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
152
- sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
153
- sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
153
+ sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
154
+ msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
155
+ msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
154
156
  msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
157
+ msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
158
+ msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
159
+ msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
160
+ msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
155
161
  msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
156
162
  msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
157
- msgExec({ value }: msgExecParams): EncodeObject;
158
- msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
163
+ msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
159
164
  msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
160
- msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
161
- msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
162
- msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
163
- msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
165
+ msgExec({ value }: msgExecParams): EncodeObject;
164
166
  msgVote({ value }: msgVoteParams): EncodeObject;
165
- msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
166
- msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
167
- msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
167
+ msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
168
168
  };
169
169
  interface QueryClientOptions {
170
170
  addr: string;
@@ -3,25 +3,15 @@ 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";
7
- import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
8
- import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
9
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
10
6
  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";
11
9
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
12
- export { MsgCancelUnbondingDelegation, MsgCreateValidator, MsgEditValidator, MsgBeginRedelegate, MsgDelegate, MsgUndelegate };
13
- type sendMsgCancelUnbondingDelegationParams = {
14
- value: MsgCancelUnbondingDelegation;
15
- fee?: StdFee;
16
- memo?: string;
17
- };
18
- type sendMsgCreateValidatorParams = {
19
- value: MsgCreateValidator;
20
- fee?: StdFee;
21
- memo?: string;
22
- };
23
- type sendMsgEditValidatorParams = {
24
- value: MsgEditValidator;
10
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
11
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
12
+ export { MsgDelegate, MsgBeginRedelegate, MsgEditValidator, MsgUndelegate, MsgCancelUnbondingDelegation, MsgCreateValidator };
13
+ type sendMsgDelegateParams = {
14
+ value: MsgDelegate;
25
15
  fee?: StdFee;
26
16
  memo?: string;
27
17
  };
@@ -30,8 +20,8 @@ type sendMsgBeginRedelegateParams = {
30
20
  fee?: StdFee;
31
21
  memo?: string;
32
22
  };
33
- type sendMsgDelegateParams = {
34
- value: MsgDelegate;
23
+ type sendMsgEditValidatorParams = {
24
+ value: MsgEditValidator;
35
25
  fee?: StdFee;
36
26
  memo?: string;
37
27
  };
@@ -40,24 +30,34 @@ type sendMsgUndelegateParams = {
40
30
  fee?: StdFee;
41
31
  memo?: string;
42
32
  };
43
- type msgCancelUnbondingDelegationParams = {
33
+ type sendMsgCancelUnbondingDelegationParams = {
44
34
  value: MsgCancelUnbondingDelegation;
35
+ fee?: StdFee;
36
+ memo?: string;
45
37
  };
46
- type msgCreateValidatorParams = {
38
+ type sendMsgCreateValidatorParams = {
47
39
  value: MsgCreateValidator;
40
+ fee?: StdFee;
41
+ memo?: string;
48
42
  };
49
- type msgEditValidatorParams = {
50
- value: MsgEditValidator;
43
+ type msgDelegateParams = {
44
+ value: MsgDelegate;
51
45
  };
52
46
  type msgBeginRedelegateParams = {
53
47
  value: MsgBeginRedelegate;
54
48
  };
55
- type msgDelegateParams = {
56
- value: MsgDelegate;
49
+ type msgEditValidatorParams = {
50
+ value: MsgEditValidator;
57
51
  };
58
52
  type msgUndelegateParams = {
59
53
  value: MsgUndelegate;
60
54
  };
55
+ type msgCancelUnbondingDelegationParams = {
56
+ value: MsgCancelUnbondingDelegation;
57
+ };
58
+ type msgCreateValidatorParams = {
59
+ value: MsgCreateValidator;
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>;
69
- sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
70
- sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
71
- sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
72
68
  sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
69
+ sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
70
+ sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
73
71
  sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
74
- msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
75
- msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
76
- msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
77
- msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
72
+ sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
73
+ sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
78
74
  msgDelegate({ value }: msgDelegateParams): EncodeObject;
75
+ msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
76
+ msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
79
77
  msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
78
+ msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
79
+ msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
80
80
  };
81
81
  interface QueryClientOptions {
82
82
  addr: string;
@@ -3,10 +3,15 @@ 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";
6
7
  import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
7
8
  import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
- import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
- export { MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount };
9
+ export { MsgCreatePermanentLockedAccount, MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount };
10
+ type sendMsgCreatePermanentLockedAccountParams = {
11
+ value: MsgCreatePermanentLockedAccount;
12
+ fee?: StdFee;
13
+ memo?: string;
14
+ };
10
15
  type sendMsgCreateVestingAccountParams = {
11
16
  value: MsgCreateVestingAccount;
12
17
  fee?: StdFee;
@@ -17,10 +22,8 @@ type sendMsgCreatePeriodicVestingAccountParams = {
17
22
  fee?: StdFee;
18
23
  memo?: string;
19
24
  };
20
- type sendMsgCreatePermanentLockedAccountParams = {
25
+ type msgCreatePermanentLockedAccountParams = {
21
26
  value: MsgCreatePermanentLockedAccount;
22
- fee?: StdFee;
23
- memo?: string;
24
27
  };
25
28
  type msgCreateVestingAccountParams = {
26
29
  value: MsgCreateVestingAccount;
@@ -28,9 +31,6 @@ type msgCreateVestingAccountParams = {
28
31
  type msgCreatePeriodicVestingAccountParams = {
29
32
  value: MsgCreatePeriodicVestingAccount;
30
33
  };
31
- type msgCreatePermanentLockedAccountParams = {
32
- value: MsgCreatePermanentLockedAccount;
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
+ sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
41
42
  sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
42
43
  sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
43
- sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
44
+ msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
44
45
  msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
45
46
  msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
46
- msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;
@@ -3,9 +3,15 @@ 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";
6
7
  import { MsgInit } from "./types/iconlake/drop/tx";
7
8
  import { MsgMint } from "./types/iconlake/drop/tx";
8
- export { MsgInit, MsgMint };
9
+ export { MsgUpdateParams, MsgInit, MsgMint };
10
+ type sendMsgUpdateParamsParams = {
11
+ value: MsgUpdateParams;
12
+ fee?: StdFee;
13
+ memo?: string;
14
+ };
9
15
  type sendMsgInitParams = {
10
16
  value: MsgInit;
11
17
  fee?: StdFee;
@@ -16,6 +22,9 @@ type sendMsgMintParams = {
16
22
  fee?: StdFee;
17
23
  memo?: string;
18
24
  };
25
+ type msgUpdateParamsParams = {
26
+ value: MsgUpdateParams;
27
+ };
19
28
  type msgInitParams = {
20
29
  value: MsgInit;
21
30
  };
@@ -29,8 +38,10 @@ interface TxClientOptions {
29
38
  signer?: OfflineSigner;
30
39
  }
31
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
41
+ sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
32
42
  sendMsgInit({ value, fee, memo }: sendMsgInitParams): Promise<DeliverTxResponse>;
33
43
  sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
44
+ msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
34
45
  msgInit({ value }: msgInitParams): EncodeObject;
35
46
  msgMint({ value }: msgMintParams): EncodeObject;
36
47
  };
@@ -14,6 +14,7 @@ export interface DropMsgMintResponse {
14
14
  /** @format int64 */
15
15
  last_mint_time?: string;
16
16
  }
17
+ export type DropMsgUpdateParamsResponse = object;
17
18
  /**
18
19
  * Params defines the parameters for the module.
19
20
  */
@@ -1,5 +1,6 @@
1
1
  import _m0 from "protobufjs/minimal";
2
2
  import { Coin } from "../../cosmos/base/v1beta1/coin";
3
+ import { Params } from "./params";
3
4
  export declare const protobufPackage = "iconlake.drop";
4
5
  export interface MsgMint {
5
6
  creator: string;
@@ -13,6 +14,12 @@ export interface MsgInit {
13
14
  creator: string;
14
15
  address: string;
15
16
  }
17
+ export interface MsgUpdateParams {
18
+ authority: string;
19
+ params: Params | undefined;
20
+ }
21
+ export interface MsgUpdateParamsResponse {
22
+ }
16
23
  export declare const MsgMint: {
17
24
  encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
18
25
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
@@ -70,16 +77,50 @@ export declare const MsgInit: {
70
77
  address?: string;
71
78
  } & { [K in Exclude<keyof I, keyof MsgInit>]: never; }>(object: I): MsgInit;
72
79
  };
80
+ export declare const MsgUpdateParams: {
81
+ encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
82
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
83
+ fromJSON(object: any): MsgUpdateParams;
84
+ toJSON(message: MsgUpdateParams): unknown;
85
+ fromPartial<I extends {
86
+ authority?: string;
87
+ params?: {
88
+ initAmount?: number;
89
+ minAmountPerMint?: number;
90
+ maxAmountPerMint?: number;
91
+ };
92
+ } & {
93
+ authority?: string;
94
+ params?: {
95
+ initAmount?: number;
96
+ minAmountPerMint?: number;
97
+ maxAmountPerMint?: number;
98
+ } & {
99
+ initAmount?: number;
100
+ minAmountPerMint?: number;
101
+ maxAmountPerMint?: number;
102
+ } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
103
+ } & { [K_1 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(object: I): MsgUpdateParams;
104
+ };
105
+ export declare const MsgUpdateParamsResponse: {
106
+ encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
107
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
108
+ fromJSON(_: any): MsgUpdateParamsResponse;
109
+ toJSON(_: MsgUpdateParamsResponse): unknown;
110
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateParamsResponse;
111
+ };
73
112
  /** Msg defines the Msg service. */
74
113
  export interface Msg {
75
114
  Mint(request: MsgMint): Promise<MsgMintResponse>;
76
115
  Init(request: MsgInit): Promise<MsgMintResponse>;
116
+ UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
77
117
  }
78
118
  export declare class MsgClientImpl implements Msg {
79
119
  private readonly rpc;
80
120
  constructor(rpc: Rpc);
81
121
  Mint(request: MsgMint): Promise<MsgMintResponse>;
82
122
  Init(request: MsgInit): Promise<MsgMintResponse>;
123
+ UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
83
124
  }
84
125
  interface Rpc {
85
126
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
@@ -94,4 +135,21 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
94
135
  } & {
95
136
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
96
137
  };
138
+ export declare function createDropAminoConverters(): {
139
+ "/iconlake.drop.MsgMint": {
140
+ aminoType: string;
141
+ toAmino: ({ creator, amount }: MsgMint) => unknown;
142
+ fromAmino: ({ creator, amount }: any) => MsgMint;
143
+ };
144
+ "/iconlake.drop.MsgInit": {
145
+ aminoType: string;
146
+ toAmino: ({ creator, address }: MsgInit) => unknown;
147
+ fromAmino: ({ creator, address }: any) => MsgInit;
148
+ };
149
+ "/iconlake.drop.MsgUpdateParams": {
150
+ aminoType: string;
151
+ toAmino: ({ authority, params }: MsgUpdateParams) => unknown;
152
+ fromAmino: ({ authority, params }: any) => MsgUpdateParams;
153
+ };
154
+ };
97
155
  export {};
@@ -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 { MsgMint } from "./types/iconlake/icon/tx";
7
6
  import { MsgUpdateClass } from "./types/iconlake/icon/tx";
8
7
  import { MsgBurn } from "./types/iconlake/icon/tx";
9
- export { MsgMint, MsgUpdateClass, MsgBurn };
10
- type sendMsgMintParams = {
11
- value: MsgMint;
12
- fee?: StdFee;
13
- memo?: string;
14
- };
8
+ import { MsgMint } from "./types/iconlake/icon/tx";
9
+ export { MsgUpdateClass, MsgBurn, MsgMint };
15
10
  type sendMsgUpdateClassParams = {
16
11
  value: MsgUpdateClass;
17
12
  fee?: StdFee;
@@ -22,8 +17,10 @@ type sendMsgBurnParams = {
22
17
  fee?: StdFee;
23
18
  memo?: string;
24
19
  };
25
- type msgMintParams = {
20
+ type sendMsgMintParams = {
26
21
  value: MsgMint;
22
+ fee?: StdFee;
23
+ memo?: string;
27
24
  };
28
25
  type msgUpdateClassParams = {
29
26
  value: MsgUpdateClass;
@@ -31,6 +28,9 @@ type msgUpdateClassParams = {
31
28
  type msgBurnParams = {
32
29
  value: MsgBurn;
33
30
  };
31
+ type msgMintParams = {
32
+ value: MsgMint;
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
- sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
42
41
  sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
43
42
  sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
44
- msgMint({ value }: msgMintParams): EncodeObject;
43
+ sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
45
44
  msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
46
45
  msgBurn({ value }: msgBurnParams): EncodeObject;
46
+ msgMint({ value }: msgMintParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;
@@ -8,7 +8,7 @@ export interface MsgMint {
8
8
  description: string;
9
9
  uri: string;
10
10
  uriHash: string;
11
- supply: number;
11
+ supply: string;
12
12
  }
13
13
  export interface MsgMintResponse {
14
14
  }
@@ -43,7 +43,7 @@ export declare const MsgMint: {
43
43
  description?: string;
44
44
  uri?: string;
45
45
  uriHash?: string;
46
- supply?: number;
46
+ supply?: string;
47
47
  } & {
48
48
  creator?: string;
49
49
  classId?: string;
@@ -52,7 +52,7 @@ export declare const MsgMint: {
52
52
  description?: string;
53
53
  uri?: string;
54
54
  uriHash?: string;
55
- supply?: number;
55
+ supply?: string;
56
56
  } & { [K in Exclude<keyof I, keyof MsgMint>]: never; }>(object: I): MsgMint;
57
57
  };
58
58
  export declare const MsgMintResponse: {
@@ -140,4 +140,21 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
140
140
  } & {
141
141
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
142
142
  };
143
+ export declare function createIconAminoConverters(): {
144
+ '/iconlake.icon.MsgMint': {
145
+ aminoType: string;
146
+ fromAmino(object: any): MsgMint;
147
+ toAmino(message: MsgMint): unknown;
148
+ };
149
+ '/iconlake.icon.MsgBurn': {
150
+ aminoType: string;
151
+ fromAmino(object: any): MsgBurn;
152
+ toAmino(message: MsgBurn): unknown;
153
+ };
154
+ '/iconlake.icon.MsgUpdateClass': {
155
+ aminoType: string;
156
+ fromAmino(object: any): MsgUpdateClass;
157
+ toAmino(message: MsgUpdateClass): unknown;
158
+ };
159
+ };
143
160
  export {};