diff --git a/.gitmodules b/.gitmodules index acd01fd..9a259c4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "packages/contracts/lib/forge-std"] path = packages/contracts/lib/forge-std url = https://github.com/foundry-rs/forge-std +[submodule "packages/contracts/lib/openzeppelin-contracts"] + path = packages/contracts/lib/openzeppelin-contracts + url = https://github.com/OpenZeppelin/openzeppelin-contracts diff --git a/packages/contracts/.gitignore b/packages/contracts/.gitignore index 00dad77..2003cd4 100644 --- a/packages/contracts/.gitignore +++ b/packages/contracts/.gitignore @@ -9,3 +9,4 @@ typechain-types cache artifacts +out diff --git a/packages/contracts/lib/openzeppelin-contracts b/packages/contracts/lib/openzeppelin-contracts new file mode 160000 index 0000000..0a25c19 --- /dev/null +++ b/packages/contracts/lib/openzeppelin-contracts @@ -0,0 +1 @@ +Subproject commit 0a25c1940ca220686588c4af3ec526f725fe2582 diff --git a/packages/contracts/remappings.txt b/packages/contracts/remappings.txt new file mode 100644 index 0000000..8498ff5 --- /dev/null +++ b/packages/contracts/remappings.txt @@ -0,0 +1,2 @@ +@openzeppelin/=lib/openzeppelin-contracts/ +