@axelar-network/axelarjs-sdk 0.6.0-alpha.2 → 0.6.0-alpha.20

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 (170) hide show
  1. package/dist/src/assets/testnet.assets.d.ts +224 -42
  2. package/dist/src/assets/testnet.assets.d.ts.map +1 -1
  3. package/dist/src/assets/testnet.assets.js +363 -181
  4. package/dist/src/assets/testnet.assets.js.map +1 -1
  5. package/dist/src/chains/Binance/index.d.ts +7 -0
  6. package/dist/src/chains/Binance/index.d.ts.map +1 -0
  7. package/dist/src/chains/Binance/index.js +25 -0
  8. package/dist/src/chains/Binance/index.js.map +1 -0
  9. package/dist/src/chains/Ethereum/index.js +1 -1
  10. package/dist/src/chains/Kujira/index.d.ts +8 -0
  11. package/dist/src/chains/Kujira/index.d.ts.map +1 -0
  12. package/dist/src/chains/Kujira/index.js +39 -0
  13. package/dist/src/chains/Kujira/index.js.map +1 -0
  14. package/dist/src/chains/Osmosis/index.js +1 -1
  15. package/dist/src/chains/Sei/index.d.ts +8 -0
  16. package/dist/src/chains/Sei/index.d.ts.map +1 -0
  17. package/dist/src/chains/Sei/index.js +39 -0
  18. package/dist/src/chains/Sei/index.js.map +1 -0
  19. package/dist/src/chains/index.d.ts.map +1 -1
  20. package/dist/src/chains/index.js +6 -0
  21. package/dist/src/chains/index.js.map +1 -1
  22. package/dist/src/constants/index.js +4 -4
  23. package/dist/src/constants/index.js.map +1 -1
  24. package/dist/src/index.js +5 -1
  25. package/dist/src/index.js.map +1 -1
  26. package/dist/src/libs/AxelarGateway.d.ts +1 -0
  27. package/dist/src/libs/AxelarGateway.d.ts.map +1 -1
  28. package/dist/src/libs/AxelarGateway.js +3 -3
  29. package/dist/src/libs/AxelarGateway.js.map +1 -1
  30. package/dist/src/libs/AxelarQueryAPI.d.ts +13 -3
  31. package/dist/src/libs/AxelarQueryAPI.d.ts.map +1 -1
  32. package/dist/src/libs/AxelarQueryAPI.js +29 -21
  33. package/dist/src/libs/AxelarQueryAPI.js.map +1 -1
  34. package/dist/src/libs/AxelarQueryClient/index.d.ts +8 -0
  35. package/dist/src/libs/AxelarQueryClient/index.d.ts.map +1 -0
  36. package/dist/src/libs/AxelarQueryClient/index.js +32 -0
  37. package/dist/src/libs/AxelarQueryClient/index.js.map +1 -0
  38. package/dist/src/libs/AxelarQueryClient/types/index.d.ts +13 -0
  39. package/dist/src/libs/AxelarQueryClient/types/index.d.ts.map +1 -0
  40. package/dist/src/libs/AxelarQueryClient/types/index.js +19 -0
  41. package/dist/src/libs/AxelarQueryClient/types/index.js.map +1 -0
  42. package/dist/src/libs/AxelarSigningClient/index.d.ts.map +1 -1
  43. package/dist/src/libs/AxelarSigningClient/index.js +7 -3
  44. package/dist/src/libs/AxelarSigningClient/index.js.map +1 -1
  45. package/dist/src/libs/TransactionRecoveryApi/AxelarDepositRecoveryAPI.d.ts.map +1 -1
  46. package/dist/src/libs/TransactionRecoveryApi/AxelarDepositRecoveryAPI.js +5 -7
  47. package/dist/src/libs/TransactionRecoveryApi/AxelarDepositRecoveryAPI.js.map +1 -1
  48. package/dist/src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.d.ts +66 -1
  49. package/dist/src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.d.ts.map +1 -1
  50. package/dist/src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.js +255 -1
  51. package/dist/src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.js.map +1 -1
  52. package/dist/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.d.ts +50 -3
  53. package/dist/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.d.ts.map +1 -1
  54. package/dist/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.js +179 -9
  55. package/dist/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.js.map +1 -1
  56. package/dist/src/libs/TransactionRecoveryApi/client/EVMClient/index.d.ts +13 -0
  57. package/dist/src/libs/TransactionRecoveryApi/client/EVMClient/index.d.ts.map +1 -0
  58. package/dist/src/libs/TransactionRecoveryApi/client/EVMClient/index.js +55 -0
  59. package/dist/src/libs/TransactionRecoveryApi/client/EVMClient/index.js.map +1 -0
  60. package/dist/src/libs/TransactionRecoveryApi/constants/chain.d.ts +5 -0
  61. package/dist/src/libs/TransactionRecoveryApi/constants/chain.d.ts.map +1 -0
  62. package/dist/src/libs/TransactionRecoveryApi/constants/chain.js +34 -0
  63. package/dist/src/libs/TransactionRecoveryApi/constants/chain.js.map +1 -0
  64. package/dist/src/libs/TransactionRecoveryApi/constants/contract.d.ts +33 -0
  65. package/dist/src/libs/TransactionRecoveryApi/constants/contract.d.ts.map +1 -0
  66. package/dist/src/libs/TransactionRecoveryApi/constants/contract.js +36 -0
  67. package/dist/src/libs/TransactionRecoveryApi/constants/contract.js.map +1 -0
  68. package/dist/src/libs/TransactionRecoveryApi/constants/error.d.ts +42 -0
  69. package/dist/src/libs/TransactionRecoveryApi/constants/error.d.ts.map +1 -0
  70. package/dist/src/libs/TransactionRecoveryApi/constants/error.js +54 -0
  71. package/dist/src/libs/TransactionRecoveryApi/constants/error.js.map +1 -0
  72. package/dist/src/libs/TransactionRecoveryApi/helpers/axelarHelper.d.ts +13 -0
  73. package/dist/src/libs/TransactionRecoveryApi/helpers/axelarHelper.d.ts.map +1 -0
  74. package/dist/src/libs/TransactionRecoveryApi/helpers/{parseConfirmDepositEvent.js → axelarHelper.js} +90 -12
  75. package/dist/src/libs/TransactionRecoveryApi/helpers/axelarHelper.js.map +1 -0
  76. package/dist/src/libs/TransactionRecoveryApi/helpers/contractCallHelper.d.ts +4 -0
  77. package/dist/src/libs/TransactionRecoveryApi/helpers/contractCallHelper.d.ts.map +1 -0
  78. package/dist/src/libs/TransactionRecoveryApi/helpers/contractCallHelper.js +18 -0
  79. package/dist/src/libs/TransactionRecoveryApi/helpers/contractCallHelper.js.map +1 -0
  80. package/dist/src/libs/TransactionRecoveryApi/helpers/contractEventHelper.d.ts +9 -0
  81. package/dist/src/libs/TransactionRecoveryApi/helpers/contractEventHelper.d.ts.map +1 -0
  82. package/dist/src/libs/TransactionRecoveryApi/helpers/contractEventHelper.js +53 -0
  83. package/dist/src/libs/TransactionRecoveryApi/helpers/contractEventHelper.js.map +1 -0
  84. package/dist/src/libs/TransactionRecoveryApi/helpers/index.d.ts +4 -0
  85. package/dist/src/libs/TransactionRecoveryApi/helpers/index.d.ts.map +1 -1
  86. package/dist/src/libs/TransactionRecoveryApi/helpers/index.js +19 -0
  87. package/dist/src/libs/TransactionRecoveryApi/helpers/index.js.map +1 -1
  88. package/dist/src/libs/TransactionRecoveryApi/helpers/providerHelper.d.ts +4 -0
  89. package/dist/src/libs/TransactionRecoveryApi/helpers/providerHelper.d.ts.map +1 -0
  90. package/dist/src/libs/TransactionRecoveryApi/helpers/providerHelper.js +10 -0
  91. package/dist/src/libs/TransactionRecoveryApi/helpers/providerHelper.js.map +1 -0
  92. package/dist/src/libs/TransactionRecoveryApi/index.d.ts +1 -0
  93. package/dist/src/libs/TransactionRecoveryApi/index.d.ts.map +1 -1
  94. package/dist/src/libs/TransactionRecoveryApi/index.js +6 -1
  95. package/dist/src/libs/TransactionRecoveryApi/index.js.map +1 -1
  96. package/dist/src/libs/TransactionRecoveryApi/processors/index.d.ts +13 -0
  97. package/dist/src/libs/TransactionRecoveryApi/processors/index.d.ts.map +1 -0
  98. package/dist/src/libs/TransactionRecoveryApi/processors/index.js +56 -0
  99. package/dist/src/libs/TransactionRecoveryApi/processors/index.js.map +1 -0
  100. package/dist/src/libs/abi/IAxelarExecutable.d.ts +38 -0
  101. package/dist/src/libs/abi/IAxelarExecutable.d.ts.map +1 -0
  102. package/dist/src/libs/abi/IAxelarExecutable.js +100 -0
  103. package/dist/src/libs/abi/IAxelarExecutable.js.map +1 -0
  104. package/dist/src/libs/abi/IAxelarGasService.json +661 -0
  105. package/dist/src/libs/index.js +5 -1
  106. package/dist/src/libs/index.js.map +1 -1
  107. package/dist/src/libs/test/AxelarGateway.spec.d.ts +2 -0
  108. package/dist/src/libs/test/AxelarGateway.spec.d.ts.map +1 -0
  109. package/dist/src/libs/test/{axelarGateway.test.js → AxelarGateway.spec.js} +6 -2
  110. package/dist/src/libs/test/AxelarGateway.spec.js.map +1 -0
  111. package/dist/src/libs/test/AxelarQueryAPI.spec.js +12 -7
  112. package/dist/src/libs/test/AxelarQueryAPI.spec.js.map +1 -1
  113. package/dist/src/libs/test/AxelarQueryClient.spec.d.ts +2 -0
  114. package/dist/src/libs/test/AxelarQueryClient.spec.d.ts.map +1 -0
  115. package/dist/src/libs/test/AxelarQueryClient.spec.js +57 -0
  116. package/dist/src/libs/test/AxelarQueryClient.spec.js.map +1 -0
  117. package/dist/src/libs/test/AxelarSigningClient.spec.js +1 -1
  118. package/dist/src/libs/test/AxelarSigningClient.spec.js.map +1 -1
  119. package/dist/src/libs/test/TransactionRecoveryAPI/AxelarGMPRecoveryAPI.spec.js +509 -2
  120. package/dist/src/libs/test/TransactionRecoveryAPI/AxelarGMPRecoveryAPI.spec.js.map +1 -1
  121. package/dist/src/libs/test/TransactionRecoveryAPI/AxelarRecoveryAPI.spec.js +142 -0
  122. package/dist/src/libs/test/TransactionRecoveryAPI/AxelarRecoveryAPI.spec.js.map +1 -1
  123. package/dist/src/libs/test/TransactionRecoveryAPI/helper/contractCallHelper.spec.d.ts +2 -0
  124. package/dist/src/libs/test/TransactionRecoveryAPI/helper/contractCallHelper.spec.d.ts.map +1 -0
  125. package/dist/src/libs/test/TransactionRecoveryAPI/helper/contractCallHelper.spec.js +42 -0
  126. package/dist/src/libs/test/TransactionRecoveryAPI/helper/contractCallHelper.spec.js.map +1 -0
  127. package/dist/src/libs/test/abi/DistributionExecutable.json +10675 -0
  128. package/dist/src/libs/test/abi/DistributionExecutableGasToken.json +11080 -0
  129. package/dist/src/libs/test/abi/TestToken.json +5647 -0
  130. package/dist/src/libs/test/stubs/index.d.ts +30 -0
  131. package/dist/src/libs/test/stubs/index.d.ts.map +1 -1
  132. package/dist/src/libs/test/stubs/index.js +33 -1
  133. package/dist/src/libs/test/stubs/index.js.map +1 -1
  134. package/dist/src/libs/types/index.d.ts +48 -5
  135. package/dist/src/libs/types/index.d.ts.map +1 -1
  136. package/dist/src/libs/types/index.js +12 -1
  137. package/dist/src/libs/types/index.js.map +1 -1
  138. package/dist/src/services/index.js +5 -1
  139. package/dist/src/services/index.js.map +1 -1
  140. package/dist/src/utils/asyncRetry.d.ts +2 -0
  141. package/dist/src/utils/asyncRetry.d.ts.map +1 -0
  142. package/dist/src/utils/asyncRetry.js +35 -0
  143. package/dist/src/utils/asyncRetry.js.map +1 -0
  144. package/dist/src/utils/index.d.ts +2 -0
  145. package/dist/src/utils/index.d.ts.map +1 -1
  146. package/dist/src/utils/index.js +7 -1
  147. package/dist/src/utils/index.js.map +1 -1
  148. package/dist/src/utils/sleep.d.ts +2 -0
  149. package/dist/src/utils/sleep.d.ts.map +1 -0
  150. package/dist/src/utils/sleep.js +8 -0
  151. package/dist/src/utils/sleep.js.map +1 -0
  152. package/package.json +2 -1
  153. package/dist/src/libs/TransactionRecoveryApi/helpers/getAmountFromAmountSymbol.d.ts +0 -2
  154. package/dist/src/libs/TransactionRecoveryApi/helpers/getAmountFromAmountSymbol.d.ts.map +0 -1
  155. package/dist/src/libs/TransactionRecoveryApi/helpers/getAmountFromAmountSymbol.js +0 -13
  156. package/dist/src/libs/TransactionRecoveryApi/helpers/getAmountFromAmountSymbol.js.map +0 -1
  157. package/dist/src/libs/TransactionRecoveryApi/helpers/getConfirmedTx.d.ts +0 -6
  158. package/dist/src/libs/TransactionRecoveryApi/helpers/getConfirmedTx.d.ts.map +0 -1
  159. package/dist/src/libs/TransactionRecoveryApi/helpers/getConfirmedTx.js +0 -63
  160. package/dist/src/libs/TransactionRecoveryApi/helpers/getConfirmedTx.js.map +0 -1
  161. package/dist/src/libs/TransactionRecoveryApi/helpers/getSymbolFromAmountSymbol.d.ts +0 -2
  162. package/dist/src/libs/TransactionRecoveryApi/helpers/getSymbolFromAmountSymbol.d.ts.map +0 -1
  163. package/dist/src/libs/TransactionRecoveryApi/helpers/getSymbolFromAmountSymbol.js +0 -13
  164. package/dist/src/libs/TransactionRecoveryApi/helpers/getSymbolFromAmountSymbol.js.map +0 -1
  165. package/dist/src/libs/TransactionRecoveryApi/helpers/parseConfirmDepositEvent.d.ts +0 -5
  166. package/dist/src/libs/TransactionRecoveryApi/helpers/parseConfirmDepositEvent.d.ts.map +0 -1
  167. package/dist/src/libs/TransactionRecoveryApi/helpers/parseConfirmDepositEvent.js.map +0 -1
  168. package/dist/src/libs/test/axelarGateway.test.d.ts +0 -2
  169. package/dist/src/libs/test/axelarGateway.test.d.ts.map +0 -1
  170. package/dist/src/libs/test/axelarGateway.test.js.map +0 -1
