Skip to content

Commit

Permalink
Soften solidity version of Datatypes libraries (#762)
Browse files Browse the repository at this point in the history
* fix: Soften solidity version of DataTypes libraries

* "Soft" Solidity to ^0.8.0 on libraries/math, libraries/configuration and libraries/helpers

Co-authored-by: eboado <[email protected]>
  • Loading branch information
miguelmtzinf and eboadom authored Dec 12, 2022
1 parent 518d1f0 commit 2b1354b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Errors} from '../helpers/Errors.sol';
import {DataTypes} from '../types/DataTypes.sol';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {Errors} from '../helpers/Errors.sol';
import {DataTypes} from '../types/DataTypes.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/helpers/Errors.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title Errors library
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/helpers/Helpers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {IERC20} from '../../../dependencies/openzeppelin/contracts/IERC20.sol';
import {DataTypes} from '../types/DataTypes.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/math/MathUtils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

import {WadRayMath} from './WadRayMath.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/math/PercentageMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title PercentageMath library
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/math/WadRayMath.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

/**
* @title WadRayMath library
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

library ConfiguratorInputTypes {
struct InitReserveInput {
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/libraries/types/DataTypes.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.10;
pragma solidity ^0.8.0;

library DataTypes {
struct ReserveData {
Expand Down

0 comments on commit 2b1354b

Please sign in to comment.