Skip to content

Commit

Permalink
Next Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
WillStansill committed Jan 6, 2025
1 parent 5fe5b96 commit abc8c06
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 6 deletions.
13 changes: 12 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,15 @@ src = "src"
out = "out"
libs = ["lib"]

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
# Add remappings to resolve imports correctly
remappings = [
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"forge-std/=lib/forge-std/src/"
]

# Include settings to optimize Foundry workflows
[default]
evm_version = "paris" # Set to the desired EVM version (e.g., istanbul, london, paris)
optimizer = true
optimizer_runs = 200
ffi = true # Enable ffi if your tests/scripts require external calls
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Tokens/ERC1400/ERC1400.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pragma solidity ^0.8.0;

import {Math} from "lib/openzeppelin-contracts/contracts/utils/math/Math.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {Ownable} from "lib/openzeppelin-contracts/contracts/access/Ownable.sol";
import {IERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";

contract ERC1400 is IERC20, Ownable {
using Math for uint256;
Expand Down
2 changes: 1 addition & 1 deletion src/Tokens/MANA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.0;

import {ERC1400} from "./ERC1400/ERC1400.sol"; // Import the ERC1400
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol";
import {Math} from "lib/openzeppelin-contracts/contracts/utils/math/Math.sol";

contract MANA is ERC1400 {
using Math for uint256;
Expand Down
4 changes: 2 additions & 2 deletions src/Tokens/ManaToken.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "lib/openzeppelin-contracts/contracts/access/Ownable.sol";
import {MANA} from "./MANA.sol";

contract ManaToken is ERC20, Ownable {
Expand Down

0 comments on commit abc8c06

Please sign in to comment.