@layerzerolabs/lz-evm-oapp-v1 2.0.6 → 2.0.7

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.
@@ -1,621 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- exports.__esModule = true;
6
- exports.NonblockingLzApp__factory = void 0;
7
- var ethers_1 = require("ethers");
8
- var _abi = [
9
- {
10
- anonymous: false,
11
- inputs: [
12
- {
13
- indexed: false,
14
- internalType: "uint16",
15
- name: "_srcChainId",
16
- type: "uint16"
17
- },
18
- {
19
- indexed: false,
20
- internalType: "bytes",
21
- name: "_srcAddress",
22
- type: "bytes"
23
- },
24
- {
25
- indexed: false,
26
- internalType: "uint64",
27
- name: "_nonce",
28
- type: "uint64"
29
- },
30
- {
31
- indexed: false,
32
- internalType: "bytes",
33
- name: "_payload",
34
- type: "bytes"
35
- },
36
- {
37
- indexed: false,
38
- internalType: "bytes",
39
- name: "_reason",
40
- type: "bytes"
41
- },
42
- ],
43
- name: "MessageFailed",
44
- type: "event"
45
- },
46
- {
47
- anonymous: false,
48
- inputs: [
49
- {
50
- indexed: true,
51
- internalType: "address",
52
- name: "previousOwner",
53
- type: "address"
54
- },
55
- {
56
- indexed: true,
57
- internalType: "address",
58
- name: "newOwner",
59
- type: "address"
60
- },
61
- ],
62
- name: "OwnershipTransferred",
63
- type: "event"
64
- },
65
- {
66
- anonymous: false,
67
- inputs: [
68
- {
69
- indexed: false,
70
- internalType: "uint16",
71
- name: "_srcChainId",
72
- type: "uint16"
73
- },
74
- {
75
- indexed: false,
76
- internalType: "bytes",
77
- name: "_srcAddress",
78
- type: "bytes"
79
- },
80
- {
81
- indexed: false,
82
- internalType: "uint64",
83
- name: "_nonce",
84
- type: "uint64"
85
- },
86
- {
87
- indexed: false,
88
- internalType: "bytes32",
89
- name: "_payloadHash",
90
- type: "bytes32"
91
- },
92
- ],
93
- name: "RetryMessageSuccess",
94
- type: "event"
95
- },
96
- {
97
- anonymous: false,
98
- inputs: [
99
- {
100
- indexed: false,
101
- internalType: "uint16",
102
- name: "_dstChainId",
103
- type: "uint16"
104
- },
105
- {
106
- indexed: false,
107
- internalType: "uint16",
108
- name: "_type",
109
- type: "uint16"
110
- },
111
- {
112
- indexed: false,
113
- internalType: "uint256",
114
- name: "_minDstGas",
115
- type: "uint256"
116
- },
117
- ],
118
- name: "SetMinDstGas",
119
- type: "event"
120
- },
121
- {
122
- anonymous: false,
123
- inputs: [
124
- {
125
- indexed: false,
126
- internalType: "address",
127
- name: "precrime",
128
- type: "address"
129
- },
130
- ],
131
- name: "SetPrecrime",
132
- type: "event"
133
- },
134
- {
135
- anonymous: false,
136
- inputs: [
137
- {
138
- indexed: false,
139
- internalType: "uint16",
140
- name: "_remoteChainId",
141
- type: "uint16"
142
- },
143
- {
144
- indexed: false,
145
- internalType: "bytes",
146
- name: "_path",
147
- type: "bytes"
148
- },
149
- ],
150
- name: "SetTrustedRemote",
151
- type: "event"
152
- },
153
- {
154
- anonymous: false,
155
- inputs: [
156
- {
157
- indexed: false,
158
- internalType: "uint16",
159
- name: "_remoteChainId",
160
- type: "uint16"
161
- },
162
- {
163
- indexed: false,
164
- internalType: "bytes",
165
- name: "_remoteAddress",
166
- type: "bytes"
167
- },
168
- ],
169
- name: "SetTrustedRemoteAddress",
170
- type: "event"
171
- },
172
- {
173
- inputs: [
174
- {
175
- internalType: "uint16",
176
- name: "",
177
- type: "uint16"
178
- },
179
- {
180
- internalType: "bytes",
181
- name: "",
182
- type: "bytes"
183
- },
184
- {
185
- internalType: "uint64",
186
- name: "",
187
- type: "uint64"
188
- },
189
- ],
190
- name: "failedMessages",
191
- outputs: [
192
- {
193
- internalType: "bytes32",
194
- name: "",
195
- type: "bytes32"
196
- },
197
- ],
198
- stateMutability: "view",
199
- type: "function"
200
- },
201
- {
202
- inputs: [
203
- {
204
- internalType: "uint16",
205
- name: "_srcChainId",
206
- type: "uint16"
207
- },
208
- {
209
- internalType: "bytes",
210
- name: "_srcAddress",
211
- type: "bytes"
212
- },
213
- ],
214
- name: "forceResumeReceive",
215
- outputs: [],
216
- stateMutability: "nonpayable",
217
- type: "function"
218
- },
219
- {
220
- inputs: [
221
- {
222
- internalType: "uint16",
223
- name: "_version",
224
- type: "uint16"
225
- },
226
- {
227
- internalType: "uint16",
228
- name: "_chainId",
229
- type: "uint16"
230
- },
231
- {
232
- internalType: "address",
233
- name: "",
234
- type: "address"
235
- },
236
- {
237
- internalType: "uint256",
238
- name: "_configType",
239
- type: "uint256"
240
- },
241
- ],
242
- name: "getConfig",
243
- outputs: [
244
- {
245
- internalType: "bytes",
246
- name: "",
247
- type: "bytes"
248
- },
249
- ],
250
- stateMutability: "view",
251
- type: "function"
252
- },
253
- {
254
- inputs: [
255
- {
256
- internalType: "uint16",
257
- name: "_remoteChainId",
258
- type: "uint16"
259
- },
260
- ],
261
- name: "getTrustedRemoteAddress",
262
- outputs: [
263
- {
264
- internalType: "bytes",
265
- name: "",
266
- type: "bytes"
267
- },
268
- ],
269
- stateMutability: "view",
270
- type: "function"
271
- },
272
- {
273
- inputs: [
274
- {
275
- internalType: "uint16",
276
- name: "_srcChainId",
277
- type: "uint16"
278
- },
279
- {
280
- internalType: "bytes",
281
- name: "_srcAddress",
282
- type: "bytes"
283
- },
284
- ],
285
- name: "isTrustedRemote",
286
- outputs: [
287
- {
288
- internalType: "bool",
289
- name: "",
290
- type: "bool"
291
- },
292
- ],
293
- stateMutability: "view",
294
- type: "function"
295
- },
296
- {
297
- inputs: [],
298
- name: "lzEndpoint",
299
- outputs: [
300
- {
301
- internalType: "contract ILayerZeroEndpoint",
302
- name: "",
303
- type: "address"
304
- },
305
- ],
306
- stateMutability: "view",
307
- type: "function"
308
- },
309
- {
310
- inputs: [
311
- {
312
- internalType: "uint16",
313
- name: "_srcChainId",
314
- type: "uint16"
315
- },
316
- {
317
- internalType: "bytes",
318
- name: "_srcAddress",
319
- type: "bytes"
320
- },
321
- {
322
- internalType: "uint64",
323
- name: "_nonce",
324
- type: "uint64"
325
- },
326
- {
327
- internalType: "bytes",
328
- name: "_payload",
329
- type: "bytes"
330
- },
331
- ],
332
- name: "lzReceive",
333
- outputs: [],
334
- stateMutability: "nonpayable",
335
- type: "function"
336
- },
337
- {
338
- inputs: [
339
- {
340
- internalType: "uint16",
341
- name: "",
342
- type: "uint16"
343
- },
344
- {
345
- internalType: "uint16",
346
- name: "",
347
- type: "uint16"
348
- },
349
- ],
350
- name: "minDstGasLookup",
351
- outputs: [
352
- {
353
- internalType: "uint256",
354
- name: "",
355
- type: "uint256"
356
- },
357
- ],
358
- stateMutability: "view",
359
- type: "function"
360
- },
361
- {
362
- inputs: [
363
- {
364
- internalType: "uint16",
365
- name: "_srcChainId",
366
- type: "uint16"
367
- },
368
- {
369
- internalType: "bytes",
370
- name: "_srcAddress",
371
- type: "bytes"
372
- },
373
- {
374
- internalType: "uint64",
375
- name: "_nonce",
376
- type: "uint64"
377
- },
378
- {
379
- internalType: "bytes",
380
- name: "_payload",
381
- type: "bytes"
382
- },
383
- ],
384
- name: "nonblockingLzReceive",
385
- outputs: [],
386
- stateMutability: "nonpayable",
387
- type: "function"
388
- },
389
- {
390
- inputs: [],
391
- name: "owner",
392
- outputs: [
393
- {
394
- internalType: "address",
395
- name: "",
396
- type: "address"
397
- },
398
- ],
399
- stateMutability: "view",
400
- type: "function"
401
- },
402
- {
403
- inputs: [],
404
- name: "precrime",
405
- outputs: [
406
- {
407
- internalType: "address",
408
- name: "",
409
- type: "address"
410
- },
411
- ],
412
- stateMutability: "view",
413
- type: "function"
414
- },
415
- {
416
- inputs: [],
417
- name: "renounceOwnership",
418
- outputs: [],
419
- stateMutability: "nonpayable",
420
- type: "function"
421
- },
422
- {
423
- inputs: [
424
- {
425
- internalType: "uint16",
426
- name: "_srcChainId",
427
- type: "uint16"
428
- },
429
- {
430
- internalType: "bytes",
431
- name: "_srcAddress",
432
- type: "bytes"
433
- },
434
- {
435
- internalType: "uint64",
436
- name: "_nonce",
437
- type: "uint64"
438
- },
439
- {
440
- internalType: "bytes",
441
- name: "_payload",
442
- type: "bytes"
443
- },
444
- ],
445
- name: "retryMessage",
446
- outputs: [],
447
- stateMutability: "payable",
448
- type: "function"
449
- },
450
- {
451
- inputs: [
452
- {
453
- internalType: "uint16",
454
- name: "_version",
455
- type: "uint16"
456
- },
457
- {
458
- internalType: "uint16",
459
- name: "_chainId",
460
- type: "uint16"
461
- },
462
- {
463
- internalType: "uint256",
464
- name: "_configType",
465
- type: "uint256"
466
- },
467
- {
468
- internalType: "bytes",
469
- name: "_config",
470
- type: "bytes"
471
- },
472
- ],
473
- name: "setConfig",
474
- outputs: [],
475
- stateMutability: "nonpayable",
476
- type: "function"
477
- },
478
- {
479
- inputs: [
480
- {
481
- internalType: "uint16",
482
- name: "_dstChainId",
483
- type: "uint16"
484
- },
485
- {
486
- internalType: "uint16",
487
- name: "_packetType",
488
- type: "uint16"
489
- },
490
- {
491
- internalType: "uint256",
492
- name: "_minGas",
493
- type: "uint256"
494
- },
495
- ],
496
- name: "setMinDstGas",
497
- outputs: [],
498
- stateMutability: "nonpayable",
499
- type: "function"
500
- },
501
- {
502
- inputs: [
503
- {
504
- internalType: "address",
505
- name: "_precrime",
506
- type: "address"
507
- },
508
- ],
509
- name: "setPrecrime",
510
- outputs: [],
511
- stateMutability: "nonpayable",
512
- type: "function"
513
- },
514
- {
515
- inputs: [
516
- {
517
- internalType: "uint16",
518
- name: "_version",
519
- type: "uint16"
520
- },
521
- ],
522
- name: "setReceiveVersion",
523
- outputs: [],
524
- stateMutability: "nonpayable",
525
- type: "function"
526
- },
527
- {
528
- inputs: [
529
- {
530
- internalType: "uint16",
531
- name: "_version",
532
- type: "uint16"
533
- },
534
- ],
535
- name: "setSendVersion",
536
- outputs: [],
537
- stateMutability: "nonpayable",
538
- type: "function"
539
- },
540
- {
541
- inputs: [
542
- {
543
- internalType: "uint16",
544
- name: "_srcChainId",
545
- type: "uint16"
546
- },
547
- {
548
- internalType: "bytes",
549
- name: "_path",
550
- type: "bytes"
551
- },
552
- ],
553
- name: "setTrustedRemote",
554
- outputs: [],
555
- stateMutability: "nonpayable",
556
- type: "function"
557
- },
558
- {
559
- inputs: [
560
- {
561
- internalType: "uint16",
562
- name: "_remoteChainId",
563
- type: "uint16"
564
- },
565
- {
566
- internalType: "bytes",
567
- name: "_remoteAddress",
568
- type: "bytes"
569
- },
570
- ],
571
- name: "setTrustedRemoteAddress",
572
- outputs: [],
573
- stateMutability: "nonpayable",
574
- type: "function"
575
- },
576
- {
577
- inputs: [
578
- {
579
- internalType: "address",
580
- name: "newOwner",
581
- type: "address"
582
- },
583
- ],
584
- name: "transferOwnership",
585
- outputs: [],
586
- stateMutability: "nonpayable",
587
- type: "function"
588
- },
589
- {
590
- inputs: [
591
- {
592
- internalType: "uint16",
593
- name: "",
594
- type: "uint16"
595
- },
596
- ],
597
- name: "trustedRemoteLookup",
598
- outputs: [
599
- {
600
- internalType: "bytes",
601
- name: "",
602
- type: "bytes"
603
- },
604
- ],
605
- stateMutability: "view",
606
- type: "function"
607
- },
608
- ];
609
- var NonblockingLzApp__factory = /** @class */ (function () {
610
- function NonblockingLzApp__factory() {
611
- }
612
- NonblockingLzApp__factory.createInterface = function () {
613
- return new ethers_1.utils.Interface(_abi);
614
- };
615
- NonblockingLzApp__factory.connect = function (address, signerOrProvider) {
616
- return new ethers_1.Contract(address, _abi, signerOrProvider);
617
- };
618
- NonblockingLzApp__factory.abi = _abi;
619
- return NonblockingLzApp__factory;
620
- }());
621
- exports.NonblockingLzApp__factory = NonblockingLzApp__factory;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = 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);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- exports.__esModule = true;
14
- exports.NonblockingLzApp__factory = exports.LzApp__factory = void 0;
15
- /* Autogenerated file. Do not edit manually. */
16
- /* tslint:disable */
17
- /* eslint-disable */
18
- var LzApp__factory_1 = require("./LzApp__factory");
19
- __createBinding(exports, LzApp__factory_1, "LzApp__factory");
20
- var NonblockingLzApp__factory_1 = require("./NonblockingLzApp__factory");
21
- __createBinding(exports, NonblockingLzApp__factory_1, "NonblockingLzApp__factory");