@cheqd/sdk-esm 5.3.7 → 5.4.0-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.
Files changed (179) hide show
  1. package/build/cjs/src/index.d.ts +142 -0
  2. package/build/cjs/src/index.d.ts.map +1 -0
  3. package/build/cjs/src/index.js +184 -0
  4. package/build/cjs/src/index.js.map +1 -0
  5. package/build/cjs/src/modules/_.d.ts +81 -0
  6. package/build/cjs/src/modules/_.d.ts.map +1 -0
  7. package/build/cjs/src/modules/_.js +93 -0
  8. package/build/cjs/src/modules/_.js.map +1 -0
  9. package/build/cjs/src/modules/did.d.ts +488 -0
  10. package/build/cjs/src/modules/did.d.ts.map +1 -0
  11. package/build/cjs/src/modules/did.js +1255 -0
  12. package/build/cjs/src/modules/did.js.map +1 -0
  13. package/build/cjs/src/modules/feeabstraction.d.ts +429 -0
  14. package/build/cjs/src/modules/feeabstraction.d.ts.map +1 -0
  15. package/build/cjs/src/modules/feeabstraction.js +474 -0
  16. package/build/cjs/src/modules/feeabstraction.js.map +1 -0
  17. package/build/cjs/src/modules/feemarket.d.ts +244 -0
  18. package/build/cjs/src/modules/feemarket.d.ts.map +1 -0
  19. package/build/cjs/src/modules/feemarket.js +297 -0
  20. package/build/cjs/src/modules/feemarket.js.map +1 -0
  21. package/build/cjs/src/modules/oracle.d.ts +563 -0
  22. package/build/cjs/src/modules/oracle.d.ts.map +1 -0
  23. package/build/cjs/src/modules/oracle.js +784 -0
  24. package/build/cjs/src/modules/oracle.js.map +1 -0
  25. package/build/cjs/src/modules/resource.d.ts +330 -0
  26. package/build/cjs/src/modules/resource.d.ts.map +1 -0
  27. package/build/cjs/src/modules/resource.js +556 -0
  28. package/build/cjs/src/modules/resource.js.map +1 -0
  29. package/build/cjs/src/querier.d.ts +62 -0
  30. package/build/cjs/src/querier.d.ts.map +1 -0
  31. package/build/cjs/src/querier.js +87 -0
  32. package/build/cjs/src/querier.js.map +1 -0
  33. package/build/cjs/src/registry.d.ts +18 -0
  34. package/build/cjs/src/registry.d.ts.map +1 -0
  35. package/build/cjs/src/registry.js +23 -0
  36. package/build/cjs/src/registry.js.map +1 -0
  37. package/build/cjs/src/signer.d.ts +250 -0
  38. package/build/cjs/src/signer.d.ts.map +1 -0
  39. package/build/cjs/src/signer.js +617 -0
  40. package/build/cjs/src/signer.js.map +1 -0
  41. package/build/cjs/src/types.d.ts +221 -0
  42. package/build/cjs/src/types.d.ts.map +1 -0
  43. package/build/cjs/src/types.js.map +1 -0
  44. package/build/cjs/src/utils.d.ts +233 -0
  45. package/build/cjs/src/utils.d.ts.map +1 -0
  46. package/build/cjs/src/utils.js +571 -0
  47. package/build/cjs/src/utils.js.map +1 -0
  48. package/build/{index.d.ts → esm/src/index.d.ts} +7 -3
  49. package/build/esm/src/index.d.ts.map +1 -0
  50. package/build/{index.js → esm/src/index.js} +3 -1
  51. package/build/esm/src/index.js.map +1 -0
  52. package/build/esm/src/modules/_.d.ts.map +1 -0
  53. package/build/esm/src/modules/_.js.map +1 -0
  54. package/build/{modules → esm/src/modules}/did.d.ts +109 -7
  55. package/build/esm/src/modules/did.d.ts.map +1 -0
  56. package/build/{modules → esm/src/modules}/did.js +220 -8
  57. package/build/esm/src/modules/did.js.map +1 -0
  58. package/build/esm/src/modules/feeabstraction.d.ts.map +1 -0
  59. package/build/esm/src/modules/feeabstraction.js.map +1 -0
  60. package/build/esm/src/modules/feemarket.d.ts.map +1 -0
  61. package/build/esm/src/modules/feemarket.js.map +1 -0
  62. package/build/esm/src/modules/oracle.d.ts +563 -0
  63. package/build/esm/src/modules/oracle.d.ts.map +1 -0
  64. package/build/esm/src/modules/oracle.js +784 -0
  65. package/build/esm/src/modules/oracle.js.map +1 -0
  66. package/build/{modules → esm/src/modules}/resource.d.ts +132 -6
  67. package/build/esm/src/modules/resource.d.ts.map +1 -0
  68. package/build/esm/src/modules/resource.js +556 -0
  69. package/build/esm/src/modules/resource.js.map +1 -0
  70. package/build/esm/src/querier.d.ts.map +1 -0
  71. package/build/esm/src/querier.js.map +1 -0
  72. package/build/esm/src/registry.d.ts.map +1 -0
  73. package/build/esm/src/registry.js.map +1 -0
  74. package/build/esm/src/signer.d.ts.map +1 -0
  75. package/build/esm/src/signer.js.map +1 -0
  76. package/build/{types → esm/src}/types.d.ts +27 -1
  77. package/build/esm/src/types.d.ts.map +1 -0
  78. package/build/esm/src/types.js +43 -0
  79. package/build/esm/src/types.js.map +1 -0
  80. package/build/esm/src/utils.d.ts.map +1 -0
  81. package/build/esm/src/utils.js.map +1 -0
  82. package/build/types/cjs/src/index.d.ts +142 -0
  83. package/build/types/cjs/src/index.d.ts.map +1 -0
  84. package/build/types/cjs/src/modules/_.d.ts +81 -0
  85. package/build/types/cjs/src/modules/_.d.ts.map +1 -0
  86. package/build/types/cjs/src/modules/did.d.ts +488 -0
  87. package/build/types/cjs/src/modules/did.d.ts.map +1 -0
  88. package/build/types/cjs/src/modules/feeabstraction.d.ts +429 -0
  89. package/build/types/cjs/src/modules/feeabstraction.d.ts.map +1 -0
  90. package/build/types/cjs/src/modules/feemarket.d.ts +244 -0
  91. package/build/types/cjs/src/modules/feemarket.d.ts.map +1 -0
  92. package/build/types/cjs/src/modules/oracle.d.ts +563 -0
  93. package/build/types/cjs/src/modules/oracle.d.ts.map +1 -0
  94. package/build/types/cjs/src/modules/resource.d.ts +330 -0
  95. package/build/types/cjs/src/modules/resource.d.ts.map +1 -0
  96. package/build/types/cjs/src/querier.d.ts +62 -0
  97. package/build/types/cjs/src/querier.d.ts.map +1 -0
  98. package/build/types/cjs/src/registry.d.ts +18 -0
  99. package/build/types/cjs/src/registry.d.ts.map +1 -0
  100. package/build/types/cjs/src/signer.d.ts +250 -0
  101. package/build/types/cjs/src/signer.d.ts.map +1 -0
  102. package/build/types/cjs/src/types.d.ts +221 -0
  103. package/build/types/cjs/src/types.d.ts.map +1 -0
  104. package/build/types/cjs/src/utils.d.ts +233 -0
  105. package/build/types/cjs/src/utils.d.ts.map +1 -0
  106. package/build/types/{index.d.ts → esm/src/index.d.ts} +7 -3
  107. package/build/types/esm/src/index.d.ts.map +1 -0
  108. package/build/types/esm/src/modules/_.d.ts.map +1 -0
  109. package/build/types/{modules → esm/src/modules}/did.d.ts +109 -7
  110. package/build/types/esm/src/modules/did.d.ts.map +1 -0
  111. package/build/types/esm/src/modules/feeabstraction.d.ts.map +1 -0
  112. package/build/types/esm/src/modules/feemarket.d.ts.map +1 -0
  113. package/build/types/esm/src/modules/oracle.d.ts +563 -0
  114. package/build/types/esm/src/modules/oracle.d.ts.map +1 -0
  115. package/build/types/{modules → esm/src/modules}/resource.d.ts +132 -6
  116. package/build/types/esm/src/modules/resource.d.ts.map +1 -0
  117. package/build/types/esm/src/querier.d.ts.map +1 -0
  118. package/build/types/esm/src/registry.d.ts.map +1 -0
  119. package/build/types/esm/src/signer.d.ts.map +1 -0
  120. package/build/{types.d.ts → types/esm/src/types.d.ts} +27 -1
  121. package/build/types/esm/src/types.d.ts.map +1 -0
  122. package/build/types/esm/src/utils.d.ts.map +1 -0
  123. package/package.json +2 -2
  124. package/build/index.d.ts.map +0 -1
  125. package/build/index.js.map +0 -1
  126. package/build/modules/_.d.ts.map +0 -1
  127. package/build/modules/_.js.map +0 -1
  128. package/build/modules/did.d.ts.map +0 -1
  129. package/build/modules/did.js.map +0 -1
  130. package/build/modules/feeabstraction.d.ts.map +0 -1
  131. package/build/modules/feeabstraction.js.map +0 -1
  132. package/build/modules/feemarket.d.ts.map +0 -1
  133. package/build/modules/feemarket.js.map +0 -1
  134. package/build/modules/resource.d.ts.map +0 -1
  135. package/build/modules/resource.js +0 -297
  136. package/build/modules/resource.js.map +0 -1
  137. package/build/querier.d.ts.map +0 -1
  138. package/build/querier.js.map +0 -1
  139. package/build/registry.d.ts.map +0 -1
  140. package/build/registry.js.map +0 -1
  141. package/build/signer.d.ts.map +0 -1
  142. package/build/signer.js.map +0 -1
  143. package/build/types/index.d.ts.map +0 -1
  144. package/build/types/modules/_.d.ts.map +0 -1
  145. package/build/types/modules/did.d.ts.map +0 -1
  146. package/build/types/modules/feeabstraction.d.ts.map +0 -1
  147. package/build/types/modules/feemarket.d.ts.map +0 -1
  148. package/build/types/modules/resource.d.ts.map +0 -1
  149. package/build/types/querier.d.ts.map +0 -1
  150. package/build/types/registry.d.ts.map +0 -1
  151. package/build/types/signer.d.ts.map +0 -1
  152. package/build/types/types.d.ts.map +0 -1
  153. package/build/types/utils.d.ts.map +0 -1
  154. package/build/types.d.ts.map +0 -1
  155. package/build/types.js.map +0 -1
  156. package/build/utils.d.ts.map +0 -1
  157. package/build/utils.js.map +0 -1
  158. /package/build/{types.js → cjs/src/types.js} +0 -0
  159. /package/build/{modules → esm/src/modules}/_.d.ts +0 -0
  160. /package/build/{modules → esm/src/modules}/_.js +0 -0
  161. /package/build/{modules → esm/src/modules}/feeabstraction.d.ts +0 -0
  162. /package/build/{modules → esm/src/modules}/feeabstraction.js +0 -0
  163. /package/build/{modules → esm/src/modules}/feemarket.d.ts +0 -0
  164. /package/build/{modules → esm/src/modules}/feemarket.js +0 -0
  165. /package/build/{querier.d.ts → esm/src/querier.d.ts} +0 -0
  166. /package/build/{querier.js → esm/src/querier.js} +0 -0
  167. /package/build/{registry.d.ts → esm/src/registry.d.ts} +0 -0
  168. /package/build/{registry.js → esm/src/registry.js} +0 -0
  169. /package/build/{signer.d.ts → esm/src/signer.d.ts} +0 -0
  170. /package/build/{signer.js → esm/src/signer.js} +0 -0
  171. /package/build/{types → esm/src}/utils.d.ts +0 -0
  172. /package/build/{utils.js → esm/src/utils.js} +0 -0
  173. /package/build/types/{modules → esm/src/modules}/_.d.ts +0 -0
  174. /package/build/types/{modules → esm/src/modules}/feeabstraction.d.ts +0 -0
  175. /package/build/types/{modules → esm/src/modules}/feemarket.d.ts +0 -0
  176. /package/build/types/{querier.d.ts → esm/src/querier.d.ts} +0 -0
  177. /package/build/types/{registry.d.ts → esm/src/registry.d.ts} +0 -0
  178. /package/build/types/{signer.d.ts → esm/src/signer.d.ts} +0 -0
  179. /package/build/{utils.d.ts → types/esm/src/utils.d.ts} +0 -0
