-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from Axis-Fi/soldeer
Soldeer Packaging
- Loading branch information
Showing
134 changed files
with
439 additions
and
815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 | ||
version: 9 | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
@@ -48,24 +48,25 @@ jobs: | |
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Build local ecies-cli for use with testing | ||
run: cd crates/ecies-cli && cargo build && cd ../.. | ||
|
||
- name: Repo Install Script | ||
- name: Install Dependencies | ||
run: | | ||
chmod +x ./install.sh | ||
./install.sh | ||
pnpm install | ||
shell: bash | ||
|
||
- name: Run lint check | ||
run: pnpm run lint:check | ||
|
||
- name: Run Forge build | ||
- name: Build Solidity Contracts | ||
run: | | ||
forge --version | ||
forge build | ||
id: build | ||
|
||
- name: Build ECIES CLI | ||
run: | | ||
pnpm run build:ecies-cli | ||
id: build-ecies-cli | ||
|
||
- name: Run Forge tests | ||
run: | | ||
pnpm run test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ node_modules/ | |
|
||
# Bytecode | ||
bytecode/ | ||
|
||
# soldeer | ||
dependencies/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +0,0 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "lib/solady"] | ||
path = lib/solady | ||
url = https://github.com/vectorized/solady | ||
[submodule "lib/solmate"] | ||
path = lib/solmate | ||
url = https://github.com/transmissions11/solmate | ||
[submodule "lib/prb-math"] | ||
path = lib/prb-math | ||
url = https://github.com/PaulRBerg/prb-math | ||
[submodule "lib/uniswap-v3-periphery"] | ||
path = lib/uniswap-v3-periphery | ||
url = https://github.com/uniswap/v3-periphery | ||
[submodule "lib/uniswap-v3-core"] | ||
path = lib/uniswap-v3-core | ||
url = https://github.com/uniswap/v3-core | ||
[submodule "lib/openzeppelin-contracts"] | ||
path = lib/openzeppelin-contracts | ||
url = https://github.com/openzeppelin/openzeppelin-contracts | ||
[submodule "lib/openzeppelin-contracts-upgradeable"] | ||
path = lib/openzeppelin-contracts-upgradeable | ||
url = https://github.com/openzeppelin/openzeppelin-contracts-upgradeable | ||
[submodule "lib/uniswap-v2-core"] | ||
path = lib/uniswap-v2-core | ||
url = https://github.com/uniswap/v2-core | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Changelog | ||
|
||
## 0.5.1 | ||
|
||
- Migrates all dependencies over to soldeer packages and away from git submodules (#222) | ||
- Removes redundant dependencies (prb-math, uniswap-v3-periphery) (#222) | ||
- Packages the repository as a soldeer package (#222) | ||
- Use implicit imports in interfaces (#223) | ||
- Improvements to constant and deployment addresses (#220) | ||
|
||
## 0.5.0 | ||
|
||
- Adds SVG for derivative tokens deployed using the LinearVesting module (#210) | ||
- Define the referrer fee on a per-auction basis (#216) | ||
- Standardise percentages on 2 basis points (100% = 100e2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,13 @@ ignore = [ | |
] | ||
|
||
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options | ||
|
||
[dependencies] | ||
forge-std = { version = "1.9.1" } | ||
solmate = { version = "6.7.0", url = "[email protected]:transmissions11/solmate.git", commit = "c892309933b25c03d32b1b0d674df7ae292ba925" } | ||
solady = { version = "0.0.124" } | ||
"@openzeppelin-contracts" = { version = "4.9.2" } | ||
"@openzeppelin-contracts-upgradeable" = { version = "4.9.2" } | ||
"@uniswap-v2-core" = { version = "1.0.1" } | ||
"@uniswap-v3-core" = { version = "1.0.1-solc-0.8-simulate" } | ||
clones-with-immutable-args = { version = "1.1.1", git = "[email protected]:wighawag/clones-with-immutable-args.git", rev = "f5ca191afea933d50a36d101009b5644dc28bc99" } |
This file was deleted.
Oops, something went wrong.
Submodule forge-std
deleted from
f73c73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule openzeppelin-contracts
deleted from
d6b63a
Submodule openzeppelin-contracts-upgradeable
deleted from
dda497
Submodule prb-math
deleted from
9dc065
Submodule solady
deleted from
2ba1cc
Submodule solmate
deleted from
c89230
Submodule uniswap-v2-core
deleted from
4dd590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/uniswap-v2-periphery/contracts/libraries/UniswapV2Library.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule uniswap-v3-core
deleted from
6562c5
Submodule uniswap-v3-periphery
deleted from
b325bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
ds-test/=lib/forge-std/lib/ds-test/src/ | ||
forge-std/=lib/forge-std/src/ | ||
solady/=lib/solady/src/ | ||
solmate/=lib/solmate/src/ | ||
uniswap-v2-core/=lib/uniswap-v2-core/contracts/ | ||
uniswap-v3-core/=lib/uniswap-v3-core/contracts/ | ||
uniswap-v3-periphery/=lib/uniswap-v3-periphery/contracts/ | ||
@uniswap/v3-core/=lib/uniswap-v3-core/ | ||
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/ | ||
@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/ | ||
g-uni-v1-core/=lib/g-uni-v1-core/contracts/ | ||
@forge-std-1.9.1=dependencies/forge-std-1.9.1/src | ||
@solmate-6.7.0=dependencies/solmate-6.7.0/src | ||
@solady-0.0.124=dependencies/solady-0.0.124/src | ||
@openzeppelin-contracts-4.9.2=dependencies/@openzeppelin-contracts-4.9.2 | ||
@openzeppelin-contracts-upgradeable-4.9.2=dependencies/@openzeppelin-contracts-upgradeable-4.9.2 | ||
@uniswap-v2-core-1.0.1=dependencies/@uniswap-v2-core-1.0.1/contracts | ||
@uniswap-v3-core-1.0.1-solc-0.8-simulate=dependencies/@uniswap-v3-core-1.0.1-solc-0.8-simulate/contracts | ||
@clones-with-immutable-args-1.1.1=dependencies/clones-with-immutable-args-1.1.1/src |
Oops, something went wrong.