@inco/lightning 1.0.0-rc-11 → 1.0.0-rc-13
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/package.json +1 -1
- package/src/CreateXHelper.sol +5 -1
- package/src/DeployUtils.sol +5 -1
- package/src/Errors.sol +5 -1
- package/src/IncoLightning.sol +5 -1
- package/src/IncoVerifier.sol +5 -1
- package/src/Lib.alphanet.sol +1 -1
- package/src/Lib.demonet.sol +1 -1
- package/src/Lib.devnet.sol +1 -1
- package/src/Lib.mainnet.sol +1 -1
- package/src/Lib.sol +1 -1
- package/src/Lib.template.sol +6 -1
- package/src/Lib.testnet.sol +1 -1
- package/src/Types.sol +5 -1
- package/src/interfaces/IIncoLightning.sol +5 -1
- package/src/interfaces/IIncoVerifier.sol +5 -1
- package/src/libs/incoLightning_alphanet_v0_297966649.sol +1 -1
- package/src/libs/incoLightning_alphanet_v1_725458969.sol +1 -1
- package/src/libs/incoLightning_alphanet_v2_976644394.sol +1 -1
- package/src/libs/incoLightning_demonet_v0_863421733.sol +1 -1
- package/src/libs/incoLightning_demonet_v11_473256067.sol +1 -1
- package/src/libs/incoLightning_demonet_v2_467437523.sol +1 -1
- package/src/libs/incoLightning_devnet_v0_340846814.sol +1 -1
- package/src/libs/incoLightning_devnet_v10_266391127.sol +1 -1
- package/src/libs/incoLightning_devnet_v12_873394282.sol +1 -1
- package/src/libs/incoLightning_devnet_v1_904635675.sol +1 -1
- package/src/libs/incoLightning_devnet_v2_295237520.sol +1 -1
- package/src/libs/incoLightning_devnet_v3_976859633.sol +1 -1
- package/src/libs/incoLightning_devnet_v4_409204766.sol +1 -1
- package/src/libs/incoLightning_devnet_v5_203964628.sol +1 -1
- package/src/libs/incoLightning_devnet_v6_281949651.sol +1 -1
- package/src/libs/incoLightning_devnet_v7_24560427.sol +1 -1
- package/src/libs/incoLightning_devnet_v8_985328058.sol +1 -1
- package/src/libs/incoLightning_devnet_v9_269218568.sol +1 -1
- package/src/libs/incoLightning_mainnet_v12_473307884.sol +1 -1
- package/src/libs/incoLightning_testnet_v0_183408998.sol +1 -1
- package/src/libs/incoLightning_testnet_v11_340321378.sol +1 -1
- package/src/libs/incoLightning_testnet_v12_687186260.sol +1 -1
- package/src/libs/incoLightning_testnet_v2_889158349.sol +1 -1
- package/src/lightning-parts/AccessControl/AdvancedAccessControl.sol +5 -1
- package/src/lightning-parts/AccessControl/AdvancedAccessControl.types.sol +5 -1
- package/src/lightning-parts/AccessControl/BaseAccessControlList.sol +5 -1
- package/src/lightning-parts/AccessControl/interfaces/IAdvancedAccessControl.sol +5 -1
- package/src/lightning-parts/AccessControl/interfaces/IBaseAccessControlList.sol +5 -1
- package/src/lightning-parts/AccessControl/test/TestAdvancedAccessControl.t.sol +5 -1
- package/src/lightning-parts/AccessControl/test/TestBaseAccessControl.t.sol +5 -1
- package/src/lightning-parts/DecryptionAttester.sol +5 -1
- package/src/lightning-parts/DecryptionAttester.types.sol +5 -1
- package/src/lightning-parts/EList.sol +5 -1
- package/src/lightning-parts/EncryptedInput.sol +5 -1
- package/src/lightning-parts/EncryptedOperations.sol +5 -1
- package/src/lightning-parts/Fee.sol +5 -1
- package/src/lightning-parts/TEELifecycle.sol +5 -0
- package/src/lightning-parts/TEELifecycle.types.sol +5 -1
- package/src/lightning-parts/TrivialEncryption.sol +5 -1
- package/src/lightning-parts/interfaces/IDecryptionAttester.sol +5 -1
- package/src/lightning-parts/interfaces/IEList.sol +5 -1
- package/src/lightning-parts/interfaces/IEncryptedInput.sol +5 -1
- package/src/lightning-parts/interfaces/IEncryptedOperations.sol +5 -1
- package/src/lightning-parts/interfaces/ITEELifecycle.sol +5 -1
- package/src/lightning-parts/interfaces/ITrivialEncryption.sol +5 -1
- package/src/lightning-parts/primitives/EListHandleGeneration.sol +5 -1
- package/src/lightning-parts/primitives/EListHandleMetadata.sol +5 -1
- package/src/lightning-parts/primitives/EventCounter.sol +5 -1
- package/src/lightning-parts/primitives/HandleGeneration.sol +5 -1
- package/src/lightning-parts/primitives/HandleMetadata.sol +5 -1
- package/src/lightning-parts/primitives/LightningAddressGetter.sol +5 -1
- package/src/lightning-parts/primitives/SignatureVerifier.sol +5 -1
- package/src/lightning-parts/primitives/VerifierAddressGetter.sol +5 -1
- package/src/lightning-parts/primitives/interfaces/IEListHandleMetadata.sol +5 -1
- package/src/lightning-parts/primitives/interfaces/IEventCounter.sol +5 -1
- package/src/lightning-parts/primitives/interfaces/IHandleGeneration.sol +5 -1
- package/src/lightning-parts/primitives/interfaces/ISignatureVerifier.sol +5 -1
- package/src/lightning-parts/primitives/interfaces/IVerifierAddressGetter.sol +5 -1
- package/src/lightning-parts/primitives/test/SignatureVerifier.t.sol +5 -1
- package/src/lightning-parts/test/Elist.t.sol +5 -1
- package/src/lightning-parts/test/Fee.t.sol +5 -1
- package/src/lightning-parts/test/HandleMetadata.t.sol +5 -1
- package/src/lightning-parts/test/InputsFee.t.sol +5 -1
- package/src/lightning-parts/test/TestDecryptionAttestationInSynchronousFlow.t.sol +5 -1
- package/src/misc/ABIHelper.sol +5 -1
- package/src/periphery/IncoUtils.sol +5 -1
- package/src/periphery/SaltLib.sol +5 -1
- package/src/periphery/SessionVerifier.sol +5 -1
- package/src/shared/IOwnable.sol +5 -1
- package/src/shared/IUUPSUpgradable.sol +5 -1
- package/src/shared/JsonUtils.sol +5 -1
- package/src/shared/TestUtils.sol +5 -1
- package/src/shared/TypeUtils.sol +5 -1
- package/src/test/AddTwo.sol +5 -1
- package/src/test/EListTester.sol +5 -1
- package/src/test/FakeIncoInfra/FakeComputeServer.sol +5 -1
- package/src/test/FakeIncoInfra/FakeDecryptionAttester.sol +5 -1
- package/src/test/FakeIncoInfra/FakeIncoInfraBase.sol +5 -1
- package/src/test/FakeIncoInfra/FakeQuoteVerifier.sol +5 -1
- package/src/test/FakeIncoInfra/KVStore.sol +5 -1
- package/src/test/FakeIncoInfra/MockOpHandler.sol +5 -1
- package/src/test/FakeIncoInfra/MockRemoteAttestation.sol +5 -1
- package/src/test/FakeIncoInfra/getOpForSelector.sol +5 -1
- package/src/test/IncoTest.sol +5 -1
- package/src/test/OpsTest.sol +5 -1
- package/src/test/TEELifecycle/TEELifecycleMockTest.t.sol +5 -1
- package/src/test/TestAddTwo.t.sol +5 -1
- package/src/test/TestDeploy.t.sol +5 -1
- package/src/test/TestEventCounter.t.sol +5 -1
- package/src/test/TestExtractDataOfEventTooLarge.t.sol +5 -1
- package/src/test/TestFakeInfra.t.sol +5 -1
- package/src/test/TestFeeWithdrawal.t.sol +5 -1
- package/src/test/TestIncoUtils.t.sol +5 -1
- package/src/test/TestLib.t.sol +5 -1
- package/src/test/TestPause.t.sol +5 -1
- package/src/test/TestReceive.t.sol +5 -1
- package/src/test/TestUpgrade.t.sol +5 -1
- package/src/test/TestVerifierPause.t.sol +5 -1
- package/src/test/TestVersion.t.sol +5 -1
- package/src/version/IncoLightningConfig.sol +5 -1
- package/src/version/SessionVerifierConfig.sol +5 -1
- package/src/version/Version.sol +5 -1
- package/src/version/interfaces/IVersion.sol +5 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {BootstrapResult, UpgradeResult, AddNodeResult} from "../TEELifecycle.types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {euint256, ebool, eaddress} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {ETypes, EOps, HANDLE_VERSION, SEP_ELIST_OP_RESULT} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {ETypes} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IEventCounter} from "./interfaces/IEventCounter.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {HANDLE_VERSION, HANDLE_INDEX, ETypes} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
/// @title LightningAddressGetter
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IIncoVerifier} from "../../interfaces/IIncoVerifier.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
interface IEListHandleMetadata {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
interface IEventCounter {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {ETypes, EOps} from "../../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
interface ISignatureVerifier {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IIncoVerifier} from "../../../interfaces/IIncoVerifier.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {TestUtils} from "../../../shared/TestUtils.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoTest} from "../../test/IncoTest.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test} from "forge-std/Test.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {TestUtils} from "../../shared/TestUtils.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {FEE, Fee} from "../Fee.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoTest} from "../../test/IncoTest.sol";
|
package/src/misc/ABIHelper.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Session} from "@inco/lightning/src/periphery/SessionVerifier.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {StorageSlot} from "@openzeppelin/contracts/utils/StorageSlot.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
/// @dev Flag controlling cross-chain deployment authorization.
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8.29;
|
|
3
7
|
|
|
4
8
|
import {UUPSUpgradeable} from "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
|
package/src/shared/IOwnable.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
// OpenZeppelin doesn't export any interfaces for ownable so we define our own
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
// OpenZeppelin doesn't export any interfaces for uupsUpgradeable so we define our own
|
package/src/shared/JsonUtils.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Script} from "forge-std/Script.sol";
|
package/src/shared/TestUtils.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test} from "forge-std/Test.sol";
|
package/src/shared/TypeUtils.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
function asBool(bytes32 encodedBool) pure returns (bool) {
|
package/src/test/AddTwo.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {euint256, ebool} from "../Types.sol";
|
package/src/test/EListTester.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IIncoLightning} from "../interfaces/IIncoLightning.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {EOps, ETypes} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {FakeIncoInfraBase} from "./FakeIncoInfraBase.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {ebool, euint256, ETypes} from "../../Types.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IPCCSRouter} from "../../interfaces/automata-interfaces/IPCCSRouter.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {HandleMetadata} from "../../lightning-parts/primitives/HandleMetadata.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Vm} from "forge-std/Test.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {TestUtils} from "../../shared/TestUtils.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {BaseAccessControlList} from "../../lightning-parts/AccessControl/BaseAccessControlList.sol";
|
package/src/test/IncoTest.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {MockOpHandler} from "./FakeIncoInfra/MockOpHandler.sol";
|
package/src/test/OpsTest.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoLightning} from "../IncoLightning.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {TEELifecycle} from "../../lightning-parts/TEELifecycle.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {inco} from "../Lib.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test, Vm} from "forge-std/Test.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoTest} from "./IncoTest.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test, Vm, console} from "forge-std/Test.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoTest} from "./IncoTest.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {inco} from "../Lib.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test} from "forge-std/Test.sol";
|
package/src/test/TestLib.t.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {IncoTest} from "./IncoTest.sol";
|
package/src/test/TestPause.t.sol
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {inco} from "../Lib.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {inco} from "../Lib.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {inco} from "../Lib.sol";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: BUSL-1.1
|
|
2
|
+
// Copyright (c) 2026 Liquidbox Corp.
|
|
3
|
+
// Licensed under the Business Source License 1.1. See LICENSE.md.
|
|
4
|
+
// Terms of use: https://www.inco.org/terms-of-services
|
|
5
|
+
// Security contact team@inco.network
|
|
2
6
|
pragma solidity ^0.8;
|
|
3
7
|
|
|
4
8
|
import {Test} from "forge-std/Test.sol";
|