Skip to content

Commit 346b48f

Browse files
update remappings and add contract starter
1 parent 82ef36d commit 346b48f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

remappings.txt

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ halmos-cheatcodes=node_modules/halmos-cheatcodes
33

44
contracts/=src/contracts
55
interfaces/=src/interfaces
6+
7+
@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/
8+
@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/

src/contracts/DonationHandler.sol

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity ^0.8.0;
3+
4+
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
5+
import "@openzeppelin/contracts/interfaces/IERC20.sol";
6+
import "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";
7+
8+
9+
10+
11+
contract DonationHandler is OwnableUpgradeable, ReentrancyGuardUpgradeable {
12+
13+
14+
15+
}

0 commit comments

Comments
 (0)