@layerzerolabs/lz-evm-sdk-v1 1.5.37 → 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/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/ethereum-sandbox-local/Endpoint.json +7 -7
- package/deployments/ethereum-sandbox-local/FPValidator.json +4 -4
- package/deployments/ethereum-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/ethereum-sandbox-local/NonceContract.json +4 -4
- package/deployments/ethereum-sandbox-local/RelayerV2.json +16 -16
- package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/ethereum-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/polygon-sandbox-local/Endpoint.json +7 -7
- package/deployments/polygon-sandbox-local/FPValidator.json +4 -4
- package/deployments/polygon-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/polygon-sandbox-local/NonceContract.json +4 -4
- package/deployments/polygon-sandbox-local/RelayerV2.json +16 -16
- package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/polygon-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +7 -7
- package/dist/{index-c18a9298.d.ts → index-e65917f2.d.ts} +6 -1
- package/dist/index.browser.cjs +15 -15
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.mjs +15 -15
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { t as AltTokenUA, u as AltTokenUA__factory, A as ArbSys, q as ArbSys__factory, ag as CounterI, ah as CounterI__factory, ai as CounterPrecrime, ak as CounterPrecrimeView, al as CounterPrecrimeView__factory, aj as CounterPrecrime__factory, am as CounterV, an as CounterV__factory, ao as CounterView, ap as CounterView__factory, aT as DefaultProxyAdmin, aU as DefaultProxyAdmin__factory, E as Endpoint, f as EndpointLite, s as EndpointLite__factory, r as Endpoint__factory, aD as FPValidator, aE as FPValidator__factory, F as FeeHandler, v as FeeHandler__factory, I as IContractOne, w as IContractOne__factory, x as ILayerZeroEndpoint, y as ILayerZeroEndpoint__factory, z as ILayerZeroMessagingLibrary, C as ILayerZeroMessagingLibraryV2, D as ILayerZeroMessagingLibraryV2__factory, B as ILayerZeroMessagingLibrary__factory, G as ILayerZeroOracle, J as ILayerZeroOracleV2, K as ILayerZeroOracleV2__factory, H as ILayerZeroOracle__factory, L as ILayerZeroPriceFeed, O as ILayerZeroPriceFeedV2, Q as ILayerZeroPriceFeedV2__factory, M as ILayerZeroPriceFeed__factory, S as ILayerZeroReceiver, V as ILayerZeroReceiver__factory, W as ILayerZeroRelayer, Y as ILayerZeroRelayerV2, _ as ILayerZeroRelayerV2PriceData, $ as ILayerZeroRelayerV2PriceData__factory, Z as ILayerZeroRelayerV2__factory, X as ILayerZeroRelayer__factory, a0 as ILayerZeroTreasury, a1 as ILayerZeroTreasury__factory, a2 as ILayerZeroUltraLightNodeV1, a3 as ILayerZeroUltraLightNodeV1__factory, a4 as ILayerZeroUltraLightNodeV2, a5 as ILayerZeroUltraLightNodeV2__factory, a6 as ILayerZeroUserApplicationConfig, a7 as ILayerZeroUserApplicationConfig__factory, a8 as ILayerZeroValidationLibrary, a9 as ILayerZeroValidationLibrary__factory, aq as IPreCrime, as as IPreCrimeBase, at as IPreCrimeBase__factory, au as IPreCrimeView, av as IPreCrimeView__factory, ar as IPreCrime__factory, aN as IUltraLightNode, aO as IUltraLightNode__factory, aa as IValidationLibraryHelper, ac as IValidationLibraryHelperV2, ad as IValidationLibraryHelperV2__factory, ab as IValidationLibraryHelper__factory, aF as MPTValidator, aH as MPTValidator01, aI as MPTValidator01__factory, aJ as MPTValidatorStgV3, aK as MPTValidatorStgV3__factory, aL as MPTValidatorV2, aM as MPTValidatorV2__factory, aP as MPTValidatorV4, aQ as MPTValidatorV4__factory, aR as MPTValidatorV5, aS as MPTValidatorV5__factory, aG as MPTValidator__factory, N as NonceContract, g as NonceContractRadar, af as NonceContractRadar__factory, ae as NonceContract__factory, aw as PreCrime, ay as PreCrimeBase, az as PreCrimeBase__factory, aA as PreCrimeView, aB as PreCrimeView__factory, ax as PreCrime__factory, P as PriceFeed, aC as PriceFeed__factory, R as Relayer, h as RelayerV2, j as RelayerV2Radar, aZ as RelayerV2Radar__factory, aY as RelayerV2__factory, aX as Relayer__factory, aV as TransparentUpgradeableProxy, aW as TransparentUpgradeableProxy__factory, T as Treasury, k as TreasuryV2, l as TreasuryV2Radar, b0 as TreasuryV2Radar__factory, a$ as TreasuryV2__factory, a_ as Treasury__factory, U as UltraLightNode, m as UltraLightNodeV2, n as UltraLightNodeV2AltToken, b3 as UltraLightNodeV2AltToken__factory, o as UltraLightNodeV2Radar, b4 as UltraLightNodeV2Radar__factory, b2 as UltraLightNodeV2__factory, b1 as UltraLightNode__factory, i as arbitrum, a as example, p as factories, b as interfaces, c as precrime, d as proof, e as proxy } from './index-
|
|
1
|
+
export { t as AltTokenUA, u as AltTokenUA__factory, A as ArbSys, q as ArbSys__factory, ag as CounterI, ah as CounterI__factory, ai as CounterPrecrime, ak as CounterPrecrimeView, al as CounterPrecrimeView__factory, aj as CounterPrecrime__factory, am as CounterV, an as CounterV__factory, ao as CounterView, ap as CounterView__factory, aT as DefaultProxyAdmin, aU as DefaultProxyAdmin__factory, E as Endpoint, f as EndpointLite, s as EndpointLite__factory, r as Endpoint__factory, aD as FPValidator, aE as FPValidator__factory, F as FeeHandler, v as FeeHandler__factory, bb as GetARGsTypeFromFactory, ba as GetContractTypeFromFactory, I as IContractOne, w as IContractOne__factory, x as ILayerZeroEndpoint, y as ILayerZeroEndpoint__factory, z as ILayerZeroMessagingLibrary, C as ILayerZeroMessagingLibraryV2, D as ILayerZeroMessagingLibraryV2__factory, B as ILayerZeroMessagingLibrary__factory, G as ILayerZeroOracle, J as ILayerZeroOracleV2, K as ILayerZeroOracleV2__factory, H as ILayerZeroOracle__factory, L as ILayerZeroPriceFeed, O as ILayerZeroPriceFeedV2, Q as ILayerZeroPriceFeedV2__factory, M as ILayerZeroPriceFeed__factory, S as ILayerZeroReceiver, V as ILayerZeroReceiver__factory, W as ILayerZeroRelayer, Y as ILayerZeroRelayerV2, _ as ILayerZeroRelayerV2PriceData, $ as ILayerZeroRelayerV2PriceData__factory, Z as ILayerZeroRelayerV2__factory, X as ILayerZeroRelayer__factory, a0 as ILayerZeroTreasury, a1 as ILayerZeroTreasury__factory, a2 as ILayerZeroUltraLightNodeV1, a3 as ILayerZeroUltraLightNodeV1__factory, a4 as ILayerZeroUltraLightNodeV2, a5 as ILayerZeroUltraLightNodeV2__factory, a6 as ILayerZeroUserApplicationConfig, a7 as ILayerZeroUserApplicationConfig__factory, a8 as ILayerZeroValidationLibrary, a9 as ILayerZeroValidationLibrary__factory, aq as IPreCrime, as as IPreCrimeBase, at as IPreCrimeBase__factory, au as IPreCrimeView, av as IPreCrimeView__factory, ar as IPreCrime__factory, aN as IUltraLightNode, aO as IUltraLightNode__factory, aa as IValidationLibraryHelper, ac as IValidationLibraryHelperV2, ad as IValidationLibraryHelperV2__factory, ab as IValidationLibraryHelper__factory, aF as MPTValidator, aH as MPTValidator01, aI as MPTValidator01__factory, aJ as MPTValidatorStgV3, aK as MPTValidatorStgV3__factory, aL as MPTValidatorV2, aM as MPTValidatorV2__factory, aP as MPTValidatorV4, aQ as MPTValidatorV4__factory, aR as MPTValidatorV5, aS as MPTValidatorV5__factory, aG as MPTValidator__factory, b9 as MinEthersFactory, N as NonceContract, g as NonceContractRadar, af as NonceContractRadar__factory, ae as NonceContract__factory, b8 as OnEvent, aw as PreCrime, ay as PreCrimeBase, az as PreCrimeBase__factory, aA as PreCrimeView, aB as PreCrimeView__factory, ax as PreCrime__factory, P as PriceFeed, aC as PriceFeed__factory, bc as PromiseOrValue, R as Relayer, h as RelayerV2, j as RelayerV2Radar, aZ as RelayerV2Radar__factory, aY as RelayerV2__factory, aX as Relayer__factory, aV as TransparentUpgradeableProxy, aW as TransparentUpgradeableProxy__factory, T as Treasury, k as TreasuryV2, l as TreasuryV2Radar, b0 as TreasuryV2Radar__factory, a$ as TreasuryV2__factory, a_ as Treasury__factory, b5 as TypedEvent, b6 as TypedEventFilter, b7 as TypedListener, U as UltraLightNode, m as UltraLightNodeV2, n as UltraLightNodeV2AltToken, b3 as UltraLightNodeV2AltToken__factory, o as UltraLightNodeV2Radar, b4 as UltraLightNodeV2Radar__factory, b2 as UltraLightNodeV2__factory, b1 as UltraLightNode__factory, i as arbitrum, a as example, p as factories, b as interfaces, c as precrime, d as proof, e as proxy } from './index-e65917f2.js';
|
|
2
2
|
import 'ethers';
|
|
3
3
|
import '@ethersproject/providers';
|
|
4
4
|
import '@ethersproject/abi';
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// src/typechain-types/factories/index.ts
|
|
12
12
|
var factories_exports = {};
|
|
13
13
|
__export(factories_exports, {
|
|
14
14
|
EndpointLite__factory: () => EndpointLite__factory,
|
|
@@ -35,13 +35,13 @@ __export(factories_exports, {
|
|
|
35
35
|
proxy: () => proxy_exports
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
//
|
|
38
|
+
// src/typechain-types/factories/arbitrum/index.ts
|
|
39
39
|
var arbitrum_exports = {};
|
|
40
40
|
__export(arbitrum_exports, {
|
|
41
41
|
interfaces: () => interfaces_exports
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
//
|
|
44
|
+
// src/typechain-types/factories/arbitrum/interfaces/index.ts
|
|
45
45
|
var interfaces_exports = {};
|
|
46
46
|
__export(interfaces_exports, {
|
|
47
47
|
ArbSys__factory: () => ArbSys__factory
|
|
@@ -326,7 +326,7 @@ var ArbSys__factory = class {
|
|
|
326
326
|
};
|
|
327
327
|
ArbSys__factory.abi = _abi;
|
|
328
328
|
|
|
329
|
-
//
|
|
329
|
+
// src/typechain-types/factories/example/index.ts
|
|
330
330
|
var example_exports = {};
|
|
331
331
|
__export(example_exports, {
|
|
332
332
|
AltTokenUA__factory: () => AltTokenUA__factory
|
|
@@ -496,7 +496,7 @@ var AltTokenUA__factory = class extends ContractFactory {
|
|
|
496
496
|
AltTokenUA__factory.bytecode = _bytecode;
|
|
497
497
|
AltTokenUA__factory.abi = _abi2;
|
|
498
498
|
|
|
499
|
-
//
|
|
499
|
+
// src/typechain-types/factories/interfaces/index.ts
|
|
500
500
|
var interfaces_exports2 = {};
|
|
501
501
|
__export(interfaces_exports2, {
|
|
502
502
|
IContractOne__factory: () => IContractOne__factory,
|
|
@@ -3321,7 +3321,7 @@ var IValidationLibraryHelperV2__factory = class {
|
|
|
3321
3321
|
};
|
|
3322
3322
|
IValidationLibraryHelperV2__factory.abi = _abi21;
|
|
3323
3323
|
|
|
3324
|
-
//
|
|
3324
|
+
// src/typechain-types/factories/precrime/index.ts
|
|
3325
3325
|
var precrime_exports = {};
|
|
3326
3326
|
__export(precrime_exports, {
|
|
3327
3327
|
PreCrimeBase__factory: () => PreCrimeBase__factory,
|
|
@@ -3331,14 +3331,14 @@ __export(precrime_exports, {
|
|
|
3331
3331
|
interfaces: () => interfaces_exports3
|
|
3332
3332
|
});
|
|
3333
3333
|
|
|
3334
|
-
//
|
|
3334
|
+
// src/typechain-types/factories/precrime/example/index.ts
|
|
3335
3335
|
var example_exports2 = {};
|
|
3336
3336
|
__export(example_exports2, {
|
|
3337
3337
|
inherit: () => inherit_exports,
|
|
3338
3338
|
view: () => view_exports
|
|
3339
3339
|
});
|
|
3340
3340
|
|
|
3341
|
-
//
|
|
3341
|
+
// src/typechain-types/factories/precrime/example/inherit/index.ts
|
|
3342
3342
|
var inherit_exports = {};
|
|
3343
3343
|
__export(inherit_exports, {
|
|
3344
3344
|
CounterI__factory: () => CounterI__factory,
|
|
@@ -4447,7 +4447,7 @@ var CounterPrecrime__factory = class {
|
|
|
4447
4447
|
};
|
|
4448
4448
|
CounterPrecrime__factory.abi = _abi23;
|
|
4449
4449
|
|
|
4450
|
-
//
|
|
4450
|
+
// src/typechain-types/factories/precrime/example/view/index.ts
|
|
4451
4451
|
var view_exports = {};
|
|
4452
4452
|
__export(view_exports, {
|
|
4453
4453
|
CounterPrecrimeView__factory: () => CounterPrecrimeView__factory,
|
|
@@ -5287,7 +5287,7 @@ var CounterView__factory = class extends ContractFactory {
|
|
|
5287
5287
|
CounterView__factory.bytecode = _bytecode5;
|
|
5288
5288
|
CounterView__factory.abi = _abi26;
|
|
5289
5289
|
|
|
5290
|
-
//
|
|
5290
|
+
// src/typechain-types/factories/precrime/interfaces/index.ts
|
|
5291
5291
|
var interfaces_exports3 = {};
|
|
5292
5292
|
__export(interfaces_exports3, {
|
|
5293
5293
|
IPreCrimeBase__factory: () => IPreCrimeBase__factory,
|
|
@@ -6665,7 +6665,7 @@ var PreCrimeView__factory = class {
|
|
|
6665
6665
|
};
|
|
6666
6666
|
PreCrimeView__factory.abi = _abi32;
|
|
6667
6667
|
|
|
6668
|
-
//
|
|
6668
|
+
// src/typechain-types/factories/proof/index.ts
|
|
6669
6669
|
var proof_exports = {};
|
|
6670
6670
|
__export(proof_exports, {
|
|
6671
6671
|
FPValidator__factory: () => FPValidator__factory,
|
|
@@ -6677,7 +6677,7 @@ __export(proof_exports, {
|
|
|
6677
6677
|
mptValidatorV5Sol: () => MPTValidatorV5_exports
|
|
6678
6678
|
});
|
|
6679
6679
|
|
|
6680
|
-
//
|
|
6680
|
+
// src/typechain-types/factories/proof/MPTValidatorV4.sol/index.ts
|
|
6681
6681
|
var MPTValidatorV4_exports = {};
|
|
6682
6682
|
__export(MPTValidatorV4_exports, {
|
|
6683
6683
|
IUltraLightNode__factory: () => IUltraLightNode__factory,
|
|
@@ -7240,7 +7240,7 @@ var MPTValidatorV4__factory = class extends ContractFactory {
|
|
|
7240
7240
|
MPTValidatorV4__factory.bytecode = _bytecode6;
|
|
7241
7241
|
MPTValidatorV4__factory.abi = _abi34;
|
|
7242
7242
|
|
|
7243
|
-
//
|
|
7243
|
+
// src/typechain-types/factories/proof/MPTValidatorV5.sol/index.ts
|
|
7244
7244
|
var MPTValidatorV5_exports = {};
|
|
7245
7245
|
__export(MPTValidatorV5_exports, {
|
|
7246
7246
|
IUltraLightNode__factory: () => IUltraLightNode__factory2,
|
|
@@ -9292,7 +9292,7 @@ var MPTValidatorV2__factory = class extends ContractFactory {
|
|
|
9292
9292
|
MPTValidatorV2__factory.bytecode = _bytecode12;
|
|
9293
9293
|
MPTValidatorV2__factory.abi = _abi41;
|
|
9294
9294
|
|
|
9295
|
-
//
|
|
9295
|
+
// src/typechain-types/factories/proxy/index.ts
|
|
9296
9296
|
var proxy_exports = {};
|
|
9297
9297
|
__export(proxy_exports, {
|
|
9298
9298
|
DefaultProxyAdmin__factory: () => DefaultProxyAdmin__factory,
|
|
@@ -22013,7 +22013,7 @@ var UltraLightNodeV2Radar__factory = class extends ContractFactory {
|
|
|
22013
22013
|
UltraLightNodeV2Radar__factory.bytecode = _bytecode30;
|
|
22014
22014
|
UltraLightNodeV2Radar__factory.abi = _abi59;
|
|
22015
22015
|
|
|
22016
|
-
// index.ts
|
|
22016
|
+
// src/index.ts
|
|
22017
22017
|
function getDeployedContractAddress(network, contractName) {
|
|
22018
22018
|
const deploymentJson = `${path.join(__dirname, "..")}/deployments/${network}/${contractName}.json`;
|
|
22019
22019
|
if (!fs.existsSync(deploymentJson)) {
|