@iconlake/client 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +2143 -2042
- package/dist/index.umd.js +2 -2
- package/package.json +9 -13
- package/types/cosmos.authz.v1beta1/module.d.ts +15 -15
- package/types/cosmos.distribution.v1beta1/module.d.ts +28 -28
- package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
- package/types/cosmos.gov.v1/module.d.ts +25 -25
- package/types/cosmos.gov.v1beta1/module.d.ts +12 -12
- package/types/cosmos.group.v1/module.d.ts +84 -84
- package/types/cosmos.staking.v1beta1/module.d.ts +25 -25
- package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
- package/types/cosmos.vesting.v1beta1/module.d.ts +10 -10
- package/types/iconlake.drop/module.d.ts +10 -10
- package/types/iconlake.drop/rest.d.ts +8 -1
- package/types/iconlake.drop/types/iconlake/drop/genesis.d.ts +14 -2
- package/types/iconlake.drop/types/iconlake/drop/params.d.ts +15 -4
- package/types/iconlake.drop/types/iconlake/drop/query.d.ts +14 -2
- package/types/iconlake.icon/module.d.ts +19 -8
- package/types/iconlake.icon/rest.d.ts +1 -0
- package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +31 -0
- package/types/index.d.ts +158 -150
- package/types.d.ts +0 -0
|
@@ -3,63 +3,58 @@ 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";
|
|
8
|
-
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
9
6
|
import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
|
|
10
|
-
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
11
|
-
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
12
7
|
import { MsgCreateGroup } from "./types/cosmos/group/v1/tx";
|
|
13
|
-
import { MsgVote } from "./types/cosmos/group/v1/tx";
|
|
14
|
-
import { MsgUpdateGroupMetadata } from "./types/cosmos/group/v1/tx";
|
|
15
|
-
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
16
|
-
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
17
8
|
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
18
|
-
import {
|
|
9
|
+
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
10
|
+
import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
|
|
19
11
|
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
|
|
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";
|
|
16
|
+
import { MsgVote } from "./types/cosmos/group/v1/tx";
|
|
17
|
+
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
18
|
+
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
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;
|
|
28
23
|
fee?: StdFee;
|
|
29
24
|
memo?: string;
|
|
30
25
|
};
|
|
31
|
-
type
|
|
32
|
-
value:
|
|
26
|
+
type sendMsgCreateGroupParams = {
|
|
27
|
+
value: MsgCreateGroup;
|
|
33
28
|
fee?: StdFee;
|
|
34
29
|
memo?: string;
|
|
35
30
|
};
|
|
36
|
-
type
|
|
37
|
-
value:
|
|
31
|
+
type sendMsgUpdateGroupPolicyMetadataParams = {
|
|
32
|
+
value: MsgUpdateGroupPolicyMetadata;
|
|
38
33
|
fee?: StdFee;
|
|
39
34
|
memo?: string;
|
|
40
35
|
};
|
|
41
|
-
type
|
|
42
|
-
value:
|
|
36
|
+
type sendMsgExecParams = {
|
|
37
|
+
value: MsgExec;
|
|
43
38
|
fee?: StdFee;
|
|
44
39
|
memo?: string;
|
|
45
40
|
};
|
|
46
|
-
type
|
|
47
|
-
value:
|
|
41
|
+
type sendMsgUpdateGroupAdminParams = {
|
|
42
|
+
value: MsgUpdateGroupAdmin;
|
|
48
43
|
fee?: StdFee;
|
|
49
44
|
memo?: string;
|
|
50
45
|
};
|
|
51
|
-
type
|
|
52
|
-
value:
|
|
46
|
+
type sendMsgCreateGroupWithPolicyParams = {
|
|
47
|
+
value: MsgCreateGroupWithPolicy;
|
|
53
48
|
fee?: StdFee;
|
|
54
49
|
memo?: string;
|
|
55
50
|
};
|
|
56
|
-
type
|
|
57
|
-
value:
|
|
51
|
+
type sendMsgUpdateGroupPolicyAdminParams = {
|
|
52
|
+
value: MsgUpdateGroupPolicyAdmin;
|
|
58
53
|
fee?: StdFee;
|
|
59
54
|
memo?: string;
|
|
60
55
|
};
|
|
61
|
-
type
|
|
62
|
-
value:
|
|
56
|
+
type sendMsgWithdrawProposalParams = {
|
|
57
|
+
value: MsgWithdrawProposal;
|
|
63
58
|
fee?: StdFee;
|
|
64
59
|
memo?: string;
|
|
65
60
|
};
|
|
@@ -68,67 +63,72 @@ type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
|
|
|
68
63
|
fee?: StdFee;
|
|
69
64
|
memo?: string;
|
|
70
65
|
};
|
|
71
|
-
type
|
|
72
|
-
value:
|
|
66
|
+
type sendMsgUpdateGroupMetadataParams = {
|
|
67
|
+
value: MsgUpdateGroupMetadata;
|
|
73
68
|
fee?: StdFee;
|
|
74
69
|
memo?: string;
|
|
75
70
|
};
|
|
76
|
-
type
|
|
77
|
-
value:
|
|
71
|
+
type sendMsgVoteParams = {
|
|
72
|
+
value: MsgVote;
|
|
78
73
|
fee?: StdFee;
|
|
79
74
|
memo?: string;
|
|
80
75
|
};
|
|
81
|
-
type
|
|
82
|
-
value:
|
|
76
|
+
type sendMsgSubmitProposalParams = {
|
|
77
|
+
value: MsgSubmitProposal;
|
|
83
78
|
fee?: StdFee;
|
|
84
79
|
memo?: string;
|
|
85
80
|
};
|
|
86
|
-
type
|
|
87
|
-
value:
|
|
81
|
+
type sendMsgCreateGroupPolicyParams = {
|
|
82
|
+
value: MsgCreateGroupPolicy;
|
|
88
83
|
fee?: StdFee;
|
|
89
84
|
memo?: string;
|
|
90
85
|
};
|
|
91
|
-
type
|
|
92
|
-
value:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
value: MsgCreateGroupPolicy;
|
|
96
|
-
};
|
|
97
|
-
type msgSubmitProposalParams = {
|
|
98
|
-
value: MsgSubmitProposal;
|
|
86
|
+
type sendMsgUpdateGroupMembersParams = {
|
|
87
|
+
value: MsgUpdateGroupMembers;
|
|
88
|
+
fee?: StdFee;
|
|
89
|
+
memo?: string;
|
|
99
90
|
};
|
|
100
91
|
type msgLeaveGroupParams = {
|
|
101
92
|
value: MsgLeaveGroup;
|
|
102
93
|
};
|
|
103
|
-
type
|
|
104
|
-
value:
|
|
94
|
+
type msgCreateGroupParams = {
|
|
95
|
+
value: MsgCreateGroup;
|
|
96
|
+
};
|
|
97
|
+
type msgUpdateGroupPolicyMetadataParams = {
|
|
98
|
+
value: MsgUpdateGroupPolicyMetadata;
|
|
105
99
|
};
|
|
106
100
|
type msgExecParams = {
|
|
107
101
|
value: MsgExec;
|
|
108
102
|
};
|
|
109
|
-
type
|
|
110
|
-
value:
|
|
103
|
+
type msgUpdateGroupAdminParams = {
|
|
104
|
+
value: MsgUpdateGroupAdmin;
|
|
111
105
|
};
|
|
112
|
-
type
|
|
113
|
-
value:
|
|
106
|
+
type msgCreateGroupWithPolicyParams = {
|
|
107
|
+
value: MsgCreateGroupWithPolicy;
|
|
114
108
|
};
|
|
115
|
-
type
|
|
116
|
-
value:
|
|
109
|
+
type msgUpdateGroupPolicyAdminParams = {
|
|
110
|
+
value: MsgUpdateGroupPolicyAdmin;
|
|
111
|
+
};
|
|
112
|
+
type msgWithdrawProposalParams = {
|
|
113
|
+
value: MsgWithdrawProposal;
|
|
117
114
|
};
|
|
118
115
|
type msgUpdateGroupPolicyDecisionPolicyParams = {
|
|
119
116
|
value: MsgUpdateGroupPolicyDecisionPolicy;
|
|
120
117
|
};
|
|
121
|
-
type
|
|
122
|
-
value:
|
|
118
|
+
type msgUpdateGroupMetadataParams = {
|
|
119
|
+
value: MsgUpdateGroupMetadata;
|
|
123
120
|
};
|
|
124
|
-
type
|
|
125
|
-
value:
|
|
121
|
+
type msgVoteParams = {
|
|
122
|
+
value: MsgVote;
|
|
126
123
|
};
|
|
127
|
-
type
|
|
128
|
-
value:
|
|
124
|
+
type msgSubmitProposalParams = {
|
|
125
|
+
value: MsgSubmitProposal;
|
|
129
126
|
};
|
|
130
|
-
type
|
|
131
|
-
value:
|
|
127
|
+
type msgCreateGroupPolicyParams = {
|
|
128
|
+
value: MsgCreateGroupPolicy;
|
|
129
|
+
};
|
|
130
|
+
type msgUpdateGroupMembersParams = {
|
|
131
|
+
value: MsgUpdateGroupMembers;
|
|
132
132
|
};
|
|
133
133
|
export declare const registry: Registry;
|
|
134
134
|
interface TxClientOptions {
|
|
@@ -137,34 +137,34 @@ interface TxClientOptions {
|
|
|
137
137
|
signer?: OfflineSigner;
|
|
138
138
|
}
|
|
139
139
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
140
|
-
sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
|
|
141
|
-
sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
|
|
142
|
-
sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
|
|
143
140
|
sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
|
|
144
|
-
sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
|
|
145
|
-
sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
|
|
146
141
|
sendMsgCreateGroup({ value, fee, memo }: sendMsgCreateGroupParams): Promise<DeliverTxResponse>;
|
|
147
|
-
sendMsgVote({ value, fee, memo }: sendMsgVoteParams): Promise<DeliverTxResponse>;
|
|
148
|
-
sendMsgUpdateGroupMetadata({ value, fee, memo }: sendMsgUpdateGroupMetadataParams): Promise<DeliverTxResponse>;
|
|
149
|
-
sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
|
|
150
|
-
sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
|
|
151
142
|
sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
|
|
152
|
-
|
|
143
|
+
sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
|
|
144
|
+
sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
|
|
153
145
|
sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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>;
|
|
150
|
+
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>;
|
|
157
154
|
msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
|
|
158
|
-
msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
|
|
159
|
-
msgExec({ value }: msgExecParams): EncodeObject;
|
|
160
155
|
msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
|
|
161
|
-
msgVote({ value }: msgVoteParams): EncodeObject;
|
|
162
|
-
msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
|
|
163
|
-
msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
|
|
164
|
-
msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
|
|
165
156
|
msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
|
|
166
|
-
|
|
157
|
+
msgExec({ value }: msgExecParams): EncodeObject;
|
|
158
|
+
msgUpdateGroupAdmin({ value }: msgUpdateGroupAdminParams): EncodeObject;
|
|
167
159
|
msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
|
|
160
|
+
msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
|
|
161
|
+
msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
|
|
162
|
+
msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
|
|
163
|
+
msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
|
|
164
|
+
msgVote({ value }: msgVoteParams): EncodeObject;
|
|
165
|
+
msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
|
|
166
|
+
msgCreateGroupPolicy({ value }: msgCreateGroupPolicyParams): EncodeObject;
|
|
167
|
+
msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
|
|
168
168
|
};
|
|
169
169
|
interface QueryClientOptions {
|
|
170
170
|
addr: string;
|
|
@@ -4,19 +4,19 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
|
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
6
|
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
|
-
import {
|
|
7
|
+
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
8
|
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
9
|
-
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
10
9
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
-
import {
|
|
12
|
-
|
|
10
|
+
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
+
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
12
|
+
export { MsgCancelUnbondingDelegation, MsgCreateValidator, MsgEditValidator, MsgBeginRedelegate, MsgDelegate, MsgUndelegate };
|
|
13
13
|
type sendMsgCancelUnbondingDelegationParams = {
|
|
14
14
|
value: MsgCancelUnbondingDelegation;
|
|
15
15
|
fee?: StdFee;
|
|
16
16
|
memo?: string;
|
|
17
17
|
};
|
|
18
|
-
type
|
|
19
|
-
value:
|
|
18
|
+
type sendMsgCreateValidatorParams = {
|
|
19
|
+
value: MsgCreateValidator;
|
|
20
20
|
fee?: StdFee;
|
|
21
21
|
memo?: string;
|
|
22
22
|
};
|
|
@@ -25,38 +25,38 @@ type sendMsgEditValidatorParams = {
|
|
|
25
25
|
fee?: StdFee;
|
|
26
26
|
memo?: string;
|
|
27
27
|
};
|
|
28
|
-
type
|
|
29
|
-
value:
|
|
28
|
+
type sendMsgBeginRedelegateParams = {
|
|
29
|
+
value: MsgBeginRedelegate;
|
|
30
30
|
fee?: StdFee;
|
|
31
31
|
memo?: string;
|
|
32
32
|
};
|
|
33
|
-
type
|
|
34
|
-
value:
|
|
33
|
+
type sendMsgDelegateParams = {
|
|
34
|
+
value: MsgDelegate;
|
|
35
35
|
fee?: StdFee;
|
|
36
36
|
memo?: string;
|
|
37
37
|
};
|
|
38
|
-
type
|
|
39
|
-
value:
|
|
38
|
+
type sendMsgUndelegateParams = {
|
|
39
|
+
value: MsgUndelegate;
|
|
40
40
|
fee?: StdFee;
|
|
41
41
|
memo?: string;
|
|
42
42
|
};
|
|
43
43
|
type msgCancelUnbondingDelegationParams = {
|
|
44
44
|
value: MsgCancelUnbondingDelegation;
|
|
45
45
|
};
|
|
46
|
-
type
|
|
47
|
-
value:
|
|
46
|
+
type msgCreateValidatorParams = {
|
|
47
|
+
value: MsgCreateValidator;
|
|
48
48
|
};
|
|
49
49
|
type msgEditValidatorParams = {
|
|
50
50
|
value: MsgEditValidator;
|
|
51
51
|
};
|
|
52
|
-
type msgUndelegateParams = {
|
|
53
|
-
value: MsgUndelegate;
|
|
54
|
-
};
|
|
55
52
|
type msgBeginRedelegateParams = {
|
|
56
53
|
value: MsgBeginRedelegate;
|
|
57
54
|
};
|
|
58
|
-
type
|
|
59
|
-
value:
|
|
55
|
+
type msgDelegateParams = {
|
|
56
|
+
value: MsgDelegate;
|
|
57
|
+
};
|
|
58
|
+
type msgUndelegateParams = {
|
|
59
|
+
value: MsgUndelegate;
|
|
60
60
|
};
|
|
61
61
|
export declare const registry: Registry;
|
|
62
62
|
interface TxClientOptions {
|
|
@@ -66,17 +66,17 @@ interface TxClientOptions {
|
|
|
66
66
|
}
|
|
67
67
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
68
68
|
sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
|
|
69
|
-
|
|
69
|
+
sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
|
|
70
70
|
sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
|
|
71
|
-
sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
|
|
72
71
|
sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
|
|
73
|
-
|
|
72
|
+
sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
|
|
73
|
+
sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
|
|
74
74
|
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
|
|
75
|
-
|
|
75
|
+
msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
|
|
76
76
|
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
|
|
77
|
-
msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
|
|
78
77
|
msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
|
|
79
|
-
|
|
78
|
+
msgDelegate({ value }: msgDelegateParams): EncodeObject;
|
|
79
|
+
msgUndelegate({ value }: msgUndelegateParams): 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 { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
7
6
|
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
value: MsgCancelUpgrade;
|
|
11
|
-
fee?: StdFee;
|
|
12
|
-
memo?: string;
|
|
13
|
-
};
|
|
7
|
+
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
+
export { MsgSoftwareUpgrade, MsgCancelUpgrade };
|
|
14
9
|
type sendMsgSoftwareUpgradeParams = {
|
|
15
10
|
value: MsgSoftwareUpgrade;
|
|
16
11
|
fee?: StdFee;
|
|
17
12
|
memo?: string;
|
|
18
13
|
};
|
|
19
|
-
type
|
|
14
|
+
type sendMsgCancelUpgradeParams = {
|
|
20
15
|
value: MsgCancelUpgrade;
|
|
16
|
+
fee?: StdFee;
|
|
17
|
+
memo?: string;
|
|
21
18
|
};
|
|
22
19
|
type msgSoftwareUpgradeParams = {
|
|
23
20
|
value: MsgSoftwareUpgrade;
|
|
24
21
|
};
|
|
22
|
+
type msgCancelUpgradeParams = {
|
|
23
|
+
value: MsgCancelUpgrade;
|
|
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
|
-
sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
|
|
33
32
|
sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
|
|
34
|
-
|
|
33
|
+
sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
|
|
35
34
|
msgSoftwareUpgrade({ value }: msgSoftwareUpgradeParams): EncodeObject;
|
|
35
|
+
msgCancelUpgrade({ value }: msgCancelUpgradeParams): EncodeObject;
|
|
36
36
|
};
|
|
37
37
|
interface QueryClientOptions {
|
|
38
38
|
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 { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
6
7
|
import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
7
8
|
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export { MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount };
|
|
10
|
+
type sendMsgCreateVestingAccountParams = {
|
|
11
|
+
value: MsgCreateVestingAccount;
|
|
12
|
+
fee?: StdFee;
|
|
13
|
+
memo?: string;
|
|
14
|
+
};
|
|
10
15
|
type sendMsgCreatePeriodicVestingAccountParams = {
|
|
11
16
|
value: MsgCreatePeriodicVestingAccount;
|
|
12
17
|
fee?: StdFee;
|
|
@@ -17,10 +22,8 @@ type sendMsgCreatePermanentLockedAccountParams = {
|
|
|
17
22
|
fee?: StdFee;
|
|
18
23
|
memo?: string;
|
|
19
24
|
};
|
|
20
|
-
type
|
|
25
|
+
type msgCreateVestingAccountParams = {
|
|
21
26
|
value: MsgCreateVestingAccount;
|
|
22
|
-
fee?: StdFee;
|
|
23
|
-
memo?: string;
|
|
24
27
|
};
|
|
25
28
|
type msgCreatePeriodicVestingAccountParams = {
|
|
26
29
|
value: MsgCreatePeriodicVestingAccount;
|
|
@@ -28,9 +31,6 @@ type msgCreatePeriodicVestingAccountParams = {
|
|
|
28
31
|
type msgCreatePermanentLockedAccountParams = {
|
|
29
32
|
value: MsgCreatePermanentLockedAccount;
|
|
30
33
|
};
|
|
31
|
-
type msgCreateVestingAccountParams = {
|
|
32
|
-
value: MsgCreateVestingAccount;
|
|
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
|
+
sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
|
|
41
42
|
sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
|
|
42
43
|
sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
|
|
43
|
-
|
|
44
|
+
msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
|
|
44
45
|
msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
|
|
45
46
|
msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
|
|
46
|
-
msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
|
|
47
47
|
};
|
|
48
48
|
interface QueryClientOptions {
|
|
49
49
|
addr: string;
|
|
@@ -3,25 +3,25 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
|
3
3
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgMint } from "./types/iconlake/drop/tx";
|
|
7
6
|
import { MsgInit } from "./types/iconlake/drop/tx";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
value: MsgMint;
|
|
11
|
-
fee?: StdFee;
|
|
12
|
-
memo?: string;
|
|
13
|
-
};
|
|
7
|
+
import { MsgMint } from "./types/iconlake/drop/tx";
|
|
8
|
+
export { MsgInit, MsgMint };
|
|
14
9
|
type sendMsgInitParams = {
|
|
15
10
|
value: MsgInit;
|
|
16
11
|
fee?: StdFee;
|
|
17
12
|
memo?: string;
|
|
18
13
|
};
|
|
19
|
-
type
|
|
14
|
+
type sendMsgMintParams = {
|
|
20
15
|
value: MsgMint;
|
|
16
|
+
fee?: StdFee;
|
|
17
|
+
memo?: string;
|
|
21
18
|
};
|
|
22
19
|
type msgInitParams = {
|
|
23
20
|
value: MsgInit;
|
|
24
21
|
};
|
|
22
|
+
type msgMintParams = {
|
|
23
|
+
value: MsgMint;
|
|
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
|
-
sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
|
|
33
32
|
sendMsgInit({ value, fee, memo }: sendMsgInitParams): Promise<DeliverTxResponse>;
|
|
34
|
-
|
|
33
|
+
sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
|
|
35
34
|
msgInit({ value }: msgInitParams): EncodeObject;
|
|
35
|
+
msgMint({ value }: msgMintParams): EncodeObject;
|
|
36
36
|
};
|
|
37
37
|
interface QueryClientOptions {
|
|
38
38
|
addr: string;
|
|
@@ -17,7 +17,14 @@ export interface DropMsgMintResponse {
|
|
|
17
17
|
/**
|
|
18
18
|
* Params defines the parameters for the module.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
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
|
/**
|
|
@@ -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?: {
|
|
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(
|
|
10
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
|
8
11
|
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
|
9
|
-
fromJSON(
|
|
10
|
-
toJSON(
|
|
11
|
-
fromPartial<I extends {
|
|
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?: {
|
|
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: {
|
|
@@ -3,24 +3,33 @@ 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 { MsgUpdateClass } from "./types/iconlake/icon/tx";
|
|
7
6
|
import { MsgMint } from "./types/iconlake/icon/tx";
|
|
8
|
-
|
|
7
|
+
import { MsgUpdateClass } from "./types/iconlake/icon/tx";
|
|
8
|
+
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
|
+
};
|
|
9
15
|
type sendMsgUpdateClassParams = {
|
|
10
16
|
value: MsgUpdateClass;
|
|
11
17
|
fee?: StdFee;
|
|
12
18
|
memo?: string;
|
|
13
19
|
};
|
|
14
|
-
type
|
|
15
|
-
value:
|
|
20
|
+
type sendMsgBurnParams = {
|
|
21
|
+
value: MsgBurn;
|
|
16
22
|
fee?: StdFee;
|
|
17
23
|
memo?: string;
|
|
18
24
|
};
|
|
25
|
+
type msgMintParams = {
|
|
26
|
+
value: MsgMint;
|
|
27
|
+
};
|
|
19
28
|
type msgUpdateClassParams = {
|
|
20
29
|
value: MsgUpdateClass;
|
|
21
30
|
};
|
|
22
|
-
type
|
|
23
|
-
value:
|
|
31
|
+
type msgBurnParams = {
|
|
32
|
+
value: MsgBurn;
|
|
24
33
|
};
|
|
25
34
|
export declare const registry: Registry;
|
|
26
35
|
interface TxClientOptions {
|
|
@@ -29,10 +38,12 @@ interface TxClientOptions {
|
|
|
29
38
|
signer?: OfflineSigner;
|
|
30
39
|
}
|
|
31
40
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
32
|
-
sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
|
|
33
41
|
sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
|
|
34
|
-
|
|
42
|
+
sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
|
|
43
|
+
sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
|
|
35
44
|
msgMint({ value }: msgMintParams): EncodeObject;
|
|
45
|
+
msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
|
|
46
|
+
msgBurn({ value }: msgBurnParams): EncodeObject;
|
|
36
47
|
};
|
|
37
48
|
interface QueryClientOptions {
|
|
38
49
|
addr: string;
|