@inco/lightning 1.0.0-testnet-1 → 1.0.1

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.
Files changed (121) hide show
  1. package/README.md +21 -36
  2. package/manifest.yaml +86 -0
  3. package/package.json +12 -1
  4. package/src/CreateXHelper.sol +5 -1
  5. package/src/DeployUtils.sol +5 -1
  6. package/src/Errors.sol +5 -1
  7. package/src/IncoLightning.sol +5 -1
  8. package/src/IncoVerifier.sol +5 -1
  9. package/src/Lib.alphanet.sol +1 -1
  10. package/src/Lib.demonet.sol +1 -1
  11. package/src/Lib.devnet.sol +1 -1
  12. package/src/Lib.mainnet.sol +1242 -0
  13. package/src/Lib.sol +2 -2
  14. package/src/Lib.template.sol +6 -1
  15. package/src/Lib.testnet.sol +1 -1
  16. package/src/Types.sol +5 -1
  17. package/src/interfaces/IIncoLightning.sol +5 -1
  18. package/src/interfaces/IIncoVerifier.sol +5 -1
  19. package/src/libs/incoLightning_alphanet_v0_297966649.sol +1 -1
  20. package/src/libs/incoLightning_alphanet_v1_725458969.sol +1 -1
  21. package/src/libs/incoLightning_alphanet_v2_976644394.sol +1 -1
  22. package/src/libs/incoLightning_demonet_v0_863421733.sol +1 -1
  23. package/src/libs/incoLightning_demonet_v11_473256067.sol +1 -1
  24. package/src/libs/incoLightning_demonet_v2_467437523.sol +1 -1
  25. package/src/libs/incoLightning_devnet_v0_340846814.sol +1 -1
  26. package/src/libs/incoLightning_devnet_v10_266391127.sol +1 -1
  27. package/src/libs/incoLightning_devnet_v12_873394282.sol +1 -1
  28. package/src/libs/incoLightning_devnet_v1_904635675.sol +1 -1
  29. package/src/libs/incoLightning_devnet_v2_295237520.sol +1 -1
  30. package/src/libs/incoLightning_devnet_v3_976859633.sol +1 -1
  31. package/src/libs/incoLightning_devnet_v4_409204766.sol +1 -1
  32. package/src/libs/incoLightning_devnet_v5_203964628.sol +1 -1
  33. package/src/libs/incoLightning_devnet_v6_281949651.sol +1 -1
  34. package/src/libs/incoLightning_devnet_v7_24560427.sol +1 -1
  35. package/src/libs/incoLightning_devnet_v8_985328058.sol +1 -1
  36. package/src/libs/incoLightning_devnet_v9_269218568.sol +1 -1
  37. package/src/libs/incoLightning_mainnet_v12_473307884.sol +1242 -0
  38. package/src/libs/incoLightning_testnet_v0_183408998.sol +1 -1
  39. package/src/libs/incoLightning_testnet_v11_340321378.sol +1 -1
  40. package/src/libs/incoLightning_testnet_v12_687186260.sol +1 -1
  41. package/src/libs/incoLightning_testnet_v2_889158349.sol +1 -1
  42. package/src/lightning-parts/AccessControl/AdvancedAccessControl.sol +5 -1
  43. package/src/lightning-parts/AccessControl/AdvancedAccessControl.types.sol +5 -1
  44. package/src/lightning-parts/AccessControl/BaseAccessControlList.sol +5 -1
  45. package/src/lightning-parts/AccessControl/interfaces/IAdvancedAccessControl.sol +5 -1
  46. package/src/lightning-parts/AccessControl/interfaces/IBaseAccessControlList.sol +5 -1
  47. package/src/lightning-parts/AccessControl/test/TestAdvancedAccessControl.t.sol +5 -1
  48. package/src/lightning-parts/AccessControl/test/TestBaseAccessControl.t.sol +5 -1
  49. package/src/lightning-parts/DecryptionAttester.sol +5 -1
  50. package/src/lightning-parts/DecryptionAttester.types.sol +5 -1
  51. package/src/lightning-parts/EList.sol +5 -1
  52. package/src/lightning-parts/EncryptedInput.sol +5 -1
  53. package/src/lightning-parts/EncryptedOperations.sol +5 -1
  54. package/src/lightning-parts/Fee.sol +5 -1
  55. package/src/lightning-parts/TEELifecycle.sol +5 -0
  56. package/src/lightning-parts/TEELifecycle.types.sol +5 -1
  57. package/src/lightning-parts/TrivialEncryption.sol +5 -1
  58. package/src/lightning-parts/interfaces/IDecryptionAttester.sol +5 -1
  59. package/src/lightning-parts/interfaces/IEList.sol +5 -1
  60. package/src/lightning-parts/interfaces/IEncryptedInput.sol +5 -1
  61. package/src/lightning-parts/interfaces/IEncryptedOperations.sol +5 -1
  62. package/src/lightning-parts/interfaces/ITEELifecycle.sol +5 -1
  63. package/src/lightning-parts/interfaces/ITrivialEncryption.sol +5 -1
  64. package/src/lightning-parts/primitives/EListHandleGeneration.sol +5 -1
  65. package/src/lightning-parts/primitives/EListHandleMetadata.sol +5 -1
  66. package/src/lightning-parts/primitives/EventCounter.sol +5 -1
  67. package/src/lightning-parts/primitives/HandleGeneration.sol +5 -1
  68. package/src/lightning-parts/primitives/HandleMetadata.sol +5 -1
  69. package/src/lightning-parts/primitives/LightningAddressGetter.sol +5 -1
  70. package/src/lightning-parts/primitives/SignatureVerifier.sol +5 -1
  71. package/src/lightning-parts/primitives/VerifierAddressGetter.sol +5 -1
  72. package/src/lightning-parts/primitives/interfaces/IEListHandleMetadata.sol +5 -1
  73. package/src/lightning-parts/primitives/interfaces/IEventCounter.sol +5 -1
  74. package/src/lightning-parts/primitives/interfaces/IHandleGeneration.sol +5 -1
  75. package/src/lightning-parts/primitives/interfaces/ISignatureVerifier.sol +5 -1
  76. package/src/lightning-parts/primitives/interfaces/IVerifierAddressGetter.sol +5 -1
  77. package/src/lightning-parts/primitives/test/SignatureVerifier.t.sol +5 -1
  78. package/src/lightning-parts/test/Elist.t.sol +5 -1
  79. package/src/lightning-parts/test/Fee.t.sol +5 -1
  80. package/src/lightning-parts/test/HandleMetadata.t.sol +5 -1
  81. package/src/lightning-parts/test/InputsFee.t.sol +5 -1
  82. package/src/lightning-parts/test/TestDecryptionAttestationInSynchronousFlow.t.sol +5 -1
  83. package/src/misc/ABIHelper.sol +5 -1
  84. package/src/periphery/IncoUtils.sol +5 -1
  85. package/src/periphery/SaltLib.sol +5 -1
  86. package/src/periphery/SessionVerifier.sol +5 -1
  87. package/src/shared/IOwnable.sol +5 -1
  88. package/src/shared/IUUPSUpgradable.sol +5 -1
  89. package/src/shared/JsonUtils.sol +5 -1
  90. package/src/shared/TestUtils.sol +5 -1
  91. package/src/shared/TypeUtils.sol +5 -1
  92. package/src/test/AddTwo.sol +5 -1
  93. package/src/test/EListTester.sol +5 -1
  94. package/src/test/FakeIncoInfra/FakeComputeServer.sol +5 -1
  95. package/src/test/FakeIncoInfra/FakeDecryptionAttester.sol +5 -1
  96. package/src/test/FakeIncoInfra/FakeIncoInfraBase.sol +5 -1
  97. package/src/test/FakeIncoInfra/FakeQuoteVerifier.sol +5 -1
  98. package/src/test/FakeIncoInfra/KVStore.sol +5 -1
  99. package/src/test/FakeIncoInfra/MockOpHandler.sol +5 -1
  100. package/src/test/FakeIncoInfra/MockRemoteAttestation.sol +5 -1
  101. package/src/test/FakeIncoInfra/getOpForSelector.sol +5 -1
  102. package/src/test/IncoTest.sol +6 -2
  103. package/src/test/OpsTest.sol +5 -1
  104. package/src/test/TEELifecycle/TEELifecycleMockTest.t.sol +5 -1
  105. package/src/test/TestAddTwo.t.sol +5 -1
  106. package/src/test/TestDeploy.t.sol +5 -1
  107. package/src/test/TestEventCounter.t.sol +5 -1
  108. package/src/test/TestExtractDataOfEventTooLarge.t.sol +5 -1
  109. package/src/test/TestFakeInfra.t.sol +5 -1
  110. package/src/test/TestFeeWithdrawal.t.sol +5 -1
  111. package/src/test/TestIncoUtils.t.sol +5 -1
  112. package/src/test/TestLib.t.sol +5 -1
  113. package/src/test/TestPause.t.sol +5 -1
  114. package/src/test/TestReceive.t.sol +5 -1
  115. package/src/test/TestUpgrade.t.sol +5 -1
  116. package/src/test/TestVerifierPause.t.sol +5 -1
  117. package/src/test/TestVersion.t.sol +5 -1
  118. package/src/version/IncoLightningConfig.sol +6 -2
  119. package/src/version/SessionVerifierConfig.sol +5 -1
  120. package/src/version/Version.sol +5 -1
  121. package/src/version/interfaces/IVersion.sol +5 -1
