@iconlake/client 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
7
- import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
6
+ import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
7
+ import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
8
8
  import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
9
9
  import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
10
+ import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
11
+ import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
12
+ import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
13
+ import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
14
+ import { MsgVote } from "./types/cosmos/group/v1/tx";
10
15
  import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
11
16
  import { MsgExec } from "./types/cosmos/group/v1/tx";
12
17
  import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
13
- import { MsgVote } from "./types/cosmos/group/v1/tx";
14
18
  import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
15
- import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
16
19
  import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
17
- import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
18
- import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
19
- import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
20
- export { MsgUpdateGroupAdmin, MsgCreateGroupPolicy, MsgSubmitProposal, MsgLeaveGroup, MsgUpdateGroupMembers, MsgExec, MsgCreateGroup, MsgVote, MsgUpdateGroupMetadata, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyMetadata, MsgWithdrawProposal, MsgCreateGroupWithPolicy };
21
- type sendMsgUpdateGroupAdminParams = {
22
- value: MsgUpdateGroupAdmin;
20
+ export { MsgUpdateGroupPolicyMetadata, MsgWithdrawProposal, MsgSubmitProposal, MsgLeaveGroup, MsgUpdateGroupAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgCreateGroupWithPolicy, MsgCreateGroupPolicy, MsgVote, MsgUpdateGroupMembers, MsgExec, MsgCreateGroup, MsgUpdateGroupMetadata, MsgUpdateGroupPolicyAdmin };
21
+ type sendMsgUpdateGroupPolicyMetadataParams = {
22
+ value: MsgUpdateGroupPolicyMetadata;
23
23
  fee?: StdFee;
24
24
  memo?: string;
25
25
  };
26
- type sendMsgCreateGroupPolicyParams = {
27
- value: MsgCreateGroupPolicy;
26
+ type sendMsgWithdrawProposalParams = {
27
+ value: MsgWithdrawProposal;
28
28
  fee?: StdFee;
29
29
  memo?: string;
30
30
  };
@@ -38,61 +38,61 @@ type sendMsgLeaveGroupParams = {
38
38
  fee?: StdFee;
39
39
  memo?: string;
40
40
  };
41
- type sendMsgUpdateGroupMembersParams = {
42
- value: MsgUpdateGroupMembers;
41
+ type sendMsgUpdateGroupAdminParams = {
42
+ value: MsgUpdateGroupAdmin;
43
43
  fee?: StdFee;
44
44
  memo?: string;
45
45
  };
46
- type sendMsgExecParams = {
47
- value: MsgExec;
46
+ type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
47
+ value: MsgUpdateGroupPolicyDecisionPolicy;
48
48
  fee?: StdFee;
49
49
  memo?: string;
50
50
  };
51
- type sendMsgCreateGroupParams = {
52
- value: MsgCreateGroup;
51
+ type sendMsgCreateGroupWithPolicyParams = {
52
+ value: MsgCreateGroupWithPolicy;
53
53
  fee?: StdFee;
54
54
  memo?: string;
55
55
  };
56
- type sendMsgVoteParams = {
57
- value: MsgVote;
56
+ type sendMsgCreateGroupPolicyParams = {
57
+ value: MsgCreateGroupPolicy;
58
58
  fee?: StdFee;
59
59
  memo?: string;
60
60
  };
61
- type sendMsgUpdateGroupMetadataParams = {
62
- value: MsgUpdateGroupMetadata;
61
+ type sendMsgVoteParams = {
62
+ value: MsgVote;
63
63
  fee?: StdFee;
64
64
  memo?: string;
65
65
  };
66
- type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
67
- value: MsgUpdateGroupPolicyDecisionPolicy;
66
+ type sendMsgUpdateGroupMembersParams = {
67
+ value: MsgUpdateGroupMembers;
68
68
  fee?: StdFee;
69
69
  memo?: string;
70
70
  };
71
- type sendMsgUpdateGroupPolicyAdminParams = {
72
- value: MsgUpdateGroupPolicyAdmin;
71
+ type sendMsgExecParams = {
72
+ value: MsgExec;
73
73
  fee?: StdFee;
74
74
  memo?: string;
75
75
  };
76
- type sendMsgUpdateGroupPolicyMetadataParams = {
77
- value: MsgUpdateGroupPolicyMetadata;
76
+ type sendMsgCreateGroupParams = {
77
+ value: MsgCreateGroup;
78
78
  fee?: StdFee;
79
79
  memo?: string;
80
80
  };
81
- type sendMsgWithdrawProposalParams = {
82
- value: MsgWithdrawProposal;
81
+ type sendMsgUpdateGroupMetadataParams = {
82
+ value: MsgUpdateGroupMetadata;
83
83
  fee?: StdFee;
84
84
  memo?: string;
85
85
  };
86
- type sendMsgCreateGroupWithPolicyParams = {
87
- value: MsgCreateGroupWithPolicy;
86
+ type sendMsgUpdateGroupPolicyAdminParams = {
87
+ value: MsgUpdateGroupPolicyAdmin;
88
88
  fee?: StdFee;
89
89
  memo?: string;
90
90
  };
91
- type msgUpdateGroupAdminParams = {
92
- value: MsgUpdateGroupAdmin;
91
+ type msgUpdateGroupPolicyMetadataParams = {
92
+ value: MsgUpdateGroupPolicyMetadata;
93
93
  };
94
- type msgCreateGroupPolicyParams = {
95
- value: MsgCreateGroupPolicy;
94
+ type msgWithdrawProposalParams = {
95
+ value: MsgWithdrawProposal;
96
96
  };
97
97
  type msgSubmitProposalParams = {
98
98
  value: MsgSubmitProposal;
@@ -100,6 +100,21 @@ type msgSubmitProposalParams = {
100
100
  type msgLeaveGroupParams = {
101
101
  value: MsgLeaveGroup;
102
102
  };
103
+ type msgUpdateGroupAdminParams = {
104
+ value: MsgUpdateGroupAdmin;
105
+ };
106
+ type msgUpdateGroupPolicyDecisionPolicyParams = {
107
+ value: MsgUpdateGroupPolicyDecisionPolicy;
108
+ };
109
+ type msgCreateGroupWithPolicyParams = {
110
+ value: MsgCreateGroupWithPolicy;
111
+ };
112
+ type msgCreateGroupPolicyParams = {
113
+ value: MsgCreateGroupPolicy;
114
+ };
115
+ type msgVoteParams = {
116
+ value: MsgVote;
117
+ };
103
118
  type msgUpdateGroupMembersParams = {
104
119
  value: MsgUpdateGroupMembers;
105
120
  };
@@ -109,27 +124,12 @@ type msgExecParams = {
109
124
  type msgCreateGroupParams = {
110
125
  value: MsgCreateGroup;
111
126
  };
112
- type msgVoteParams = {
113
- value: MsgVote;
114
- };
115
127
  type msgUpdateGroupMetadataParams = {
116
128
  value: MsgUpdateGroupMetadata;
117
129
  };
118
- type msgUpdateGroupPolicyDecisionPolicyParams = {
119
- value: MsgUpdateGroupPolicyDecisionPolicy;
120
- };
121
130
  type msgUpdateGroupPolicyAdminParams = {
122
131
  value: MsgUpdateGroupPolicyAdmin;
123
132
  };
124
- type msgUpdateGroupPolicyMetadataParams = {
125
- value: MsgUpdateGroupPolicyMetadata;
126
- };
127
- type msgWithdrawProposalParams = {
128
- value: MsgWithdrawProposal;
129
- };
130
- type msgCreateGroupWithPolicyParams = {
131
- value: MsgCreateGroupWithPolicy;
132
- };
133
133
  export declare const registry: Registry;
134
134
  interface TxClientOptions {
135
135
  addr: string;
@@ -137,34 +137,34 @@ interface TxClientOptions {
137
137
  signer?: OfflineSigner;
138
138
  }
139
139
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
140
- sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
141
- sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
140
+ sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
141
+ sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
142
142
  sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
143
143
  sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
144
+ sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
145
+ sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
146
+ sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
147
+ sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
148
+ sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
144
149
  sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
145
150
  sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
146
151
  sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
147
- sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
148
152
  sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
149
- sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
150
153
  sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
151
- sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
152
- sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
153
- sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
154
- msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
155
- msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
154
+ msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
155
+ msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
156
156
  msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
157
157
  msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
158
+ msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
159
+ msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
160
+ msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
161
+ msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
162
+ msgVote({ value }: msgVoteParams): EncodeObject;
158
163
  msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
159
164
  msgExec({ value }: msgExecParams): EncodeObject;
160
165
  msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
161
- msgVote({ value }: msgVoteParams): EncodeObject;
162
166
  msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
163
- msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
164
167
  msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
165
- msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
166
- msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
167
- msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
168
168
  };
169
169
  interface QueryClientOptions {
170
170
  addr: string;
@@ -3,15 +3,20 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
3
3
  import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
4
4
  import { IgniteClient } from "../client";
5
5
  import { Api } from "./rest";
6
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
6
+ import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
7
+ import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
7
8
  import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
8
9
  import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
9
10
  import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
10
- import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
11
- import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
12
- export { MsgCancelUnbondingDelegation, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgBeginRedelegate, MsgCreateValidator };
13
- type sendMsgCancelUnbondingDelegationParams = {
14
- value: MsgCancelUnbondingDelegation;
11
+ import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
12
+ export { MsgCreateValidator, MsgBeginRedelegate, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgCancelUnbondingDelegation };
13
+ type sendMsgCreateValidatorParams = {
14
+ value: MsgCreateValidator;
15
+ fee?: StdFee;
16
+ memo?: string;
17
+ };
18
+ type sendMsgBeginRedelegateParams = {
19
+ value: MsgBeginRedelegate;
15
20
  fee?: StdFee;
16
21
  memo?: string;
17
22
  };
@@ -30,18 +35,16 @@ type sendMsgUndelegateParams = {
30
35
  fee?: StdFee;
31
36
  memo?: string;
32
37
  };
33
- type sendMsgBeginRedelegateParams = {
34
- value: MsgBeginRedelegate;
38
+ type sendMsgCancelUnbondingDelegationParams = {
39
+ value: MsgCancelUnbondingDelegation;
35
40
  fee?: StdFee;
36
41
  memo?: string;
37
42
  };
38
- type sendMsgCreateValidatorParams = {
43
+ type msgCreateValidatorParams = {
39
44
  value: MsgCreateValidator;
40
- fee?: StdFee;
41
- memo?: string;
42
45
  };
43
- type msgCancelUnbondingDelegationParams = {
44
- value: MsgCancelUnbondingDelegation;
46
+ type msgBeginRedelegateParams = {
47
+ value: MsgBeginRedelegate;
45
48
  };
46
49
  type msgDelegateParams = {
47
50
  value: MsgDelegate;
@@ -52,11 +55,8 @@ type msgEditValidatorParams = {
52
55
  type msgUndelegateParams = {
53
56
  value: MsgUndelegate;
54
57
  };
55
- type msgBeginRedelegateParams = {
56
- value: MsgBeginRedelegate;
57
- };
58
- type msgCreateValidatorParams = {
59
- value: MsgCreateValidator;
58
+ type msgCancelUnbondingDelegationParams = {
59
+ value: MsgCancelUnbondingDelegation;
60
60
  };
61
61
  export declare const registry: Registry;
62
62
  interface TxClientOptions {
@@ -65,18 +65,18 @@ interface TxClientOptions {
65
65
  signer?: OfflineSigner;
66
66
  }
67
67
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
68
- sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
68
+ sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
69
+ sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
69
70
  sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
70
71
  sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
71
72
  sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
72
- sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
73
- sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
74
- msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
73
+ sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
74
+ msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
75
+ msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
75
76
  msgDelegate({ value }: msgDelegateParams): EncodeObject;
76
77
  msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
77
78
  msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
78
- msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
79
- msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
79
+ msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
80
80
  };
81
81
  interface QueryClientOptions {
82
82
  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 { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
7
- import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
6
  import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
- export { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount };
10
- type sendMsgCreatePeriodicVestingAccountParams = {
11
- value: MsgCreatePeriodicVestingAccount;
7
+ import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
8
+ import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
9
+ export { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount };
10
+ type sendMsgCreateVestingAccountParams = {
11
+ value: MsgCreateVestingAccount;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
@@ -17,19 +17,19 @@ type sendMsgCreatePermanentLockedAccountParams = {
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
20
- type sendMsgCreateVestingAccountParams = {
21
- value: MsgCreateVestingAccount;
20
+ type sendMsgCreatePeriodicVestingAccountParams = {
21
+ value: MsgCreatePeriodicVestingAccount;
22
22
  fee?: StdFee;
23
23
  memo?: string;
24
24
  };
25
- type msgCreatePeriodicVestingAccountParams = {
26
- value: MsgCreatePeriodicVestingAccount;
25
+ type msgCreateVestingAccountParams = {
26
+ value: MsgCreateVestingAccount;
27
27
  };
28
28
  type msgCreatePermanentLockedAccountParams = {
29
29
  value: MsgCreatePermanentLockedAccount;
30
30
  };
31
- type msgCreateVestingAccountParams = {
32
- value: MsgCreateVestingAccount;
31
+ type msgCreatePeriodicVestingAccountParams = {
32
+ value: MsgCreatePeriodicVestingAccount;
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
- sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
42
- sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
43
41
  sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
44
- msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
45
- msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
42
+ sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
43
+ sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
46
44
  msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
45
+ msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
46
+ msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;
@@ -1,7 +1,7 @@
1
1
  export interface DropInfo {
2
2
  address?: string;
3
3
  /** @format int64 */
4
- lastMintTime?: string;
4
+ last_mint_time?: string;
5
5
  }
6
6
  export interface DropMsgMintResponse {
7
7
  /**
@@ -12,12 +12,19 @@ export interface DropMsgMintResponse {
12
12
  */
13
13
  amount?: V1Beta1Coin;
14
14
  /** @format int64 */
15
- lastMintTime?: string;
15
+ last_mint_time?: string;
16
16
  }
17
17
  /**
18
18
  * Params defines the parameters for the module.
19
19
  */
20
- export type DropParams = object;
20
+ export interface DropParams {
21
+ /** @format int64 */
22
+ init_amount?: string;
23
+ /** @format int64 */
24
+ min_amount_per_mint?: string;
25
+ /** @format int64 */
26
+ max_amount_per_mint?: string;
27
+ }
21
28
  export interface DropQueryAllInfoResponse {
22
29
  info?: DropInfo[];
23
30
  /**
@@ -174,6 +181,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
174
181
  *
175
182
  * @tags Query
176
183
  * @name QueryInfoAll
184
+ * @summary Queries a list of all Info items.
177
185
  * @request GET:/iconlake/drop/info
178
186
  */
179
187
  queryInfoAll: (query?: {
@@ -188,7 +196,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
188
196
  *
189
197
  * @tags Query
190
198
  * @name QueryInfo
191
- * @summary Queries a list of Info items.
199
+ * @summary Queries a Info item by address.
192
200
  * @request GET:/iconlake/drop/info/{address}
193
201
  */
194
202
  queryInfo: (address: string, params?: RequestParams) => Promise<AxiosResponse<DropQueryGetInfoResponse>>;
@@ -13,13 +13,25 @@ export declare const GenesisState: {
13
13
  fromJSON(object: any): GenesisState;
14
14
  toJSON(message: GenesisState): unknown;
15
15
  fromPartial<I extends {
16
- params?: {};
16
+ params?: {
17
+ initAmount?: number;
18
+ minAmountPerMint?: number;
19
+ maxAmountPerMint?: number;
20
+ };
17
21
  infoList?: {
18
22
  address?: string;
19
23
  lastMintTime?: number;
20
24
  }[];
21
25
  } & {
22
- params?: {} & {} & { [K in Exclude<keyof I["params"], never>]: never; };
26
+ params?: {
27
+ initAmount?: number;
28
+ minAmountPerMint?: number;
29
+ maxAmountPerMint?: number;
30
+ } & {
31
+ initAmount?: number;
32
+ minAmountPerMint?: number;
33
+ maxAmountPerMint?: number;
34
+ } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
23
35
  infoList?: {
24
36
  address?: string;
25
37
  lastMintTime?: number;
@@ -2,13 +2,24 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "iconlake.drop";
3
3
  /** Params defines the parameters for the module. */
4
4
  export interface Params {
5
+ initAmount: number;
6
+ minAmountPerMint: number;
7
+ maxAmountPerMint: number;
5
8
  }
6
9
  export declare const Params: {
7
- encode(_: Params, writer?: _m0.Writer): _m0.Writer;
10
+ encode(message: Params, writer?: _m0.Writer): _m0.Writer;
8
11
  decode(input: _m0.Reader | Uint8Array, length?: number): Params;
9
- fromJSON(_: any): Params;
10
- toJSON(_: Params): unknown;
11
- fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): Params;
12
+ fromJSON(object: any): Params;
13
+ toJSON(message: Params): unknown;
14
+ fromPartial<I extends {
15
+ initAmount?: number;
16
+ minAmountPerMint?: number;
17
+ maxAmountPerMint?: number;
18
+ } & {
19
+ initAmount?: number;
20
+ minAmountPerMint?: number;
21
+ maxAmountPerMint?: number;
22
+ } & { [K in Exclude<keyof I, keyof Params>]: never; }>(object: I): Params;
12
23
  };
13
24
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
14
25
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
@@ -37,9 +37,21 @@ export declare const QueryParamsResponse: {
37
37
  fromJSON(object: any): QueryParamsResponse;
38
38
  toJSON(message: QueryParamsResponse): unknown;
39
39
  fromPartial<I extends {
40
- params?: {};
40
+ params?: {
41
+ initAmount?: number;
42
+ minAmountPerMint?: number;
43
+ maxAmountPerMint?: number;
44
+ };
41
45
  } & {
42
- params?: {} & {} & { [K in Exclude<keyof I["params"], never>]: never; };
46
+ params?: {
47
+ initAmount?: number;
48
+ minAmountPerMint?: number;
49
+ maxAmountPerMint?: number;
50
+ } & {
51
+ initAmount?: number;
52
+ minAmountPerMint?: number;
53
+ maxAmountPerMint?: number;
54
+ } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
43
55
  } & { [K_1 in Exclude<keyof I, "params">]: never; }>(object: I): QueryParamsResponse;
44
56
  };
45
57
  export declare const QueryGetInfoRequest: {
@@ -143,8 +155,9 @@ export declare const QueryAllInfoResponse: {
143
155
  export interface Query {
144
156
  /** Parameters queries the parameters of the module. */
145
157
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
146
- /** Queries a list of Info items. */
158
+ /** Queries a Info item by address. */
147
159
  Info(request: QueryGetInfoRequest): Promise<QueryGetInfoResponse>;
160
+ /** Queries a list of all Info items. */
148
161
  InfoAll(request: QueryAllInfoRequest): Promise<QueryAllInfoResponse>;
149
162
  }
150
163
  export declare class QueryClientImpl implements Query {
@@ -3,11 +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 { MsgMint } from "./types/iconlake/icon/tx";
6
+ import { MsgBurn } from "./types/iconlake/icon/tx";
7
7
  import { MsgUpdateClass } from "./types/iconlake/icon/tx";
8
- export { MsgMint, MsgUpdateClass };
9
- type sendMsgMintParams = {
10
- value: MsgMint;
8
+ import { MsgMint } from "./types/iconlake/icon/tx";
9
+ export { MsgBurn, MsgUpdateClass, MsgMint };
10
+ type sendMsgBurnParams = {
11
+ value: MsgBurn;
11
12
  fee?: StdFee;
12
13
  memo?: string;
13
14
  };
@@ -16,12 +17,20 @@ type sendMsgUpdateClassParams = {
16
17
  fee?: StdFee;
17
18
  memo?: string;
18
19
  };
19
- type msgMintParams = {
20
+ type sendMsgMintParams = {
20
21
  value: MsgMint;
22
+ fee?: StdFee;
23
+ memo?: string;
24
+ };
25
+ type msgBurnParams = {
26
+ value: MsgBurn;
21
27
  };
22
28
  type msgUpdateClassParams = {
23
29
  value: MsgUpdateClass;
24
30
  };
31
+ type msgMintParams = {
32
+ value: MsgMint;
33
+ };
25
34
  export declare const registry: Registry;
26
35
  interface TxClientOptions {
27
36
  addr: string;
@@ -29,10 +38,12 @@ interface TxClientOptions {
29
38
  signer?: OfflineSigner;
30
39
  }
31
40
  export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
32
- sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
41
+ sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
33
42
  sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
34
- msgMint({ value }: msgMintParams): EncodeObject;
43
+ sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
44
+ msgBurn({ value }: msgBurnParams): EncodeObject;
35
45
  msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
46
+ msgMint({ value }: msgMintParams): EncodeObject;
36
47
  };
37
48
  interface QueryClientOptions {
38
49
  addr: string;
@@ -1,15 +1,16 @@
1
1
  export interface IconClassData {
2
2
  author?: string;
3
3
  /** @format int64 */
4
- createTime?: string;
4
+ create_time?: string;
5
5
  }
6
6
  export interface IconIconData {
7
7
  author?: string;
8
8
  name?: string;
9
9
  description?: string;
10
10
  /** @format int64 */
11
- createTime?: string;
11
+ create_time?: string;
12
12
  }
13
+ export type IconMsgBurnResponse = object;
13
14
  export type IconMsgMintResponse = object;
14
15
  export type IconMsgUpdateClassResponse = object;
15
16
  /**
@@ -17,12 +18,12 @@ export type IconMsgUpdateClassResponse = object;
17
18
  */
18
19
  export type IconParams = object;
19
20
  export interface IconQueryHashRequest {
20
- hashType?: string;
21
+ hash_type?: string;
21
22
  uri?: string;
22
23
  }
23
24
  export interface IconQueryHashResponse {
24
- graphHash?: string;
25
- fileHash?: string;
25
+ graph_hash?: string;
26
+ file_hash?: string;
26
27
  }
27
28
  /**
28
29
  * QueryParamsResponse is response type for the Query/Params RPC method.
@@ -37,14 +38,14 @@ export interface IconlakeiconClass {
37
38
  symbol?: string;
38
39
  description?: string;
39
40
  uri?: string;
40
- uriHash?: string;
41
+ uri_hash?: string;
41
42
  data?: IconClassData;
42
43
  }
43
44
  export interface IconlakeiconNFT {
44
- classId?: string;
45
+ class_id?: string;
45
46
  id?: string;
46
47
  uri?: string;
47
- uriHash?: string;
48
+ uri_hash?: string;
48
49
  data?: IconIconData;
49
50
  }
50
51
  export interface IconlakeiconQueryClassResponse {
@@ -351,7 +352,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
351
352
  * @request GET:/iconlake/icon/nft
352
353
  */
353
354
  queryNFT: (query?: {
354
- classId?: string;
355
+ class_id?: string;
355
356
  id?: string;
356
357
  }, params?: RequestParams) => Promise<AxiosResponse<IconlakeiconQueryNFTResponse>>;
357
358
  /**