Skip to content

Commit 0dd3d3f

Browse files
arr000xble
andauthored
v1.2.1 (#260)
* feat: add ERC20 swap operator (#235) * refactor: migrate from zora v2 to v3 (#240) * chore: delete outdated `ZoraMarketWrapper` (#242) --------- Co-authored-by: Brian Le <brian@brianle.xyz>
1 parent 7a7f38e commit 0dd3d3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2067
-682
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
88

99
jobs:
10-
ci:
10+
test:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: "Check out the repo"
@@ -25,3 +25,32 @@ jobs:
2525

2626
- name: "Run Foundry tests"
2727
run: forge test -vvv --fork-url $FORK_URL --etherscan-api-key $ETHERSCAN_API_KEY
28+
coverage:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: "Check out the repo"
32+
uses: actions/checkout@v3
33+
with:
34+
submodules: recursive
35+
- name: "Install Foundry"
36+
uses: foundry-rs/foundry-toolchain@v1
37+
with:
38+
version: nightly
39+
- name: Install dependencies
40+
run: forge install
41+
- name: "Run Foundry Coverage"
42+
run: forge coverage --report lcov
43+
- name: "Upload coverage to Codecov"
44+
uses: codecov/codecov-action@v3
45+
lint:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/checkout@v3
49+
- name: Use Node.js 16.x
50+
uses: actions/setup-node@v3
51+
with:
52+
node-version: 16.x
53+
- name: Install Dependencies
54+
run: npm install
55+
- name: Run Linter
56+
run: npm run lint:check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
broadcast/
88
package-lock.json
99
yarn.lock
10+
lcov.info

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Below are the latest deployments of each contract of the Party Protocol. For add
7575
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
7676
| `Globals` | [0x1ca20040ce6ad406bc2a6c89976388829e7fbade](https://etherscan.io/address/0x1ca20040ce6ad406bc2a6c89976388829e7fbade) | [0x753e22d4e112a4d8b07df9c4c578b116e3b48792](https://goerli.etherscan.io/address/0x753e22d4e112a4d8b07df9c4c578b116e3b48792) |
7777
| `TokenDistributor` | [0x49a3caab781f711ad74c9d2f34c3cbd835d6a608](https://etherscan.io/address/0x49a3caab781f711ad74c9d2f34c3cbd835d6a608) | [0x8714EA9C2BC5a8f2d26D7c3F86558331c16145B5](https://goerli.etherscan.io/address/0x8714EA9C2BC5a8f2d26D7c3F86558331c16145B5) |
78-
| `ProposalExecutionEngine` | [0xaec4d40045daf91bc3049ea9136c7df04bd8a6af](https://etherscan.io/address/0xaec4d40045daf91bc3049ea9136c7df04bd8a6af) | [0xfC49C3b69c6E1bE79B11A9a7D4791663f4B8b4D3](https://goerli.etherscan.io/address/0xfC49C3b69c6E1bE79B11A9a7D4791663f4B8b4D3) |
78+
| `ProposalExecutionEngine` | [0xdF6a4d97dd2Aa32a54B8a2b2711F210b711F28f0](https://etherscan.io/address/0xdF6a4d97dd2Aa32a54B8a2b2711F210b711F28f0) | [0xfC49C3b69c6E1bE79B11A9a7D4791663f4B8b4D3](https://goerli.etherscan.io/address/0xfC49C3b69c6E1bE79B11A9a7D4791663f4B8b4D3) |
7979
| `Party` | [0xb676cfeeed5c7b739452a502f1eff9ab684a56da](https://etherscan.io/address/0xb676cfeeed5c7b739452a502f1eff9ab684a56da) | [0x72a4b63eceA9465e3984CDEe1354b9CF9030c043](https://goerli.etherscan.io/address/0x72a4b63eceA9465e3984CDEe1354b9CF9030c043) |
8080
| `PartyFactory` | [0xc0e0ec5541e26e93d5a9f5e999ab2a0a7f8260ae](https://etherscan.io/address/0xc0e0ec5541e26e93d5a9f5e999ab2a0a7f8260ae) | [0x8d1C04E6873F232dB570F75948799128dB3Ae6f5](https://goerli.etherscan.io/address/0x8d1C04E6873F232dB570F75948799128dB3Ae6f5) |
8181
| `AuctionCrowdfund` | [0xcf8ab207e1b055871dfa9be2a0cf3acaf2d1b3a7](https://etherscan.io/address/0xcf8ab207e1b055871dfa9be2a0cf3acaf2d1b3a7) | [0x631D392073330f0573AD18Fc64305768657D0D60](https://goerli.etherscan.io/address/0x631D392073330f0573AD18Fc64305768657D0D60) |
@@ -90,7 +90,8 @@ Below are the latest deployments of each contract of the Party Protocol. For add
9090
| `PartyNFTRenderer` | [0x19bcac3761df79c9b242ebe6670898da7d4bdcb3](https://etherscan.io/address/0x19bcac3761df79c9b242ebe6670898da7d4bdcb3) | [0xc651c3e62Ae4072CDc1dA189f681a94B5b3E729A](https://goerli.etherscan.io/address/0xc651c3e62Ae4072CDc1dA189f681a94B5b3E729A) |
9191
| `MetadataRegistry` | [0x175487875f0318edbab54bba442ff53b36e96015](https://etherscan.io/address/0x175487875f0318edbab54bba442ff53b36e96015) | [0x5976806Ae2F42e0c1fD23EAC20c49F1A63c73530](https://goerli.etherscan.io/address/0x5976806Ae2F42e0c1fD23EAC20c49F1A63c73530) |
9292
| `InitialETHCrowdfund` | [0x23c886396cfbadb0f3bac4b728150e8a59dc0e10](https://etherscan.io/address/0x23c886396cfbadb0f3bac4b728150e8a59dc0e10) | [0xDB59b3AAFFb5569B39206308A3629A47e4C31C97](https://goerli.etherscan.io/address/0xDB59b3AAFFb5569B39206308A3629A47e4C31C97) |
93-
| `CollectionBatchBuyOperator` | [0xe06e71867bb25fe6b56b854500961d4d9dd7c12e](https://etherscan.io/address/0xe06e71867bb25fe6b56b854500961d4d9dd7c12e) | [0x039d2e6AEf994445b00b6B55524bAcA0B0Be78DB](https://goerli.etherscan.io/address/0x039d2e6AEf994445b00b6B55524bAcA0B0Be78DB) |
93+
| `CollectionBatchBuyOperator` | [0x119C7Ee43Ebf1dEDc45A3730735583Bd39E32579](https://etherscan.io/address/0x119C7Ee43Ebf1dEDc45A3730735583Bd39E32579) | [0x039d2e6AEf994445b00b6B55524bAcA0B0Be78DB](https://goerli.etherscan.io/address/0x039d2e6AEf994445b00b6B55524bAcA0B0Be78DB) |
94+
| `ERC20SwapOperator` | [0xD9F65f0d2135BeE238db9c49558632Eb6030CAa7](https://etherscan.io/address/0xD9F65f0d2135BeE238db9c49558632Eb6030CAa7) | [0x88B08D166cf2779c1E2ef6C1171214E782831814](https://goerli.etherscan.io/address/0x88B08D166cf2779c1E2ef6C1171214E782831814) |
9495

9596
## Install
9697

codecov.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ignore:
2+
- "test"
3+
- "deploy"
4+
5+
coverage:
6+
range: 70..90
7+
status:
8+
patch:
9+
default:
10+
target: 90%

contracts/market-wrapper/ZoraMarketWrapper.sol

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)