From 85cc752b917a06e00a12abc9f10fed50cc7fad00 Mon Sep 17 00:00:00 2001 From: gozzy Date: Mon, 20 Mar 2023 18:55:52 +0000 Subject: [PATCH] oz contracts --- .gitmodules | 12 ++++++++++++ lib/openzeppelin-contracts | 1 + remappings.txt | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 .gitmodules create mode 160000 lib/openzeppelin-contracts diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..68c6623 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,12 @@ +[submodule "lib/forge-std"] + path = lib/forge-std + url = https://github.com/foundry-rs/forge-std + branch = v1.5.1 +[submodule "lib/prb-math"] + path = lib/prb-math + url = https://github.com/paulRBerg/prb-math + branch = v3 +[submodule "lib/openzeppelin-contracts"] + path = lib/openzeppelin-contracts + url = https://github.com/OpenZeppelin/openzeppelin-contracts + branch = v4.8.2 diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts new file mode 160000 index 0000000..d00acef --- /dev/null +++ b/lib/openzeppelin-contracts @@ -0,0 +1 @@ +Subproject commit d00acef4059807535af0bd0dd0ddf619747a044b diff --git a/remappings.txt b/remappings.txt index 3e86707..99f7968 100644 --- a/remappings.txt +++ b/remappings.txt @@ -1,4 +1,6 @@ @prb/math/=lib/prb-math/src/ +@openzeppelin/=lib/openzeppelin-contracts/contracts/ +@interfaces/=src/interfaces/ @root/=src/ forge-std/=lib/forge-std/src/