@layerzerolabs/lz-evm-sdk-v1 1.5.75 → 1.5.76

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 (154) hide show
  1. package/dist/index.browser.js +23 -0
  2. package/dist/index.js +30 -0
  3. package/dist/typechain-types/Endpoint.js +2 -0
  4. package/dist/typechain-types/EndpointLite.js +2 -0
  5. package/dist/typechain-types/FeeHandler.js +2 -0
  6. package/dist/typechain-types/NonceContract.js +2 -0
  7. package/dist/typechain-types/NonceContractRadar.js +2 -0
  8. package/dist/typechain-types/PriceFeed.js +2 -0
  9. package/dist/typechain-types/Relayer.js +2 -0
  10. package/dist/typechain-types/RelayerV2.sol/IStargateComposer.js +2 -0
  11. package/dist/typechain-types/RelayerV2.sol/RelayerV2.js +2 -0
  12. package/dist/typechain-types/RelayerV2.sol/index.js +2 -0
  13. package/dist/typechain-types/RelayerV2Radar.js +2 -0
  14. package/dist/typechain-types/Treasury.js +2 -0
  15. package/dist/typechain-types/TreasuryV2.js +2 -0
  16. package/dist/typechain-types/TreasuryV2Radar.js +2 -0
  17. package/dist/typechain-types/UltraLightNode.js +2 -0
  18. package/dist/typechain-types/UltraLightNodeV2.js +2 -0
  19. package/dist/typechain-types/UltraLightNodeV2AltToken.js +2 -0
  20. package/dist/typechain-types/UltraLightNodeV2Radar.js +2 -0
  21. package/dist/typechain-types/arbitrum/index.js +2 -0
  22. package/dist/typechain-types/arbitrum/interfaces/ArbSys.js +2 -0
  23. package/dist/typechain-types/arbitrum/interfaces/index.js +2 -0
  24. package/dist/typechain-types/common.js +2 -0
  25. package/dist/typechain-types/example/AltTokenUA.js +2 -0
  26. package/dist/typechain-types/example/index.js +2 -0
  27. package/dist/typechain-types/factories/EndpointLite__factory.js +988 -0
  28. package/dist/typechain-types/factories/Endpoint__factory.js +1012 -0
  29. package/dist/typechain-types/factories/FeeHandler__factory.js +203 -0
  30. package/dist/typechain-types/factories/NonceContractRadar__factory.js +183 -0
  31. package/dist/typechain-types/factories/NonceContract__factory.js +142 -0
  32. package/dist/typechain-types/factories/PriceFeed__factory.js +585 -0
  33. package/dist/typechain-types/factories/RelayerV2.sol/IStargateComposer__factory.js +35 -0
  34. package/dist/typechain-types/factories/RelayerV2.sol/RelayerV2__factory.js +1048 -0
  35. package/dist/typechain-types/factories/RelayerV2.sol/index.js +21 -0
  36. package/dist/typechain-types/factories/RelayerV2Radar__factory.js +853 -0
  37. package/dist/typechain-types/factories/Relayer__factory.js +642 -0
  38. package/dist/typechain-types/factories/TreasuryV2Radar__factory.js +362 -0
  39. package/dist/typechain-types/factories/TreasuryV2__factory.js +385 -0
  40. package/dist/typechain-types/factories/Treasury__factory.js +362 -0
  41. package/dist/typechain-types/factories/UltraLightNodeV2AltToken__factory.js +1495 -0
  42. package/dist/typechain-types/factories/UltraLightNodeV2Radar__factory.js +1599 -0
  43. package/dist/typechain-types/factories/UltraLightNodeV2__factory.js +1477 -0
  44. package/dist/typechain-types/factories/UltraLightNode__factory.js +1529 -0
  45. package/dist/typechain-types/factories/arbitrum/index.js +7 -0
  46. package/dist/typechain-types/factories/arbitrum/interfaces/ArbSys__factory.js +290 -0
  47. package/dist/typechain-types/factories/arbitrum/interfaces/index.js +19 -0
  48. package/dist/typechain-types/factories/example/AltTokenUA__factory.js +186 -0
  49. package/dist/typechain-types/factories/example/index.js +19 -0
  50. package/dist/typechain-types/factories/index.js +54 -0
  51. package/dist/typechain-types/factories/interfaces/IContractOne__factory.js +35 -0
  52. package/dist/typechain-types/factories/interfaces/ILayerZeroEndpoint__factory.js +458 -0
  53. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibraryV2__factory.js +195 -0
  54. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibrary__factory.js +171 -0
  55. package/dist/typechain-types/factories/interfaces/ILayerZeroOracleV2__factory.js +108 -0
  56. package/dist/typechain-types/factories/interfaces/ILayerZeroOracle__factory.js +88 -0
  57. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeedV2__factory.js +115 -0
  58. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeed__factory.js +118 -0
  59. package/dist/typechain-types/factories/interfaces/ILayerZeroReceiver__factory.js +50 -0
  60. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2PriceData__factory.js +94 -0
  61. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2__factory.js +118 -0
  62. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayer__factory.js +103 -0
  63. package/dist/typechain-types/factories/interfaces/ILayerZeroTreasury__factory.js +51 -0
  64. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV1__factory.js +167 -0
  65. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV2__factory.js +593 -0
  66. package/dist/typechain-types/factories/interfaces/ILayerZeroUserApplicationConfig__factory.js +94 -0
  67. package/dist/typechain-types/factories/interfaces/ILayerZeroValidationLibrary__factory.js +88 -0
  68. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelperV2__factory.js +165 -0
  69. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelper__factory.js +157 -0
  70. package/dist/typechain-types/factories/interfaces/index.js +55 -0
  71. package/dist/typechain-types/factories/precrime/PreCrimeBase__factory.js +270 -0
  72. package/dist/typechain-types/factories/precrime/PreCrimeView__factory.js +329 -0
  73. package/dist/typechain-types/factories/precrime/PreCrime__factory.js +364 -0
  74. package/dist/typechain-types/factories/precrime/example/index.js +8 -0
  75. package/dist/typechain-types/factories/precrime/example/inherit/CounterI__factory.js +677 -0
  76. package/dist/typechain-types/factories/precrime/example/inherit/CounterPrecrime__factory.js +468 -0
  77. package/dist/typechain-types/factories/precrime/example/inherit/index.js +21 -0
  78. package/dist/typechain-types/factories/precrime/example/view/CounterPrecrimeView__factory.js +470 -0
  79. package/dist/typechain-types/factories/precrime/example/view/CounterV__factory.js +231 -0
  80. package/dist/typechain-types/factories/precrime/example/view/CounterView__factory.js +219 -0
  81. package/dist/typechain-types/factories/precrime/example/view/index.js +23 -0
  82. package/dist/typechain-types/factories/precrime/index.js +25 -0
  83. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeBase__factory.js +127 -0
  84. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeView__factory.js +173 -0
  85. package/dist/typechain-types/factories/precrime/interfaces/IPreCrime__factory.js +173 -0
  86. package/dist/typechain-types/factories/precrime/interfaces/index.js +23 -0
  87. package/dist/typechain-types/factories/proof/FPValidator__factory.js +380 -0
  88. package/dist/typechain-types/factories/proof/MPTValidator01__factory.js +393 -0
  89. package/dist/typechain-types/factories/proof/MPTValidatorStgV3__factory.js +364 -0
  90. package/dist/typechain-types/factories/proof/MPTValidatorV2__factory.js +266 -0
  91. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/IUltraLightNode__factory.js +119 -0
  92. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/MPTValidatorV4__factory.js +468 -0
  93. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/index.js +21 -0
  94. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/IUltraLightNode__factory.js +119 -0
  95. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/MPTValidatorV5__factory.js +486 -0
  96. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/index.js +21 -0
  97. package/dist/typechain-types/factories/proof/MPTValidator__factory.js +200 -0
  98. package/dist/typechain-types/factories/proof/index.js +29 -0
  99. package/dist/typechain-types/factories/proxy/DefaultProxyAdmin__factory.js +225 -0
  100. package/dist/typechain-types/factories/proxy/TransparentUpgradeableProxy__factory.js +196 -0
  101. package/dist/typechain-types/factories/proxy/index.js +21 -0
  102. package/dist/typechain-types/index.js +134 -0
  103. package/dist/typechain-types/interfaces/IContractOne.js +2 -0
  104. package/dist/typechain-types/interfaces/ILayerZeroEndpoint.js +2 -0
  105. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibrary.js +2 -0
  106. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibraryV2.js +2 -0
  107. package/dist/typechain-types/interfaces/ILayerZeroOracle.js +2 -0
  108. package/dist/typechain-types/interfaces/ILayerZeroOracleV2.js +2 -0
  109. package/dist/typechain-types/interfaces/ILayerZeroPriceFeed.js +2 -0
  110. package/dist/typechain-types/interfaces/ILayerZeroPriceFeedV2.js +2 -0
  111. package/dist/typechain-types/interfaces/ILayerZeroReceiver.js +2 -0
  112. package/dist/typechain-types/interfaces/ILayerZeroRelayer.js +2 -0
  113. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2.js +2 -0
  114. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2PriceData.js +2 -0
  115. package/dist/typechain-types/interfaces/ILayerZeroTreasury.js +2 -0
  116. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV1.js +2 -0
  117. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV2.js +2 -0
  118. package/dist/typechain-types/interfaces/ILayerZeroUserApplicationConfig.js +2 -0
  119. package/dist/typechain-types/interfaces/ILayerZeroValidationLibrary.js +2 -0
  120. package/dist/typechain-types/interfaces/IValidationLibraryHelper.js +2 -0
  121. package/dist/typechain-types/interfaces/IValidationLibraryHelperV2.js +2 -0
  122. package/dist/typechain-types/interfaces/index.js +2 -0
  123. package/dist/typechain-types/precrime/PreCrime.js +2 -0
  124. package/dist/typechain-types/precrime/PreCrimeBase.js +2 -0
  125. package/dist/typechain-types/precrime/PreCrimeView.js +2 -0
  126. package/dist/typechain-types/precrime/example/index.js +2 -0
  127. package/dist/typechain-types/precrime/example/inherit/CounterI.js +2 -0
  128. package/dist/typechain-types/precrime/example/inherit/CounterPrecrime.js +2 -0
  129. package/dist/typechain-types/precrime/example/inherit/index.js +2 -0
  130. package/dist/typechain-types/precrime/example/view/CounterPrecrimeView.js +2 -0
  131. package/dist/typechain-types/precrime/example/view/CounterV.js +2 -0
  132. package/dist/typechain-types/precrime/example/view/CounterView.js +2 -0
  133. package/dist/typechain-types/precrime/example/view/index.js +2 -0
  134. package/dist/typechain-types/precrime/index.js +2 -0
  135. package/dist/typechain-types/precrime/interfaces/IPreCrime.js +2 -0
  136. package/dist/typechain-types/precrime/interfaces/IPreCrimeBase.js +2 -0
  137. package/dist/typechain-types/precrime/interfaces/IPreCrimeView.js +2 -0
  138. package/dist/typechain-types/precrime/interfaces/index.js +2 -0
  139. package/dist/typechain-types/proof/FPValidator.js +2 -0
  140. package/dist/typechain-types/proof/MPTValidator.js +2 -0
  141. package/dist/typechain-types/proof/MPTValidator01.js +2 -0
  142. package/dist/typechain-types/proof/MPTValidatorStgV3.js +2 -0
  143. package/dist/typechain-types/proof/MPTValidatorV2.js +2 -0
  144. package/dist/typechain-types/proof/MPTValidatorV4.sol/IUltraLightNode.js +2 -0
  145. package/dist/typechain-types/proof/MPTValidatorV4.sol/MPTValidatorV4.js +2 -0
  146. package/dist/typechain-types/proof/MPTValidatorV4.sol/index.js +2 -0
  147. package/dist/typechain-types/proof/MPTValidatorV5.sol/IUltraLightNode.js +2 -0
  148. package/dist/typechain-types/proof/MPTValidatorV5.sol/MPTValidatorV5.js +2 -0
  149. package/dist/typechain-types/proof/MPTValidatorV5.sol/index.js +2 -0
  150. package/dist/typechain-types/proof/index.js +2 -0
  151. package/dist/typechain-types/proxy/DefaultProxyAdmin.js +2 -0
  152. package/dist/typechain-types/proxy/TransparentUpgradeableProxy.js +2 -0
  153. package/dist/typechain-types/proxy/index.js +2 -0
  154. package/package.json +4 -4
