@layerzerolabs/lz-evm-oapp-v1 1.5.36 → 1.5.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -13,38 +13,18 @@ var __export = (target, all) => {
13
13
  __defProp(target, name, { get: all[name], enumerable: true });
14
14
  };
15
15
 
16
- // typechain-types/factories/index.ts
16
+ // src/typechain-types/factories/index.ts
17
17
  var factories_exports = {};
18
18
  __export(factories_exports, {
19
- contracts: () => contracts_exports3,
20
- layerzerolabs: () => layerzerolabs_exports,
21
- openzeppelin: () => openzeppelin_exports
22
- });
23
-
24
- // typechain-types/factories/@layerzerolabs/index.ts
25
- var layerzerolabs_exports = {};
26
- __export(layerzerolabs_exports, {
27
- lzEvmV107: () => lz_evm_v1_0_exports
28
- });
29
-
30
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/index.ts
31
- var lz_evm_v1_0_exports = {};
32
- __export(lz_evm_v1_0_exports, {
33
- contracts: () => contracts_exports
34
- });
35
-
36
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/contracts/index.ts
37
- var contracts_exports = {};
38
- __export(contracts_exports, {
39
- interfaces: () => interfaces_exports
19
+ lzApp: () => lzApp_exports,
20
+ mocks: () => mocks_exports
40
21
  });
41
22
 
