@layerzerolabs/lz-evm-sdk-v1 3.0.113 → 3.0.115
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/verification/verification-data-4cacbc20c3ff94e1fab58d8d49589534.json +39 -0
- package/artifacts/verification/verification-data-5e6f8a9cc160013d3f2ed5cace5b3625.json +39 -0
- package/artifacts/verification/verification-data-7413301ee5ee573cec0ec95730482c21.json +39 -0
- package/artifacts/{verification-data.json → verification/verification-data-86687dceb611cadccbf9c44600d6dfef.json} +103 -171
- package/artifacts/verification/verification-data-b2be3b6b9aa4d482b239dd3c7b998b43.json +69 -0
- package/artifacts/verification/verification-data-b326d48ebf6e71f1e29ebf99156fbfff.json +39 -0
- package/artifacts/verification/verification-data-e7c1a5680ae8cae1ec9ffaf4cdbaed68.json +267 -0
- package/artifacts-tron/{verification-data.json → verification/verification-data-0c559044f5a1e91d85ee409c7cc0fc75.json} +29 -46
- package/artifacts-tron/verification/verification-data-1698b18cef59145feb6419b3eacba549.json +39 -0
- package/artifacts-tron/verification/verification-data-24492b3a86a1195fe1b202109347e27e.json +39 -0
- package/artifacts-tron/verification/verification-data-8a65080bfd6e652b21df7756fb5779c9.json +39 -0
- package/artifacts-tron/verification/verification-data-d25a40a50e55d137530e079a13031b48.json +39 -0
- package/artifacts-tron/verification/verification-data-edf0138b97898d26cfc0e872ce8b1c0b.json +69 -0
- package/artifacts-zk/{verification-data.json → verification/verification-data-c07ea489478e10846c028cfcb72e5b2e.json} +24 -1
- 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 +7 -7
- package/deployments/ethereum-sandbox-local/Endpoint.json +5 -5
- package/deployments/ethereum-sandbox-local/FPValidator.json +3 -3
- package/deployments/ethereum-sandbox-local/MPTValidator01.json +3 -3
- package/deployments/ethereum-sandbox-local/NonceContract.json +3 -3
- package/deployments/ethereum-sandbox-local/RelayerV2.json +11 -11
- package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +3 -3
- package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +11 -11
- package/deployments/ethereum-sandbox-local/TreasuryV2.json +5 -5
- package/deployments/ethereum-sandbox-local/UltraLightNode.json +5 -5
- package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +5 -5
- package/deployments/humanity-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/humanity-mainnet/Endpoint.json +1282 -0
- package/deployments/humanity-mainnet/FPValidator.json +382 -0
- package/deployments/humanity-mainnet/MPTValidator01.json +395 -0
- package/deployments/humanity-mainnet/NonceContract.json +159 -0
- package/deployments/humanity-mainnet/RelayerV2.json +1415 -0
- package/deployments/humanity-mainnet/RelayerV2_Implementation.json +1612 -0
- package/deployments/humanity-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/humanity-mainnet/TreasuryV2.json +458 -0
- package/deployments/humanity-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/humanity-testnet/DefaultProxyAdmin.json +273 -0
- package/deployments/humanity-testnet/Endpoint.json +1282 -0
- package/deployments/humanity-testnet/FPValidator.json +382 -0
- package/deployments/humanity-testnet/MPTValidator01.json +395 -0
- package/deployments/humanity-testnet/NonceContract.json +159 -0
- package/deployments/humanity-testnet/RelayerV2.json +1415 -0
- package/deployments/humanity-testnet/RelayerV2_Implementation.json +1612 -0
- package/deployments/humanity-testnet/RelayerV2_Proxy.json +245 -0
- package/deployments/humanity-testnet/TreasuryV2.json +458 -0
- package/deployments/humanity-testnet/UltraLightNodeV2.json +1816 -0
- 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 +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @layerzerolabs/lz-evm-sdk-v1
|
|
2
2
|
|
|
3
|
+
## 3.0.115
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4e463b5: humanity endpoint
|
|
8
|
+
- Updated dependencies [4e463b5]
|
|
9
|
+
- @layerzerolabs/evm-sdks-core@3.0.115
|
|
10
|
+
|
|
11
|
+
## 3.0.114
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 327bf23: Publish new official packages at 18 July 2025 by yadong
|
|
16
|
+
- Updated dependencies [327bf23]
|
|
17
|
+
- @layerzerolabs/evm-sdks-core@3.0.114
|
|
18
|
+
|
|
3
19
|
## 3.0.113
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "4cacbc20c3ff94e1fab58d8d49589534",
|
|
3
|
+
"solcLongVersion": "0.7.6+commit.7338295f",
|
|
4
|
+
"input": {
|
|
5
|
+
"language": "Solidity",
|
|
6
|
+
"sources": {
|
|
7
|
+
"contracts/arbitrum/interfaces/ArbSys.sol": {
|
|
8
|
+
"content": "// SPDX-License-Identifier: BUSL-1.1\n\npragma solidity >=0.4.21 <0.9.0;\n\n/**\n * @title Precompiled contract that exists in every Arbitrum chain at address(100), 0x0000000000000000000000000000000000000064. Exposes a variety of system-level functionality.\n */\ninterface ArbSys {\n /**\n * @notice Get internal version number identifying an ArbOS build\n * @return version number as int\n */\n function arbOSVersion() external pure returns (uint);\n\n function arbChainID() external view returns (uint);\n\n /**\n * @notice Get Arbitrum block number (distinct from L1 block number; Arbitrum genesis block has block number 0)\n * @return block number as int\n */\n function arbBlockNumber() external view returns (uint);\n\n /**\n * @notice Send given amount of Eth to dest from sender.\n * This is a convenience function, which is equivalent to calling sendTxToL1 with empty calldataForL1.\n * @param destination recipient address on L1\n * @return unique identifier for this L2-to-L1 transaction.\n */\n function withdrawEth(address destination) external payable returns (uint);\n\n /**\n * @notice Send a transaction to L1\n * @param destination recipient address on L1\n * @param calldataForL1 (optional) calldata for L1 contract call\n * @return a unique identifier for this L2-to-L1 transaction.\n */\n function sendTxToL1(address destination, bytes calldata calldataForL1) external payable returns (uint);\n\n /**\n * @notice get the number of transactions issued by the given external account or the account sequence number of the given contract\n * @param account target account\n * @return the number of transactions issued by the given external account or the account sequence number of the given contract\n */\n function getTransactionCount(address account) external view returns (uint256);\n\n /**\n * @notice get the value of target L2 storage slot\n * This function is only callable from address 0 to prevent contracts from being able to call it\n * @param account target account\n * @param index target index of storage slot\n * @return stotage value for the given account at the given index\n */\n function getStorageAt(address account, uint256 index) external view returns (uint256);\n\n /**\n * @notice check if current call is coming from l1\n * @return true if the caller of this was called directly from L1\n */\n function isTopLevelCall() external view returns (bool);\n\n /**\n * @notice check if the caller (of this caller of this) is an aliased L1 contract address\n * @return true iff the caller's address is an alias for an L1 contract address\n */\n function wasMyCallersAddressAliased() external view returns (bool);\n\n /**\n * @notice return the address of the caller (of this caller of this), without applying L1 contract address aliasing\n * @return address of the caller's caller, without applying L1 contract address aliasing\n */\n function myCallersAddressWithoutAliasing() external view returns (address);\n\n /**\n * @notice map L1 sender contract address to its L2 alias\n * @param sender sender address\n * @param dest destination address\n * @return aliased sender address\n */\n function mapL1SenderContractAddressToL2Alias(address sender, address dest) external pure returns (address);\n\n /**\n * @notice get the caller's amount of available storage gas\n * @return amount of storage gas available to the caller\n */\n function getStorageGasAvailable() external view returns (uint);\n\n event L2ToL1Transaction(\n address caller,\n address indexed destination,\n uint indexed uniqueId,\n uint indexed batchNumber,\n uint indexInBatch,\n uint arbBlockNum,\n uint ethBlockNum,\n uint timestamp,\n uint callvalue,\n bytes data\n );\n}\n"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"settings": {
|
|
12
|
+
"optimizer": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"runs": 30000
|
|
15
|
+
},
|
|
16
|
+
"outputSelection": {
|
|
17
|
+
"*": {
|
|
18
|
+
"*": [
|
|
19
|
+
"abi",
|
|
20
|
+
"evm.bytecode",
|
|
21
|
+
"evm.deployedBytecode",
|
|
22
|
+
"evm.methodIdentifiers",
|
|
23
|
+
"metadata",
|
|
24
|
+
"devdoc",
|
|
25
|
+
"userdoc",
|
|
26
|
+
"storageLayout",
|
|
27
|
+
"evm.gasEstimates"
|
|
28
|
+
],
|
|
29
|
+
"": [
|
|
30
|
+
"ast"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"metadata": {
|
|
35
|
+
"useLiteralContent": true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "5e6f8a9cc160013d3f2ed5cace5b3625",
|
|
3
|
+
"solcLongVersion": "0.7.6+commit.7338295f",
|
|
4
|
+
"input": {
|
|
5
|
+
"language": "Solidity",
|
|
6
|
+
"sources": {
|
|
7
|
+
"contracts/mocks/ContractOne.sol": {
|
|
8
|
+
"content": "// SPDX-License-Identifier: BUSL-1.1\n\npragma solidity ^0.7.6;\n\ncontract ContractOne {\n uint x;\n\n function setIt(uint _x) external {\n x = _x;\n }\n}\n"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"settings": {
|
|
12
|
+
"optimizer": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"runs": 30000
|
|
15
|
+
},
|
|
16
|
+
"outputSelection": {
|
|
17
|
+
"*": {
|
|
18
|
+
"*": [
|
|
19
|
+
"abi",
|
|
20
|
+
"evm.bytecode",
|
|
21
|
+
"evm.deployedBytecode",
|
|
22
|
+
"evm.methodIdentifiers",
|
|
23
|
+
"metadata",
|
|
24
|
+
"devdoc",
|
|
25
|
+
"userdoc",
|
|
26
|
+
"storageLayout",
|
|
27
|
+
"evm.gasEstimates"
|
|
28
|
+
],
|
|
29
|
+
"": [
|
|
30
|
+
"ast"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"metadata": {
|
|
35
|
+
"useLiteralContent": true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "7413301ee5ee573cec0ec95730482c21",
|
|
3
|
+
"solcLongVersion": "0.7.6+commit.7338295f",
|
|
4
|
+
"input": {
|
|
5
|
+
"language": "Solidity",
|
|
6
|
+
"sources": {
|
|
7
|
+
"contracts/mocks/IsContract.sol": {
|
|
8
|
+
"content": "// SPDX-License-Identifier: BUSL-1.1\n\npragma solidity ^0.7.6;\n\ncontract IsContract {\n function isAddressContract(address addr) external view returns (bool) {\n // check if the toAddress is a contract. We are not concerned about addresses that pretend to be wallets. because worst case we just delete their payload if being malicious\n // we can guarantee that if a size > 0, then the contract is definitely a contract address in this context\n uint size;\n assembly {\n size := extcodesize(addr)\n }\n return size != 0;\n }\n}\n"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"settings": {
|
|
12
|
+
"optimizer": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"runs": 30000
|
|
15
|
+
},
|
|
16
|
+
"outputSelection": {
|
|
17
|
+
"*": {
|
|
18
|
+
"*": [
|
|
19
|
+
"abi",
|
|
20
|
+
"evm.bytecode",
|
|
21
|
+
"evm.deployedBytecode",
|
|
22
|
+
"evm.methodIdentifiers",
|
|
23
|
+
"metadata",
|
|
24
|
+
"devdoc",
|
|
25
|
+
"userdoc",
|
|
26
|
+
"storageLayout",
|
|
27
|
+
"evm.gasEstimates"
|
|
28
|
+
],
|
|
29
|
+
"": [
|
|
30
|
+
"ast"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"metadata": {
|
|
35
|
+
"useLiteralContent": true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|