From ff5d655cc67fa9ed50750fbc1cc865b69ddba7c5 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Sat, 23 Aug 2025 18:35:16 +0400 Subject: [PATCH 1/3] license --- .github/workflows/rainix.yaml | 2 +- LICENSE | 1 + LICENSES/LicenseRef-DCL-1.0.txt | 189 ++++++++++++++++++ REUSE.toml | 27 +++ script/BuildPointers.sol | 3 +- script/Deploy.sol | 3 +- src/concrete/DecimalFloat.sol | 3 +- src/lib/LibDecimalFloat.sol | 3 +- src/lib/deploy/LibDecimalFloatDeploy.sol | 3 +- .../LibDecimalFloatImplementation.sol | 3 +- src/lib/table/LibLogTable.sol | 3 +- test/abstract/LogTest.sol | 3 +- test/concrete/DecimalFloat.packLossless.t.sol | 3 +- test/concrete/TestDecimalFloat.sol | 3 +- test/concrete/TestDecimalFloat.unpack.t.sol | 3 +- test/lib/LibCommonResults.sol | 3 +- test/lib/LibDecimalFloatSlow.sol | 3 +- .../LibDecimalFloatImplementationSlow.sol | 3 +- test/src/concrete/DecimalFloat.abs.t.sol | 3 +- test/src/concrete/DecimalFloat.add.t.sol | 3 +- test/src/concrete/DecimalFloat.ceil.t.sol | 3 +- .../src/concrete/DecimalFloat.constants.t.sol | 3 +- test/src/concrete/DecimalFloat.div.t.sol | 3 +- test/src/concrete/DecimalFloat.eq.t.sol | 3 +- test/src/concrete/DecimalFloat.floor.t.sol | 3 +- test/src/concrete/DecimalFloat.format.t.sol | 3 +- test/src/concrete/DecimalFloat.frac.t.sol | 3 +- ...ecimalFloat.fromFixedDecimalLossless.t.sol | 3 +- .../DecimalFloat.fromFixedDecimalLossy.t.sol | 3 +- test/src/concrete/DecimalFloat.gt.t.sol | 3 +- test/src/concrete/DecimalFloat.gte.t.sol | 3 +- test/src/concrete/DecimalFloat.inv.t.sol | 3 +- test/src/concrete/DecimalFloat.isZero.t.sol | 3 +- test/src/concrete/DecimalFloat.log10.t.sol | 3 +- test/src/concrete/DecimalFloat.lt.t.sol | 3 +- test/src/concrete/DecimalFloat.lte.t.sol | 3 +- test/src/concrete/DecimalFloat.max.t.sol | 3 +- test/src/concrete/DecimalFloat.min.t.sol | 3 +- test/src/concrete/DecimalFloat.minus.t.sol | 3 +- test/src/concrete/DecimalFloat.mul.t.sol | 3 +- test/src/concrete/DecimalFloat.parse.t.sol | 3 +- test/src/concrete/DecimalFloat.pow.t.sol | 3 +- test/src/concrete/DecimalFloat.pow10.t.sol | 3 +- test/src/concrete/DecimalFloat.sqrt.t.sol | 3 +- test/src/concrete/DecimalFloat.sub.t.sol | 3 +- .../DecimalFloat.toFixedDecimalLossless.t.sol | 3 +- .../DecimalFloat.toFixedDecimalLossy.t.sol | 3 +- test/src/lib/LibDecimalFloat.abs.t.sol | 3 +- test/src/lib/LibDecimalFloat.add.t.sol | 3 +- test/src/lib/LibDecimalFloat.ceil.t.sol | 3 +- test/src/lib/LibDecimalFloat.constants.t.sol | 3 +- test/src/lib/LibDecimalFloat.decimal.t.sol | 3 +- .../lib/LibDecimalFloat.decimalLossless.t.sol | 3 +- test/src/lib/LibDecimalFloat.div.t.sol | 3 +- test/src/lib/LibDecimalFloat.eq.t.sol | 3 +- test/src/lib/LibDecimalFloat.floor.t.sol | 3 +- test/src/lib/LibDecimalFloat.frac.t.sol | 3 +- test/src/lib/LibDecimalFloat.gt.t.sol | 3 +- test/src/lib/LibDecimalFloat.gte.t.sol | 3 +- test/src/lib/LibDecimalFloat.inv.t.sol | 3 +- test/src/lib/LibDecimalFloat.isZero.t.sol | 3 +- test/src/lib/LibDecimalFloat.log10.t.sol | 3 +- test/src/lib/LibDecimalFloat.lt.t.sol | 3 +- test/src/lib/LibDecimalFloat.lte.t.sol | 3 +- test/src/lib/LibDecimalFloat.max.t.sol | 3 +- test/src/lib/LibDecimalFloat.min.t.sol | 3 +- test/src/lib/LibDecimalFloat.minus.t.sol | 3 +- test/src/lib/LibDecimalFloat.mixed.t.sol | 3 +- test/src/lib/LibDecimalFloat.mul.t.sol | 3 +- test/src/lib/LibDecimalFloat.pack.t.sol | 3 +- test/src/lib/LibDecimalFloat.pow.t.sol | 3 +- test/src/lib/LibDecimalFloat.pow10.t.sol | 3 +- test/src/lib/LibDecimalFloat.sqrt.t.sol | 3 +- test/src/lib/LibDecimalFloat.sub.t.sol | 3 +- .../LibDecimalFloatImplementation.add.t.sol | 3 +- ...mplementation.characteristicMantissa.t.sol | 3 +- .../LibDecimalFloatImplementation.div.t.sol | 3 +- .../LibDecimalFloatImplementation.eq.t.sol | 3 +- .../LibDecimalFloatImplementation.inv.t.sol | 3 +- .../LibDecimalFloatImplementation.log10.t.sol | 3 +- ...bDecimalFloatImplementation.maximize.t.sol | 3 +- .../LibDecimalFloatImplementation.minus.t.sol | 3 +- .../LibDecimalFloatImplementation.mul.t.sol | 3 +- ...DecimalFloatImplementation.normalize.t.sol | 3 +- .../LibDecimalFloatImplementation.pow10.t.sol | 3 +- .../LibDecimalFloatImplementation.sub.t.sol | 3 +- ...mentation.unabsUnsignedMulOrDivLossy.t.sol | 3 +- ...oatImplementation.withTargetExponent.t.sol | 3 +- test/src/lib/parse/LibParseDecimalFloat.t.sol | 3 +- test/src/lib/table/LibLogTable.bytes.t.sol | 3 +- 90 files changed, 390 insertions(+), 87 deletions(-) create mode 120000 LICENSE create mode 100644 LICENSES/LicenseRef-DCL-1.0.txt create mode 100644 REUSE.toml diff --git a/.github/workflows/rainix.yaml b/.github/workflows/rainix.yaml index 7457d18f..30331060 100644 --- a/.github/workflows/rainix.yaml +++ b/.github/workflows/rainix.yaml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - task: [rainix-rs-test] + task: [rainix-rs-test, rainix-sol-legal] include: # Solidity doesn't need to be tested on multiple platforms - os: ubuntu-latest diff --git a/LICENSE b/LICENSE new file mode 120000 index 00000000..cba180ca --- /dev/null +++ b/LICENSE @@ -0,0 +1 @@ +LICENSES/LicenseRef-DCL-1.0.txt \ No newline at end of file diff --git a/LICENSES/LicenseRef-DCL-1.0.txt b/LICENSES/LicenseRef-DCL-1.0.txt new file mode 100644 index 00000000..dc4e1716 --- /dev/null +++ b/LICENSES/LicenseRef-DCL-1.0.txt @@ -0,0 +1,189 @@ +# DecentraLicense + +*This DecentraLicense (the “License”) applies to any Work whose owner has marked it with any of the following notices:* + +*“Licensed under the DecentraLicense version 1.0,” or* + +*“Licensed under the DecentraLicense version 1.0, with Combined Work Exception”* + +------ + +## 1. Purpose + +This License gives You unlimited permission to use and modify the software to which it applies (the “Work”), either as-is or in modified form, for Your private purposes, while protecting the owners and contributors to the software from liability. + +This License also strives to protect the freedom and autonomy of third parties who receive the Work from you. If any non-affiliated third party receives any part, aspect, or element of the Work from You, this License requires that You provide that third party all the permissions and materials needed to independently use and modify the Work without that third party having a loss of data or capability due to your actions. + +The full permissions, conditions, and other terms are laid out below. + +## 2. Receiving a License + +In order to receive this License, You must agree to its rules. The rules of this License are both obligations of Your agreement with the Licensor and conditions to your License. You must not do anything with the Work that triggers a rule You cannot or will not follow. + +### 2.1. Application + +The terms of this License apply to the Work as you receive it from Licensor, as well as to any modifications, elaborations, or implementations created by You that contain any licenseable portion of the Work (a “Modified Work”). Unless specified, any reference to the Work also applies to a Modified Work. + +### 2.2. Offer and Acceptance + +This License is automatically offered to every person and organization. You show that you accept this License and agree to its conditions by taking any action with the Work that, absent this License, would infringe any intellectual property right held by Licensor. + +### 2.3. Compliance and Remedies + +Any failure to act according to the terms and conditions of this License places Your use of the Work outside the scope of the License and infringes the rights of the Licensor. In the event of breach, the terms and conditions of this License may be enforced by Licensor under the laws of any jurisdiction to which You are subject. You also agree that either the Licensor or a Recipient (as an intended third-party beneficiary) may enforce the terms and conditions of this License against You via specific performance. + +To the fullest extent available under the law of any jurisdiction to which You are subject, You also agree that a Recipient (as an intended third-party beneficiary) receives a benefit in the form of the ability to maintain exclusive control of private keys under the terms and conditions of this License. + +## 3. Permissions and Conditions + +### 3.1. Permissions Granted + +Conditioned on compliance with section 4, and subject to the limitations of section 3.2, Licensor grants You the world-wide, royalty-free, non-exclusive permission to: + +> a) Take any action with the Work that would infringe the non-patent intellectual property laws of any jurisdiction to which You are subject; and +> +> b) Take any action with the Work that would infringe any patent claims that Licensor can license or becomes able to license, to the extent that those claims are embodied in the Work as distributed by Licensor. + +### 3.2. Limitations on Permissions Granted + +The following limitations apply to the permissions granted in section 3.1: + +> a) Licensor does not grant any patent license for claims that are only infringed due to modification of the Work as provided by Licensor, or the combination of the Work as provided by Licensor, directly or indirectly, with any other component, including other software or hardware. +> +> b) Licensor does not grant any license to the trademarks, service marks, or logos of Licensor, except to the extent necessary to comply with the attribution conditions in section 4.1 of this License. + +## 4. Conditions + +If You exercise any permission granted by this License, such that the Work, or any part, aspect, or element of the Work, is distributed, communicated, made available, or made perceptible to a non-Affiliate third party (a “Recipient”), either via physical delivery or via a network connection to the Recipient, You must comply with the following conditions: + +### 4.1. Provide Access to Source Code + +Subject to the exception in section 4.4, You must provide to each Recipient a copy of, or no-charge unrestricted network access to, the Source Code corresponding to the Work. + +The “Source Code” of the Work means the form of the Work preferred for making modifications, including any comments, configuration information, documentation, help materials, installation instructions, cryptographic seeds or keys, and any information reasonably necessary for the Recipient to independently compile and use the Source Code and to have full access to the functionality contained in the Work. + +#### 4.1.1. Providing Network Access to the Source Code + +Network access to the Notices and Source Code may be provided by You or by a third party, such as a public software repository, and must persist during the same period in which You exercise any of the permissions granted to You under this License and for at least one year thereafter. + +#### 4.1.2. Source Code for a Modified Work + +Subject to the exception in section 4.5, You must provide to each Recipient of a Modified Work Access to Source Code corresponding to those portions of the Work remaining in the Modified Work as well as the modifications used by You to create the Modified Work. The Source Code corresponding to the modifications in the Modified Work must be provided to the Recipient either a) under this License, or b) under a Compatible Open Source License. + +A “Compatible Open Source License” means a license accepted by the Open Source Initiative that allows object code created using both Source Code provided under this License and Source Code provided under the other open source license to be distributed together as a single work. + +#### 4.1.3. Coordinated Disclosure of Security Vulnerabilities + +You may delay providing the Source Code corresponding to a particular modification of the Work for up to ninety (90) days (the “Embargo Period”) if: a) the modification is intended to address a newly-identified vulnerability or a security flaw in the Work, b) disclosure of the vulnerability or security flaw before the end of the Embargo Period would put the data, identity, or autonomy of one or more Recipients of the Work at significant risk, c) You are participating in a coordinated disclosure of the vulnerability or security flaw with one or more additional Licensees, and d) Access to the Source Code pertaining to the modification is provided to all Recipients at the end of the Embargo Period. + +### 4.2. Maintain User Autonomy + +In addition to providing each Recipient the opportunity to have Access to the Source Code, You cannot use the permissions given under this License to interfere with a Recipient’s ability to fully use an independent copy of the Work generated from the Source Code You provide with the Recipient’s own User Data. + +“User Data” means any data that is an input to or an output from the Work, where the presence of the data is necessary for substantially identical use of the Work in an equivalent context chosen by the Recipient, and where the Recipient has an existing ownership interest, an existing right to possess, or where the data has been generated by, for, or has been assigned to the Recipient. + +#### 4.2.1. No Withholding User Data + +Throughout any period in which You exercise any of the permissions granted to You under this License, You must also provide to any Recipient to whom you provide services via the Work, a no-charge copy, provided in a commonly used electronic form, of the Recipient’s User Data in your possession, to the extent that such User Data is available to You for use in conjunction with the Work. + +#### 4.2.2. No Technical Measures that Limit Access + +You may not, by the use of cryptographic methods applied to anything provided to the Recipient, by possession or control of cryptographic keys, seeds, or hashes, by other technological protection measures, or by any other method, limit a Recipient's ability to access any functionality present in the Recipient's independent copy of the Work, or deny a Recipient full control of the Recipient's User Data. + +#### 4.2.3. No Legal or Contractual Measures that Limit Access + +You may not contractually restrict a Recipient's ability to independently exercise the permissions granted under this License. You waive any legal power to forbid circumvention of technical protection measures that include use of the Work, and You waive any claim that the capabilities of the Work were limited or modified as a means of enforcing the legal rights of third parties against Recipients. + +### 4.3. Decentralized Code and Decentralized Systems + +You must only run Decentralized Code if: + +> a) it is run by a Decentralized System; and +> +> b) all the data referenced by Decentralized Code is stored on a Decentralized System. + +“Decentralized Code” is a Source Code file marked by the Licensor as “Decentralized Code”. + +“Decentralized System” is a system operating solely in accordance with publicly available Rules where any person or organisation: + +> a) only participates in the system by freely opting in; +> +> b) can interpret system data by reference to the Rules; and +> +> c) can obtain a copy of the system data, provided in a commonly used electronic form, accessible in accordance with the Rules. + +“Rule” is any unambiguous and human comprehensible: + +> a) rule that results in a deterministic outcome when implemented, in a commonly used electronic form; or +> +> b) configuration information, documentation, help materials, and any information reasonably necessary for a Recipient skilled in the art to independently comprehend the rule. + +### 4.4. Maintain Private Key Exclusive Control + +You cannot use the permissions given under this License to provide a Recipient with functionality using the Work that: + +> a) would cause the loss of exclusive control of a private key by a private key holder with exclusive control of a private key; or +> +> b) deals with private keys except by using a Decentralized System. + +### 4.5. Provide Notices and Attribution + +You must retain all licensing, authorship, or attribution notices contained in the Source Code (the “Notices”), and provide all such Notices to each Recipient, together with a statement acknowledging the use of the Work. Notices may be provided directly to a Recipient or via an easy-to-find hyperlink to an Internet location also providing Access to Source Code. + +### 4.6. Scope of Conditions in this License + +You are required to uphold the conditions of this License only relative to those who are Recipients of the Work from You. Other than providing Recipients with the applicable Notices, Access to Source Code, and a copy of and full control of their User Data, nothing in this License requires You to provide processing services to or engage in network interactions with anyone. + +### 4.7. Combined Work Exception + +As an exception to condition that You provide Recipients Access to Source Code, any Source Code files not marked by the Licensor as “Decentralized Code” and as having the “Combined Work Exception,” or any object code exclusively resulting from Source Code files so marked, may be combined with other Software into a “Larger Work.” So long as you: a) comply with the requirements to provide Recipients the applicable Notices and Access to the Source Code provided to You by Licensor, b) you provide Recipients access to their User Data and do not limit Recipient’s ability to independently work with their User Data, c) you comply with the requirements in relation to Decentralized Code and Decentralized Systems, and d) Recipients are able to maintain exclusive control of private cryptographic keys, any other Software in the Larger Work as well as the Larger Work as a whole may be licensed under the terms of your choice. + +## 5. Term and Termination + +The term of this License begins when You receive the Work, and continues until terminated for any of the reasons described herein, or until all Licensor’s intellectual property rights in the Software expire, whichever comes first (“Term”). This License cannot be revoked, only terminated for the reasons listed below. + +### 5.1. Effect of Termination + +If this License is terminated for any reason, all permissions granted to You under Section 3 by any Licensor automatically terminate. You will immediately cease exercising any permissions granted in this License relative to the Work, including as part of any Modified Work. + +### 5.2. Termination for Non-Compliance; Reinstatement + +This License terminates automatically if You fail to comply with any of the conditions in section 4. As a special exception to termination for non-compliance, Your permissions for the Work under this License will automatically be reinstated if You come into compliance with all the conditions in section 2 within sixty (60) days of being notified by Licensor or an intended third party beneficiary of Your noncompliance. You are eligible for reinstatement of permissions for the Work one time only, and only for the sixty days immediately after becoming aware of noncompliance. Loss of permissions granted for the Work under this License due to either a) sustained noncompliance lasting more than sixty days or b) subsequent termination for noncompliance after reinstatement, is permanent, unless rights are specifically restored by Licensor in writing. + +### 5.3 Termination Due to Litigation + +If You initiate litigation against Licensor, or any Recipient of the Work, either direct or indirect, asserting that the Work directly or indirectly infringes any patent, then all permissions granted to You by this License shall terminate. In the event of termination due to litigation, all permissions validly granted by You under this License, directly or indirectly, shall survive termination. Administrative review procedures, declaratory judgment actions, counterclaims in response to patent litigation, and enforcement actions against former Licensees terminated under this section do not cause termination due to litigation. + +## 6. Disclaimer of Warranty and Limit on Liability + +As far as the law allows, the Work comes AS-IS, without any warranty of any kind, and no Licensor or contributor will be liable to anyone for any damages related to this software or this license, under any kind of legal claim, or for any type of damages, including indirect, special, incidental, or consequential damages of any type arising as a result of this License or the use of the Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, loss of profits, revenue, or any and all other commercial damages or losses. + +## 7. Other Provisions + +### 7.1. Affiliates + +An “Affiliate” means any other entity that, directly or indirectly through one or more intermediaries, controls, is controlled by, or is under common control with, the Licensee. Employees of a Licensee and natural persons acting as contractors exclusively providing services to Licensee are also Affiliates. + +### 7.2. Choice of Jurisdiction and Governing Law + +A Licensor may require that any action or suit by a Licensee relating to a Work provided by Licensor under this License may be brought only in the courts of a particular jurisdiction and under the laws of a particular jurisdiction (excluding its conflict-of-law provisions), if Licensor provides conspicuous notice of the particular jurisdiction to all Licensees. + +### 7.3. No Sublicensing + +This License is not sublicensable. Each time You provide the Work or a Modified Work to a Recipient, the Recipient automatically receives a license under the terms described in this License. You may not impose any further reservations, conditions, or other provisions on any Recipients’ exercise of the permissions granted herein. + +### 7.4. Attorneys' Fees + +In any action to enforce the terms of this License, or seeking damages relating thereto, including by an intended third party beneficiary, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. A “prevailing party” is the party that achieves, or avoids, compliance with this License, including through settlement. This section shall survive the termination of this License. + +### 7.5. No Waiver + +Any failure by Licensor to enforce any provision of this License will not constitute a present or future waiver of such provision nor limit Licensor’s ability to enforce such provision at a later time. + +### 7.6. Severability + +If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. Any invalid or unenforceable portion will be interpreted to the effect and intent of the original portion. If such a construction is not possible, the invalid or unenforceable portion will be severed from this License but the rest of this License will remain in full force and effect. + +### 7.7. License for the Text of this License + +The text of this license is released under the Creative Commons Attribution-ShareAlike 4.0 International License, with the caveat that any modifications of this license may not use the name “DecentraLicense” or any name confusingly similar thereto to describe any derived work of this License. diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 00000000..628a11a4 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,27 @@ +version = 1 + +[[annotations]] +path = [ + ".envrc", + ".gas-snapshot", + ".github/workflows/**/", + ".vscode/**/", + "Cargo.lock", + "Cargo.toml", + ".gitignore", + ".gitmodules", + "package-lock.json", + "package.json", + "scripts/**/", + "test_js/**/", + "tsconfig.json", + "README.md", + "crates/**/", + "flake.lock", + "flake.nix", + "foundry.toml", + "slither.config.json", + "REUSE.toml" +] +SPDX-FileCopyrightText = "Copyright (c) 2020 Rain Open Source Software Ltd" +SPDX-License-Identifier = "LicenseRef-DCL-1.0" diff --git a/script/BuildPointers.sol b/script/BuildPointers.sol index fd6c5f7c..2d17b7f5 100644 --- a/script/BuildPointers.sol +++ b/script/BuildPointers.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Script} from "forge-std/Script.sol"; diff --git a/script/Deploy.sol b/script/Deploy.sol index 6dcef5b0..e7b45ab7 100644 --- a/script/Deploy.sol +++ b/script/Deploy.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Script} from "forge-std/Script.sol"; diff --git a/src/concrete/DecimalFloat.sol b/src/concrete/DecimalFloat.sol index f9afd585..e79f7dde 100644 --- a/src/concrete/DecimalFloat.sol +++ b/src/concrete/DecimalFloat.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "../lib/LibDecimalFloat.sol"; diff --git a/src/lib/LibDecimalFloat.sol b/src/lib/LibDecimalFloat.sol index fbfe1893..d59b9f2a 100644 --- a/src/lib/LibDecimalFloat.sol +++ b/src/lib/LibDecimalFloat.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; import { diff --git a/src/lib/deploy/LibDecimalFloatDeploy.sol b/src/lib/deploy/LibDecimalFloatDeploy.sol index 0a5cee3e..21fdf499 100644 --- a/src/lib/deploy/LibDecimalFloatDeploy.sol +++ b/src/lib/deploy/LibDecimalFloatDeploy.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; import { diff --git a/src/lib/implementation/LibDecimalFloatImplementation.sol b/src/lib/implementation/LibDecimalFloatImplementation.sol index b385f97e..412d865e 100644 --- a/src/lib/implementation/LibDecimalFloatImplementation.sol +++ b/src/lib/implementation/LibDecimalFloatImplementation.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; import {ExponentOverflow, Log10Negative, Log10Zero, MulDivOverflow} from "../../error/ErrDecimalFloat.sol"; diff --git a/src/lib/table/LibLogTable.sol b/src/lib/table/LibLogTable.sol index 6d88e4a4..b0532088 100644 --- a/src/lib/table/LibLogTable.sol +++ b/src/lib/table/LibLogTable.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; uint16 constant ALT_TABLE_FLAG = 0x8000; diff --git a/test/abstract/LogTest.sol b/test/abstract/LogTest.sol index 8d06f196..74a6a170 100644 --- a/test/abstract/LogTest.sol +++ b/test/abstract/LogTest.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; // Re-export console2 here for convenience. diff --git a/test/concrete/DecimalFloat.packLossless.t.sol b/test/concrete/DecimalFloat.packLossless.t.sol index a26fcf35..06a2d9c4 100644 --- a/test/concrete/DecimalFloat.packLossless.t.sol +++ b/test/concrete/DecimalFloat.packLossless.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/concrete/TestDecimalFloat.sol b/test/concrete/TestDecimalFloat.sol index 2e709c8f..e10a4bab 100644 --- a/test/concrete/TestDecimalFloat.sol +++ b/test/concrete/TestDecimalFloat.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/concrete/TestDecimalFloat.unpack.t.sol b/test/concrete/TestDecimalFloat.unpack.t.sol index b074adeb..aa1ed12b 100644 --- a/test/concrete/TestDecimalFloat.unpack.t.sol +++ b/test/concrete/TestDecimalFloat.unpack.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/lib/LibCommonResults.sol b/test/lib/LibCommonResults.sol index 0f209286..197f4225 100644 --- a/test/lib/LibCommonResults.sol +++ b/test/lib/LibCommonResults.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; int256 constant ONES = 1111111111111111111111111111111111111111111111111111111111111111111111111111; diff --git a/test/lib/LibDecimalFloatSlow.sol b/test/lib/LibDecimalFloatSlow.sol index 03fcdb63..e349723b 100644 --- a/test/lib/LibDecimalFloatSlow.sol +++ b/test/lib/LibDecimalFloatSlow.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; import {LibDecimalFloatImplementation} from "src/lib/implementation/LibDecimalFloatImplementation.sol"; diff --git a/test/lib/implementation/LibDecimalFloatImplementationSlow.sol b/test/lib/implementation/LibDecimalFloatImplementationSlow.sol index 576b7059..607228ce 100644 --- a/test/lib/implementation/LibDecimalFloatImplementationSlow.sol +++ b/test/lib/implementation/LibDecimalFloatImplementationSlow.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity ^0.8.25; library LibDecimalFloatImplementationSlow { diff --git a/test/src/concrete/DecimalFloat.abs.t.sol b/test/src/concrete/DecimalFloat.abs.t.sol index 08c219c6..f584eafd 100644 --- a/test/src/concrete/DecimalFloat.abs.t.sol +++ b/test/src/concrete/DecimalFloat.abs.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.add.t.sol b/test/src/concrete/DecimalFloat.add.t.sol index f2294b1d..bbebd688 100644 --- a/test/src/concrete/DecimalFloat.add.t.sol +++ b/test/src/concrete/DecimalFloat.add.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.ceil.t.sol b/test/src/concrete/DecimalFloat.ceil.t.sol index 36fb01e5..eca87ef6 100644 --- a/test/src/concrete/DecimalFloat.ceil.t.sol +++ b/test/src/concrete/DecimalFloat.ceil.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.constants.t.sol b/test/src/concrete/DecimalFloat.constants.t.sol index 363260ca..4c11a220 100644 --- a/test/src/concrete/DecimalFloat.constants.t.sol +++ b/test/src/concrete/DecimalFloat.constants.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.div.t.sol b/test/src/concrete/DecimalFloat.div.t.sol index 6fba4597..41d2d9f9 100644 --- a/test/src/concrete/DecimalFloat.div.t.sol +++ b/test/src/concrete/DecimalFloat.div.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.eq.t.sol b/test/src/concrete/DecimalFloat.eq.t.sol index 57141fb5..f1ef3853 100644 --- a/test/src/concrete/DecimalFloat.eq.t.sol +++ b/test/src/concrete/DecimalFloat.eq.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.floor.t.sol b/test/src/concrete/DecimalFloat.floor.t.sol index 987f9c57..d41b08b2 100644 --- a/test/src/concrete/DecimalFloat.floor.t.sol +++ b/test/src/concrete/DecimalFloat.floor.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.format.t.sol b/test/src/concrete/DecimalFloat.format.t.sol index b5a95f12..90ef4248 100644 --- a/test/src/concrete/DecimalFloat.format.t.sol +++ b/test/src/concrete/DecimalFloat.format.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.frac.t.sol b/test/src/concrete/DecimalFloat.frac.t.sol index eba5431b..31208cde 100644 --- a/test/src/concrete/DecimalFloat.frac.t.sol +++ b/test/src/concrete/DecimalFloat.frac.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.fromFixedDecimalLossless.t.sol b/test/src/concrete/DecimalFloat.fromFixedDecimalLossless.t.sol index e2d2b6df..7fbea633 100644 --- a/test/src/concrete/DecimalFloat.fromFixedDecimalLossless.t.sol +++ b/test/src/concrete/DecimalFloat.fromFixedDecimalLossless.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/concrete/DecimalFloat.fromFixedDecimalLossy.t.sol b/test/src/concrete/DecimalFloat.fromFixedDecimalLossy.t.sol index 0f445685..d6efb19e 100644 --- a/test/src/concrete/DecimalFloat.fromFixedDecimalLossy.t.sol +++ b/test/src/concrete/DecimalFloat.fromFixedDecimalLossy.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/concrete/DecimalFloat.gt.t.sol b/test/src/concrete/DecimalFloat.gt.t.sol index fa169a12..ed77893c 100644 --- a/test/src/concrete/DecimalFloat.gt.t.sol +++ b/test/src/concrete/DecimalFloat.gt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.gte.t.sol b/test/src/concrete/DecimalFloat.gte.t.sol index 44d4a48e..ff144345 100644 --- a/test/src/concrete/DecimalFloat.gte.t.sol +++ b/test/src/concrete/DecimalFloat.gte.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.inv.t.sol b/test/src/concrete/DecimalFloat.inv.t.sol index 5452752e..98ea326f 100644 --- a/test/src/concrete/DecimalFloat.inv.t.sol +++ b/test/src/concrete/DecimalFloat.inv.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.isZero.t.sol b/test/src/concrete/DecimalFloat.isZero.t.sol index f3da8a52..b80617a4 100644 --- a/test/src/concrete/DecimalFloat.isZero.t.sol +++ b/test/src/concrete/DecimalFloat.isZero.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.log10.t.sol b/test/src/concrete/DecimalFloat.log10.t.sol index 93ed0202..1877ff93 100644 --- a/test/src/concrete/DecimalFloat.log10.t.sol +++ b/test/src/concrete/DecimalFloat.log10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.lt.t.sol b/test/src/concrete/DecimalFloat.lt.t.sol index ae1953de..a85d8ddf 100644 --- a/test/src/concrete/DecimalFloat.lt.t.sol +++ b/test/src/concrete/DecimalFloat.lt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.lte.t.sol b/test/src/concrete/DecimalFloat.lte.t.sol index 0599de97..d35c8903 100644 --- a/test/src/concrete/DecimalFloat.lte.t.sol +++ b/test/src/concrete/DecimalFloat.lte.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.max.t.sol b/test/src/concrete/DecimalFloat.max.t.sol index b440a023..06f0a360 100644 --- a/test/src/concrete/DecimalFloat.max.t.sol +++ b/test/src/concrete/DecimalFloat.max.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.min.t.sol b/test/src/concrete/DecimalFloat.min.t.sol index 8f2d083c..c1fdb4bf 100644 --- a/test/src/concrete/DecimalFloat.min.t.sol +++ b/test/src/concrete/DecimalFloat.min.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.minus.t.sol b/test/src/concrete/DecimalFloat.minus.t.sol index 68133c3c..ac664142 100644 --- a/test/src/concrete/DecimalFloat.minus.t.sol +++ b/test/src/concrete/DecimalFloat.minus.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.mul.t.sol b/test/src/concrete/DecimalFloat.mul.t.sol index a2dbc6bd..ea32e9f1 100644 --- a/test/src/concrete/DecimalFloat.mul.t.sol +++ b/test/src/concrete/DecimalFloat.mul.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/concrete/DecimalFloat.parse.t.sol b/test/src/concrete/DecimalFloat.parse.t.sol index d841c94a..3bacc4be 100644 --- a/test/src/concrete/DecimalFloat.parse.t.sol +++ b/test/src/concrete/DecimalFloat.parse.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/concrete/DecimalFloat.pow.t.sol b/test/src/concrete/DecimalFloat.pow.t.sol index c83bce34..1e0e380b 100644 --- a/test/src/concrete/DecimalFloat.pow.t.sol +++ b/test/src/concrete/DecimalFloat.pow.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.pow10.t.sol b/test/src/concrete/DecimalFloat.pow10.t.sol index 77fdb4ea..f9a3844e 100644 --- a/test/src/concrete/DecimalFloat.pow10.t.sol +++ b/test/src/concrete/DecimalFloat.pow10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.sqrt.t.sol b/test/src/concrete/DecimalFloat.sqrt.t.sol index 2553f046..6ecc8325 100644 --- a/test/src/concrete/DecimalFloat.sqrt.t.sol +++ b/test/src/concrete/DecimalFloat.sqrt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.sub.t.sol b/test/src/concrete/DecimalFloat.sub.t.sol index f0de67ab..7945b6fa 100644 --- a/test/src/concrete/DecimalFloat.sub.t.sol +++ b/test/src/concrete/DecimalFloat.sub.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/concrete/DecimalFloat.toFixedDecimalLossless.t.sol b/test/src/concrete/DecimalFloat.toFixedDecimalLossless.t.sol index 47111352..3fb17d6d 100644 --- a/test/src/concrete/DecimalFloat.toFixedDecimalLossless.t.sol +++ b/test/src/concrete/DecimalFloat.toFixedDecimalLossless.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/concrete/DecimalFloat.toFixedDecimalLossy.t.sol b/test/src/concrete/DecimalFloat.toFixedDecimalLossy.t.sol index b5059cbe..382d5e17 100644 --- a/test/src/concrete/DecimalFloat.toFixedDecimalLossy.t.sol +++ b/test/src/concrete/DecimalFloat.toFixedDecimalLossy.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/LibDecimalFloat.abs.t.sol b/test/src/lib/LibDecimalFloat.abs.t.sol index afd9ad63..2d5c5488 100644 --- a/test/src/lib/LibDecimalFloat.abs.t.sol +++ b/test/src/lib/LibDecimalFloat.abs.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/LibDecimalFloat.add.t.sol b/test/src/lib/LibDecimalFloat.add.t.sol index d784996d..9e707494 100644 --- a/test/src/lib/LibDecimalFloat.add.t.sol +++ b/test/src/lib/LibDecimalFloat.add.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.ceil.t.sol b/test/src/lib/LibDecimalFloat.ceil.t.sol index 49742ce5..b42c8781 100644 --- a/test/src/lib/LibDecimalFloat.ceil.t.sol +++ b/test/src/lib/LibDecimalFloat.ceil.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.constants.t.sol b/test/src/lib/LibDecimalFloat.constants.t.sol index b229e6b6..da43db28 100644 --- a/test/src/lib/LibDecimalFloat.constants.t.sol +++ b/test/src/lib/LibDecimalFloat.constants.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.decimal.t.sol b/test/src/lib/LibDecimalFloat.decimal.t.sol index 23c5da2e..f67c7df4 100644 --- a/test/src/lib/LibDecimalFloat.decimal.t.sol +++ b/test/src/lib/LibDecimalFloat.decimal.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/LibDecimalFloat.decimalLossless.t.sol b/test/src/lib/LibDecimalFloat.decimalLossless.t.sol index 9b247f27..dff7b0f8 100644 --- a/test/src/lib/LibDecimalFloat.decimalLossless.t.sol +++ b/test/src/lib/LibDecimalFloat.decimalLossless.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/LibDecimalFloat.div.t.sol b/test/src/lib/LibDecimalFloat.div.t.sol index 87459c55..c841e0f5 100644 --- a/test/src/lib/LibDecimalFloat.div.t.sol +++ b/test/src/lib/LibDecimalFloat.div.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.eq.t.sol b/test/src/lib/LibDecimalFloat.eq.t.sol index e5b087df..8d90acd4 100644 --- a/test/src/lib/LibDecimalFloat.eq.t.sol +++ b/test/src/lib/LibDecimalFloat.eq.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.floor.t.sol b/test/src/lib/LibDecimalFloat.floor.t.sol index 57f64fc3..8309d365 100644 --- a/test/src/lib/LibDecimalFloat.floor.t.sol +++ b/test/src/lib/LibDecimalFloat.floor.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.frac.t.sol b/test/src/lib/LibDecimalFloat.frac.t.sol index eedac9fa..5414f7ec 100644 --- a/test/src/lib/LibDecimalFloat.frac.t.sol +++ b/test/src/lib/LibDecimalFloat.frac.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.gt.t.sol b/test/src/lib/LibDecimalFloat.gt.t.sol index 814fe126..02e55ea0 100644 --- a/test/src/lib/LibDecimalFloat.gt.t.sol +++ b/test/src/lib/LibDecimalFloat.gt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.gte.t.sol b/test/src/lib/LibDecimalFloat.gte.t.sol index cec99edd..d270b34a 100644 --- a/test/src/lib/LibDecimalFloat.gte.t.sol +++ b/test/src/lib/LibDecimalFloat.gte.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.inv.t.sol b/test/src/lib/LibDecimalFloat.inv.t.sol index 837d3cde..98ac05b0 100644 --- a/test/src/lib/LibDecimalFloat.inv.t.sol +++ b/test/src/lib/LibDecimalFloat.inv.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/LibDecimalFloat.isZero.t.sol b/test/src/lib/LibDecimalFloat.isZero.t.sol index fb276671..ea967b5d 100644 --- a/test/src/lib/LibDecimalFloat.isZero.t.sol +++ b/test/src/lib/LibDecimalFloat.isZero.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.log10.t.sol b/test/src/lib/LibDecimalFloat.log10.t.sol index a99747ca..386f97ff 100644 --- a/test/src/lib/LibDecimalFloat.log10.t.sol +++ b/test/src/lib/LibDecimalFloat.log10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.lt.t.sol b/test/src/lib/LibDecimalFloat.lt.t.sol index dac37115..9eebb8ca 100644 --- a/test/src/lib/LibDecimalFloat.lt.t.sol +++ b/test/src/lib/LibDecimalFloat.lt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.lte.t.sol b/test/src/lib/LibDecimalFloat.lte.t.sol index 3c62d1e3..1ddf1b0a 100644 --- a/test/src/lib/LibDecimalFloat.lte.t.sol +++ b/test/src/lib/LibDecimalFloat.lte.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.max.t.sol b/test/src/lib/LibDecimalFloat.max.t.sol index 4a36d3e0..795819b4 100644 --- a/test/src/lib/LibDecimalFloat.max.t.sol +++ b/test/src/lib/LibDecimalFloat.max.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/LibDecimalFloat.min.t.sol b/test/src/lib/LibDecimalFloat.min.t.sol index a9b0fff5..fa7f0806 100644 --- a/test/src/lib/LibDecimalFloat.min.t.sol +++ b/test/src/lib/LibDecimalFloat.min.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/LibDecimalFloat.minus.t.sol b/test/src/lib/LibDecimalFloat.minus.t.sol index d5ee1ee7..233dcb68 100644 --- a/test/src/lib/LibDecimalFloat.minus.t.sol +++ b/test/src/lib/LibDecimalFloat.minus.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.mixed.t.sol b/test/src/lib/LibDecimalFloat.mixed.t.sol index ba0c9789..9b30b4cf 100644 --- a/test/src/lib/LibDecimalFloat.mixed.t.sol +++ b/test/src/lib/LibDecimalFloat.mixed.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.mul.t.sol b/test/src/lib/LibDecimalFloat.mul.t.sol index e9f610ea..a345a1e2 100644 --- a/test/src/lib/LibDecimalFloat.mul.t.sol +++ b/test/src/lib/LibDecimalFloat.mul.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float, EXPONENT_MIN, EXPONENT_MAX} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.pack.t.sol b/test/src/lib/LibDecimalFloat.pack.t.sol index 40cbdf4a..065e9707 100644 --- a/test/src/lib/LibDecimalFloat.pack.t.sol +++ b/test/src/lib/LibDecimalFloat.pack.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, ExponentOverflow, Float, EXPONENT_MAX} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.pow.t.sol b/test/src/lib/LibDecimalFloat.pow.t.sol index 501a1bd0..3f4426cf 100644 --- a/test/src/lib/LibDecimalFloat.pow.t.sol +++ b/test/src/lib/LibDecimalFloat.pow.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LogTest} from "../../abstract/LogTest.sol"; diff --git a/test/src/lib/LibDecimalFloat.pow10.t.sol b/test/src/lib/LibDecimalFloat.pow10.t.sol index 960d8657..1312b1d7 100644 --- a/test/src/lib/LibDecimalFloat.pow10.t.sol +++ b/test/src/lib/LibDecimalFloat.pow10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float, ExponentOverflow} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/LibDecimalFloat.sqrt.t.sol b/test/src/lib/LibDecimalFloat.sqrt.t.sol index ec56d5b9..e71f2787 100644 --- a/test/src/lib/LibDecimalFloat.sqrt.t.sol +++ b/test/src/lib/LibDecimalFloat.sqrt.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LogTest} from "../../abstract/LogTest.sol"; diff --git a/test/src/lib/LibDecimalFloat.sub.t.sol b/test/src/lib/LibDecimalFloat.sub.t.sol index 2e9b5f19..79148f4a 100644 --- a/test/src/lib/LibDecimalFloat.sub.t.sol +++ b/test/src/lib/LibDecimalFloat.sub.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloat, Float, EXPONENT_MIN, EXPONENT_MAX} from "src/lib/LibDecimalFloat.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.add.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.add.t.sol index f93ac251..c101c138 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.add.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.add.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.characteristicMantissa.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.characteristicMantissa.t.sol index 00362118..0f219c4c 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.characteristicMantissa.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.characteristicMantissa.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.div.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.div.t.sol index cb5f454d..1090eb93 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.div.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.div.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.eq.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.eq.t.sol index 3842cdd7..de47cc2c 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.eq.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.eq.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloatImplementation} from "src/lib/implementation/LibDecimalFloatImplementation.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.inv.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.inv.t.sol index b1a4be20..b08d6e97 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.inv.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.inv.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.log10.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.log10.t.sol index 3cb68556..8a57bb87 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.log10.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.log10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LibDecimalFloatImplementation} from "src/lib/implementation/LibDecimalFloatImplementation.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.maximize.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.maximize.t.sol index 2c3fc6c9..15e06504 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.maximize.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.maximize.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.minus.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.minus.t.sol index 605da7b7..79dd25c2 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.minus.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.minus.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.mul.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.mul.t.sol index 4a90624f..b073fab8 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.mul.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.mul.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.normalize.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.normalize.t.sol index 2981dbfe..4d395a79 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.normalize.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.normalize.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.pow10.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.pow10.t.sol index f0e2639b..4e3f74bc 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.pow10.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.pow10.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {LogTest} from "../../../abstract/LogTest.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.sub.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.sub.t.sol index 4ae1638a..86654f73 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.sub.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.sub.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.unabsUnsignedMulOrDivLossy.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.unabsUnsignedMulOrDivLossy.t.sol index e6d8d4c4..6f52e921 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.unabsUnsignedMulOrDivLossy.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.unabsUnsignedMulOrDivLossy.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/implementation/LibDecimalFloatImplementation.withTargetExponent.t.sol b/test/src/lib/implementation/LibDecimalFloatImplementation.withTargetExponent.t.sol index e2f8f498..d9984cc5 100644 --- a/test/src/lib/implementation/LibDecimalFloatImplementation.withTargetExponent.t.sol +++ b/test/src/lib/implementation/LibDecimalFloatImplementation.withTargetExponent.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import { diff --git a/test/src/lib/parse/LibParseDecimalFloat.t.sol b/test/src/lib/parse/LibParseDecimalFloat.t.sol index 47e17281..4734f4a3 100644 --- a/test/src/lib/parse/LibParseDecimalFloat.t.sol +++ b/test/src/lib/parse/LibParseDecimalFloat.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test} from "forge-std/Test.sol"; diff --git a/test/src/lib/table/LibLogTable.bytes.t.sol b/test/src/lib/table/LibLogTable.bytes.t.sol index b47aaaf6..7012ee88 100644 --- a/test/src/lib/table/LibLogTable.bytes.t.sol +++ b/test/src/lib/table/LibLogTable.bytes.t.sol @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: CAL +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd pragma solidity =0.8.25; import {Test, console2} from "forge-std/Test.sol"; From 53ee64b3d91ee4d7fe37faf2410e14f986ca9689 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 26 Aug 2025 17:26:23 +0400 Subject: [PATCH 2/3] lint pointers --- src/generated/LogTables.pointers.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/generated/LogTables.pointers.sol b/src/generated/LogTables.pointers.sol index 8074ed34..a19220fd 100644 --- a/src/generated/LogTables.pointers.sol +++ b/src/generated/LogTables.pointers.sol @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: LicenseRef-DCL-1.0 +// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd +pragma solidity ^0.8.25; + // THIS FILE IS AUTOGENERATED BY ./script/BuildPointers.sol // This file is committed to the repository because there is a circular @@ -5,10 +9,6 @@ // needs the pointers file to exist so that it can compile, and the pointers // file needs the contract to exist so that it can be compiled. -// SPDX-License-Identifier: LicenseRef-DCL-1.0 -// SPDX-FileCopyrightText: Copyright (c) 2020 Rain Open Source Software Ltd -pragma solidity =0.8.25; - /// @dev Hash of the known bytecode. bytes32 constant BYTECODE_HASH = bytes32(0x0000000000000000000000000000000000000000000000000000000000000000); From 78b614da4cd83da073b70ce16b285a2c8d0d61f4 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Tue, 26 Aug 2025 19:21:14 +0400 Subject: [PATCH 3/3] codegen update --- lib/rain.sol.codegen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rain.sol.codegen b/lib/rain.sol.codegen index d9e50041..769792d5 160000 --- a/lib/rain.sol.codegen +++ b/lib/rain.sol.codegen @@ -1 +1 @@ -Subproject commit d9e500412bab7fd21008e1fbf1a8ecd79f2f898e +Subproject commit 769792d577a7ecae954a7cdd64a222b8d6fe450d