42
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/contracts/interfaces/index.ts
43
- var interfaces_exports = {};
44
- __export(interfaces_exports, {
45
- ILayerZeroEndpoint__factory: () => ILayerZeroEndpoint__factory,
46
- ILayerZeroReceiver__factory: () => ILayerZeroReceiver__factory,
47
- ILayerZeroUserApplicationConfig__factory: () => ILayerZeroUserApplicationConfig__factory
23
+ // src/typechain-types/factories/lzApp/index.ts
24
+ var lzApp_exports = {};
25
+ __export(lzApp_exports, {
26
+ LzApp__factory: () => LzApp__factory,
27
+ NonblockingLzApp__factory: () => NonblockingLzApp__factory
48
28
  });
49
29
 
50
30
  // ../../../.yarn/cache/ethers-npm-5.7.2-eba7d781ee-b7c08cf3e2.zip/node_modules/ethers/lib.esm/ethers.js
@@ -23128,51 +23108,102 @@ try {
23128
23108
  } catch (error) {
23129
23109
  }
23130
23110
 
23131
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/contracts/interfaces/ILayerZeroEndpoint__factory.ts
23111
+ // src/typechain-types/factories/lzApp/LzApp__factory.ts
23132
23112
  var _abi = [
23133
23113
  {
23114
+ anonymous: false,
23134
23115
  inputs: [
23135
23116
  {
23136
- internalType: "uint16",
23137
- name: "_dstChainId",
23138
- type: "uint16"
23117
+ indexed: true,
23118
+ internalType: "address",
23119
+ name: "previousOwner",
23120
+ type: "address"
23139
23121
  },
23140
23122
  {
23123
+ indexed: true,
23141
23124
  internalType: "address",
23142
- name: "_userApplication",
23125
+ name: "newOwner",
23143
23126
  type: "address"
23127
+ }
23128
+ ],
23129
+ name: "OwnershipTransferred",
23130
+ type: "event"
23131
+ },
23132
+ {
23133
+ anonymous: false,
23134
+ inputs: [
23135
+ {
23136
+ indexed: false,
23137
+ internalType: "uint16",
23138
+ name: "_dstChainId",
23139
+ type: "uint16"
23144
23140
  },
23145
23141
  {
23146
- internalType: "bytes",
23147
- name: "_payload",
23148
- type: "bytes"
23142
+ indexed: false,
23143
+ internalType: "uint16",
23144
+ name: "_type",
23145
+ type: "uint16"
23149
23146
  },
23150
23147
  {
23151
- internalType: "bool",
23152
- name: "_payInZRO",
23153
- type: "bool"
23148
+ indexed: false,
23149
+ internalType: "uint256",
23150
+ name: "_minDstGas",
23151
+ type: "uint256"
23152
+ }
23153
+ ],
23154
+ name: "SetMinDstGas",
23155
+ type: "event"
23156
+ },
23157
+ {
23158
+ anonymous: false,
23159
+ inputs: [
23160
+ {
23161
+ indexed: false,
23162
+ internalType: "address",
23163
+ name: "precrime",
23164
+ type: "address"
23165
+ }
23166
+ ],
23167
+ name: "SetPrecrime",
23168
+ type: "event"
23169
+ },
23170
+ {
23171
+ anonymous: false,
23172
+ inputs: [
23173
+ {
23174
+ indexed: false,
23175
+ internalType: "uint16",
23176
+ name: "_remoteChainId",
23177
+ type: "uint16"
23154
23178
  },
23155
23179
  {
23180
+ indexed: false,
23156
23181
  internalType: "bytes",
23157
- name: "_adapterParam",
23182
+ name: "_path",
23158
23183
  type: "bytes"
23159
23184
  }
23160
23185
  ],
23161
- name: "estimateFees",
23162
- outputs: [
23186
+ name: "SetTrustedRemote",
23187
+ type: "event"
23188
+ },
23189
+ {
23190
+ anonymous: false,
23191
+ inputs: [
23163
23192
  {
23164
- internalType: "uint256",
23165
- name: "nativeFee",
23166
- type: "uint256"
23193
+ indexed: false,
23194
+ internalType: "uint16",
23195
+ name: "_remoteChainId",
23196
+ type: "uint16"
23167
23197
  },
23168
23198
  {
23169
- internalType: "uint256",
23170
- name: "zroFee",
23171
- type: "uint256"
23199
+ indexed: false,
23200
+ internalType: "bytes",
23201
+ name: "_remoteAddress",
23202
+ type: "bytes"
23172
23203
  }
23173
23204
  ],
23174
- stateMutability: "view",
23175
- type: "function"
23205
+ name: "SetTrustedRemoteAddress",
23206
+ type: "event"
23176
23207
  },
23177
23208
  {
23178
23209
  inputs: [
@@ -23192,19 +23223,6 @@ var _abi = [
23192
23223
  stateMutability: "nonpayable",
23193
23224
  type: "function"
23194
23225
  },
23195
- {
23196
- inputs: [],
23197
- name: "getChainId",
23198
- outputs: [
23199
- {
23200
- internalType: "uint16",
23201
- name: "",
23202
- type: "uint16"
23203
- }
23204
- ],
23205
- stateMutability: "view",
23206
- type: "function"
23207
- },
23208
23226
  {
23209
23227
  inputs: [
23210
23228
  {
@@ -23219,7 +23237,7 @@ var _abi = [
23219
23237
  },
23220
23238
  {
23221
23239
  internalType: "address",
23222
- name: "_userApplication",
23240
+ name: "",
23223
23241
  type: "address"
23224
23242
  },
23225
23243
  {
@@ -23243,21 +23261,16 @@ var _abi = [
23243
23261
  inputs: [
23244
23262
  {
23245
23263
  internalType: "uint16",
23246
- name: "_srcChainId",
23264
+ name: "_remoteChainId",
23247
23265
  type: "uint16"
23248
- },
23249
- {
23250
- internalType: "bytes",
23251
- name: "_srcAddress",
23252
- type: "bytes"
23253
23266
  }
23254
23267
  ],
23255
- name: "getInboundNonce",
23268
+ name: "getTrustedRemoteAddress",
23256
23269
  outputs: [
23257
23270
  {
23258
- internalType: "uint64",
23271
+ internalType: "bytes",
23259
23272
  name: "",
23260
- type: "uint64"
23273
+ type: "bytes"
23261
23274
  }
23262
23275
  ],
23263
23276
  stateMutability: "view",
@@ -23267,38 +23280,32 @@ var _abi = [
23267
23280
  inputs: [
23268
23281
  {
23269
23282
  internalType: "uint16",
23270
- name: "_dstChainId",
23283
+ name: "_srcChainId",
23271
23284
  type: "uint16"
23272
23285
  },
23273
23286
  {
23274
- internalType: "address",
23287
+ internalType: "bytes",
23275
23288
  name: "_srcAddress",
23276
- type: "address"
23289
+ type: "bytes"
23277
23290
  }
23278
23291
  ],
23279
- name: "getOutboundNonce",
23292
+ name: "isTrustedRemote",
23280
23293
  outputs: [
23281
23294
  {
23282
- internalType: "uint64",
23295
+ internalType: "bool",
23283
23296
  name: "",
23284
- type: "uint64"
23297
+ type: "bool"
23285
23298
  }
23286
23299
  ],
23287
23300
  stateMutability: "view",
23288
23301
  type: "function"
23289
23302
  },
23290
23303
  {
23291
- inputs: [
23292
- {
23293
- internalType: "address",
23294
- name: "_userApplication",
23295
- type: "address"
23296
- }
23297
- ],
23298
- name: "getReceiveLibraryAddress",
23304
+ inputs: [],
23305
+ name: "lzEndpoint",
23299
23306
  outputs: [
23300
23307
  {
23301
- internalType: "address",
23308
+ internalType: "contract ILayerZeroEndpoint",
23302
23309
  name: "",
23303
23310
  type: "address"
23304
23311
  }
@@ -23308,80 +23315,51 @@ var _abi = [
23308
23315
  },
23309
23316
  {
23310
23317
  inputs: [
23311
- {
23312
- internalType: "address",
23313
- name: "_userApplication",
23314
- type: "address"
23315
- }
23316
- ],
23317
- name: "getReceiveVersion",
23318
- outputs: [
23319
23318
  {
23320
23319
  internalType: "uint16",
23321
- name: "",
23320
+ name: "_srcChainId",
23322
23321
  type: "uint16"
23323
- }
23324
- ],
23325
- stateMutability: "view",
23326
- type: "function"
23327
- },
23328
- {
23329
- inputs: [
23322
+ },
23330
23323
  {
23331
- internalType: "address",
23332
- name: "_userApplication",
23333
- type: "address"
23334
- }
23335
- ],
23336
- name: "getSendLibraryAddress",
23337
- outputs: [
23324
+ internalType: "bytes",
23325
+ name: "_srcAddress",
23326
+ type: "bytes"
23327
+ },
23338
23328
  {
23339
- internalType: "address",
23340
- name: "",
23341
- type: "address"
23329
+ internalType: "uint64",
23330
+ name: "_nonce",
23331
+ type: "uint64"
23332
+ },
23333
+ {
23334
+ internalType: "bytes",
23335
+ name: "_payload",
23336
+ type: "bytes"
23342
23337
  }
23343
23338
  ],
23344
- stateMutability: "view",
23339
+ name: "lzReceive",
23340
+ outputs: [],
23341
+ stateMutability: "nonpayable",
23345
23342
  type: "function"
23346
23343
  },
23347
23344
  {
23348
23345
  inputs: [
23349
- {
23350
- internalType: "address",
23351
- name: "_userApplication",
23352
- type: "address"
23353
- }
23354
- ],
23355
- name: "getSendVersion",
23356
- outputs: [
23357
23346
  {
23358
23347
  internalType: "uint16",
23359
23348
  name: "",
23360
23349
  type: "uint16"
23361
- }
23362
- ],
23363
- stateMutability: "view",
23364
- type: "function"
23365
- },
23366
- {
23367
- inputs: [
23350
+ },
23368
23351
  {
23369
23352
  internalType: "uint16",
23370
- name: "_srcChainId",
23353
+ name: "",
23371
23354
  type: "uint16"
23372
- },
23373
- {
23374
- internalType: "bytes",
23375
- name: "_srcAddress",
23376
- type: "bytes"
23377
23355
  }
23378
23356
  ],
23379
- name: "hasStoredPayload",
23357
+ name: "minDstGasLookup",
23380
23358
  outputs: [
23381
23359
  {
23382
- internalType: "bool",
23360
+ internalType: "uint256",
23383
23361
  name: "",
23384
- type: "bool"
23362
+ type: "uint256"
23385
23363
  }
23386
23364
  ],
23387
23365
  stateMutability: "view",
@@ -23389,12 +23367,12 @@ var _abi = [
23389
23367
  },
23390
23368
  {
23391
23369
  inputs: [],
23392
- name: "isReceivingPayload",
23370
+ name: "owner",
23393
23371
  outputs: [
23394
23372
  {
23395
- internalType: "bool",
23373
+ internalType: "address",
23396
23374
  name: "",
23397
- type: "bool"
23375
+ type: "address"
23398
23376
  }
23399
23377
  ],
23400
23378
  stateMutability: "view",
@@ -23402,711 +23380,35 @@ var _abi = [
23402
23380
  },
23403
23381
  {
23404
23382
  inputs: [],
23405
- name: "isSendingPayload",
23383
+ name: "precrime",
23406
23384
  outputs: [
23407
23385
  {
23408
- internalType: "bool",
23386
+ internalType: "address",
23409
23387
  name: "",
23410
- type: "bool"
23388
+ type: "address"
23411
23389
  }
23412
23390
  ],
23413
23391
  stateMutability: "view",
23414
23392
  type: "function"
23415
23393
  },
23394
+ {
23395
+ inputs: [],
23396
+ name: "renounceOwnership",
23397
+ outputs: [],
23398
+ stateMutability: "nonpayable",
23399
+ type: "function"
23400
+ },
23416
23401
  {
23417
23402
  inputs: [
23418
23403
  {
23419
23404
  internalType: "uint16",
23420
- name: "_srcChainId",
23405
+ name: "_version",
23421
23406
  type: "uint16"
23422
23407
  },
23423
23408
  {
23424
- internalType: "bytes",
23425
- name: "_srcAddress",
23426
- type: "bytes"
23427
- },
23428
- {
23429
- internalType: "address",
23430
- name: "_dstAddress",
23431
- type: "address"
23432
- },
23433
- {
23434
- internalType: "uint64",
23435
- name: "_nonce",
23436
- type: "uint64"
23437
- },
23438
- {
23439
- internalType: "uint256",
23440
- name: "_gasLimit",
23441
- type: "uint256"
23442
- },
23443
- {
23444
- internalType: "bytes",
23445
- name: "_payload",
23446
- type: "bytes"
23447
- }
23448
- ],
23449
- name: "receivePayload",
23450
- outputs: [],
23451
- stateMutability: "nonpayable",
23452
- type: "function"
23453
- },
23454
- {
23455
- inputs: [
23456
- {
23457
- internalType: "uint16",
23458
- name: "_srcChainId",
23459
- type: "uint16"
23460
- },
23461
- {
23462
- internalType: "bytes",
23463
- name: "_srcAddress",
23464
- type: "bytes"
23465
- },
23466
- {
23467
- internalType: "bytes",
23468
- name: "_payload",
23469
- type: "bytes"
23470
- }
23471
- ],
23472
- name: "retryPayload",
23473
- outputs: [],
23474
- stateMutability: "nonpayable",
23475
- type: "function"
23476
- },
23477
- {
23478
- inputs: [
23479
- {
23480
- internalType: "uint16",
23481
- name: "_dstChainId",
23482
- type: "uint16"
23483
- },
23484
- {
23485
- internalType: "bytes",
23486
- name: "_destination",
23487
- type: "bytes"
23488
- },
23489
- {
23490
- internalType: "bytes",
23491
- name: "_payload",
23492
- type: "bytes"
23493
- },
23494
- {
23495
- internalType: "address payable",
23496
- name: "_refundAddress",
23497
- type: "address"
23498
- },
23499
- {
23500
- internalType: "address",
23501
- name: "_zroPaymentAddress",
23502
- type: "address"
23503
- },
23504
- {
23505
- internalType: "bytes",
23506
- name: "_adapterParams",
23507
- type: "bytes"
23508
- }
23509
- ],
23510
- name: "send",
23511
- outputs: [],
23512
- stateMutability: "payable",
23513
- type: "function"
23514
- },
23515
- {
23516
- inputs: [
23517
- {
23518
- internalType: "uint16",
23519
- name: "_version",
23520
- type: "uint16"
23521
- },
23522
- {
23523
- internalType: "uint16",
23524
- name: "_chainId",
23525
- type: "uint16"
23526
- },
23527
- {
23528
- internalType: "uint256",
23529
- name: "_configType",
23530
- type: "uint256"
23531
- },
23532
- {
23533
- internalType: "bytes",
23534
- name: "_config",
23535
- type: "bytes"
23536
- }
23537
- ],
23538
- name: "setConfig",
23539
- outputs: [],
23540
- stateMutability: "nonpayable",
23541
- type: "function"
23542
- },
23543
- {
23544
- inputs: [
23545
- {
23546
- internalType: "uint16",
23547
- name: "_version",
23548
- type: "uint16"
23549
- }
23550
- ],
23551
- name: "setReceiveVersion",
23552
- outputs: [],
23553
- stateMutability: "nonpayable",
23554
- type: "function"
23555
- },
23556
- {
23557
- inputs: [
23558
- {
23559
- internalType: "uint16",
23560
- name: "_version",
23561
- type: "uint16"
23562
- }
23563
- ],
23564
- name: "setSendVersion",
23565
- outputs: [],
23566
- stateMutability: "nonpayable",
23567
- type: "function"
23568
- }
23569
- ];
23570
- var ILayerZeroEndpoint__factory = class {
23571
- static createInterface() {
23572
- return new utils_exports2.Interface(_abi);
23573
- }
23574
- static connect(address, signerOrProvider) {
23575
- return new Contract(address, _abi, signerOrProvider);
23576
- }
23577
- };
23578
- ILayerZeroEndpoint__factory.abi = _abi;
23579
-
23580
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/contracts/interfaces/ILayerZeroReceiver__factory.ts
23581
- var _abi2 = [
23582
- {
23583
- inputs: [
23584
- {
23585
- internalType: "uint16",
23586
- name: "_srcChainId",
23587
- type: "uint16"
23588
- },
23589
- {
23590
- internalType: "bytes",
23591
- name: "_srcAddress",
23592
- type: "bytes"
23593
- },
23594
- {
23595
- internalType: "uint64",
23596
- name: "_nonce",
23597
- type: "uint64"
23598
- },
23599
- {
23600
- internalType: "bytes",
23601
- name: "_payload",
23602
- type: "bytes"
23603
- }
23604
- ],
23605
- name: "lzReceive",
23606
- outputs: [],
23607
- stateMutability: "nonpayable",
23608
- type: "function"
23609
- }
23610
- ];
23611
- var ILayerZeroReceiver__factory = class {
23612
- static createInterface() {
23613
- return new utils_exports2.Interface(_abi2);
23614
- }
23615
- static connect(address, signerOrProvider) {
23616
- return new Contract(address, _abi2, signerOrProvider);
23617
- }
23618
- };
23619
- ILayerZeroReceiver__factory.abi = _abi2;
23620
-
23621
- // typechain-types/factories/@layerzerolabs/lz-evm-v1-0.7/contracts/interfaces/ILayerZeroUserApplicationConfig__factory.ts
23622
- var _abi3 = [
23623
- {
23624
- inputs: [
23625
- {
23626
- internalType: "uint16",
23627
- name: "_srcChainId",
23628
- type: "uint16"
23629
- },
23630
- {
23631
- internalType: "bytes",
23632
- name: "_srcAddress",
23633
- type: "bytes"
23634
- }
23635
- ],
23636
- name: "forceResumeReceive",
23637
- outputs: [],
23638
- stateMutability: "nonpayable",
23639
- type: "function"
23640
- },
23641
- {
23642
- inputs: [
23643
- {
23644
- internalType: "uint16",
23645
- name: "_version",
23646
- type: "uint16"
23647
- },
23648
- {
23649
- internalType: "uint16",
23650
- name: "_chainId",
23651
- type: "uint16"
23652
- },
23653
- {
23654
- internalType: "uint256",
23655
- name: "_configType",
23656
- type: "uint256"
23657
- },
23658
- {
23659
- internalType: "bytes",
23660
- name: "_config",
23661
- type: "bytes"
23662
- }
23663
- ],
23664
- name: "setConfig",
23665
- outputs: [],
23666
- stateMutability: "nonpayable",
23667
- type: "function"
23668
- },
23669
- {
23670
- inputs: [
23671
- {
23672
- internalType: "uint16",
23673
- name: "_version",
23674
- type: "uint16"
23675
- }
23676
- ],
23677
- name: "setReceiveVersion",
23678
- outputs: [],
23679
- stateMutability: "nonpayable",
23680
- type: "function"
23681
- },
23682
- {
23683
- inputs: [
23684
- {
23685
- internalType: "uint16",
23686
- name: "_version",
23687
- type: "uint16"
23688
- }
23689
- ],
23690
- name: "setSendVersion",
23691
- outputs: [],
23692
- stateMutability: "nonpayable",
23693
- type: "function"
23694
- }
23695
- ];
23696
- var ILayerZeroUserApplicationConfig__factory = class {
23697
- static createInterface() {
23698
- return new utils_exports2.Interface(
23699
- _abi3
23700
- );
23701
- }
23702
- static connect(address, signerOrProvider) {
23703
- return new Contract(
23704
- address,
23705
- _abi3,
23706
- signerOrProvider
23707
- );
23708
- }
23709
- };
23710
- ILayerZeroUserApplicationConfig__factory.abi = _abi3;
23711
-
23712
- // typechain-types/factories/@openzeppelin/index.ts
23713
- var openzeppelin_exports = {};
23714
- __export(openzeppelin_exports, {
23715
- contracts: () => contracts_exports2
23716
- });
23717
-
23718
- // typechain-types/factories/@openzeppelin/contracts/index.ts
23719
- var contracts_exports2 = {};
23720
- __export(contracts_exports2, {
23721
- access: () => access_exports
23722
- });
23723
-
23724
- // typechain-types/factories/@openzeppelin/contracts/access/index.ts
23725
- var access_exports = {};
23726
- __export(access_exports, {
23727
- Ownable__factory: () => Ownable__factory
23728
- });
23729
-
23730
- // typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.ts
23731
- var _abi4 = [
23732
- {
23733
- anonymous: false,
23734
- inputs: [
23735
- {
23736
- indexed: true,
23737
- internalType: "address",
23738
- name: "previousOwner",
23739
- type: "address"
23740
- },
23741
- {
23742
- indexed: true,
23743
- internalType: "address",
23744
- name: "newOwner",
23745
- type: "address"
23746
- }
23747
- ],
23748
- name: "OwnershipTransferred",
23749
- type: "event"
23750
- },
23751
- {
23752
- inputs: [],
23753
- name: "owner",
23754
- outputs: [
23755
- {
23756
- internalType: "address",
23757
- name: "",
23758
- type: "address"
23759
- }
23760
- ],
23761
- stateMutability: "view",
23762
- type: "function"
23763
- },
23764
- {
23765
- inputs: [],
23766
- name: "renounceOwnership",
23767
- outputs: [],
23768
- stateMutability: "nonpayable",
23769
- type: "function"
23770
- },
23771
- {
23772
- inputs: [
23773
- {
23774
- internalType: "address",
23775
- name: "newOwner",
23776
- type: "address"
23777
- }
23778
- ],
23779
- name: "transferOwnership",
23780
- outputs: [],
23781
- stateMutability: "nonpayable",
23782
- type: "function"
23783
- }
23784
- ];
23785
- var Ownable__factory = class {
23786
- static createInterface() {
23787
- return new utils_exports2.Interface(_abi4);
23788
- }
23789
- static connect(address, signerOrProvider) {
23790
- return new Contract(address, _abi4, signerOrProvider);
23791
- }
23792
- };
23793
- Ownable__factory.abi = _abi4;
23794
-
23795
- // typechain-types/factories/contracts/index.ts
23796
- var contracts_exports3 = {};
23797
- __export(contracts_exports3, {
23798
- lzApp: () => lzApp_exports,
23799
- mocks: () => mocks_exports
23800
- });
23801
-
23802
- // typechain-types/factories/contracts/lzApp/index.ts
23803
- var lzApp_exports = {};
23804
- __export(lzApp_exports, {
23805
- LzApp__factory: () => LzApp__factory,
23806
- NonblockingLzApp__factory: () => NonblockingLzApp__factory
23807
- });
23808
-
23809
- // typechain-types/factories/contracts/lzApp/LzApp__factory.ts
23810
- var _abi5 = [
23811
- {
23812
- anonymous: false,
23813
- inputs: [
23814
- {
23815
- indexed: true,
23816
- internalType: "address",
23817
- name: "previousOwner",
23818
- type: "address"
23819
- },
23820
- {
23821
- indexed: true,
23822
- internalType: "address",
23823
- name: "newOwner",
23824
- type: "address"
23825
- }
23826
- ],
23827
- name: "OwnershipTransferred",
23828
- type: "event"
23829
- },
23830
- {
23831
- anonymous: false,
23832
- inputs: [
23833
- {
23834
- indexed: false,
23835
- internalType: "uint16",
23836
- name: "_dstChainId",
23837
- type: "uint16"
23838
- },
23839
- {
23840
- indexed: false,
23841
- internalType: "uint16",
23842
- name: "_type",
23843
- type: "uint16"
23844
- },
23845
- {
23846
- indexed: false,
23847
- internalType: "uint256",
23848
- name: "_minDstGas",
23849
- type: "uint256"
23850
- }
23851
- ],
23852
- name: "SetMinDstGas",
23853
- type: "event"
23854
- },
23855
- {
23856
- anonymous: false,
23857
- inputs: [
23858
- {
23859
- indexed: false,
23860
- internalType: "address",
23861
- name: "precrime",
23862
- type: "address"
23863
- }
23864
- ],
23865
- name: "SetPrecrime",
23866
- type: "event"
23867
- },
23868
- {
23869
- anonymous: false,
23870
- inputs: [
23871
- {
23872
- indexed: false,
23873
- internalType: "uint16",
23874
- name: "_remoteChainId",
23875
- type: "uint16"
23876
- },
23877
- {
23878
- indexed: false,
23879
- internalType: "bytes",
23880
- name: "_path",
23881
- type: "bytes"
23882
- }
23883
- ],
23884
- name: "SetTrustedRemote",
23885
- type: "event"
23886
- },
23887
- {
23888
- anonymous: false,
23889
- inputs: [
23890
- {
23891
- indexed: false,
23892
- internalType: "uint16",
23893
- name: "_remoteChainId",
23894
- type: "uint16"
23895
- },
23896
- {
23897
- indexed: false,
23898
- internalType: "bytes",
23899
- name: "_remoteAddress",
23900
- type: "bytes"
23901
- }
23902
- ],
23903
- name: "SetTrustedRemoteAddress",
23904
- type: "event"
23905
- },
23906
- {
23907
- inputs: [
23908
- {
23909
- internalType: "uint16",
23910
- name: "_srcChainId",
23911
- type: "uint16"
23912
- },
23913
- {
23914
- internalType: "bytes",
23915
- name: "_srcAddress",
23916
- type: "bytes"
23917
- }
23918
- ],
23919
- name: "forceResumeReceive",
23920
- outputs: [],
23921
- stateMutability: "nonpayable",
23922
- type: "function"
23923
- },
23924
- {
23925
- inputs: [
23926
- {
23927
- internalType: "uint16",
23928
- name: "_version",
23929
- type: "uint16"
23930
- },
23931
- {
23932
- internalType: "uint16",
23933
- name: "_chainId",
23934
- type: "uint16"
23935
- },
23936
- {
23937
- internalType: "address",
23938
- name: "",
23939
- type: "address"
23940
- },
23941
- {
23942
- internalType: "uint256",
23943
- name: "_configType",
23944
- type: "uint256"
23945
- }
23946
- ],
23947
- name: "getConfig",
23948
- outputs: [
23949
- {
23950
- internalType: "bytes",
23951
- name: "",
23952
- type: "bytes"
23953
- }
23954
- ],
23955
- stateMutability: "view",
23956
- type: "function"
23957
- },
23958
- {
23959
- inputs: [
23960
- {
23961
- internalType: "uint16",
23962
- name: "_remoteChainId",
23963
- type: "uint16"
23964
- }
23965
- ],
23966
- name: "getTrustedRemoteAddress",
23967
- outputs: [
23968
- {
23969
- internalType: "bytes",
23970
- name: "",
23971
- type: "bytes"
23972
- }
23973
- ],
23974
- stateMutability: "view",
23975
- type: "function"
23976
- },
23977
- {
23978
- inputs: [
23979
- {
23980
- internalType: "uint16",
23981
- name: "_srcChainId",
23982
- type: "uint16"
23983
- },
23984
- {
23985
- internalType: "bytes",
23986
- name: "_srcAddress",
23987
- type: "bytes"
23988
- }
23989
- ],
23990
- name: "isTrustedRemote",
23991
- outputs: [
23992
- {
23993
- internalType: "bool",
23994
- name: "",
23995
- type: "bool"
23996
- }
23997
- ],
23998
- stateMutability: "view",
23999
- type: "function"
24000
- },
24001
- {
24002
- inputs: [],
24003
- name: "lzEndpoint",
24004
- outputs: [
24005
- {
24006
- internalType: "contract ILayerZeroEndpoint",
24007
- name: "",
24008
- type: "address"
24009
- }
24010
- ],
24011
- stateMutability: "view",
24012
- type: "function"
24013
- },
24014
- {
24015
- inputs: [
24016
- {
24017
- internalType: "uint16",
24018
- name: "_srcChainId",
24019
- type: "uint16"
24020
- },
24021
- {
24022
- internalType: "bytes",
24023
- name: "_srcAddress",
24024
- type: "bytes"
24025
- },
24026
- {
24027
- internalType: "uint64",
24028
- name: "_nonce",
24029
- type: "uint64"
24030
- },
24031
- {
24032
- internalType: "bytes",
24033
- name: "_payload",
24034
- type: "bytes"
24035
- }
24036
- ],
24037
- name: "lzReceive",
24038
- outputs: [],
24039
- stateMutability: "nonpayable",
24040
- type: "function"
24041
- },
24042
- {
24043
- inputs: [
24044
- {
24045
- internalType: "uint16",
24046
- name: "",
24047
- type: "uint16"
24048
- },
24049
- {
24050
- internalType: "uint16",
24051
- name: "",
24052
- type: "uint16"
24053
- }
24054
- ],
24055
- name: "minDstGasLookup",
24056
- outputs: [
24057
- {
24058
- internalType: "uint256",
24059
- name: "",
24060
- type: "uint256"
24061
- }
24062
- ],
24063
- stateMutability: "view",
24064
- type: "function"
24065
- },
24066
- {
24067
- inputs: [],
24068
- name: "owner",
24069
- outputs: [
24070
- {
24071
- internalType: "address",
24072
- name: "",
24073
- type: "address"
24074
- }
24075
- ],
24076
- stateMutability: "view",
24077
- type: "function"
24078
- },
24079
- {
24080
- inputs: [],
24081
- name: "precrime",
24082
- outputs: [
24083
- {
24084
- internalType: "address",
24085
- name: "",
24086
- type: "address"
24087
- }
24088
- ],
24089
- stateMutability: "view",
24090
- type: "function"
24091
- },
24092
- {
24093
- inputs: [],
24094
- name: "renounceOwnership",
24095
- outputs: [],
24096
- stateMutability: "nonpayable",
24097
- type: "function"
24098
- },
24099
- {
24100
- inputs: [
24101
- {
24102
- internalType: "uint16",
24103
- name: "_version",
24104
- type: "uint16"
24105
- },
24106
- {
24107
- internalType: "uint16",
24108
- name: "_chainId",
24109
- type: "uint16"
23409
+ internalType: "uint16",
23410
+ name: "_chainId",
23411
+ type: "uint16"
24110
23412
  },
24111
23413
  {
24112
23414
  internalType: "uint256",
@@ -24257,16 +23559,16 @@ var _abi5 = [
24257
23559
  ];
24258
23560
  var LzApp__factory = class {
24259
23561
  static createInterface() {
24260
- return new utils_exports2.Interface(_abi5);
23562
+ return new utils_exports2.Interface(_abi);
24261
23563
  }
24262
23564
  static connect(address, signerOrProvider) {
24263
- return new Contract(address, _abi5, signerOrProvider);
23565
+ return new Contract(address, _abi, signerOrProvider);
24264
23566
  }
24265
23567
  };
24266
- LzApp__factory.abi = _abi5;
23568
+ LzApp__factory.abi = _abi;
24267
23569
 
24268
- // typechain-types/factories/contracts/lzApp/NonblockingLzApp__factory.ts
24269
- var _abi6 = [
23570
+ // src/typechain-types/factories/lzApp/NonblockingLzApp__factory.ts
23571
+ var _abi2 = [
24270
23572
  {
24271
23573
  anonymous: false,
24272
23574
  inputs: [
@@ -24869,22 +24171,22 @@ var _abi6 = [
24869
24171
  ];
24870
24172
  var NonblockingLzApp__factory = class {
24871
24173
  static createInterface() {
24872
- return new utils_exports2.Interface(_abi6);
24174
+ return new utils_exports2.Interface(_abi2);
24873
24175
  }
24874
24176
  static connect(address, signerOrProvider) {
24875
- return new Contract(address, _abi6, signerOrProvider);
24177
+ return new Contract(address, _abi2, signerOrProvider);
24876
24178
  }
24877
24179
  };
24878
- NonblockingLzApp__factory.abi = _abi6;
24180
+ NonblockingLzApp__factory.abi = _abi2;
24879
24181
 
24880
- // typechain-types/factories/contracts/mocks/index.ts
24182
+ // src/typechain-types/factories/mocks/index.ts
24881
24183
  var mocks_exports = {};
24882
24184
  __export(mocks_exports, {
24883
24185
  LZEndpointMock__factory: () => LZEndpointMock__factory
24884
24186
  });
24885
24187
 
24886
- // typechain-types/factories/contracts/mocks/LZEndpointMock__factory.ts
24887
- var _abi7 = [
24188
+ // src/typechain-types/factories/mocks/LZEndpointMock__factory.ts
24189
+ var _abi3 = [
24888
24190
  {
24889
24191
  inputs: [
24890
24192
  {
@@ -25821,7 +25123,7 @@ var LZEndpointMock__factory = class extends ContractFactory {
25821
25123
  if (isSuperArgs(args)) {
25822
25124
  super(...args);
25823
25125
  } else {
25824
- super(_abi7, _bytecode, args[0]);
25126
+ super(_abi3, _bytecode, args[0]);
25825
25127
  }
25826
25128
  }
25827
25129
  deploy(_chainId, overrides) {
@@ -25837,14 +25139,14 @@ var LZEndpointMock__factory = class extends ContractFactory {
25837
25139
  return super.connect(signer);
25838
25140
  }
25839
25141
  static createInterface() {
25840
- return new utils_exports2.Interface(_abi7);
25142
+ return new utils_exports2.Interface(_abi3);
25841
25143
  }
25842
25144
  static connect(address, signerOrProvider) {
25843
- return new Contract(address, _abi7, signerOrProvider);
25145
+ return new Contract(address, _abi3, signerOrProvider);
25844
25146
  }
25845
25147
  };
25846
25148
  LZEndpointMock__factory.bytecode = _bytecode;
25847
- LZEndpointMock__factory.abi = _abi7;
25149
+ LZEndpointMock__factory.abi = _abi3;
25848
25150
  /*! Bundled license information:
25849
25151
 
25850
25152
  js-sha3/src/sha3.js:
@@ -25858,13 +25160,9 @@ js-sha3/src/sha3.js:
25858
25160
  *)
25859
25161
  */
25860
25162
 
25861
- exports.ILayerZeroEndpoint__factory = ILayerZeroEndpoint__factory;
25862
- exports.ILayerZeroReceiver__factory = ILayerZeroReceiver__factory;
25863
- exports.ILayerZeroUserApplicationConfig__factory = ILayerZeroUserApplicationConfig__factory;
25864
25163
  exports.LZEndpointMock__factory = LZEndpointMock__factory;
25865
25164
  exports.LzApp__factory = LzApp__factory;
25866
25165
  exports.NonblockingLzApp__factory = NonblockingLzApp__factory;
25867
- exports.Ownable__factory = Ownable__factory;
25868
25166
  exports.factories = factories_exports;
25869
25167
  //# sourceMappingURL=out.js.map
25870
25168
  //# sourceMappingURL=index.cjs.map