@@ -0,0 +1,474 @@
1
+ import { protobufPackage, MsgAddHostZone, MsgAddHostZoneResponse, MsgFundFeeAbsModuleAccount, MsgFundFeeAbsModuleAccountResponse, MsgRemoveHostZone, MsgRemoveHostZoneResponse, MsgSendQueryIbcDenomTWAP, MsgSendQueryIbcDenomTWAPResponse, MsgSwapCrossChain, MsgSwapCrossChainResponse, MsgUpdateHostZone, MsgUpdateHostZoneResponse, MsgUpdateParams, MsgUpdateParamsResponse, QueryClientImpl, } from '@cheqd/ts-proto-cjs/feeabstraction/feeabs/v1beta1/index';
2
+ import { AbstractCheqdSDKModule } from './_';
3
+ import { createProtobufRpcClient } from '@cosmjs/stargate-cjs';
4
+ import { MsgSubmitProposal } from 'cosmjs-types/cosmos/gov/v1/tx';
5
+ /** Default extension key for fee abstraction-related query operations */
6
+ export const defaultFeeabstractionExtensionKey = 'feeabs';
7
+ /**
8
+ * Protobuf message type literals for fee abstraction operations.
9
+ * Used for consistent message type identification across the module.
10
+ */
11
+ export const protobufLiterals = {
12
+ /** Add host zone message type */
13
+ MsgAddHostZone: 'MsgAddHostZone',
14
+ /** Add host zone response message type */
15
+ MsgAddHostZoneResponse: 'MsgAddHostZoneResponse',
16
+ /** Fund fee abstraction module account message type */
17
+ MsgFundFeeAbsModuleAccount: 'MsgFundFeeAbsModuleAccount',
18
+ /** Fund fee abstraction module account response message type */
19
+ MsgFundFeeAbsModuleAccountResponse: 'MsgFundFeeAbsModuleAccountResponse',
20
+ /** Remove host zone message type */
21
+ MsgRemoveHostZone: 'MsgRemoveHostZone',
22
+ /** Remove host zone response message type */
23
+ MsgRemoveHostZoneResponse: 'MsgRemoveHostZoneResponse',
24
+ /** Send query IBC denomination TWAP message type */
25
+ MsgSendQueryIbcDenomTWAP: 'MsgSendQueryIbcDenomTWAP',
26
+ /** Send query IBC denomination TWAP response message type */
27
+ MsgSendQueryIbcDenomTWAPResponse: 'MsgSendQueryIbcDenomTWAPResponse',
28
+ /** Swap cross-chain message type */
29
+ MsgSwapCrossChain: 'MsgSwapCrossChain',
30
+ /** Swap cross-chain response message type */
31
+ MsgSwapCrossChainResponse: 'MsgSwapCrossChainResponse',
32
+ /** Update host zone message type */
33
+ MsgUpdateHostZone: 'MsgUpdateHostZone',
34
+ /** Update host zone response message type */
35
+ MsgUpdateHostZoneResponse: 'MsgUpdateHostZoneResponse',
36
+ /** Update parameters message type */
37
+ MsgUpdateParams: 'MsgUpdateParams',
38
+ /** Update parameters response message type */
39
+ MsgUpdateParamsResponse: 'MsgUpdateParamsResponse',
40
+ };
41
+ /** Type URL for MsgAddHostZone messages */
42
+ export const typeUrlMsgAddHostZone = `/${protobufPackage}.${protobufLiterals.MsgAddHostZone}`;
43
+ /** Type URL for MsgAddHostZoneResponse messages */
44
+ export const typeUrlMsgAddHostZoneResponse = `/${protobufPackage}.${protobufLiterals.MsgAddHostZoneResponse}`;
45
+ /** Type URL for MsgFundFeeAbsModuleAccount messages */
46
+ export const typeUrlMsgFundFeeAbsModuleAccount = `/${protobufPackage}.${protobufLiterals.MsgFundFeeAbsModuleAccount}`;
47
+ /** Type URL for MsgFundFeeAbsModuleAccountResponse messages */
48
+ export const typeUrlMsgFundFeeAbsModuleAccountResponse = `/${protobufPackage}.${protobufLiterals.MsgFundFeeAbsModuleAccountResponse}`;
49
+ /** Type URL for MsgRemoveHostZone messages */
50
+ export const typeUrlMsgRemoveHostZone = `/${protobufPackage}.${protobufLiterals.MsgRemoveHostZone}`;
51
+ /** Type URL for MsgRemoveHostZoneResponse messages */
52
+ export const typeUrlMsgRemoveHostZoneResponse = `/${protobufPackage}.${protobufLiterals.MsgRemoveHostZoneResponse}`;
53
+ /** Type URL for MsgSendQueryIbcDenomTWAP messages */
54
+ export const typeUrlMsgSendQueryIbcDenomTWAP = `/${protobufPackage}.${protobufLiterals.MsgSendQueryIbcDenomTWAP}`;
55
+ /** Type URL for MsgSendQueryIbcDenomTWAPResponse messages */
56
+ export const typeUrlMsgSendQueryIbcDenomTWAPResponse = `/${protobufPackage}.${protobufLiterals.MsgSendQueryIbcDenomTWAPResponse}`;
57
+ /** Type URL for MsgSwapCrossChain messages */
58
+ export const typeUrlMsgSwapCrossChain = `/${protobufPackage}.${protobufLiterals.MsgSwapCrossChain}`;
59
+ /** Type URL for MsgSwapCrossChainResponse messages */
60
+ export const typeUrlMsgSwapCrossChainResponse = `/${protobufPackage}.${protobufLiterals.MsgSwapCrossChainResponse}`;
61
+ /** Type URL for MsgUpdateHostZone messages */
62
+ export const typeUrlMsgUpdateHostZone = `/${protobufPackage}.${protobufLiterals.MsgUpdateHostZone}`;
63
+ /** Type URL for MsgUpdateHostZoneResponse messages */
64
+ export const typeUrlMsgUpdateHostZoneResponse = `/${protobufPackage}.${protobufLiterals.MsgUpdateHostZoneResponse}`;
65
+ /** Type URL for MsgUpdateParams messages */
66
+ export const typeUrlMsgUpdateParams = `/${protobufPackage}.${protobufLiterals.MsgUpdateParams}`;
67
+ /** Type URL for MsgUpdateParamsResponse messages */
68
+ export const typeUrlMsgUpdateParamsResponse = `/${protobufPackage}.${protobufLiterals.MsgUpdateParamsResponse}`;
69
+ /**
70
+ * Type guard function to check if an object is a MsgAddHostZoneEncodeObject.
71
+ *
72
+ * @param obj - EncodeObject to check
73
+ * @returns True if the object is a MsgAddHostZoneEncodeObject
74
+ */
75
+ export function isMsgAddHostZoneEncodeObject(obj) {
76
+ return obj.typeUrl === typeUrlMsgAddHostZone;
77
+ }
78
+ /**
79
+ * Type guard function to check if an object is a MsgAddHostZoneResponseEncodeObject.
80
+ *
81
+ * @param obj - EncodeObject to check
82
+ * @returns True if the object is a MsgAddHostZoneResponseEncodeObject
83
+ */
84
+ export function isMsgAddHostZoneResponseEncodeObject(obj) {
85
+ return obj.typeUrl === typeUrlMsgAddHostZoneResponse;
86
+ }
87
+ /**
88
+ * Type guard function to check if an object is a MsgFundFeeAbsModuleAccountEncodeObject.
89
+ *
90
+ * @param obj - EncodeObject to check
91
+ * @returns True if the object is a MsgFundFeeAbsModuleAccountEncodeObject
92
+ */
93
+ export function isMsgFundFeeAbsModuleAccountEncodeObject(obj) {
94
+ return obj.typeUrl === typeUrlMsgFundFeeAbsModuleAccount;
95
+ }
96
+ /**
97
+ * Type guard function to check if an object is a MsgFundFeeAbsModuleAccountResponseEncodeObject.
98
+ *
99
+ * @param obj - EncodeObject to check
100
+ * @returns True if the object is a MsgFundFeeAbsModuleAccountResponseEncodeObject
101
+ */
102
+ export function isMsgFundFeeAbsModuleAccountResponseEncodeObject(obj) {
103
+ return obj.typeUrl === typeUrlMsgFundFeeAbsModuleAccountResponse;
104
+ }
105
+ /**
106
+ * Type guard function to check if an object is a MsgRemoveHostZoneEncodeObject.
107
+ *
108
+ * @param obj - EncodeObject to check
109
+ * @returns True if the object is a MsgRemoveHostZoneEncodeObject
110
+ */
111
+ export function isMsgRemoveHostZoneEncodeObject(obj) {
112
+ return obj.typeUrl === typeUrlMsgRemoveHostZone;
113
+ }
114
+ /**
115
+ * Type guard function to check if an object is a MsgRemoveHostZoneResponseEncodeObject.
116
+ *
117
+ * @param obj - EncodeObject to check
118
+ * @returns True if the object is a MsgRemoveHostZoneResponseEncodeObject
119
+ */
120
+ export function isMsgRemoveHostZoneResponseEncodeObject(obj) {
121
+ return obj.typeUrl === typeUrlMsgRemoveHostZoneResponse;
122
+ }
123
+ /**
124
+ * Type guard function to check if an object is a MsgSendQueryIbcDenomTWAPEncodeObject.
125
+ *
126
+ * @param obj - EncodeObject to check
127
+ * @returns True if the object is a MsgSendQueryIbcDenomTWAPEncodeObject
128
+ */
129
+ export function isMsgSendQueryIbcDenomTWAPEncodeObject(obj) {
130
+ return obj.typeUrl === typeUrlMsgSendQueryIbcDenomTWAP;
131
+ }
132
+ /**
133
+ * Type guard function to check if an object is a MsgSendQueryIbcDenomTWAPResponseEncodeObject.
134
+ *
135
+ * @param obj - EncodeObject to check
136
+ * @returns True if the object is a MsgSendQueryIbcDenomTWAPResponseEncodeObject
137
+ */
138
+ export function isMsgSendQueryIbcDenomTWAPResponseEncodeObject(obj) {
139
+ return obj.typeUrl === typeUrlMsgSendQueryIbcDenomTWAPResponse;
140
+ }
141
+ /**
142
+ * Type guard function to check if an object is a MsgSwapCrossChainEncodeObject.
143
+ *
144
+ * @param obj - EncodeObject to check
145
+ * @returns True if the object is a MsgSwapCrossChainEncodeObject
146
+ */
147
+ export function isMsgSwapCrossChainEncodeObject(obj) {
148
+ return obj.typeUrl === typeUrlMsgSwapCrossChain;
149
+ }
150
+ /**
151
+ * Type guard function to check if an object is a MsgSwapCrossChainResponseEncodeObject.
152
+ *
153
+ * @param obj - EncodeObject to check
154
+ * @returns True if the object is a MsgSwapCrossChainResponseEncodeObject
155
+ */
156
+ export function isMsgSwapCrossChainResponseEncodeObject(obj) {
157
+ return obj.typeUrl === typeUrlMsgSwapCrossChainResponse;
158
+ }
159
+ /**
160
+ * Type guard function to check if an object is a MsgUpdateHostZoneEncodeObject.
161
+ *
162
+ * @param obj - EncodeObject to check
163
+ * @returns True if the object is a MsgUpdateHostZoneEncodeObject
164
+ */
165
+ export function isMsgUpdateHostZoneEncodeObject(obj) {
166
+ return obj.typeUrl === typeUrlMsgUpdateHostZone;
167
+ }
168
+ /**
169
+ * Type guard function to check if an object is a MsgUpdateHostZoneResponseEncodeObject.
170
+ *
171
+ * @param obj - EncodeObject to check
172
+ * @returns True if the object is a MsgUpdateHostZoneResponseEncodeObject
173
+ */
174
+ export function isMsgUpdateHostZoneResponseEncodeObject(obj) {
175
+ return obj.typeUrl === typeUrlMsgUpdateHostZoneResponse;
176
+ }
177
+ /**
178
+ * Type guard function to check if an object is a MsgUpdateParamsEncodeObject.
179
+ *
180
+ * @param obj - EncodeObject to check
181
+ * @returns True if the object is a MsgUpdateParamsEncodeObject
182
+ */
183
+ export function isMsgUpdateParamsEncodeObject(obj) {
184
+ return obj.typeUrl === typeUrlMsgUpdateParams;
185
+ }
186
+ /**
187
+ * Type guard function to check if an object is a MsgUpdateParamsResponseEncodeObject.
188
+ *
189
+ * @param obj - EncodeObject to check
190
+ * @returns True if the object is a MsgUpdateParamsResponseEncodeObject
191
+ */
192
+ export function isMsgUpdateParamsResponseEncodeObject(obj) {
193
+ return obj.typeUrl === typeUrlMsgUpdateParamsResponse;
194
+ }
195
+ /**
196
+ * Sets up the fee abstraction extension for the querier client.
197
+ * Creates and configures the fee abstraction-specific query methods.
198
+ *
199
+ * @param base - Base QueryClient to extend
200
+ * @returns Configured fee abstraction extension with query methods
201
+ */
202
+ export const setupFeeabstractionExtension = (base) => {
203
+ const rpc = createProtobufRpcClient(base);
204
+ const queryService = new QueryClientImpl(rpc);
205
+ return {
206
+ [defaultFeeabstractionExtensionKey]: {
207
+ hostChainConfig: async (request) => {
208
+ return await queryService.HostChainConfig(request);
209
+ },
210
+ osmosisArithmeticTwap: async (request) => {
211
+ return await queryService.OsmosisArithmeticTwap(request);
212
+ },
213
+ feeabsModuleBalances: async (request) => {
214
+ return await queryService.FeeabsModuleBalances(request);
215
+ },
216
+ },
217
+ };
218
+ };
219
+ /**
220
+ * Fee Abstraction Module class providing comprehensive fee abstraction functionality.
221
+ * Handles host zone management, cross-chain swaps, and fee abstraction operations on the Cheqd blockchain.
222
+ */
223
+ export class FeeabstractionModule extends AbstractCheqdSDKModule {
224
+ //@ts-expect-error underlying type `GeneratedType` is intentionally wider
225
+ static registryTypes = [
226
+ [typeUrlMsgAddHostZone, MsgAddHostZone],
227
+ [typeUrlMsgAddHostZoneResponse, MsgAddHostZoneResponse],
228
+ [typeUrlMsgFundFeeAbsModuleAccount, MsgFundFeeAbsModuleAccount],
229
+ [typeUrlMsgFundFeeAbsModuleAccountResponse, MsgFundFeeAbsModuleAccountResponse],
230
+ [typeUrlMsgRemoveHostZone, MsgRemoveHostZone],
231
+ [typeUrlMsgRemoveHostZoneResponse, MsgRemoveHostZoneResponse],
232
+ [typeUrlMsgSendQueryIbcDenomTWAP, MsgSendQueryIbcDenomTWAP],
233
+ [typeUrlMsgSendQueryIbcDenomTWAPResponse, MsgSendQueryIbcDenomTWAPResponse],
234
+ [typeUrlMsgSwapCrossChain, MsgSwapCrossChain],
235
+ [typeUrlMsgSwapCrossChainResponse, MsgSwapCrossChainResponse],
236
+ [typeUrlMsgUpdateHostZone, MsgUpdateHostZone],
237
+ [typeUrlMsgUpdateHostZoneResponse, MsgUpdateHostZoneResponse],
238
+ [typeUrlMsgUpdateParams, MsgUpdateParams],
239
+ [typeUrlMsgUpdateParamsResponse, MsgUpdateParamsResponse],
240
+ ];
241
+ /** Querier extension setup function for fee abstraction operations */
242
+ static querierExtensionSetup = setupFeeabstractionExtension;
243
+ /** Querier instance with fee abstraction extension capabilities */
244
+ querier;
245
+ /**
246
+ * Constructs a new fee abstraction module instance.
247
+ *
248
+ * @param signer - Signing client for blockchain transactions
249
+ * @param querier - Querier client with fee abstraction extension for data retrieval
250
+ */
251
+ constructor(signer, querier) {
252
+ super(signer, querier);
253
+ this.querier = querier;
254
+ this.methods = {
255
+ addHostZoneProposal: this.addHostZoneProposal.bind(this),
256
+ fundFeeAbsModuleAccount: this.fundFeeAbsModuleAccount.bind(this),
257
+ removeHostZoneProposal: this.removeHostZoneProposal.bind(this),
258
+ sendQueryIbcDenomTWAP: this.sendQueryIbcDenomTWAP.bind(this),
259
+ swapCrossChain: this.swapCrossChain.bind(this),
260
+ updateHostZoneProposal: this.updateHostZoneProposal.bind(this),
261
+ updateParamsProposal: this.updateParamsProposal.bind(this),
262
+ };
263
+ }
264
+ /**
265
+ * Gets the registry types for fee abstraction message encoding/decoding.
266
+ *
267
+ * @returns Iterable of [typeUrl, GeneratedType] pairs for the registry
268
+ */
269
+ getRegistryTypes() {
270
+ return FeeabstractionModule.registryTypes;
271
+ }
272
+ /**
273
+ * Gets the querier extension setup for fee abstraction operations.
274
+ *
275
+ * @returns Query extension setup function for fee abstraction functionality
276
+ */
277
+ getQuerierExtensionSetup() {
278
+ return FeeabstractionModule.querierExtensionSetup;
279
+ }
280
+ /**
281
+ * Creates a governance proposal to add a new host zone for fee abstraction.
282
+ * Submits the proposal through the governance module for community voting.
283
+ *
284
+ * @param data - Host zone data to add
285
+ * @param title - Proposal title
286
+ * @param deposit - Initial deposit for the proposal
287
+ * @param proposer - Address of the proposal submitter
288
+ * @param fee - Transaction fee configuration
289
+ * @param memo - Optional transaction memo
290
+ * @param context - Optional SDK context for accessing clients
291
+ * @returns Promise resolving to the transaction response
292
+ */
293
+ async addHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
294
+ if (!this._signer)
295
+ this._signer = context.sdk.signer;
296
+ const proposalEncodeObject = {
297
+ typeUrl: '/cosmos.gov.v1.MsgSubmitProposal',
298
+ value: MsgSubmitProposal.fromPartial({
299
+ messages: [
300
+ {
301
+ typeUrl: typeUrlMsgAddHostZone,
302
+ value: Uint8Array.from(MsgAddHostZone.encode(data).finish()),
303
+ },
304
+ ],
305
+ title,
306
+ initialDeposit: deposit,
307
+ proposer,
308
+ }),
309
+ };
310
+ return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
311
+ }
312
+ /**
313
+ * Funds the fee abstraction module account with tokens.
314
+ * Allows users to provide liquidity for fee abstraction functionality.
315
+ *
316
+ * @param sender - Address of the account sending funds
317
+ * @param amount - Array of coins to send to the module account
318
+ * @param fee - Transaction fee configuration
319
+ * @param memo - Optional transaction memo
320
+ * @param context - Optional SDK context for accessing clients
321
+ * @returns Promise resolving to the transaction response
322
+ */
323
+ async fundFeeAbsModuleAccount(sender, amount, fee, memo, context) {
324
+ if (!this._signer)
325
+ this._signer = context.sdk.signer;
326
+ const fundFeeAbsModuleAccountMsg = {
327
+ typeUrl: typeUrlMsgFundFeeAbsModuleAccount,
328
+ value: {
329
+ sender,
330
+ amount,
331
+ },
332
+ };
333
+ return await this._signer.signAndBroadcast(sender, [fundFeeAbsModuleAccountMsg], fee, memo);
334
+ }
335
+ /**
336
+ * Creates a governance proposal to remove an existing host zone from fee abstraction.
337
+ * Submits the proposal through the governance module for community voting.
338
+ *
339
+ * @param data - Host zone data to remove
340
+ * @param title - Proposal title
341
+ * @param deposit - Initial deposit for the proposal
342
+ * @param proposer - Address of the proposal submitter
343
+ * @param fee - Transaction fee configuration
344
+ * @param memo - Optional transaction memo
345
+ * @param context - Optional SDK context for accessing clients
346
+ * @returns Promise resolving to the transaction response
347
+ */
348
+ async removeHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
349
+ if (!this._signer)
350
+ this._signer = context.sdk.signer;
351
+ const proposalEncodeObject = {
352
+ typeUrl: '/cosmos.gov.v1.MsgSubmitProposal',
353
+ value: MsgSubmitProposal.fromPartial({
354
+ messages: [
355
+ {
356
+ typeUrl: typeUrlMsgRemoveHostZone,
357
+ value: Uint8Array.from(MsgRemoveHostZone.encode(data).finish()),
358
+ },
359
+ ],
360
+ title,
361
+ initialDeposit: deposit,
362
+ proposer,
363
+ }),
364
+ };
365
+ return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
366
+ }
367
+ /**
368
+ * Sends a query for IBC denomination Time-Weighted Average Price (TWAP) data.
369
+ * Initiates a cross-chain query to retrieve pricing information for fee calculation.
370
+ *
371
+ * @param sender - Address of the account sending the query
372
+ * @param data - TWAP query data containing denomination and parameters
373
+ * @param fee - Transaction fee configuration
374
+ * @param memo - Optional transaction memo
375
+ * @param context - Optional SDK context for accessing clients
376
+ * @returns Promise resolving to the TWAP query response
377
+ */
378
+ async sendQueryIbcDenomTWAP(sender, data, fee, memo, context) {
379
+ if (!this._signer)
380
+ this._signer = context.sdk.signer;
381
+ const sendQueryIbcDenomTwapMsg = {
382
+ typeUrl: typeUrlMsgSendQueryIbcDenomTWAP,
383
+ value: data,
384
+ };
385
+ return await this._signer.signAndBroadcast(sender, [sendQueryIbcDenomTwapMsg], fee, memo);
386
+ }
387
+ /**
388
+ * Performs a cross-chain token swap using fee abstraction.
389
+ * Enables users to swap IBC tokens across different chains.
390
+ *
391
+ * @param sender - Address of the account initiating the swap
392
+ * @param ibcDenom - IBC denomination to swap
393
+ * @param fee - Transaction fee configuration
394
+ * @param memo - Optional transaction memo
395
+ * @param context - Optional SDK context for accessing clients
396
+ * @returns Promise resolving to the swap response
397
+ */
398
+ async swapCrossChain(sender, ibcDenom, fee, memo, context) {
399
+ if (!this._signer)
400
+ this._signer = context.sdk.signer;
401
+ const swapCrossChainMsg = {
402
+ typeUrl: typeUrlMsgSwapCrossChain,
403
+ value: {
404
+ ibcDenom,
405
+ },
406
+ };
407
+ return await this._signer.signAndBroadcast(sender, [swapCrossChainMsg], fee, memo);
408
+ }
409
+ /**
410
+ * Creates a governance proposal to update an existing host zone configuration.
411
+ * Submits the proposal through the governance module for community voting.
412
+ *
413
+ * @param data - Updated host zone configuration data
414
+ * @param title - Proposal title
415
+ * @param deposit - Initial deposit for the proposal
416
+ * @param proposer - Address of the proposal submitter
417
+ * @param fee - Transaction fee configuration
418
+ * @param memo - Optional transaction memo
419
+ * @param context - Optional SDK context for accessing clients
420
+ * @returns Promise resolving to the transaction response
421
+ */
422
+ async updateHostZoneProposal(data, title, deposit, proposer, fee, memo, context) {
423
+ if (!this._signer)
424
+ this._signer = context.sdk.signer;
425
+ const proposalEncodeObject = {
426
+ typeUrl: '/cosmos.gov.v1.MsgSubmitProposal',
427
+ value: MsgSubmitProposal.fromPartial({
428
+ messages: [
429
+ {
430
+ typeUrl: typeUrlMsgUpdateHostZone,
431
+ value: Uint8Array.from(MsgUpdateHostZone.encode(data).finish()),
432
+ },
433
+ ],
434
+ title,
435
+ initialDeposit: deposit,
436
+ proposer,
437
+ }),
438
+ };
439
+ return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
440
+ }
441
+ /**
442
+ * Creates a governance proposal to update fee abstraction module parameters.
443
+ * Submits the proposal through the governance module for community voting.
444
+ *
445
+ * @param data - Updated module parameters
446
+ * @param title - Proposal title
447
+ * @param deposit - Initial deposit for the proposal
448
+ * @param proposer - Address of the proposal submitter
449
+ * @param fee - Transaction fee configuration
450
+ * @param memo - Optional transaction memo
451
+ * @param context - Optional SDK context for accessing clients
452
+ * @returns Promise resolving to the transaction response
453
+ */
454
+ async updateParamsProposal(data, title, deposit, proposer, fee, memo, context) {
455
+ if (!this._signer)
456
+ this._signer = context.sdk.signer;
457
+ const proposalEncodeObject = {
458
+ typeUrl: '/cosmos.gov.v1.MsgSubmitProposal',
459
+ value: MsgSubmitProposal.fromPartial({
460
+ messages: [
461
+ {
462
+ typeUrl: typeUrlMsgUpdateParams,
463
+ value: Uint8Array.from(MsgUpdateParams.encode(data).finish()),
464
+ },
465
+ ],
466
+ title,
467
+ initialDeposit: deposit,
468
+ proposer,
469
+ }),
470
+ };
471
+ return await this._signer.signAndBroadcast(proposer, [proposalEncodeObject], fee, memo);
472
+ }
473
+ }
474
+ //# sourceMappingURL=feeabstraction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feeabstraction.js","sourceRoot":"","sources":["../../../../../cjs/src/modules/feeabstraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,0BAA0B,EAC1B,kCAAkC,EAClC,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACxB,gCAAgC,EAChC,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,EACzB,eAAe,EACf,uBAAuB,EAOvB,eAAe,GACf,MAAM,yDAAyD,CAAC;AAEjE,OAAO,EAAE,sBAAsB,EAAmC,MAAM,KAAK,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAkC,MAAM,sBAAsB,CAAC;AAI/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,yEAAyE;AACzE,MAAM,CAAC,MAAM,iCAAiC,GAAG,QAAiB,CAAC;AAEnE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,iCAAiC;IACjC,cAAc,EAAE,gBAAgB;IAChC,0CAA0C;IAC1C,sBAAsB,EAAE,wBAAwB;IACh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