mirror of https://github.com/logos-co/staking.git
introduced a ^ in the solidity compiler version
This commit is contained in:
parent
79006d72ea
commit
9d0bb25715
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
import "./StakeManager.sol";
|
import "./StakeManager.sol";
|
||||||
import "@openzeppelin/contracts/access/Ownable.sol";
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/access/Ownable.sol";
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
/// @dev `Owned` is a base level contract that assigns an `owner` that can be
|
/// @dev `Owned` is a base level contract that assigns an `owner` that can be
|
||||||
/// later changed
|
/// later changed
|
||||||
contract Owned {
|
contract Owned {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
import "./SNTPlaceHolder.sol";
|
import "./SNTPlaceHolder.sol";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
import "./token/TokenController.sol";
|
import "./token/TokenController.sol";
|
||||||
import "./token/MiniMeToken.sol";
|
import "./token/MiniMeToken.sol";
|
||||||
import "./SafeMath.sol";
|
import "./SafeMath.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Math operations with safety checks
|
* Math operations with safety checks
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
import { MiniMeToken } from "../token/MiniMeToken.sol";
|
import { MiniMeToken } from "../token/MiniMeToken.sol";
|
||||||
import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
|
import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
abstract contract ApproveAndCallFallBack {
|
abstract contract ApproveAndCallFallBack {
|
||||||
function receiveApproval(address from, uint256 _amount, address _token, bytes memory _data) virtual public;
|
function receiveApproval(address from, uint256 _amount, address _token, bytes memory _data) virtual public;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
|
|
||||||
contract Controlled {
|
contract Controlled {
|
||||||
string internal constant ERR_BAD_PARAMETER = "Bad parameter";
|
string internal constant ERR_BAD_PARAMETER = "Bad parameter";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
/*
|
/*
|
||||||
Copyright 2016, Jordi Baylina
|
Copyright 2016, Jordi Baylina
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
import "./MiniMeToken.sol";
|
import "./MiniMeToken.sol";
|
||||||
|
|
||||||
////////////////
|
////////////////
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0
|
// SPDX-License-Identifier: GPL-3.0
|
||||||
pragma solidity 0.8.18;
|
pragma solidity ^0.8.18;
|
||||||
/**
|
/**
|
||||||
* @dev The token controller contract must implement these functions
|
* @dev The token controller contract must implement these functions
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue