Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: solidity compiler version upper than #35

Merged
merged 1 commit into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/external/ProxyAdmin.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "./TransparentUpgradeableProxy.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
8 changes: 2 additions & 6 deletions contracts/interfaces/IAgToken.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

Expand All @@ -27,11 +27,7 @@
/// @dev This method is to be called by a contract with the minter right after being requested
/// to do so by a `sender` address willing to burn tokens from another `burner` address
/// @dev The method checks the allowance between the `sender` and the `burner`
function burnFrom(
uint256 amount,
address burner,
address sender
) external;
function burnFrom(uint256 amount, address burner, address sender) external;

Check warning on line 30 in contracts/interfaces/IAgToken.sol

View workflow job for this annotation

GitHub Actions / Run Linters

Replace uint256·amount,·address·burner,·address·sender with ⏎········uint256·amount,⏎········address·burner,⏎········address·sender⏎····

/// @notice Burns `amount` tokens from a `burner` address
/// @param amount Amount of tokens to burn
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ICore.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

/// @title ICore
/// @author Angle Labs, Inc.
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/ITreasury.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "./IAgToken.sol";
import "./ICore.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/mock/MockCoreBorrow.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

contract MockCoreBorrow {
mapping(address => bool) public governors;
Expand Down
2 changes: 1 addition & 1 deletion contracts/mock/MockMerklGaugeMiddleman.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

import "../middleman/MerklGaugeMiddleman.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/mock/MockTreasury.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity ^0.8.17;

contract MockTreasury {
address public stablecoin;
Expand Down
Loading