@@ -0,0 +1,458 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ exports.__esModule = true;
6
+ exports.ILayerZeroEndpoint__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint16",
13
+ name: "_dstChainId",
14
+ type: "uint16"
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "_userApplication",
19
+ type: "address"
20
+ },
21
+ {
22
+ internalType: "bytes",
23
+ name: "_payload",
24
+ type: "bytes"
25
+ },
26
+ {
27
+ internalType: "bool",
28
+ name: "_payInZRO",
29
+ type: "bool"
30
+ },
31
+ {
32
+ internalType: "bytes",
33
+ name: "_adapterParam",
34
+ type: "bytes"
35
+ },
36
+ ],
37
+ name: "estimateFees",
38
+ outputs: [
39
+ {
40
+ internalType: "uint256",
41
+ name: "nativeFee",
42
+ type: "uint256"
43
+ },
44
+ {
45
+ internalType: "uint256",
46
+ name: "zroFee",
47
+ type: "uint256"
48
+ },
49
+ ],
50
+ stateMutability: "view",
51
+ type: "function"
52
+ },
53
+ {
54
+ inputs: [
55
+ {
56
+ internalType: "uint16",
57
+ name: "_srcChainId",
58
+ type: "uint16"
59
+ },
60
+ {
61
+ internalType: "bytes",
62
+ name: "_srcAddress",
63
+ type: "bytes"
64
+ },
65
+ ],
66
+ name: "forceResumeReceive",
67
+ outputs: [],
68
+ stateMutability: "nonpayable",
69
+ type: "function"
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "getChainId",
74
+ outputs: [
75
+ {
76
+ internalType: "uint16",
77
+ name: "",
78
+ type: "uint16"
79
+ },
80
+ ],
81
+ stateMutability: "view",
82
+ type: "function"
83
+ },
84
+ {
85
+ inputs: [
86
+ {
87
+ internalType: "uint16",
88
+ name: "_version",
89
+ type: "uint16"
90
+ },
91
+ {
92
+ internalType: "uint16",
93
+ name: "_chainId",
94
+ type: "uint16"
95
+ },
96
+ {
97
+ internalType: "address",
98
+ name: "_userApplication",
99
+ type: "address"
100
+ },
101
+ {
102
+ internalType: "uint256",
103
+ name: "_configType",
104
+ type: "uint256"
105
+ },
106
+ ],
107
+ name: "getConfig",
108
+ outputs: [
109
+ {
110
+ internalType: "bytes",
111
+ name: "",
112
+ type: "bytes"
113
+ },
114
+ ],
115
+ stateMutability: "view",
116
+ type: "function"
117
+ },
118
+ {
119
+ inputs: [
120
+ {
121
+ internalType: "uint16",
122
+ name: "_srcChainId",
123
+ type: "uint16"
124
+ },
125
+ {
126
+ internalType: "bytes",
127
+ name: "_srcAddress",
128
+ type: "bytes"
129
+ },
130
+ ],
131
+ name: "getInboundNonce",
132
+ outputs: [
133
+ {
134
+ internalType: "uint64",
135
+ name: "",
136
+ type: "uint64"
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ type: "function"
141
+ },
142
+ {
143
+ inputs: [
144
+ {
145
+ internalType: "uint16",
146
+ name: "_dstChainId",
147
+ type: "uint16"
148
+ },
149
+ {
150
+ internalType: "address",
151
+ name: "_srcAddress",
152
+ type: "address"
153
+ },
154
+ ],
155
+ name: "getOutboundNonce",
156
+ outputs: [
157
+ {
158
+ internalType: "uint64",
159
+ name: "",
160
+ type: "uint64"
161
+ },
162
+ ],
163
+ stateMutability: "view",
164
+ type: "function"
165
+ },
166
+ {
167
+ inputs: [
168
+ {
169
+ internalType: "address",
170
+ name: "_userApplication",
171
+ type: "address"
172
+ },
173
+ ],
174
+ name: "getReceiveLibraryAddress",
175
+ outputs: [
176
+ {
177
+ internalType: "address",
178
+ name: "",
179
+ type: "address"
180
+ },
181
+ ],
182
+ stateMutability: "view",
183
+ type: "function"
184
+ },
185
+ {
186
+ inputs: [
187
+ {
188
+ internalType: "address",
189
+ name: "_userApplication",
190
+ type: "address"
191
+ },
192
+ ],
193
+ name: "getReceiveVersion",
194
+ outputs: [
195
+ {
196
+ internalType: "uint16",
197
+ name: "",
198
+ type: "uint16"
199
+ },
200
+ ],
201
+ stateMutability: "view",
202
+ type: "function"
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "address",
208
+ name: "_userApplication",
209
+ type: "address"
210
+ },
211
+ ],
212
+ name: "getSendLibraryAddress",
213
+ outputs: [
214
+ {
215
+ internalType: "address",
216
+ name: "",
217
+ type: "address"
218
+ },
219
+ ],
220
+ stateMutability: "view",
221
+ type: "function"
222
+ },
223
+ {
224
+ inputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "_userApplication",
228
+ type: "address"
229
+ },
230
+ ],
231
+ name: "getSendVersion",
232
+ outputs: [
233
+ {
234
+ internalType: "uint16",
235
+ name: "",
236
+ type: "uint16"
237
+ },
238
+ ],
239
+ stateMutability: "view",
240
+ type: "function"
241
+ },
242
+ {
243
+ inputs: [
244
+ {
245
+ internalType: "uint16",
246
+ name: "_srcChainId",
247
+ type: "uint16"
248
+ },
249
+ {
250
+ internalType: "bytes",
251
+ name: "_srcAddress",
252
+ type: "bytes"
253
+ },
254
+ ],
255
+ name: "hasStoredPayload",
256
+ outputs: [
257
+ {
258
+ internalType: "bool",
259
+ name: "",
260
+ type: "bool"
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function"
265
+ },
266
+ {
267
+ inputs: [],
268
+ name: "isReceivingPayload",
269
+ outputs: [
270
+ {
271
+ internalType: "bool",
272
+ name: "",
273
+ type: "bool"
274
+ },
275
+ ],
276
+ stateMutability: "view",
277
+ type: "function"
278
+ },
279
+ {
280
+ inputs: [],
281
+ name: "isSendingPayload",
282
+ outputs: [
283
+ {
284
+ internalType: "bool",
285
+ name: "",
286
+ type: "bool"
287
+ },
288
+ ],
289
+ stateMutability: "view",
290
+ type: "function"
291
+ },
292
+ {
293
+ inputs: [
294
+ {
295
+ internalType: "uint16",
296
+ name: "_srcChainId",
297
+ type: "uint16"
298
+ },
299
+ {
300
+ internalType: "bytes",
301
+ name: "_srcAddress",
302
+ type: "bytes"
303
+ },
304
+ {
305
+ internalType: "address",
306
+ name: "_dstAddress",
307
+ type: "address"
308
+ },
309
+ {
310
+ internalType: "uint64",
311
+ name: "_nonce",
312
+ type: "uint64"
313
+ },
314
+ {
315
+ internalType: "uint256",
316
+ name: "_gasLimit",
317
+ type: "uint256"
318
+ },
319
+ {
320
+ internalType: "bytes",
321
+ name: "_payload",
322
+ type: "bytes"
323
+ },
324
+ ],
325
+ name: "receivePayload",
326
+ outputs: [],
327
+ stateMutability: "nonpayable",
328
+ type: "function"
329
+ },
330
+ {
331
+ inputs: [
332
+ {
333
+ internalType: "uint16",
334
+ name: "_srcChainId",
335
+ type: "uint16"
336
+ },
337
+ {
338
+ internalType: "bytes",
339
+ name: "_srcAddress",
340
+ type: "bytes"
341
+ },
342
+ {
343
+ internalType: "bytes",
344
+ name: "_payload",
345
+ type: "bytes"
346
+ },
347
+ ],
348
+ name: "retryPayload",
349
+ outputs: [],
350
+ stateMutability: "nonpayable",
351
+ type: "function"
352
+ },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "uint16",
357
+ name: "_dstChainId",
358
+ type: "uint16"
359
+ },
360
+ {
361
+ internalType: "bytes",
362
+ name: "_destination",
363
+ type: "bytes"
364
+ },
365
+ {
366
+ internalType: "bytes",
367
+ name: "_payload",
368
+ type: "bytes"
369
+ },
370
+ {
371
+ internalType: "address payable",
372
+ name: "_refundAddress",
373
+ type: "address"
374
+ },
375
+ {
376
+ internalType: "address",
377
+ name: "_zroPaymentAddress",
378
+ type: "address"
379
+ },
380
+ {
381
+ internalType: "bytes",
382
+ name: "_adapterParams",
383
+ type: "bytes"
384
+ },
385
+ ],
386
+ name: "send",
387
+ outputs: [],
388
+ stateMutability: "payable",
389
+ type: "function"
390
+ },
391
+ {
392
+ inputs: [
393
+ {
394
+ internalType: "uint16",
395
+ name: "_version",
396
+ type: "uint16"
397
+ },
398
+ {
399
+ internalType: "uint16",
400
+ name: "_chainId",
401
+ type: "uint16"
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "_configType",
406
+ type: "uint256"
407
+ },
408
+ {
409
+ internalType: "bytes",
410
+ name: "_config",
411
+ type: "bytes"
412
+ },
413
+ ],
414
+ name: "setConfig",
415
+ outputs: [],
416
+ stateMutability: "nonpayable",
417
+ type: "function"
418
+ },
419
+ {
420
+ inputs: [
421
+ {
422
+ internalType: "uint16",
423
+ name: "_version",
424
+ type: "uint16"
425
+ },
426
+ ],
427
+ name: "setReceiveVersion",
428
+ outputs: [],
429
+ stateMutability: "nonpayable",
430
+ type: "function"
431
+ },
432
+ {
433
+ inputs: [
434
+ {
435
+ internalType: "uint16",
436
+ name: "_version",
437
+ type: "uint16"
438
+ },
439
+ ],
440
+ name: "setSendVersion",
441
+ outputs: [],
442
+ stateMutability: "nonpayable",
443
+ type: "function"
444
+ },
445
+ ];
446
+ var ILayerZeroEndpoint__factory = /** @class */ (function () {
447
+ function ILayerZeroEndpoint__factory() {
448
+ }
449
+ ILayerZeroEndpoint__factory.createInterface = function () {
450
+ return new ethers_1.utils.Interface(_abi);
451
+ };
452
+ ILayerZeroEndpoint__factory.connect = function (address, signerOrProvider) {
453
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
454
+ };
455
+ ILayerZeroEndpoint__factory.abi = _abi;
456
+ return ILayerZeroEndpoint__factory;
457
+ }());
458
+ exports.ILayerZeroEndpoint__factory = ILayerZeroEndpoint__factory;
@@ -0,0 +1,195 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ exports.__esModule = true;
6
+ exports.ILayerZeroMessagingLibraryV2__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "uint16",
13
+ name: "_chainId",
14
+ type: "uint16"
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "_userApplication",
19
+ type: "address"
20
+ },
21
+ {
22
+ internalType: "bytes",
23
+ name: "_payload",
24
+ type: "bytes"
25
+ },
26
+ {
27
+ internalType: "bool",
28
+ name: "_payInZRO",
29
+ type: "bool"
30
+ },
31
+ {
32
+ internalType: "bytes",
33
+ name: "_adapterParam",
34
+ type: "bytes"
35
+ },
36
+ ],
37
+ name: "estimateFees",
38
+ outputs: [
39
+ {
40
+ internalType: "uint256",
41
+ name: "nativeFee",
42
+ type: "uint256"
43
+ },
44
+ {
45
+ internalType: "uint256",
46
+ name: "zroFee",
47
+ type: "uint256"
48
+ },
49
+ ],
50
+ stateMutability: "view",
51
+ type: "function"
52
+ },
53
+ {
54
+ inputs: [
55
+ {
56
+ internalType: "uint16",
57
+ name: "_chainId",
58
+ type: "uint16"
59
+ },
60
+ {
61
+ internalType: "address",
62
+ name: "_userApplication",
63
+ type: "address"
64
+ },
65
+ {
66
+ internalType: "uint256",
67
+ name: "_configType",
68
+ type: "uint256"
69
+ },
70
+ ],
71
+ name: "getConfig",
72
+ outputs: [
73
+ {
74
+ internalType: "bytes",
75
+ name: "",
76
+ type: "bytes"
77
+ },
78
+ ],
79
+ stateMutability: "view",
80
+ type: "function"
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: "uint16",
86
+ name: "_chainId",
87
+ type: "uint16"
88
+ },
89
+ {
90
+ internalType: "bytes",
91
+ name: "_path",
92
+ type: "bytes"
93
+ },
94
+ ],
95
+ name: "getOutboundNonce",
96
+ outputs: [
97
+ {
98
+ internalType: "uint64",
99
+ name: "",
100
+ type: "uint64"
101
+ },
102
+ ],
103
+ stateMutability: "view",
104
+ type: "function"
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ internalType: "address",
110
+ name: "_userApplication",
111
+ type: "address"
112
+ },
113
+ {
114
+ internalType: "uint64",
115
+ name: "_lastNonce",
116
+ type: "uint64"
117
+ },
118
+ {
119
+ internalType: "uint16",
120
+ name: "_chainId",
121
+ type: "uint16"
122
+ },
123
+ {
124
+ internalType: "bytes",
125
+ name: "_destination",
126
+ type: "bytes"
127
+ },
128
+ {
129
+ internalType: "bytes",
130
+ name: "_payload",
131
+ type: "bytes"
132
+ },
133
+ {
134
+ internalType: "address payable",
135
+ name: "refundAddress",
136
+ type: "address"
137
+ },
138
+ {
139
+ internalType: "address",
140
+ name: "_zroPaymentAddress",
141
+ type: "address"
142
+ },
143
+ {
144
+ internalType: "bytes",
145
+ name: "_adapterParams",
146
+ type: "bytes"
147
+ },
148
+ ],
149
+ name: "send",
150
+ outputs: [],
151
+ stateMutability: "payable",
152
+ type: "function"
153
+ },
154
+ {
155
+ inputs: [
156
+ {
157
+ internalType: "uint16",
158
+ name: "_chainId",
159
+ type: "uint16"
160
+ },
161
+ {
162
+ internalType: "address",
163
+ name: "_userApplication",
164
+ type: "address"
165
+ },
166
+ {
167
+ internalType: "uint256",
168
+ name: "_configType",
169
+ type: "uint256"
170
+ },
171
+ {
172
+ internalType: "bytes",
173
+ name: "_config",
174
+ type: "bytes"
175
+ },
176
+ ],
177
+ name: "setConfig",
178
+ outputs: [],
179
+ stateMutability: "nonpayable",
180
+ type: "function"
181
+ },
182
+ ];
183
+ var ILayerZeroMessagingLibraryV2__factory = /** @class */ (function () {
184
+ function ILayerZeroMessagingLibraryV2__factory() {
185
+ }
186
+ ILayerZeroMessagingLibraryV2__factory.createInterface = function () {
187
+ return new ethers_1.utils.Interface(_abi);
188
+ };
189
+ ILayerZeroMessagingLibraryV2__factory.connect = function (address, signerOrProvider) {
190
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
191
+ };
192
+ ILayerZeroMessagingLibraryV2__factory.abi = _abi;
193
+ return ILayerZeroMessagingLibraryV2__factory;
194
+ }());
195
+ exports.ILayerZeroMessagingLibraryV2__factory = ILayerZeroMessagingLibraryV2__factory;