@iconlake/client 0.1.9 → 0.1.11
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 +22 -0
- package/dist/index.js +22 -0
- package/dist/{client.mjs → index.mjs} +757 -746
- package/dist/{client.umd.js → index.umd.js} +3 -3
- package/package.json +15 -14
- package/types/cosmos.authz.v1beta1/module.d.ts +11 -11
- package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
- package/types/cosmos.distribution.v1beta1/module.d.ts +29 -29
- package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
- package/types/cosmos.gov.v1/module.d.ts +26 -26
- package/types/cosmos.gov.v1beta1/module.d.ts +10 -10
- package/types/cosmos.group.v1/module.d.ts +74 -74
- package/types/cosmos.staking.v1beta1/module.d.ts +21 -21
- package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
- package/types/cosmos.vesting.v1beta1/module.d.ts +11 -11
- package/types/iconlake.drop/module.d.ts +10 -10
- package/types/iconlake.icon/rest.d.ts +5 -4
- package/types/index.d.ts +143 -143
|
@@ -3,23 +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 {
|
|
6
|
+
import { MsgUpdateGroupAdmin } from "./types/cosmos/group/v1/tx";
|
|
7
|
+
import { MsgCreateGroupPolicy } from "./types/cosmos/group/v1/tx";
|
|
7
8
|
import { MsgSubmitProposal } from "./types/cosmos/group/v1/tx";
|
|
8
9
|
import { MsgLeaveGroup } from "./types/cosmos/group/v1/tx";
|
|
9
|
-
import {
|
|
10
|
-
import { MsgCreateGroupWithPolicy } from "./types/cosmos/group/v1/tx";
|
|
11
|
-
import { MsgUpdateGroupPolicyDecisionPolicy } from "./types/cosmos/group/v1/tx";
|
|
10
|
+
import { MsgUpdateGroupMembers } from "./types/cosmos/group/v1/tx";
|
|
12
11
|
import { MsgExec } from "./types/cosmos/group/v1/tx";
|
|
13
|
-
import {
|
|
12
|
+
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";
|
|
14
16
|
import { MsgUpdateGroupPolicyAdmin } from "./types/cosmos/group/v1/tx";
|
|
15
|
-
import { MsgWithdrawProposal } from "./types/cosmos/group/v1/tx";
|
|
16
17
|
import { MsgUpdateGroupPolicyMetadata } from "./types/cosmos/group/v1/tx";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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;
|
|
23
|
+
fee?: StdFee;
|
|
24
|
+
memo?: string;
|
|
25
|
+
};
|
|
26
|
+
type sendMsgCreateGroupPolicyParams = {
|
|
27
|
+
value: MsgCreateGroupPolicy;
|
|
23
28
|
fee?: StdFee;
|
|
24
29
|
memo?: string;
|
|
25
30
|
};
|
|
@@ -33,38 +38,38 @@ type sendMsgLeaveGroupParams = {
|
|
|
33
38
|
fee?: StdFee;
|
|
34
39
|
memo?: string;
|
|
35
40
|
};
|
|
36
|
-
type
|
|
37
|
-
value:
|
|
41
|
+
type sendMsgUpdateGroupMembersParams = {
|
|
42
|
+
value: MsgUpdateGroupMembers;
|
|
38
43
|
fee?: StdFee;
|
|
39
44
|
memo?: string;
|
|
40
45
|
};
|
|
41
|
-
type
|
|
42
|
-
value:
|
|
46
|
+
type sendMsgExecParams = {
|
|
47
|
+
value: MsgExec;
|
|
43
48
|
fee?: StdFee;
|
|
44
49
|
memo?: string;
|
|
45
50
|
};
|
|
46
|
-
type
|
|
47
|
-
value:
|
|
51
|
+
type sendMsgCreateGroupParams = {
|
|
52
|
+
value: MsgCreateGroup;
|
|
48
53
|
fee?: StdFee;
|
|
49
54
|
memo?: string;
|
|
50
55
|
};
|
|
51
|
-
type
|
|
52
|
-
value:
|
|
56
|
+
type sendMsgVoteParams = {
|
|
57
|
+
value: MsgVote;
|
|
53
58
|
fee?: StdFee;
|
|
54
59
|
memo?: string;
|
|
55
60
|
};
|
|
56
|
-
type
|
|
57
|
-
value:
|
|
61
|
+
type sendMsgUpdateGroupMetadataParams = {
|
|
62
|
+
value: MsgUpdateGroupMetadata;
|
|
58
63
|
fee?: StdFee;
|
|
59
64
|
memo?: string;
|
|
60
65
|
};
|
|
61
|
-
type
|
|
62
|
-
value:
|
|
66
|
+
type sendMsgUpdateGroupPolicyDecisionPolicyParams = {
|
|
67
|
+
value: MsgUpdateGroupPolicyDecisionPolicy;
|
|
63
68
|
fee?: StdFee;
|
|
64
69
|
memo?: string;
|
|
65
70
|
};
|
|
66
|
-
type
|
|
67
|
-
value:
|
|
71
|
+
type sendMsgUpdateGroupPolicyAdminParams = {
|
|
72
|
+
value: MsgUpdateGroupPolicyAdmin;
|
|
68
73
|
fee?: StdFee;
|
|
69
74
|
memo?: string;
|
|
70
75
|
};
|
|
@@ -73,23 +78,21 @@ type sendMsgUpdateGroupPolicyMetadataParams = {
|
|
|
73
78
|
fee?: StdFee;
|
|
74
79
|
memo?: string;
|
|
75
80
|
};
|
|
76
|
-
type
|
|
77
|
-
value:
|
|
81
|
+
type sendMsgWithdrawProposalParams = {
|
|
82
|
+
value: MsgWithdrawProposal;
|
|
78
83
|
fee?: StdFee;
|
|
79
84
|
memo?: string;
|
|
80
85
|
};
|
|
81
|
-
type
|
|
82
|
-
value:
|
|
86
|
+
type sendMsgCreateGroupWithPolicyParams = {
|
|
87
|
+
value: MsgCreateGroupWithPolicy;
|
|
83
88
|
fee?: StdFee;
|
|
84
89
|
memo?: string;
|
|
85
90
|
};
|
|
86
|
-
type
|
|
87
|
-
value:
|
|
88
|
-
fee?: StdFee;
|
|
89
|
-
memo?: string;
|
|
91
|
+
type msgUpdateGroupAdminParams = {
|
|
92
|
+
value: MsgUpdateGroupAdmin;
|
|
90
93
|
};
|
|
91
|
-
type
|
|
92
|
-
value:
|
|
94
|
+
type msgCreateGroupPolicyParams = {
|
|
95
|
+
value: MsgCreateGroupPolicy;
|
|
93
96
|
};
|
|
94
97
|
type msgSubmitProposalParams = {
|
|
95
98
|
value: MsgSubmitProposal;
|
|
@@ -97,38 +100,35 @@ type msgSubmitProposalParams = {
|
|
|
97
100
|
type msgLeaveGroupParams = {
|
|
98
101
|
value: MsgLeaveGroup;
|
|
99
102
|
};
|
|
100
|
-
type
|
|
101
|
-
value:
|
|
102
|
-
};
|
|
103
|
-
type msgCreateGroupWithPolicyParams = {
|
|
104
|
-
value: MsgCreateGroupWithPolicy;
|
|
105
|
-
};
|
|
106
|
-
type msgUpdateGroupPolicyDecisionPolicyParams = {
|
|
107
|
-
value: MsgUpdateGroupPolicyDecisionPolicy;
|
|
103
|
+
type msgUpdateGroupMembersParams = {
|
|
104
|
+
value: MsgUpdateGroupMembers;
|
|
108
105
|
};
|
|
109
106
|
type msgExecParams = {
|
|
110
107
|
value: MsgExec;
|
|
111
108
|
};
|
|
112
|
-
type
|
|
113
|
-
value:
|
|
109
|
+
type msgCreateGroupParams = {
|
|
110
|
+
value: MsgCreateGroup;
|
|
111
|
+
};
|
|
112
|
+
type msgVoteParams = {
|
|
113
|
+
value: MsgVote;
|
|
114
|
+
};
|
|
115
|
+
type msgUpdateGroupMetadataParams = {
|
|
116
|
+
value: MsgUpdateGroupMetadata;
|
|
117
|
+
};
|
|
118
|
+
type msgUpdateGroupPolicyDecisionPolicyParams = {
|
|
119
|
+
value: MsgUpdateGroupPolicyDecisionPolicy;
|
|
114
120
|
};
|
|
115
121
|
type msgUpdateGroupPolicyAdminParams = {
|
|
116
122
|
value: MsgUpdateGroupPolicyAdmin;
|
|
117
123
|
};
|
|
118
|
-
type msgWithdrawProposalParams = {
|
|
119
|
-
value: MsgWithdrawProposal;
|
|
120
|
-
};
|
|
121
124
|
type msgUpdateGroupPolicyMetadataParams = {
|
|
122
125
|
value: MsgUpdateGroupPolicyMetadata;
|
|
123
126
|
};
|
|
124
|
-
type
|
|
125
|
-
value:
|
|
126
|
-
};
|
|
127
|
-
type msgCreateGroupParams = {
|
|
128
|
-
value: MsgCreateGroup;
|
|
127
|
+
type msgWithdrawProposalParams = {
|
|
128
|
+
value: MsgWithdrawProposal;
|
|
129
129
|
};
|
|
130
|
-
type
|
|
131
|
-
value:
|
|
130
|
+
type msgCreateGroupWithPolicyParams = {
|
|
131
|
+
value: MsgCreateGroupWithPolicy;
|
|
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
|
-
|
|
140
|
+
sendMsgUpdateGroupAdmin({ value, fee, memo }: sendMsgUpdateGroupAdminParams): Promise<DeliverTxResponse>;
|
|
141
|
+
sendMsgCreateGroupPolicy({ value, fee, memo }: sendMsgCreateGroupPolicyParams): Promise<DeliverTxResponse>;
|
|
141
142
|
sendMsgSubmitProposal({ value, fee, memo }: sendMsgSubmitProposalParams): Promise<DeliverTxResponse>;
|
|
142
143
|
sendMsgLeaveGroup({ value, fee, memo }: sendMsgLeaveGroupParams): Promise<DeliverTxResponse>;
|
|
143
|
-
|
|
144
|
-
sendMsgCreateGroupWithPolicy({ value, fee, memo }: sendMsgCreateGroupWithPolicyParams): Promise<DeliverTxResponse>;
|
|
145
|
-
sendMsgUpdateGroupPolicyDecisionPolicy({ value, fee, memo }: sendMsgUpdateGroupPolicyDecisionPolicyParams): Promise<DeliverTxResponse>;
|
|
144
|
+
sendMsgUpdateGroupMembers({ value, fee, memo }: sendMsgUpdateGroupMembersParams): Promise<DeliverTxResponse>;
|
|
146
145
|
sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise<DeliverTxResponse>;
|
|
147
|
-
|
|
146
|
+
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>;
|
|
148
150
|
sendMsgUpdateGroupPolicyAdmin({ value, fee, memo }: sendMsgUpdateGroupPolicyAdminParams): Promise<DeliverTxResponse>;
|
|
149
|
-
sendMsgWithdrawProposal({ value, fee, memo }: sendMsgWithdrawProposalParams): Promise<DeliverTxResponse>;
|
|
150
151
|
sendMsgUpdateGroupPolicyMetadata({ value, fee, memo }: sendMsgUpdateGroupPolicyMetadataParams): Promise<DeliverTxResponse>;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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;
|
|
155
156
|
msgSubmitProposal({ value }: msgSubmitProposalParams): EncodeObject;
|
|
156
157
|
msgLeaveGroup({ value }: msgLeaveGroupParams): EncodeObject;
|
|
157
|
-
|
|
158
|
-
msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
|
|
159
|
-
msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
|
|
158
|
+
msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
|
|
160
159
|
msgExec({ value }: msgExecParams): EncodeObject;
|
|
161
|
-
|
|
160
|
+
msgCreateGroup({ value }: msgCreateGroupParams): EncodeObject;
|
|
161
|
+
msgVote({ value }: msgVoteParams): EncodeObject;
|
|
162
|
+
msgUpdateGroupMetadata({ value }: msgUpdateGroupMetadataParams): EncodeObject;
|
|
163
|
+
msgUpdateGroupPolicyDecisionPolicy({ value }: msgUpdateGroupPolicyDecisionPolicyParams): EncodeObject;
|
|
162
164
|
msgUpdateGroupPolicyAdmin({ value }: msgUpdateGroupPolicyAdminParams): EncodeObject;
|
|
163
|
-
msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
|
|
164
165
|
msgUpdateGroupPolicyMetadata({ value }: msgUpdateGroupPolicyMetadataParams): EncodeObject;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
msgUpdateGroupMembers({ value }: msgUpdateGroupMembersParams): EncodeObject;
|
|
166
|
+
msgWithdrawProposal({ value }: msgWithdrawProposalParams): EncodeObject;
|
|
167
|
+
msgCreateGroupWithPolicy({ value }: msgCreateGroupWithPolicyParams): EncodeObject;
|
|
168
168
|
};
|
|
169
169
|
interface QueryClientOptions {
|
|
170
170
|
addr: string;
|
|
@@ -3,18 +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 { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
7
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
9
|
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
10
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
9
11
|
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
export { MsgCancelUnbondingDelegation, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgBeginRedelegate, MsgCreateValidator };
|
|
13
|
+
type sendMsgCancelUnbondingDelegationParams = {
|
|
14
|
+
value: MsgCancelUnbondingDelegation;
|
|
15
|
+
fee?: StdFee;
|
|
16
|
+
memo?: string;
|
|
17
|
+
};
|
|
13
18
|
type sendMsgDelegateParams = {
|
|
14
19
|
value: MsgDelegate;
|
|
15
20
|
fee?: StdFee;
|
|
16
21
|
memo?: string;
|
|
17
22
|
};
|
|
23
|
+
type sendMsgEditValidatorParams = {
|
|
24
|
+
value: MsgEditValidator;
|
|
25
|
+
fee?: StdFee;
|
|
26
|
+
memo?: string;
|
|
27
|
+
};
|
|
18
28
|
type sendMsgUndelegateParams = {
|
|
19
29
|
value: MsgUndelegate;
|
|
20
30
|
fee?: StdFee;
|
|
@@ -30,19 +40,15 @@ type sendMsgCreateValidatorParams = {
|
|
|
30
40
|
fee?: StdFee;
|
|
31
41
|
memo?: string;
|
|
32
42
|
};
|
|
33
|
-
type
|
|
34
|
-
value: MsgEditValidator;
|
|
35
|
-
fee?: StdFee;
|
|
36
|
-
memo?: string;
|
|
37
|
-
};
|
|
38
|
-
type sendMsgCancelUnbondingDelegationParams = {
|
|
43
|
+
type msgCancelUnbondingDelegationParams = {
|
|
39
44
|
value: MsgCancelUnbondingDelegation;
|
|
40
|
-
fee?: StdFee;
|
|
41
|
-
memo?: string;
|
|
42
45
|
};
|
|
43
46
|
type msgDelegateParams = {
|
|
44
47
|
value: MsgDelegate;
|
|
45
48
|
};
|
|
49
|
+
type msgEditValidatorParams = {
|
|
50
|
+
value: MsgEditValidator;
|
|
51
|
+
};
|
|
46
52
|
type msgUndelegateParams = {
|
|
47
53
|
value: MsgUndelegate;
|
|
48
54
|
};
|
|
@@ -52,12 +58,6 @@ type msgBeginRedelegateParams = {
|
|
|
52
58
|
type msgCreateValidatorParams = {
|
|
53
59
|
value: MsgCreateValidator;
|
|
54
60
|
};
|
|
55
|
-
type msgEditValidatorParams = {
|
|
56
|
-
value: MsgEditValidator;
|
|
57
|
-
};
|
|
58
|
-
type msgCancelUnbondingDelegationParams = {
|
|
59
|
-
value: MsgCancelUnbondingDelegation;
|
|
60
|
-
};
|
|
61
61
|
export declare const registry: Registry;
|
|
62
62
|
interface TxClientOptions {
|
|
63
63
|
addr: string;
|
|
@@ -65,18 +65,18 @@ interface TxClientOptions {
|
|
|
65
65
|
signer?: OfflineSigner;
|
|
66
66
|
}
|
|
67
67
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
68
|
+
sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
|
|
68
69
|
sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
|
|
70
|
+
sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
|
|
69
71
|
sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
|
|
70
72
|
sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
|
|
71
73
|
sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
|
|
72
|
-
|
|
73
|
-
sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
|
|
74
|
+
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
|
|
74
75
|
msgDelegate({ value }: msgDelegateParams): EncodeObject;
|
|
76
|
+
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
|
|
75
77
|
msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
|
|
76
78
|
msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
|
|
77
79
|
msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
|
|
78
|
-
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
|
|
79
|
-
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
|
|
80
80
|
};
|
|
81
81
|
interface QueryClientOptions {
|
|
82
82
|
addr: string;
|
|
@@ -3,25 +3,25 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
|
3
3
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
7
6
|
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
value: MsgSoftwareUpgrade;
|
|
11
|
-
fee?: StdFee;
|
|
12
|
-
memo?: string;
|
|
13
|
-
};
|
|
7
|
+
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
+
export { MsgCancelUpgrade, MsgSoftwareUpgrade };
|
|
14
9
|
type sendMsgCancelUpgradeParams = {
|
|
15
10
|
value: MsgCancelUpgrade;
|
|
16
11
|
fee?: StdFee;
|
|
17
12
|
memo?: string;
|
|
18
13
|
};
|
|
19
|
-
type
|
|
14
|
+
type sendMsgSoftwareUpgradeParams = {
|
|
20
15
|
value: MsgSoftwareUpgrade;
|
|
16
|
+
fee?: StdFee;
|
|
17
|
+
memo?: string;
|
|
21
18
|
};
|
|
22
19
|
type msgCancelUpgradeParams = {
|
|
23
20
|
value: MsgCancelUpgrade;
|
|
24
21
|
};
|
|
22
|
+
type msgSoftwareUpgradeParams = {
|
|
23
|
+
value: MsgSoftwareUpgrade;
|
|
24
|
+
};
|
|
25
25
|
export declare const registry: Registry;
|
|
26
26
|
interface TxClientOptions {
|
|
27
27
|
addr: string;
|
|
@@ -29,10 +29,10 @@ interface TxClientOptions {
|
|
|
29
29
|
signer?: OfflineSigner;
|
|
30
30
|
}
|
|
31
31
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
32
|
-
sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
|
|
33
32
|
sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
|
|
34
|
-
|
|
33
|
+
sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
|
|
35
34
|
msgCancelUpgrade({ value }: msgCancelUpgradeParams): EncodeObject;
|
|
35
|
+
msgSoftwareUpgrade({ value }: msgSoftwareUpgradeParams): EncodeObject;
|
|
36
36
|
};
|
|
37
37
|
interface QueryClientOptions {
|
|
38
38
|
addr: string;
|
|
@@ -4,33 +4,33 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
|
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
6
|
import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
7
|
-
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
8
7
|
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
9
|
-
|
|
8
|
+
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
9
|
+
export { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount };
|
|
10
10
|
type sendMsgCreatePeriodicVestingAccountParams = {
|
|
11
11
|
value: MsgCreatePeriodicVestingAccount;
|
|
12
12
|
fee?: StdFee;
|
|
13
13
|
memo?: string;
|
|
14
14
|
};
|
|
15
|
-
type
|
|
16
|
-
value:
|
|
15
|
+
type sendMsgCreatePermanentLockedAccountParams = {
|
|
16
|
+
value: MsgCreatePermanentLockedAccount;
|
|
17
17
|
fee?: StdFee;
|
|
18
18
|
memo?: string;
|
|
19
19
|
};
|
|
20
|
-
type
|
|
21
|
-
value:
|
|
20
|
+
type sendMsgCreateVestingAccountParams = {
|
|
21
|
+
value: MsgCreateVestingAccount;
|
|
22
22
|
fee?: StdFee;
|
|
23
23
|
memo?: string;
|
|
24
24
|
};
|
|
25
25
|
type msgCreatePeriodicVestingAccountParams = {
|
|
26
26
|
value: MsgCreatePeriodicVestingAccount;
|
|
27
27
|
};
|
|
28
|
-
type msgCreateVestingAccountParams = {
|
|
29
|
-
value: MsgCreateVestingAccount;
|
|
30
|
-
};
|
|
31
28
|
type msgCreatePermanentLockedAccountParams = {
|
|
32
29
|
value: MsgCreatePermanentLockedAccount;
|
|
33
30
|
};
|
|
31
|
+
type msgCreateVestingAccountParams = {
|
|
32
|
+
value: MsgCreateVestingAccount;
|
|
33
|
+
};
|
|
34
34
|
export declare const registry: Registry;
|
|
35
35
|
interface TxClientOptions {
|
|
36
36
|
addr: string;
|
|
@@ -39,11 +39,11 @@ interface TxClientOptions {
|
|
|
39
39
|
}
|
|
40
40
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
41
41
|
sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
|
|
42
|
-
sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
|
|
43
42
|
sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
|
|
43
|
+
sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
|
|
44
44
|
msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
|
|
45
|
-
msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
|
|
46
45
|
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;
|
|
@@ -9,6 +9,10 @@ export type IconMsgMintResponse = object;
|
|
|
9
9
|
* Params defines the parameters for the module.
|
|
10
10
|
*/
|
|
11
11
|
export type IconParams = object;
|
|
12
|
+
export interface IconQueryHashRequest {
|
|
13
|
+
hashType?: string;
|
|
14
|
+
uri?: string;
|
|
15
|
+
}
|
|
12
16
|
export interface IconQueryHashResponse {
|
|
13
17
|
graphHash?: string;
|
|
14
18
|
fileHash?: string;
|
|
@@ -81,10 +85,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
81
85
|
* @summary Queries a list of Hash items.
|
|
82
86
|
* @request POST:/iconlake/icon/hash
|
|
83
87
|
*/
|
|
84
|
-
queryHash: (
|
|
85
|
-
hashType?: string;
|
|
86
|
-
uri?: string;
|
|
87
|
-
}, params?: RequestParams) => Promise<AxiosResponse<IconQueryHashResponse>>;
|
|
88
|
+
queryHash: (body: IconQueryHashRequest, params?: RequestParams) => Promise<AxiosResponse<IconQueryHashResponse>>;
|
|
88
89
|
/**
|
|
89
90
|
* No description
|
|
90
91
|
*
|