@@ -2,7 +2,7 @@
2
2
  // This file was generated by the IncoLightning library generator.
3
3
  // The original template is located at Lib.template.sol
4
4
 
5
- /// SPDX-License-Identifier: No License
5
+ /// SPDX-License-Identifier: BUSL-1.1
6
6
  pragma solidity ^0.8;
7
7
 
8
8
  import { IncoLightning } from "../IncoLightning.sol";
@@ -2,7 +2,7 @@
2
2
  // This file was generated by the IncoLightning library generator.
3
3
  // The original template is located at Lib.template.sol
4
4
 
5
- /// SPDX-License-Identifier: No License
5
+ /// SPDX-License-Identifier: BUSL-1.1
6
6
  pragma solidity ^0.8;
7
7
 
8
8
  import { IncoLightning } from "../IncoLightning.sol";
@@ -2,7 +2,7 @@
2
2
  // This file was generated by the IncoLightning library generator.
3
3
  // The original template is located at Lib.template.sol
4
4
 
5
- /// SPDX-License-Identifier: No License
5
+ /// SPDX-License-Identifier: BUSL-1.1
6
6
  pragma solidity ^0.8;
7
7
 
8
8
  import { IncoLightning } from "../IncoLightning.sol";
@@ -2,7 +2,7 @@
2
2
  // This file was generated by the IncoLightning library generator.
