Skip to content

Commit

Permalink
chore: revert back id change
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Nov 3, 2023
1 parent 8cc04d9 commit a12568c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ jobs:
slither-analyze:
runs-on: "ubuntu-latest"
permissions:
actions: "read"
contents: "read"
security-events: "write"
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -193,13 +197,14 @@ jobs:
version: nightly

- name: Compile foundry
run: forge build --build-info --force
run: forge build --build-info --skip */test/** */scripts/** --force

- name: See output
run: ls -la out

- name: "Run Slither analysis"
uses: "crytic/[email protected]"
id: slither
with:
fail-on: "none"
sarif: "results.sarif"
Expand Down
20 changes: 20 additions & 0 deletions contracts/MockAgEUR.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.20;

import "oz/token/ERC20/ERC20.sol";
import "oz/access/Ownable.sol";

contract MockAgEUR is ERC20, Ownable {
constructor() ERC20("Mock Token", "MTK") Ownable(msg.sender) {}

// ================================= FUNCTIONS =================================

function mint(address _to, uint256 _amount) external onlyOwner {
_mint(_to, _amount);
}

function burn(address _from, uint256 _amount) external onlyOwner {
_burn(_from, _amount);
}
}

0 comments on commit a12568c

Please sign in to comment.