@layerzerolabs/lz-evm-sdk-v1 2.3.8 → 2.3.10
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/CHANGELOG.md +16 -0
- package/artifacts-tron/contracts/Endpoint.sol/Endpoint.json +958 -0
- package/artifacts-tron/contracts/NonceContract.sol/NonceContract.json +88 -0
- package/artifacts-tron/contracts/PriceFeed.sol/PriceFeed.json +531 -0
- package/artifacts-tron/contracts/RelayerV2.sol/RelayerV2.json +1170 -0
- package/artifacts-tron/contracts/UltraLightNode.sol/UltraLightNode.json +1475 -0
- package/artifacts-tron/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json +1423 -0
- package/artifacts-tron/contracts/interfaces/IContractOne.sol/IContractOne.json +24 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +447 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +160 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +184 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroOracle.sol/ILayerZeroOracle.json +77 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +97 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +107 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroPriceFeedV2.sol/ILayerZeroPriceFeedV2.json +104 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +39 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayer.sol/ILayerZeroRelayer.json +92 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +107 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayerV2PriceData.sol/ILayerZeroRelayerV2PriceData.json +83 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +40 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUltraLightNodeV1.sol/ILayerZeroUltraLightNodeV1.json +156 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +582 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +83 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +77 -0
- package/artifacts-tron/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +146 -0
- package/artifacts-tron/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +154 -0
- package/artifacts-tron/contracts/precrime/PreCrime.sol/PreCrime.json +353 -0
- package/artifacts-tron/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json +259 -0
- package/artifacts-tron/contracts/precrime/PreCrimeView.sol/PreCrimeView.json +318 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +162 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrimeBase.sol/IPreCrimeBase.json +116 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrimeView.sol/IPreCrimeView.json +162 -0
- package/artifacts-tron/contracts/proof/FPValidator.sol/FPValidator.json +326 -0
- package/artifacts-tron/contracts/proof/FPValidator.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidator.sol/MPTValidator.json +146 -0
- package/artifacts-tron/contracts/proof/MPTValidator01.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidator01.sol/MPTValidator01.json +339 -0
- package/artifacts-tron/contracts/proof/MPTValidatorStgV3.sol/MPTValidatorStgV3.json +310 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV2.sol/MPTValidatorV2.json +212 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/IUltraLightNode.json +108 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/MPTValidatorV4.json +414 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/IUltraLightNode.json +108 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/MPTValidatorV5.json +432 -0
- package/artifacts-tron/contracts/proof/utility/Buffer.sol/Buffer.json +10 -0
- package/artifacts-tron/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +10 -0
- package/artifacts-tron/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +10 -0
- package/artifacts-tron/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +10 -0
- package/artifacts-zk/contracts/Endpoint.sol/Endpoint.json +959 -0
- package/artifacts-zk/contracts/NonceContract.sol/NonceContract.json +89 -0
- package/artifacts-zk/contracts/PriceFeed.sol/PriceFeed.json +545 -0
- package/artifacts-zk/contracts/RelayerV2.sol/RelayerV2.json +1020 -0
- package/artifacts-zk/contracts/TreasuryV2.sol/TreasuryV2.json +309 -0
- package/artifacts-zk/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json +1424 -0
- package/artifacts-zk/contracts/interfaces/IContractOne.sol/IContractOne.json +25 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +448 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +161 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +185 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +98 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +108 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroPriceFeedV2.sol/ILayerZeroPriceFeedV2.json +105 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +40 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +108 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +41 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +583 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +84 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +78 -0
- package/artifacts-zk/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +147 -0
- package/artifacts-zk/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +155 -0
- package/artifacts-zk/contracts/oracle/OracleV2.sol/OracleV2.json +1527 -0
- package/artifacts-zk/contracts/precrime/PreCrime.sol/PreCrime.json +354 -0
- package/artifacts-zk/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json +260 -0
- package/artifacts-zk/contracts/precrime/PreCrimeView.sol/PreCrimeView.json +319 -0
- package/artifacts-zk/contracts/precrime/example/inherit/CounterI.sol/CounterI.json +624 -0
- package/artifacts-zk/contracts/precrime/example/inherit/CounterPrecrime.sol/CounterPrecrime.json +458 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterPrecrimeView.sol/CounterPrecrimeView.json +417 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterV.sol/CounterV.json +178 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterView.sol/CounterView.json +166 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +163 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrimeBase.sol/IPreCrimeBase.json +117 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrimeView.sol/IPreCrimeView.json +163 -0
- package/artifacts-zk/contracts/proof/FPValidator.sol/FPValidator.json +327 -0
- package/artifacts-zk/contracts/proof/FPValidator.sol/IStargate.json +11 -0
- package/artifacts-zk/contracts/proof/utility/Buffer.sol/Buffer.json +11 -0
- package/artifacts-zk/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +11 -0
- package/artifacts-zk/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +11 -0
- package/artifacts-zk/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +11 -0
- package/artifacts-zk/contracts/proxy/ProxyAdmin.sol/ProxyAdmin.json +172 -0
- package/artifacts-zk/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +156 -0
- package/deployments/arbitrum-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/arbitrum-sandbox-local/Endpoint.json +7 -7
- package/deployments/arbitrum-sandbox-local/FPValidator.json +4 -4
- package/deployments/arbitrum-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/arbitrum-sandbox-local/NonceContract.json +4 -4
- package/deployments/arbitrum-sandbox-local/RelayerV2.json +16 -16
- package/deployments/arbitrum-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/arbitrum-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/arbitrum-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/arbitrum-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/arbitrum-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/bsc-sandbox-local/Endpoint.json +7 -7
- package/deployments/bsc-sandbox-local/FPValidator.json +4 -4
- package/deployments/bsc-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/bsc-sandbox-local/NonceContract.json +4 -4
- package/deployments/bsc-sandbox-local/RelayerV2.json +16 -16
- package/deployments/bsc-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/bsc-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/bsc-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/bsc-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/bsc-sandbox-local/UltraLightNodeV2.json +7 -7
- 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/UltraLightNode.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/UltraLightNode.json +7 -7
- package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +14 -14
- package/deployments/tron-sandbox-local/Endpoint.json +10 -10
- package/deployments/tron-sandbox-local/FPValidator.json +6 -6
- package/deployments/tron-sandbox-local/MPTValidator01.json +6 -6
- package/deployments/tron-sandbox-local/NonceContract.json +7 -7
- package/deployments/tron-sandbox-local/RelayerV2.json +31 -31
- package/deployments/tron-sandbox-local/RelayerV2_Implementation.json +6 -6
- package/deployments/tron-sandbox-local/RelayerV2_Proxy.json +28 -28
- package/deployments/tron-sandbox-local/TreasuryV2.json +11 -11
- package/deployments/tron-sandbox-local/UltraLightNode.json +11 -11
- package/deployments/tron-sandbox-local/UltraLightNodeV2.json +12 -12
- package/package.json +23 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0xD151E6668c045D22839F26AeBAa6cEdB87FaEC21",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"inputs": [
|
|
@@ -1414,22 +1414,22 @@
|
|
|
1414
1414
|
"type": "function"
|
|
1415
1415
|
}
|
|
1416
1416
|
],
|
|
1417
|
-
"transactionHash": "
|
|
1417
|
+
"transactionHash": "0x08168d0b222f929311f737553178225bb49fdecf958a5fa94a5fbd93b0498dd5",
|
|
1418
1418
|
"receipt": {
|
|
1419
1419
|
"to": null,
|
|
1420
1420
|
"from": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
|
|
1421
|
-
"contractAddress": "
|
|
1421
|
+
"contractAddress": "0xD151E6668c045D22839F26AeBAa6cEdB87FaEC21",
|
|
1422
1422
|
"transactionIndex": 0,
|
|
1423
1423
|
"gasUsed": "4544245",
|
|
1424
1424
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
1425
|
-
"blockHash": "
|
|
1426
|
-
"transactionHash": "
|
|
1425
|
+
"blockHash": "0x0000000000000047e73eebae256342f8c20b2094838037c219b78d80e853bbb1",
|
|
1426
|
+
"transactionHash": "0x08168d0b222f929311f737553178225bb49fdecf958a5fa94a5fbd93b0498dd5",
|
|
1427
1427
|
"logs": [
|
|
1428
1428
|
{
|
|
1429
1429
|
"transactionIndex": 0,
|
|
1430
|
-
"blockNumber":
|
|
1431
|
-
"transactionHash": "
|
|
1432
|
-
"address": "
|
|
1430
|
+
"blockNumber": 71,
|
|
1431
|
+
"transactionHash": "0x08168d0b222f929311f737553178225bb49fdecf958a5fa94a5fbd93b0498dd5",
|
|
1432
|
+
"address": "0xD151E6668c045D22839F26AeBAa6cEdB87FaEC21",
|
|
1433
1433
|
"topics": [
|
|
1434
1434
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
1435
1435
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -1437,17 +1437,17 @@
|
|
|
1437
1437
|
],
|
|
1438
1438
|
"data": "0x",
|
|
1439
1439
|
"logIndex": 0,
|
|
1440
|
-
"blockHash": "
|
|
1440
|
+
"blockHash": "0x0000000000000047e73eebae256342f8c20b2094838037c219b78d80e853bbb1"
|
|
1441
1441
|
}
|
|
1442
1442
|
],
|
|
1443
|
-
"blockNumber":
|
|
1443
|
+
"blockNumber": 71,
|
|
1444
1444
|
"cumulativeGasUsed": "4544245",
|
|
1445
1445
|
"status": 1,
|
|
1446
1446
|
"byzantium": true
|
|
1447
1447
|
},
|
|
1448
1448
|
"args": [
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1449
|
+
"0x69e9a0dF120653E0f64414cD2d0dB01f5DFB40d8",
|
|
1450
|
+
"0x31d44CDD1f1f08E7B88281d390b03638E3D1b01a",
|
|
1451
1451
|
20420
|
|
1452
1452
|
],
|
|
1453
1453
|
"numDeployments": 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/lz-evm-sdk-v1",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
4
4
|
"license": "BUSL-1.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -35,6 +35,22 @@
|
|
|
35
35
|
"artifacts/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json",
|
|
36
36
|
"artifacts/contracts/precrime/PreCrimeView.sol/PreCrimeView.json",
|
|
37
37
|
"artifacts/contracts/messagelib-e2/**/*",
|
|
38
|
+
"artifacts-tron/contracts-tron/Relayer.sol/Relayer.json",
|
|
39
|
+
"artifacts-tron/contracts/RelayerV2.sol/RelayerV2.json",
|
|
40
|
+
"artifacts-tron/contracts/UltraLightNode.sol/UltraLightNode.json",
|
|
41
|
+
"artifacts-tron/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json",
|
|
42
|
+
"artifacts-tron/contracts/Endpoint.sol/Endpoint.json",
|
|
43
|
+
"artifacts-tron/contracts/NonceContract.sol/NonceContract.json",
|
|
44
|
+
"artifacts-tron/contracts/PriceFeed.sol/PriceFeed.json",
|
|
45
|
+
"artifacts-tron/contracts/oracle/MultiSigOracle.sol/MultiSigOracle.json",
|
|
46
|
+
"artifacts-tron/contracts/interfaces/**/*",
|
|
47
|
+
"artifacts-tron/contracts/proof/**/*",
|
|
48
|
+
"artifacts-tron/contracts/precrime/interfaces/**/*",
|
|
49
|
+
"artifacts-tron/contracts/precrime/PreCrime.sol/PreCrime.json",
|
|
50
|
+
"artifacts-tron/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json",
|
|
51
|
+
"artifacts-tron/contracts/precrime/PreCrimeView.sol/PreCrimeView.json",
|
|
52
|
+
"artifacts-tron/contracts/messagelib-e2/**/*",
|
|
53
|
+
"artifacts-zk/contracts/**/*",
|
|
38
54
|
"deployments/**/*",
|
|
39
55
|
"dist/**/*"
|
|
40
56
|
],
|
|
@@ -49,15 +65,15 @@
|
|
|
49
65
|
"dependencies": {
|
|
50
66
|
"@ethersproject/abi": "^5.7.0",
|
|
51
67
|
"@ethersproject/providers": "^5.7.0",
|
|
52
|
-
"@layerzerolabs/evm-sdks-core": "^2.3.
|
|
68
|
+
"@layerzerolabs/evm-sdks-core": "^2.3.10",
|
|
53
69
|
"ethers": "^5.7.2"
|
|
54
70
|
},
|
|
55
71
|
"devDependencies": {
|
|
56
|
-
"@layerzerolabs/evm-sdks-build": "^2.3.
|
|
57
|
-
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.
|
|
58
|
-
"@layerzerolabs/lz-evm-v1-0.8": "^2.3.
|
|
59
|
-
"@layerzerolabs/tsup-config-next": "^2.3.
|
|
60
|
-
"@layerzerolabs/typescript-config-next": "^2.3.
|
|
72
|
+
"@layerzerolabs/evm-sdks-build": "^2.3.10",
|
|
73
|
+
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.10",
|
|
74
|
+
"@layerzerolabs/lz-evm-v1-0.8": "^2.3.10",
|
|
75
|
+
"@layerzerolabs/tsup-config-next": "^2.3.10",
|
|
76
|
+
"@layerzerolabs/typescript-config-next": "^2.3.10",
|
|
61
77
|
"@typechain/ethers-v5": "^10.2.1",
|
|
62
78
|
"@types/node": "^20.10.5",
|
|
63
79
|
"rimraf": "^5.0.5",
|