3
3
  // The original template is located at Lib.template.sol
4
4
 
5
- /// SPDX-License-Identifier: No License
5
+ /// SPDX-License-Identifier: BUSL-1.1
6
6
  pragma solidity ^0.8;
7
7
 
8
8
  import { IncoLightning } from "../IncoLightning.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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
  // Required warning that must be present in every AllowanceVoucher.
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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, SenderNotAllowedForHandle} from "../../Types.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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 {AllowanceProof, AllowanceVoucher} from "../AdvancedAccessControl.types.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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 {IVerifierAddressGetter} from "../../primitives/interfaces/IVerifierAddressGetter.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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 "../BaseAccessControlList.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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
  struct DecryptionAttestation {
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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 "./AccessControl/BaseAccessControlList.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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, typeBitSize} from "../Types.sol";
@@ -1,3 +1,8 @@
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
1
6
  pragma solidity ^0.8;
2
7
 
3
8
  import {BootstrapResult, UpgradeResult, AddNodeResult} from "./TEELifecycle.types.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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
  /**
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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, ETypes} from "../Types.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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 {elist, ETypes} from "../../Types.sol";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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, ETypes} from "../../Types.sol";
@@ -1,4 +1,8 @@
1
- /// SPDX-License-Identifier: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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
- /// SPDX-License-Identifier: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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: No License
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";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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: No License
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) {
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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";
@@ -1,4 +1,8 @@
1
- // SPDX-License-Identifier: No License
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";