-
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 #227 from Axis-Fi/develop
Staging: Develop -> Master
- Loading branch information
Showing
373 changed files
with
926 additions
and
74,720 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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
RPC_URL=https://sepolia.blast.io | ||
# Chain names based on: https://github.com/alloy-rs/chains/blob/main/src/named.rs | ||
CHAIN=CHANGEME | ||
RPC_URL=CHANGEME | ||
ETHERSCAN_API_KEY=CHANGEME | ||
|
||
DEPLOYER_PRIVATE_KEY=CHANGEME | ||
DEPLOYER_ADDRESS=CHANGEME | ||
|
||
# Blast verification | ||
VERIFIER_URL=https://api.routescan.io/v2/network/testnet/evm/168587773/etherscan | ||
ETHERSCAN_API_KEY=verifyContract | ||
# Set to override the default verifier URL for the chain | ||
#VERIFIER_URL= |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
lib/** | ||
dependencies/** | ||
src/modules/Modules.sol | ||
src/modules/Keycode.sol | ||
src/lib/** | ||
test/lib/uniswap-v2/*.sol | ||
test/lib/uniswap-v3/*.sol | ||
src/lib/clones/** | ||
src/lib/permit2/** |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
[profile.default] | ||
src = "src" | ||
out = "out" | ||
# libs = ["lib"] | ||
fs_permissions = [{access = "read-write", path = "./bytecode/"}, {access = "read", path = "./script/"}, {access = "read-write", path = "./deployments/"}] | ||
ffi = true | ||
solc_version = "0.8.19" | ||
|
@@ -21,8 +20,14 @@ quote_style = "double" | |
number_underscore = "thousands" | ||
wrap_comments = false | ||
ignore = [ | ||
"lib/**", | ||
"src/lib/**", | ||
] | ||
|
||
# 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" } | ||
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.