Skip to content

Commit

Permalink
chore: update license to LZBL-1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
carmenjiawenc committed Dec 14, 2023
1 parent f090da2 commit c1471ff
Show file tree
Hide file tree
Showing 57 changed files with 157 additions and 243 deletions.
94 changes: 0 additions & 94 deletions LICENSE-BUSL.1.1

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE-LZBL-1.2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LayerZero Business License 1.2LZBL-1.2NotesThe LayerZero Business License (this ÒAgreementÓ, or the ÒLicenseÓ) is not an open source license. However, the Licensed Work (as defined below) will eventually be made available under an open source license, as stated in this License, for Permissionless Applications. Permissioned Applications may not use the Licensed Work. The license parameters are: restrictions on usage, a Change Date, and the open source license that will govern usage of the Licensed Work after the Change Date.TermsLicensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. On the Change Date (as defined below), this License shall covert into the Change License (as defined below), and the rights granted in the paragraph above terminate. You may not modify this License in any other way.If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.You must conspicuously display this License and the License Text (defined below) on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.This License does not grant you any right in any trademark or logo of Licensor or its affiliates.THE LICENSED WORK IS PROVIDED ON AN "AS IS" AND ÒAS AVAILABLEÓ BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.DefinitionsChange Date means 4 years from December 14, 2023 with respect to Permissionless Applications. Permissioned Applications shall not have a Change Date and may not use the Licensed Work.Change License means the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where "compatible" means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version.Licensor means LayerZero Labs Ltd.License Text means:LayerZero Business License 1.2License text copyright © 2023 LayerZero Labs Ltd., All Rights Reserved. Licensed Work means LayerZero as described in Whitepaper ÒLayerZeroÓ published on December 14, 2023. Permissionless Applications means blockchain networks or applications that users can freely join, interact with, or participate in without first obtaining permission, approval, or authorization and excludes Permissioned Applications. Permissioned Applications means blockchain networks or applications that are limited only to designated participants or that limit who is allows allowed to participate in financial (or other) activities, and excludes Permissionless Applications.
Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/Executor.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/ExecutorFeeLib.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/MessageLibBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/PriceFeed.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/ReceiveLibBaseE2.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/SendLibBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/SendLibBaseE2.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/Treasury.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/Worker.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/LzExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/ReceiveUlnBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/SendUlnBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/UlnBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/DVN.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/DVNFeeLib.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/MultiSig.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/dvn/adapters/DVNAdapterBase.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/libs/DVNOptions.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/libs/UlnOptions.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/AddressSizeConfig.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/ReceiveLibBaseE1.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/ReceiveUln301.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/SendLibBaseE1.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/SendUln301.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln301/TreasuryFeeHandler.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln302/ReceiveUln302.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/uln/uln302/SendUln302.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion messagelib/contracts/upgradeable/WorkerUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
4 changes: 2 additions & 2 deletions messagelib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@layerzerolabs/lz-evm-messagelib-v2",
"version": "1.5.70",
"license": "BUSL-1.1",
"version": "2.0.2",
"license": "LZBL-1.2",
"files": [
"contracts/**/*"
],
Expand Down
2 changes: 1 addition & 1 deletion messagelib/test/mocks/EndpointV1.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.17;

Expand Down
4 changes: 2 additions & 2 deletions oapp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@layerzerolabs/lz-evm-oapp-v2",
"version": "1.5.78",
"license": "BUSL-1.1",
"version": "2.0.2",
"license": "MIT",
"files": [
"contracts/**"
],
Expand Down
7 changes: 7 additions & 0 deletions oapp/test/hardhat-demo.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { expect } from 'chai'

describe('Hardhat UnitTest Demo', function () {
it('should pass', async function () {
expect(true).equal(true)
})
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@layerzerolabs/protocol-monorepo",
"version": "1.5.70",
"name": "@layerzerolabs/layerzero-v2",
"version": "2.0.2",
"private": true,
"workspaces": [
"protocol",
Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/EndpointV2.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/EndpointV2Alt.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity 0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/MessageLibManager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/MessagingChannel.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/MessagingComposer.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/MessagingContext.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/libs/AddressCast.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/libs/CalldataBytesLib.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/libs/Errors.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
2 changes: 1 addition & 1 deletion protocol/contracts/libs/GUID.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: BUSL-1.1
// SPDX-License-Identifier: LZBL-1.2

pragma solidity ^0.8.22;

Expand Down
Loading

0 comments on commit c1471ff

Please sign in to comment.