@cheqd/sdk 5.3.2 → 5.3.3-develop.2
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/README.md +310 -0
- package/build/cjs/index.d.ts +92 -1
- package/build/cjs/index.d.ts.map +1 -1
- package/build/cjs/index.js +75 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/modules/_.d.ts +61 -0
- package/build/cjs/modules/_.d.ts.map +1 -1
- package/build/cjs/modules/_.js +50 -0
- package/build/cjs/modules/_.js.map +1 -1
- package/build/cjs/modules/did.d.ts +278 -0
- package/build/cjs/modules/did.d.ts.map +1 -1
- package/build/cjs/modules/did.js +242 -0
- package/build/cjs/modules/did.js.map +1 -1
- package/build/cjs/modules/feeabstraction.d.ts +297 -2
- package/build/cjs/modules/feeabstraction.d.ts.map +1 -1
- package/build/cjs/modules/feeabstraction.js +235 -4
- package/build/cjs/modules/feeabstraction.js.map +1 -1
- package/build/cjs/modules/feemarket.d.ts +154 -21
- package/build/cjs/modules/feemarket.d.ts.map +1 -1
- package/build/cjs/modules/feemarket.js +133 -22
- package/build/cjs/modules/feemarket.js.map +1 -1
- package/build/cjs/modules/resource.d.ts +143 -0
- package/build/cjs/modules/resource.d.ts.map +1 -1
- package/build/cjs/modules/resource.js +131 -0
- package/build/cjs/modules/resource.js.map +1 -1
- package/build/cjs/querier.d.ts +50 -0
- package/build/cjs/querier.d.ts.map +1 -1
- package/build/cjs/querier.js +50 -0
- package/build/cjs/querier.js.map +1 -1
- package/build/cjs/registry.d.ts +14 -0
- package/build/cjs/registry.d.ts.map +1 -1
- package/build/cjs/registry.js +14 -0
- package/build/cjs/registry.js.map +1 -1
- package/build/cjs/signer.d.ts +172 -1
- package/build/cjs/signer.d.ts.map +1 -1
- package/build/cjs/signer.js +172 -1
- package/build/cjs/signer.js.map +1 -1
- package/build/cjs/types.d.ts +91 -0
- package/build/cjs/types.d.ts.map +1 -1
- package/build/cjs/types.js +17 -0
- package/build/cjs/types.js.map +1 -1
- package/build/cjs/utils.d.ts +191 -3
- package/build/cjs/utils.d.ts.map +1 -1
- package/build/cjs/utils.js +196 -0
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.d.ts +92 -1
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +74 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/modules/_.d.ts +42 -0
- package/build/esm/modules/_.d.ts.map +1 -1
- package/build/esm/modules/_.js +32 -0
- package/build/esm/modules/_.js.map +1 -1
- package/build/esm/modules/did.d.ts +274 -0
- package/build/esm/modules/did.d.ts.map +1 -1
- package/build/esm/modules/did.js +242 -0
- package/build/esm/modules/did.js.map +1 -1
- package/build/esm/modules/feeabstraction.d.ts +277 -2
- package/build/esm/modules/feeabstraction.d.ts.map +1 -1
- package/build/esm/modules/feeabstraction.js +221 -2
- package/build/esm/modules/feeabstraction.js.map +1 -1
- package/build/esm/modules/feemarket.d.ts +152 -21
- package/build/esm/modules/feemarket.d.ts.map +1 -1
- package/build/esm/modules/feemarket.js +131 -21
- package/build/esm/modules/feemarket.js.map +1 -1
- package/build/esm/modules/resource.d.ts +142 -0
- package/build/esm/modules/resource.d.ts.map +1 -1
- package/build/esm/modules/resource.js +130 -0
- package/build/esm/modules/resource.js.map +1 -1
- package/build/esm/querier.d.ts +50 -0
- package/build/esm/querier.d.ts.map +1 -1
- package/build/esm/querier.js +50 -0
- package/build/esm/querier.js.map +1 -1
- package/build/esm/registry.d.ts +14 -0
- package/build/esm/registry.d.ts.map +1 -1
- package/build/esm/registry.js +14 -0
- package/build/esm/registry.js.map +1 -1
- package/build/esm/signer.d.ts +122 -0
- package/build/esm/signer.d.ts.map +1 -1
- package/build/esm/signer.js +122 -0
- package/build/esm/signer.js.map +1 -1
- package/build/esm/types.d.ts +92 -0
- package/build/esm/types.d.ts.map +1 -1
- package/build/esm/types.js +17 -0
- package/build/esm/types.js.map +1 -1
- package/build/esm/utils.d.ts +181 -3
- package/build/esm/utils.d.ts.map +1 -1
- package/build/esm/utils.js +172 -0
- package/build/esm/utils.js.map +1 -1
- package/build/types/index.d.ts +92 -1
- package/build/types/index.d.ts.map +1 -1
- package/build/types/modules/_.d.ts +42 -0
- package/build/types/modules/_.d.ts.map +1 -1
- package/build/types/modules/did.d.ts +274 -0
- package/build/types/modules/did.d.ts.map +1 -1
- package/build/types/modules/feeabstraction.d.ts +277 -2
- package/build/types/modules/feeabstraction.d.ts.map +1 -1
- package/build/types/modules/feemarket.d.ts +152 -21
- package/build/types/modules/feemarket.d.ts.map +1 -1
- package/build/types/modules/resource.d.ts +142 -0
- package/build/types/modules/resource.d.ts.map +1 -1
- package/build/types/querier.d.ts +50 -0
- package/build/types/querier.d.ts.map +1 -1
- package/build/types/registry.d.ts +14 -0
- package/build/types/registry.d.ts.map +1 -1
- package/build/types/signer.d.ts +122 -0
- package/build/types/signer.d.ts.map +1 -1
- package/build/types/types.d.ts +92 -0
- package/build/types/types.d.ts.map +1 -1
- package/build/types/utils.d.ts +181 -3
- package/build/types/utils.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FeeabstractionModule = exports.setupFeeabstractionExtension = exports.typeUrlMsgUpdateParamsResponse = exports.typeUrlMsgUpdateParams = exports.typeUrlMsgUpdateHostZoneResponse = exports.typeUrlMsgUpdateHostZone = exports.typeUrlMsgSwapCrossChainResponse = exports.typeUrlMsgSwapCrossChain = exports.typeUrlMsgSendQueryIbcDenomTWAPResponse = exports.typeUrlMsgSendQueryIbcDenomTWAP = exports.typeUrlMsgRemoveHostZoneResponse = exports.typeUrlMsgRemoveHostZone = exports.typeUrlMsgFundFeeAbsModuleAccountResponse = exports.typeUrlMsgFundFeeAbsModuleAccount = exports.typeUrlMsgAddHostZoneResponse = exports.typeUrlMsgAddHostZone = exports.protobufLiterals = exports.
|
|
3
|
+
exports.FeeabstractionModule = exports.setupFeeabstractionExtension = exports.typeUrlMsgUpdateParamsResponse = exports.typeUrlMsgUpdateParams = exports.typeUrlMsgUpdateHostZoneResponse = exports.typeUrlMsgUpdateHostZone = exports.typeUrlMsgSwapCrossChainResponse = exports.typeUrlMsgSwapCrossChain = exports.typeUrlMsgSendQueryIbcDenomTWAPResponse = exports.typeUrlMsgSendQueryIbcDenomTWAP = exports.typeUrlMsgRemoveHostZoneResponse = exports.typeUrlMsgRemoveHostZone = exports.typeUrlMsgFundFeeAbsModuleAccountResponse = exports.typeUrlMsgFundFeeAbsModuleAccount = exports.typeUrlMsgAddHostZoneResponse = exports.typeUrlMsgAddHostZone = exports.protobufLiterals = exports.defaultFeeabstractionExtensionKey = void 0;
|
|
4
4
|
exports.isMsgAddHostZoneEncodeObject = isMsgAddHostZoneEncodeObject;
|
|
5
5
|
exports.isMsgAddHostZoneResponseEncodeObject = isMsgAddHostZoneResponseEncodeObject;
|
|
6
6
|
exports.isMsgFundFeeAbsModuleAccountEncodeObject = isMsgFundFeeAbsModuleAccountEncodeObject;
|
|
@@ -19,84 +19,208 @@ const index_1 = require("@cheqd/ts-proto-cjs/feeabstraction/feeabs/v1beta1/index
|
|
|
19
19
|
const _1 = require("./_");
|
|
20
20
|
const stargate_cjs_1 = require("@cosmjs/stargate-cjs");
|
|
21
21
|
const tx_1 = require("cosmjs-types/cosmos/gov/v1/tx");
|
|
22
|
-
|
|
22
|
+
/** Default extension key for fee abstraction-related query operations */
|
|
23
|
+
exports.defaultFeeabstractionExtensionKey = 'feeabs';
|
|
24
|
+
/**
|
|
25
|
+
* Protobuf message type literals for fee abstraction operations.
|
|
26
|
+
* Used for consistent message type identification across the module.
|
|
27
|
+
*/
|
|
23
28
|
exports.protobufLiterals = {
|
|
29
|
+
/** Add host zone message type */
|
|
24
30
|
MsgAddHostZone: 'MsgAddHostZone',
|
|
31
|
+
/** Add host zone response message type */
|
|
25
32
|
MsgAddHostZoneResponse: 'MsgAddHostZoneResponse',
|
|
33
|
+
/** Fund fee abstraction module account message type */
|
|
26
34
|
MsgFundFeeAbsModuleAccount: 'MsgFundFeeAbsModuleAccount',
|
|
35
|
+
/** Fund fee abstraction module account response message type */
|
|
27
36
|
MsgFundFeeAbsModuleAccountResponse: 'MsgFundFeeAbsModuleAccountResponse',
|
|
37
|
+
/** Remove host zone message type */
|
|
28
38
|
MsgRemoveHostZone: 'MsgRemoveHostZone',
|
|
39
|
+
/** Remove host zone response message type */
|
|
29
40
|
MsgRemoveHostZoneResponse: 'MsgRemoveHostZoneResponse',
|
|
41
|
+
/** Send query IBC denomination TWAP message type */
|
|
30
42
|
MsgSendQueryIbcDenomTWAP: 'MsgSendQueryIbcDenomTWAP',
|
|
43
|
+
/** Send query IBC denomination TWAP response message type */
|
|
31
44
|
MsgSendQueryIbcDenomTWAPResponse: 'MsgSendQueryIbcDenomTWAPResponse',
|
|
45
|
+
/** Swap cross-chain message type */
|
|
32
46
|
MsgSwapCrossChain: 'MsgSwapCrossChain',
|
|
47
|
+
/** Swap cross-chain response message type */
|
|
33
48
|
MsgSwapCrossChainResponse: 'MsgSwapCrossChainResponse',
|
|
49
|
+
/** Update host zone message type */
|
|
34
50
|
MsgUpdateHostZone: 'MsgUpdateHostZone',
|
|
51
|
+
/** Update host zone response message type */
|
|
35
52
|
MsgUpdateHostZoneResponse: 'MsgUpdateHostZoneResponse',
|
|
53
|
+
/** Update parameters message type */
|
|
36
54
|
MsgUpdateParams: 'MsgUpdateParams',
|
|
55
|
+
/** Update parameters response message type */
|
|
37
56
|
MsgUpdateParamsResponse: 'MsgUpdateParamsResponse',
|
|
38
57
|
};
|
|
58
|
+
/** Type URL for MsgAddHostZone messages */
|
|
39
59
|
exports.typeUrlMsgAddHostZone = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgAddHostZone}`;
|
|
60
|
+
/** Type URL for MsgAddHostZoneResponse messages */
|
|
40
61
|
exports.typeUrlMsgAddHostZoneResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgAddHostZoneResponse}`;
|
|
62
|
+
/** Type URL for MsgFundFeeAbsModuleAccount messages */
|
|
41
63
|
exports.typeUrlMsgFundFeeAbsModuleAccount = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgFundFeeAbsModuleAccount}`;
|
|
64
|
+
/** Type URL for MsgFundFeeAbsModuleAccountResponse messages */
|
|
42
65
|
exports.typeUrlMsgFundFeeAbsModuleAccountResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgFundFeeAbsModuleAccountResponse}`;
|
|
66
|
+
/** Type URL for MsgRemoveHostZone messages */
|
|
43
67
|
exports.typeUrlMsgRemoveHostZone = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgRemoveHostZone}`;
|
|
68
|
+
/** Type URL for MsgRemoveHostZoneResponse messages */
|
|
44
69
|
exports.typeUrlMsgRemoveHostZoneResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgRemoveHostZoneResponse}`;
|
|
70
|
+
/** Type URL for MsgSendQueryIbcDenomTWAP messages */
|
|
45
71
|
exports.typeUrlMsgSendQueryIbcDenomTWAP = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgSendQueryIbcDenomTWAP}`;
|
|
72
|
+
/** Type URL for MsgSendQueryIbcDenomTWAPResponse messages */
|
|
46
73
|
exports.typeUrlMsgSendQueryIbcDenomTWAPResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgSendQueryIbcDenomTWAPResponse}`;
|
|
74
|
+
/** Type URL for MsgSwapCrossChain messages */
|
|
47
75
|
exports.typeUrlMsgSwapCrossChain = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgSwapCrossChain}`;
|
|
76
|
+
/** Type URL for MsgSwapCrossChainResponse messages */
|
|
48
77
|
exports.typeUrlMsgSwapCrossChainResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgSwapCrossChainResponse}`;
|
|
78
|
+
/** Type URL for MsgUpdateHostZone messages */
|
|
49
79
|
exports.typeUrlMsgUpdateHostZone = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgUpdateHostZone}`;
|
|
80
|
+
/** Type URL for MsgUpdateHostZoneResponse messages */
|
|
50
81
|
exports.typeUrlMsgUpdateHostZoneResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgUpdateHostZoneResponse}`;
|
|
82
|
+
/** Type URL for MsgUpdateParams messages */
|
|
51
83
|
exports.typeUrlMsgUpdateParams = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgUpdateParams}`;
|
|
84
|
+
/** Type URL for MsgUpdateParamsResponse messages */
|
|
52
85
|
exports.typeUrlMsgUpdateParamsResponse = `/${index_1.protobufPackage}.${exports.protobufLiterals.MsgUpdateParamsResponse}`;
|
|
86
|
+
/**
|
|
87
|
+
* Type guard function to check if an object is a MsgAddHostZoneEncodeObject.
|
|
88
|
+
*
|
|
89
|
+
* @param obj - EncodeObject to check
|
|
90
|
+
* @returns True if the object is a MsgAddHostZoneEncodeObject
|
|
91
|
+
*/
|
|
53
92
|
function isMsgAddHostZoneEncodeObject(obj) {
|
|
54
93
|
return obj.typeUrl === exports.typeUrlMsgAddHostZone;
|
|
55
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* Type guard function to check if an object is a MsgAddHostZoneResponseEncodeObject.
|
|
97
|
+
*
|
|
98
|
+
* @param obj - EncodeObject to check
|
|
99
|
+
* @returns True if the object is a MsgAddHostZoneResponseEncodeObject
|
|
100
|
+
*/
|
|
56
101
|
function isMsgAddHostZoneResponseEncodeObject(obj) {
|
|
57
102
|
return obj.typeUrl === exports.typeUrlMsgAddHostZoneResponse;
|
|
58
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Type guard function to check if an object is a MsgFundFeeAbsModuleAccountEncodeObject.
|
|
106
|
+
*
|
|
107
|
+
* @param obj - EncodeObject to check
|
|
108
|
+
* @returns True if the object is a MsgFundFeeAbsModuleAccountEncodeObject
|
|
109
|
+
*/
|
|
59
110
|
function isMsgFundFeeAbsModuleAccountEncodeObject(obj) {
|
|
60
111
|
return obj.typeUrl === exports.typeUrlMsgFundFeeAbsModuleAccount;
|
|
61
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* Type guard function to check if an object is a MsgFundFeeAbsModuleAccountResponseEncodeObject.
|
|
115
|
+
*
|
|
116
|
+
* @param obj - EncodeObject to check
|
|
117
|
+
* @returns True if the object is a MsgFundFeeAbsModuleAccountResponseEncodeObject
|
|
118
|
+
*/
|
|
62
119
|
function isMsgFundFeeAbsModuleAccountResponseEncodeObject(obj) {
|
|
63
120
|
return obj.typeUrl === exports.typeUrlMsgFundFeeAbsModuleAccountResponse;
|
|
64
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Type guard function to check if an object is a MsgRemoveHostZoneEncodeObject.
|
|
124
|
+
*
|
|
125
|
+
* @param obj - EncodeObject to check
|
|
126
|
+
* @returns True if the object is a MsgRemoveHostZoneEncodeObject
|
|
127
|
+
*/
|
|
65
128
|
function isMsgRemoveHostZoneEncodeObject(obj) {
|
|
66
129
|
return obj.typeUrl === exports.typeUrlMsgRemoveHostZone;
|
|
67
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Type guard function to check if an object is a MsgRemoveHostZoneResponseEncodeObject.
|
|
133
|
+
*
|
|
134
|
+
* @param obj - EncodeObject to check
|
|
135
|
+
* @returns True if the object is a MsgRemoveHostZoneResponseEncodeObject
|
|
136
|
+
*/
|
|
68
137
|
function isMsgRemoveHostZoneResponseEncodeObject(obj) {
|
|
69
138
|
return obj.typeUrl === exports.typeUrlMsgRemoveHostZoneResponse;
|
|
70
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* Type guard function to check if an object is a MsgSendQueryIbcDenomTWAPEncodeObject.
|
|
142
|
+
*
|
|
143
|
+
* @param obj - EncodeObject to check
|
|
144
|
+
* @returns True if the object is a MsgSendQueryIbcDenomTWAPEncodeObject
|
|
145
|
+
*/
|
|
71
146
|
function isMsgSendQueryIbcDenomTWAPEncodeObject(obj) {
|
|
72
147
|
return obj.typeUrl === exports.typeUrlMsgSendQueryIbcDenomTWAP;
|
|
73
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Type guard function to check if an object is a MsgSendQueryIbcDenomTWAPResponseEncodeObject.
|
|
151
|
+
*
|
|
152
|
+
* @param obj - EncodeObject to check
|
|
153
|
+
* @returns True if the object is a MsgSendQueryIbcDenomTWAPResponseEncodeObject
|
|
154
|
+
*/
|
|
74
155
|
function isMsgSendQueryIbcDenomTWAPResponseEncodeObject(obj) {
|
|
75
156
|
return obj.typeUrl === exports.typeUrlMsgSendQueryIbcDenomTWAPResponse;
|
|
76
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Type guard function to check if an object is a MsgSwapCrossChainEncodeObject.
|
|
160
|
+
*
|
|
161
|
+
* @param obj - EncodeObject to check
|
|
162
|
+
* @returns True if the object is a MsgSwapCrossChainEncodeObject
|
|
163
|
+
*/
|
|
77
164
|
function isMsgSwapCrossChainEncodeObject(obj) {
|
|
78
165
|
return obj.typeUrl === exports.typeUrlMsgSwapCrossChain;
|
|
79
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Type guard function to check if an object is a MsgSwapCrossChainResponseEncodeObject.
|
|
169
|
+
*
|
|
170
|
+
* @param obj - EncodeObject to check
|
|
171
|
+
* @returns True if the object is a MsgSwapCrossChainResponseEncodeObject
|
|
172
|
+
*/
|
|
80
173
|
function isMsgSwapCrossChainResponseEncodeObject(obj) {
|
|
81
174
|
return obj.typeUrl === exports.typeUrlMsgSwapCrossChainResponse;
|
|
82
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* Type guard function to check if an object is a MsgUpdateHostZoneEncodeObject.
|
|
178
|
+
*
|
|
179
|
+
* @param obj - EncodeObject to check
|
|
180
|
+
* @returns True if the object is a MsgUpdateHostZoneEncodeObject
|
|
181
|
+
*/
|
|
83
182
|
function isMsgUpdateHostZoneEncodeObject(obj) {
|
|
84
183
|
return obj.typeUrl === exports.typeUrlMsgUpdateHostZone;
|
|
85
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Type guard function to check if an object is a MsgUpdateHostZoneResponseEncodeObject.
|
|
187
|
+
*
|
|
188
|
+
* @param obj - EncodeObject to check
|
|
189
|
+
* @returns True if the object is a MsgUpdateHostZoneResponseEncodeObject
|
|
190
|
+
*/
|
|
86
191
|
function isMsgUpdateHostZoneResponseEncodeObject(obj) {
|
|
87
192
|
return obj.typeUrl === exports.typeUrlMsgUpdateHostZoneResponse;
|
|
88
193
|
}
|
|
194
|
+
/**
|
|
195
|
+
* Type guard function to check if an object is a MsgUpdateParamsEncodeObject.
|
|
196
|
+
*
|
|
197
|
+
* @param obj - EncodeObject to check
|
|
198
|
+
* @returns True if the object is a MsgUpdateParamsEncodeObject
|
|
199
|
+
*/
|
|
89
200
|
function isMsgUpdateParamsEncodeObject(obj) {
|
|
90
201
|
return obj.typeUrl === exports.typeUrlMsgUpdateParams;
|
|
91
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* Type guard function to check if an object is a MsgUpdateParamsResponseEncodeObject.
|
|
205
|
+
*
|
|
206
|
+
* @param obj - EncodeObject to check
|
|
207
|
+
* @returns True if the object is a MsgUpdateParamsResponseEncodeObject
|
|
208
|
+
*/
|
|
92
209
|
function isMsgUpdateParamsResponseEncodeObject(obj) {
|
|
93
210
|
return obj.typeUrl === exports.typeUrlMsgUpdateParamsResponse;
|
|
94
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Sets up the fee abstraction extension for the querier client.
|
|
214
|
+
* Creates and configures the fee abstraction-specific query methods.
|
|
215
|
+
*
|
|
216
|
+
* @param base - Base QueryClient to extend
|
|
217
|
+
* @returns Configured fee abstraction extension with query methods
|
|
218
|
+
*/
|
|
95
219
|
const setupFeeabstractionExtension = (base) => {
|
|
96
220
|
const rpc = (0, stargate_cjs_1.createProtobufRpcClient)(base);
|
|
97
221
|
const queryService = new index_1.QueryClientImpl(rpc);
|
|
98
222
|
return {
|
|
99
|
-
[exports.
|
|
223
|
+
[exports.defaultFeeabstractionExtensionKey]: {
|
|
100
224
|
hostChainConfig: async (request) => {
|
|
101
225
|
return await queryService.HostChainConfig(request);
|
|
102
226
|
},
|
|
@@ -110,8 +234,12 @@ const setupFeeabstractionExtension = (base) => {
|
|
|
110
234
|
};
|
|
111
235
|
};
|
|
112
236
|
exports.setupFeeabstractionExtension = setupFeeabstractionExtension;
|
|
237
|
+
/**
|
|
238
|
+
* Fee Abstraction Module class providing comprehensive fee abstraction functionality.
|
|
239
|
+
* Handles host zone management, cross-chain swaps, and fee abstraction operations on the Cheqd blockchain.
|
|
240
|
+
*/
|
|
113
241
|
class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
114
|
-
|
|
242
|
+
//@ts-expect-error underlying type `GeneratedType` is intentionally wider
|
|
115
243
|
static registryTypes = [
|
|
116
244
|
[exports.typeUrlMsgAddHostZone, index_1.MsgAddHostZone],
|
|
117
245
|
[exports.typeUrlMsgAddHostZoneResponse, index_1.MsgAddHostZoneResponse],
|
|
@@ -128,8 +256,16 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
128
256
|
[exports.typeUrlMsgUpdateParams, index_1.MsgUpdateParams],
|
|
129
257
|
[exports.typeUrlMsgUpdateParamsResponse, index_1.MsgUpdateParamsResponse],
|
|
130
258
|
];
|
|
259
|
+
/** Querier extension setup function for fee abstraction operations */
|
|
131
260
|
static querierExtensionSetup = exports.setupFeeabstractionExtension;
|
|
261
|
+
/** Querier instance with fee abstraction extension capabilities */
|
|
132
262
|
querier;
|
|
263
|
+
/**
|
|
264
|
+
* Constructs a new fee abstraction module instance.
|
|
265
|
+
*
|
|
266
|
+
* @param signer - Signing client for blockchain transactions
|
|
267
|
+
* @param querier - Querier client with fee abstraction extension for data retrieval
|
|
268
|
+
*/
|
|
133
269
|
constructor(signer, querier) {
|
|
134
270
|
super(signer, querier);
|
|
135
271
|
this.querier = querier;
|
|
@@ -143,12 +279,35 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
143
279
|
updateParamsProposal: this.updateParamsProposal.bind(this),
|
|
144
280
|
};
|
|
145
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* Gets the registry types for fee abstraction message encoding/decoding.
|
|
284
|
+
*
|
|
285
|
+
* @returns Iterable of [typeUrl, GeneratedType] pairs for the registry
|
|
286
|
+
*/
|
|
146
287
|
getRegistryTypes() {
|
|
147
288
|
return FeeabstractionModule.registryTypes;
|
|
148
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Gets the querier extension setup for fee abstraction operations.
|
|
292
|
+
*
|
|
293
|
+
* @returns Query extension setup function for fee abstraction functionality
|
|
294
|
+
*/
|
|
149
295
|
getQuerierExtensionSetup() {
|
|
150
296
|
return FeeabstractionModule.querierExtensionSetup;
|
|
151
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* Creates a governance proposal to add a new host zone for fee abstraction.
|
|
300
|
+
* Submits the proposal through the governance module for community voting.
|
|
301
|
+
*
|
|
302
|
+
* @param data - Host zone data to add
|
|
303
|
+
* @param title - Proposal title
|
|
304
|
+
* @param deposit - Initial deposit for the proposal
|
|
305
|
+
* @param proposer - Address of the proposal submitter
|
|
306
|
+
* @param fee - Transaction fee configuration
|
|
307
|
+
* @param memo - Optional transaction memo
|
|
308
|
+
* @param context - Optional SDK context for accessing clients
|
|
309
|
+
* @returns Promise resolving to the transaction response
|
|
310
|
+
*/
|
|
152
311
|
async addHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
|
|
153
312
|
if (!this._signer)
|
|
154
313
|
this._signer = context.sdk.signer;
|
|
@@ -168,6 +327,17 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
168
327
|
};
|
|
169
328
|
return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
|
|
170
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* Funds the fee abstraction module account with tokens.
|
|
332
|
+
* Allows users to provide liquidity for fee abstraction functionality.
|
|
333
|
+
*
|
|
334
|
+
* @param sender - Address of the account sending funds
|
|
335
|
+
* @param amount - Array of coins to send to the module account
|
|
336
|
+
* @param fee - Transaction fee configuration
|
|
337
|
+
* @param memo - Optional transaction memo
|
|
338
|
+
* @param context - Optional SDK context for accessing clients
|
|
339
|
+
* @returns Promise resolving to the transaction response
|
|
340
|
+
*/
|
|
171
341
|
async fundFeeAbsModuleAccount(sender, amount, fee, memo, context) {
|
|
172
342
|
if (!this._signer)
|
|
173
343
|
this._signer = context.sdk.signer;
|
|
@@ -180,6 +350,19 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
180
350
|
};
|
|
181
351
|
return await this._signer.signAndBroadcast(sender, [fundFeeAbsModuleAccountMsg], fee, memo);
|
|
182
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Creates a governance proposal to remove an existing host zone from fee abstraction.
|
|
355
|
+
* Submits the proposal through the governance module for community voting.
|
|
356
|
+
*
|
|
357
|
+
* @param data - Host zone data to remove
|
|
358
|
+
* @param title - Proposal title
|
|
359
|
+
* @param deposit - Initial deposit for the proposal
|
|
360
|
+
* @param proposer - Address of the proposal submitter
|
|
361
|
+
* @param fee - Transaction fee configuration
|
|
362
|
+
* @param memo - Optional transaction memo
|
|
363
|
+
* @param context - Optional SDK context for accessing clients
|
|
364
|
+
* @returns Promise resolving to the transaction response
|
|
365
|
+
*/
|
|
183
366
|
async removeHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
|
|
184
367
|
if (!this._signer)
|
|
185
368
|
this._signer = context.sdk.signer;
|
|
@@ -199,6 +382,17 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
199
382
|
};
|
|
200
383
|
return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
|
|
201
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* Sends a query for IBC denomination Time-Weighted Average Price (TWAP) data.
|
|
387
|
+
* Initiates a cross-chain query to retrieve pricing information for fee calculation.
|
|
388
|
+
*
|
|
389
|
+
* @param sender - Address of the account sending the query
|
|
390
|
+
* @param data - TWAP query data containing denomination and parameters
|
|
391
|
+
* @param fee - Transaction fee configuration
|
|
392
|
+
* @param memo - Optional transaction memo
|
|
393
|
+
* @param context - Optional SDK context for accessing clients
|
|
394
|
+
* @returns Promise resolving to the TWAP query response
|
|
395
|
+
*/
|
|
202
396
|
async sendQueryIbcDenomTWAP(sender, data, fee, memo, context) {
|
|
203
397
|
if (!this._signer)
|
|
204
398
|
this._signer = context.sdk.signer;
|
|
@@ -208,6 +402,17 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
208
402
|
};
|
|
209
403
|
return await this._signer.signAndBroadcast(sender, [sendQueryIbcDenomTwapMsg], fee, memo);
|
|
210
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Performs a cross-chain token swap using fee abstraction.
|
|
407
|
+
* Enables users to swap IBC tokens across different chains.
|
|
408
|
+
*
|
|
409
|
+
* @param sender - Address of the account initiating the swap
|
|
410
|
+
* @param ibcDenom - IBC denomination to swap
|
|
411
|
+
* @param fee - Transaction fee configuration
|
|
412
|
+
* @param memo - Optional transaction memo
|
|
413
|
+
* @param context - Optional SDK context for accessing clients
|
|
414
|
+
* @returns Promise resolving to the swap response
|
|
415
|
+
*/
|
|
211
416
|
async swapCrossChain(sender, ibcDenom, fee, memo, context) {
|
|
212
417
|
if (!this._signer)
|
|
213
418
|
this._signer = context.sdk.signer;
|
|
@@ -219,6 +424,19 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
219
424
|
};
|
|
220
425
|
return await this._signer.signAndBroadcast(sender, [swapCrossChainMsg], fee, memo);
|
|
221
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* Creates a governance proposal to update an existing host zone configuration.
|
|
429
|
+
* Submits the proposal through the governance module for community voting.
|
|
430
|
+
*
|
|
431
|
+
* @param data - Updated host zone configuration data
|
|
432
|
+
* @param title - Proposal title
|
|
433
|
+
* @param deposit - Initial deposit for the proposal
|
|
434
|
+
* @param proposer - Address of the proposal submitter
|
|
435
|
+
* @param fee - Transaction fee configuration
|
|
436
|
+
* @param memo - Optional transaction memo
|
|
437
|
+
* @param context - Optional SDK context for accessing clients
|
|
438
|
+
* @returns Promise resolving to the transaction response
|
|
439
|
+
*/
|
|
222
440
|
async updateHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
|
|
223
441
|
if (!this._signer)
|
|
224
442
|
this._signer = context.sdk.signer;
|
|
@@ -238,6 +456,19 @@ class FeeabstractionModule extends _1.AbstractCheqdSDKModule {
|
|
|
238
456
|
};
|
|
239
457
|
return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
|
|
240
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* Creates a governance proposal to update fee abstraction module parameters.
|
|
461
|
+
* Submits the proposal through the governance module for community voting.
|
|
462
|
+
*
|
|
463
|
+
* @param data - Updated module parameters
|
|
464
|
+
* @param title - Proposal title
|
|
465
|
+
* @param deposit - Initial deposit for the proposal
|
|
466
|
+
* @param proposer - Address of the proposal submitter
|
|
467
|
+
* @param fee - Transaction fee configuration
|
|
468
|
+
* @param memo - Optional transaction memo
|
|
469
|
+
* @param context - Optional SDK context for accessing clients
|
|
470
|
+
* @returns Promise resolving to the transaction response
|
|
471
|
+
*/
|
|
241
472
|
async updateParamsProposal(data, title, deposit, proposer, fee, memo, context) {
|
|
242
473
|
if (!this._signer)
|
|
243
474
|
this._signer = context.sdk.signer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feeabstraction.js","sourceRoot":"","sources":["../../../cjs/src/modules/feeabstraction.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"feeabstraction.js","sourceRoot":"","sources":["../../../cjs/src/modules/feeabstraction.ts"],"names":[],"mappings":";;;AA4HA,oEAEC;AAiBD,oFAEC;AAkBD,4FAIC;AAiBD,4GAIC;AAkBD,0EAEC;AAiBD,0FAIC;AAiBD,wFAEC;AAiBD,wGAIC;AAi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