@@ -0,0 +1,661 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "bytes32",
8
+ "name": "txHash",
9
+ "type": "bytes32"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "uint256",
14
+ "name": "logIndex",
15
+ "type": "uint256"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "address",
20
+ "name": "gasToken",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "indexed": false,
25
+ "internalType": "uint256",
26
+ "name": "gasFeeAmount",
27
+ "type": "uint256"
28
+ },
29
+ {
30
+ "indexed": false,
31
+ "internalType": "address",
32
+ "name": "refundAddress",
33
+ "type": "address"
34
+ }
35
+ ],
36
+ "name": "GasAdded",
37
+ "type": "event"
38
+ },
39
+ {
40
+ "anonymous": false,
41
+ "inputs": [
42
+ {
43
+ "indexed": true,
44
+ "internalType": "address",
45
+ "name": "sourceAddress",
46
+ "type": "address"
47
+ },
48
+ {
49
+ "indexed": false,
50
+ "internalType": "string",
51
+ "name": "destinationChain",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "string",
57
+ "name": "destinationAddress",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "indexed": true,
62
+ "internalType": "bytes32",
63
+ "name": "payloadHash",
64
+ "type": "bytes32"
65
+ },
66
+ {
67
+ "indexed": false,
68
+ "internalType": "address",
69
+ "name": "gasToken",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "indexed": false,
74
+ "internalType": "uint256",
75
+ "name": "gasFeeAmount",
76
+ "type": "uint256"
77
+ },
78
+ {
79
+ "indexed": false,
80
+ "internalType": "address",
81
+ "name": "refundAddress",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "GasPaidForContractCall",
86
+ "type": "event"
87
+ },
88
+ {
89
+ "anonymous": false,
90
+ "inputs": [
91
+ {
92
+ "indexed": true,
93
+ "internalType": "address",
94
+ "name": "sourceAddress",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "string",
100
+ "name": "destinationChain",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "string",
106
+ "name": "destinationAddress",
107
+ "type": "string"
108
+ },
109
+ {
110
+ "indexed": true,
111
+ "internalType": "bytes32",
112
+ "name": "payloadHash",
113
+ "type": "bytes32"
114
+ },
115
+ {
116
+ "indexed": false,
117
+ "internalType": "string",
118
+ "name": "symbol",
119
+ "type": "string"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint256",
124
+ "name": "amount",
125
+ "type": "uint256"
126
+ },
127
+ {
128
+ "indexed": false,
129
+ "internalType": "address",
130
+ "name": "gasToken",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "internalType": "uint256",
136
+ "name": "gasFeeAmount",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "address",
142
+ "name": "refundAddress",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "name": "GasPaidForContractCallWithToken",
147
+ "type": "event"
148
+ },
149
+ {
150
+ "anonymous": false,
151
+ "inputs": [
152
+ {
153
+ "indexed": true,
154
+ "internalType": "bytes32",
155
+ "name": "txHash",
156
+ "type": "bytes32"
157
+ },
158
+ {
159
+ "indexed": true,
160
+ "internalType": "uint256",
161
+ "name": "logIndex",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "indexed": false,
166
+ "internalType": "uint256",
167
+ "name": "gasFeeAmount",
168
+ "type": "uint256"
169
+ },
170
+ {
171
+ "indexed": false,
172
+ "internalType": "address",
173
+ "name": "refundAddress",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "NativeGasAdded",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "anonymous": false,
182
+ "inputs": [
183
+ {
184
+ "indexed": true,
185
+ "internalType": "address",
186
+ "name": "sourceAddress",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "indexed": false,
191
+ "internalType": "string",
192
+ "name": "destinationChain",
193
+ "type": "string"
194
+ },
195
+ {
196
+ "indexed": false,
197
+ "internalType": "string",
198
+ "name": "destinationAddress",
199
+ "type": "string"
200
+ },
201
+ {
202
+ "indexed": true,
203
+ "internalType": "bytes32",
204
+ "name": "payloadHash",
205
+ "type": "bytes32"
206
+ },
207
+ {
208
+ "indexed": false,
209
+ "internalType": "uint256",
210
+ "name": "gasFeeAmount",
211
+ "type": "uint256"
212
+ },
213
+ {
214
+ "indexed": false,
215
+ "internalType": "address",
216
+ "name": "refundAddress",
217
+ "type": "address"
218
+ }
219
+ ],
220
+ "name": "NativeGasPaidForContractCall",
221
+ "type": "event"
222
+ },
223
+ {
224
+ "anonymous": false,
225
+ "inputs": [
226
+ {
227
+ "indexed": true,
228
+ "internalType": "address",
229
+ "name": "sourceAddress",
230
+ "type": "address"
231
+ },
232
+ {
233
+ "indexed": false,
234
+ "internalType": "string",
235
+ "name": "destinationChain",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "indexed": false,
240
+ "internalType": "string",
241
+ "name": "destinationAddress",
242
+ "type": "string"
243
+ },
244
+ {
245
+ "indexed": true,
246
+ "internalType": "bytes32",
247
+ "name": "payloadHash",
248
+ "type": "bytes32"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "string",
253
+ "name": "symbol",
254
+ "type": "string"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "amount",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "uint256",
265
+ "name": "gasFeeAmount",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "address",
271
+ "name": "refundAddress",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "name": "NativeGasPaidForContractCallWithToken",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": true,
283
+ "internalType": "address",
284
+ "name": "newOwner",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "name": "OwnershipTransferred",
289
+ "type": "event"
290
+ },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [
294
+ {
295
+ "indexed": true,
296
+ "internalType": "address",
297
+ "name": "newImplementation",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "Upgraded",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "bytes32",
308
+ "name": "txHash",
309
+ "type": "bytes32"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "logIndex",
314
+ "type": "uint256"
315
+ },
316
+ {
317
+ "internalType": "address",
318
+ "name": "gasToken",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "uint256",
323
+ "name": "gasFeeAmount",
324
+ "type": "uint256"
325
+ },
326
+ {
327
+ "internalType": "address",
328
+ "name": "refundAddress",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "addGas",
333
+ "outputs": [],
334
+ "stateMutability": "nonpayable",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "bytes32",
341
+ "name": "txHash",
342
+ "type": "bytes32"
343
+ },
344
+ {
345
+ "internalType": "uint256",
346
+ "name": "logIndex",
347
+ "type": "uint256"
348
+ },
349
+ {
350
+ "internalType": "address",
351
+ "name": "refundAddress",
352
+ "type": "address"
353
+ }
354
+ ],
355
+ "name": "addNativeGas",
356
+ "outputs": [],
357
+ "stateMutability": "payable",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "address payable",
364
+ "name": "receiver",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "internalType": "address[]",
369
+ "name": "tokens",
370
+ "type": "address[]"
371
+ }
372
+ ],
373
+ "name": "collectFees",
374
+ "outputs": [],
375
+ "stateMutability": "nonpayable",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "contractId",
381
+ "outputs": [
382
+ {
383
+ "internalType": "bytes32",
384
+ "name": "",
385
+ "type": "bytes32"
386
+ }
387
+ ],
388
+ "stateMutability": "pure",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "implementation",
394
+ "outputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "implementation_",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "owner",
407
+ "outputs": [
408
+ {
409
+ "internalType": "address",
410
+ "name": "owner_",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [
419
+ {
420
+ "internalType": "address",
421
+ "name": "sender",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "internalType": "string",
426
+ "name": "destinationChain",
427
+ "type": "string"
428
+ },
429
+ {
430
+ "internalType": "string",
431
+ "name": "destinationAddress",
432
+ "type": "string"
433
+ },
434
+ {
435
+ "internalType": "bytes",
436
+ "name": "payload",
437
+ "type": "bytes"
438
+ },
439
+ {
440
+ "internalType": "address",
441
+ "name": "gasToken",
442
+ "type": "address"
443
+ },
444
+ {
445
+ "internalType": "uint256",
446
+ "name": "gasFeeAmount",
447
+ "type": "uint256"
448
+ },
449
+ {
450
+ "internalType": "address",
451
+ "name": "refundAddress",
452
+ "type": "address"
453
+ }
454
+ ],
455
+ "name": "payGasForContractCall",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "address",
464
+ "name": "sender",
465
+ "type": "address"
466
+ },
467
+ {
468
+ "internalType": "string",
469
+ "name": "destinationChain",
470
+ "type": "string"
471
+ },
472
+ {
473
+ "internalType": "string",
474
+ "name": "destinationAddress",
475
+ "type": "string"
476
+ },
477
+ {
478
+ "internalType": "bytes",
479
+ "name": "payload",
480
+ "type": "bytes"
481
+ },
482
+ {
483
+ "internalType": "string",
484
+ "name": "symbol",
485
+ "type": "string"
486
+ },
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "amount",
490
+ "type": "uint256"
491
+ },
492
+ {
493
+ "internalType": "address",
494
+ "name": "gasToken",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "gasFeeAmount",
500
+ "type": "uint256"
501
+ },
502
+ {
503
+ "internalType": "address",
504
+ "name": "refundAddress",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "name": "payGasForContractCallWithToken",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "address",
517
+ "name": "sender",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "string",
522
+ "name": "destinationChain",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "internalType": "string",
527
+ "name": "destinationAddress",
528
+ "type": "string"
529
+ },
530
+ {
531
+ "internalType": "bytes",
532
+ "name": "payload",
533
+ "type": "bytes"
534
+ },
535
+ {
536
+ "internalType": "address",
537
+ "name": "refundAddress",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "name": "payNativeGasForContractCall",
542
+ "outputs": [],
543
+ "stateMutability": "payable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "sender",
551
+ "type": "address"
552
+ },
553
+ {
554
+ "internalType": "string",
555
+ "name": "destinationChain",
556
+ "type": "string"
557
+ },
558
+ {
559
+ "internalType": "string",
560
+ "name": "destinationAddress",
561
+ "type": "string"
562
+ },
563
+ {
564
+ "internalType": "bytes",
565
+ "name": "payload",
566
+ "type": "bytes"
567
+ },
568
+ {
569
+ "internalType": "string",
570
+ "name": "symbol",
571
+ "type": "string"
572
+ },
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "amount",
576
+ "type": "uint256"
577
+ },
578
+ {
579
+ "internalType": "address",
580
+ "name": "refundAddress",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "name": "payNativeGasForContractCallWithToken",
585
+ "outputs": [],
586
+ "stateMutability": "payable",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "address payable",
593
+ "name": "receiver",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "internalType": "address",
598
+ "name": "token",
599
+ "type": "address"
600
+ },
601
+ {
602
+ "internalType": "uint256",
603
+ "name": "amount",
604
+ "type": "uint256"
605
+ }
606
+ ],
607
+ "name": "refund",
608
+ "outputs": [],
609
+ "stateMutability": "nonpayable",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [
614
+ {
615
+ "internalType": "bytes",
616
+ "name": "data",
617
+ "type": "bytes"
618
+ }
619
+ ],
620
+ "name": "setup",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "address",
629
+ "name": "newOwner",
630
+ "type": "address"
631
+ }
632
+ ],
633
+ "name": "transferOwnership",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "newImplementation",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "bytes32",
647
+ "name": "newImplementationCodeHash",
648
+ "type": "bytes32"
649
+ },
650
+ {
651
+ "internalType": "bytes",
652
+ "name": "params",
653
+ "type": "bytes"
654
+ }
655
+ ],
656
+ "name": "upgrade",
657
+ "outputs": [],
658
+ "stateMutability": "nonpayable",
659
+ "type": "function"
660
+ }
661
+ ]
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/libs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,2DAAyC;AACzC,8CAA4B;AAC5B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/libs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,2DAAyC;AACzC,8CAA4B;AAC5B,0CAAwB"}
@@ -0,0 +1,2 @@
1
+ import "@nomiclabs/hardhat-ethers";
2
+ //# sourceMappingURL=AxelarGateway.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AxelarGateway.spec.d.ts","sourceRoot":"","sources":["../../../../src/libs/test/AxelarGateway.spec.ts"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC"}