Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seaport 1.5 #1225

Draft
wants to merge 1,340 commits into
base: seaport-1.4
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1340 commits
Select commit Hold shift + click to select a range
22e5ba1
tiny formatting stuff
0age Apr 22, 2023
32e2dbf
missing matchOrders filter
0age Apr 22, 2023
6838301
handle a random edge case
0age Apr 22, 2023
1684ff6
mmm name the arg
0age Apr 22, 2023
9470413
Merge pull request #1175 from ProjectOpenSea/horsefacts/invalid-erc72…
0age Apr 22, 2023
9300c4d
add inexact fraction, panic, and no specified order failure tests
0age Apr 22, 2023
636b066
remove no specified case for now
0age Apr 22, 2023
b80cbd5
fix another test
0age Apr 22, 2023
3f8b344
keep the existing action filter in
0age Apr 22, 2023
cdf38d0
reintroduce InvalidConduit
0age Apr 22, 2023
fcb7c4c
one more fix
0age Apr 22, 2023
a8193fa
Merge pull request #1182 from ProjectOpenSea/pick-off-a-few-more
0age Apr 22, 2023
02deaa2
do some little fixes
0age Apr 22, 2023
cf52620
Merge pull request #1183 from ProjectOpenSea/little-fixes
0age Apr 22, 2023
a82e736
add FulfillmentDetails versions of basic + standard
0age Apr 23, 2023
602fee2
refactor derivers to prep for fulfillment re-roll
0age Apr 23, 2023
8a84916
support "direct in"
0age Apr 23, 2023
c4755c8
did that do it?!?
0age Apr 23, 2023
1348752
Merge pull request #1184 from ProjectOpenSea/little-fixes
0age Apr 23, 2023
d2b095e
add some helpers for getting smallest denominator
0age Apr 24, 2023
f460eb8
continue fleshing out helpers
0age Apr 24, 2023
221da3d
add invalid encoding type
0age Apr 24, 2023
d0c65cf
failures for NoSpecifiedOrdersAvailable
horsefacts Apr 24, 2023
d54dae3
one more revision to fuzz helpers
0age Apr 24, 2023
bd769a1
add a function for amending state to inscribe partial fill fractions
0age Apr 24, 2023
d98dcba
include expectedFillFractions in test context
0age Apr 24, 2023
34d189c
ok give this a try
0age Apr 24, 2023
af615e9
run it
0age Apr 24, 2023
ff2ed45
constrain pre exec state based on order type
0age Apr 24, 2023
517e737
actually set the right length for expectedFillFractions
0age Apr 24, 2023
153d658
handle lcm overflow where we can, toss in an assume otherwise
0age Apr 24, 2023
1e6ea60
update an assert msg
0age Apr 24, 2023
b165fa8
generateOrder revert failure case
horsefacts Apr 24, 2023
b383b23
add invalid encoding case
horsefacts Apr 24, 2023
60f2b0b
exclude cases with 721 items from partial-on-partial for now
0age Apr 24, 2023
1086bbf
put original inputs into FractionResults
0age Apr 24, 2023
513e4c8
expect skipped partials to have the same initial state
0age Apr 24, 2023
ead15f3
clean up fuzz coverage tests
0age Apr 24, 2023
4bafe60
Merge pull request #1185 from ProjectOpenSea/partial-partial
0age Apr 24, 2023
b2a4d1a
Merge pull request #1186 from ProjectOpenSea/horsefacts/no-specified-…
0age Apr 24, 2023
a2924df
Merge pull request #1187 from ProjectOpenSea/contract-generate-failures
0age Apr 24, 2023
874060a
fuzz on generate order skipping
0age Apr 24, 2023
ced6132
fix little compiler error
0age Apr 25, 2023
7a00963
inscribe the generate order revert state
0age Apr 25, 2023
3d92747
include REVERT in available check
0age Apr 25, 2023
e78a982
remove an unnecessary check
0age Apr 25, 2023
3e223bb
handle unavailable in ZoneParametersLib
0age Apr 25, 2023
8d5b271
add missing import
0age Apr 25, 2023
2bb905b
include in filter and clean some warnings up
0age Apr 25, 2023
2acad3a
fix another one
0age Apr 25, 2023
b3cc5d6
Merge pull request #1188 from ProjectOpenSea/generate-order-skips
0age Apr 25, 2023
2e6a00b
use lightly-modified reference code for FractionUtil
0age Apr 25, 2023
11dae5d
add some comments to OrderValidator for partial fills
0age Apr 25, 2023
233d66f
fix direct tests and compiler warnings
0age Apr 25, 2023
4750599
Merge pull request #1190 from ProjectOpenSea/fix-up-fraction-util
0age Apr 25, 2023
7252356
Merge pull request #1191 from ProjectOpenSea/order-validator-comment-…
0age Apr 25, 2023
4b2bb5f
fix a filter
0age Apr 25, 2023
583f59f
Bump yaml from 2.1.3 to 2.2.2
dependabot[bot] Apr 25, 2023
2fc7baa
actually check generateOrder + ratifyOrder calldata lol
0age Apr 26, 2023
5723c76
Merge pull request #1195 from ProjectOpenSea/contract-order-calldata-…
0age Apr 26, 2023
3b04247
Merge pull request #1015 from ProjectOpenSea/1.5
0age Apr 26, 2023
ab3b5cb
Update README.md
0age Apr 26, 2023
bde79b9
remove metadata hash in optimized-out
0age Apr 26, 2023
1e297c1
run linter
0age Apr 26, 2023
6bee026
Merge pull request #1197 from ProjectOpenSea/remove-metadata-hash-opt…
0age Apr 26, 2023
396caa9
Update links to verified deployments
0age Apr 26, 2023
c830790
Merge pull request #1198 from ProjectOpenSea/1.5-lint
0age Apr 26, 2023
575fa26
Merge pull request #1194 from ProjectOpenSea/dependabot/npm_and_yarn/…
0age Apr 26, 2023
8964706
update deployment instructions
0age Apr 26, 2023
8127ca3
Merge pull request #1199 from ProjectOpenSea/update-deployment-details
0age Apr 26, 2023
adaa78b
begin work on FulfillmentLib
0age Apr 28, 2023
3e45055
add shuffle
0age Apr 28, 2023
6ee2737
prepare to assign bundles
0age Apr 28, 2023
d647ea9
assign item references to groups
0age Apr 28, 2023
32c3c4d
bundle matchable groups into their own group
0age Apr 28, 2023
1659125
split by side and copy
0age Apr 28, 2023
50a3e16
simplify structs post-prep
0age Apr 28, 2023
4f86b9a
close the loop on prep step
0age Apr 28, 2023
964d52d
begin setting up "strategy" pattern
0age Apr 28, 2023
3d9c9e1
implement first-pass eligibility check
0age Apr 28, 2023
1418cfc
add assertion for supported strategies
0age Apr 28, 2023
114c211
set up default + fulfillAvailable case
0age Apr 29, 2023
25284dc
set up basic scaffolding for match
0age Apr 29, 2023
dd30fcf
get match "context" for easier fulfillment derivation
0age Apr 29, 2023
e774043
implement "getUncoveredComponents"
0age Apr 29, 2023
f83d192
add a few small helper fns
0age Apr 29, 2023
68738ec
include total items for allocation
0age Apr 29, 2023
b66de0f
Add a forge script for deploying Seaport
kphed Apr 29, 2023
b9444ba
add logic for consuming + crediting in match fulfillments
0age Apr 29, 2023
2cdb78c
pull out logic for looking for uncovered component totals
0age Apr 29, 2023
f8bd47e
Remove unnecessary stopPrank
kphed Apr 29, 2023
0598481
Update README.md
x676f64 Apr 29, 2023
2dfaea4
Update README.md
x676f64 Apr 29, 2023
f547c3c
add a few more default functions
0age Apr 30, 2023
217b6d5
add a missing bit
0age Apr 30, 2023
28daa47
begin the swap
0age Apr 30, 2023
da4f03c
remove double logic and add some sanity checks
0age Apr 30, 2023
1672bcd
return empty fulfillments when there are no items
0age Apr 30, 2023
6cbf453
cleanup fuzz engine lib logic
0age Apr 30, 2023
ee5420b
doc: update README with support for Gnosis testnet
massun-onibakuchi May 1, 2023
f05bb04
fix issue with hash count
0age May 1, 2023
7e538a6
add back unused amounts to first item in aggregation
0age May 1, 2023
32b18d6
use new helper for fulfillAvailable as well
0age May 1, 2023
99d5bb9
remove unused imports
0age May 1, 2023
3c0f134
clean up FuzzEngine comments
horsefacts Apr 26, 2023
0cb7db4
comments cleanup
horsefacts Apr 26, 2023
76ebb10
more comment cleanup
horsefacts Apr 26, 2023
d29c50c
comment cleanup
horsefacts Apr 27, 2023
028a122
fix import path
horsefacts Apr 27, 2023
e9a970b
Remove extra stopPrank
horsefacts May 1, 2023
35ac6a3
add safeguards to lib tests
May 1, 2023
a3121fc
handle cases where fulfillments are empty
0age May 1, 2023
0a5bfe3
quick refactor on function eligibility
May 1, 2023
bbec5c8
fix failing test
May 1, 2023
8017ae3
handle another odd-ball mutation edge case
0age May 1, 2023
a320a50
fix an import
0age May 2, 2023
d001f54
silence failing peripheral tests
0age May 2, 2023
167e466
Merge pull request #1203 from ProjectOpenSea/dan/2023/05/add-safeguar…
0age May 2, 2023
ec2d90d
Merge pull request #1204 from ProjectOpenSea/dan/2023/05/quick-refact…
0age May 2, 2023
7493f02
Merge pull request #1205 from ProjectOpenSea/fulfillment-refactor
0age May 2, 2023
6da4ed2
Merge branch 'main' into horsefacts/comment-cleanup
0age May 2, 2023
6949f9b
Merge pull request #1196 from ProjectOpenSea/horsefacts/comment-cleanup
0age May 2, 2023
9f33c25
Merge pull request #1200 from kphed/main
0age May 2, 2023
9576b4a
Merge pull request #1201 from x676f64/patch-1
0age May 2, 2023
4d7bfc5
Merge pull request #1202 from massun-onibakuchi/1.5-chiado-deploy
0age May 2, 2023
c879f81
Merge branch 'main' of https://github.com/ProjectOpenSea/seaport into…
May 2, 2023
0123f42
Merge branch 'main' into stephan/merge-order-validator
stephankmin May 2, 2023
ce4646d
fix typo in package.json
stephankmin May 2, 2023
291b597
another typo
stephankmin May 2, 2023
282e9b7
add supportsInterface to test contracts
stephankmin May 2, 2023
c8e0532
add another supportsInterface
stephankmin May 2, 2023
6a63a08
brush up the old doc PR
May 2, 2023
c24a7d7
tidying eligibility filters
May 2, 2023
26f9893
elaborate and clarify about min and max
May 2, 2023
4424382
Update docs/SeaportDocumentation.md
0age May 2, 2023
9f5a875
Update docs/SeaportDocumentation.md
0age May 2, 2023
73a1953
Merge pull request #968 from ProjectOpenSea/dan/2023/02/add-bulk-sig-…
0age May 2, 2023
0d710bb
Merge branch 'main' of https://github.com/ProjectOpenSea/seaport into…
May 2, 2023
65cfdc2
fix naming on some lingering helpers
May 2, 2023
96f4607
add some comments about what each mutation is doing and why it trigge…
May 2, 2023
0705852
Merge pull request #1206 from ProjectOpenSea/dan/2023/05/tidying-elig…
0age May 2, 2023
7560c56
start refactor adding seaport address as argument
stephankmin May 2, 2023
a551e2a
first stab at minimum aggregation support
0age May 2, 2023
4d8cde2
include a fulfillment strategy on AdvancedOrdersSpace
0age May 2, 2023
a2d6028
update hh tests
stephankmin May 2, 2023
b5dc2e0
fuzz on the aggregation strategy
0age May 2, 2023
5842d40
change eip165 checks from errors to warnings
stephankmin May 2, 2023
33487bf
fix tests for eip165 checks
stephankmin May 2, 2023
52acf83
use the fuzzed strategy
0age May 2, 2023
c8b255d
add isValidOrderReadOnly
stephankmin May 2, 2023
d14ddc3
i => j
0age May 2, 2023
d451d8e
shuffle fulfillments based on fuzz seed
0age May 2, 2023
2e8be38
Merge pull request #1207 from ProjectOpenSea/fulfillment-strategies
0age May 2, 2023
82d13d6
warn if zone is EOA, change error to MissingSeaportChannel
stephankmin May 2, 2023
727c2e6
fix typo in comment
stephankmin May 2, 2023
5670abe
move files to contracts
stephankmin May 3, 2023
4f01cef
add comments to mutations and refactor resigning
May 3, 2023
53ed01f
remove cruft
May 3, 2023
d54e2d3
Merge pull request #1209 from ProjectOpenSea/dan/2023/05/add-comments…
0age May 3, 2023
6654542
try putting seaport address in ValidationConfiguration
0age May 3, 2023
4d64863
scopes?
0age May 3, 2023
d589b74
whatever it takes
0age May 3, 2023
ce35f67
rm test files for now, will add forge tests later
stephankmin May 3, 2023
8991abd
get it below the spurious dragon limit by breaking into 2 contracts
0age May 3, 2023
ad44d0d
change constructor to take in conduit controller address, set conduit…
stephankmin May 3, 2023
7293365
Merge pull request #1210 from ProjectOpenSea/second-helper
0age May 3, 2023
0eda427
Add docs TOC to README.md
ryanio May 3, 2023
1b4c818
Merge pull request #1211 from ProjectOpenSea/ryanio-patch-1
0age May 3, 2023
5eb24b5
start new SeaportValidator tests
horsefacts May 3, 2023
c9c457b
custom matcher + helpers
horsefacts May 3, 2023
d629ead
set order default
horsefacts May 3, 2023
9dc9350
clean up setup
horsefacts May 3, 2023
2c6413d
erc1155 errors
horsefacts May 3, 2023
5d9768b
first stab at consuming random items
0age May 3, 2023
1bac1ec
add orderhash to orderdetails
May 4, 2023
87403f2
Merge pull request #1213 from ProjectOpenSea/dan/2023/05/refactor-det…
0age May 4, 2023
9a81731
add unavailable reason to order details
May 4, 2023
f734ae8
implement random strat on fulfillAvailable aggregation as well
0age May 4, 2023
7cb858b
token balance/approval errors
horsefacts May 4, 2023
130cf74
basic time issues
horsefacts May 4, 2023
1419a3b
finish wiring up in fulfillment lib
0age May 4, 2023
bb03e4a
start fuzzing on random aggregation
0age May 4, 2023
d3768f1
fix test names
horsefacts May 4, 2023
1cc564f
no cast and break early on empty for random
0age May 4, 2023
604612c
Merge pull request #1215 from ProjectOpenSea/random-strategies
0age May 4, 2023
bd9da9b
Merge pull request #1212 from ProjectOpenSea/horsefacts/seaport-valid…
0age May 4, 2023
391ff38
fix the bugs
May 4, 2023
7064f5d
basic conduit + status issues
horsefacts May 4, 2023
a319d9d
identifierDNE test
horsefacts May 4, 2023
63f8ae2
add initial offer issue tests
stephankmin May 4, 2023
28b5b2c
begin "fuzzing"
0age May 4, 2023
aa08017
add remaining offer item tests
stephankmin May 5, 2023
b910227
fix the bugs part two electric boogaloo
May 5, 2023
026910e
move over a bunch of expectedAvailableOrders to use the order details…
May 5, 2023
708ac70
checking in at a green state
May 5, 2023
115e758
lint
May 5, 2023
d23b484
partial fill, cancelled, invalid sig
horsefacts May 5, 2023
ecc0073
Merge pull request #1214 from ProjectOpenSea/dan/2023/05/add-unavaila…
0age May 5, 2023
6b211e1
fix merge conflict
May 5, 2023
4ae1b87
fuzz on non-filter-based fulfillAvailable strategies
0age May 5, 2023
79824e4
Merge pull request #1216 from ProjectOpenSea/horsefacts/validator-tes…
0age May 5, 2023
94f4cdc
Merge branch 'main' of https://github.com/ProjectOpenSea/seaport into…
May 5, 2023
cebcde9
Merge pull request #1219 from ProjectOpenSea/unspent-fuzzing
0age May 5, 2023
8979c42
Merge pull request #1218 from ProjectOpenSea/dan/2023/05/add-native-t…
0age May 5, 2023
821eaa2
Merge branch 'main' into stephan/more-validator-tests
stephankmin May 5, 2023
673a654
remove orderhashes from context
May 5, 2023
3c6aa32
Merge branch 'main' of https://github.com/ProjectOpenSea/seaport into…
May 5, 2023
b8822d2
create ItemReferenceLib
0age May 5, 2023
46ee871
add ItemReferenceGroupLib, HashAllocatorLib, HashCountLib
0age May 5, 2023
c10a19d
Match group lib and skip dropping 721 tokens
0age May 5, 2023
59a4e22
ok ready
0age May 5, 2023
e3904e7
toss in a more informative revert in case this gets tripped again
0age May 5, 2023
d1ac49c
eh figure that out later
0age May 5, 2023
03269d8
Merge pull request #1222 from ProjectOpenSea/fulfillment-lib-cleanup
0age May 5, 2023
c18805b
Merge branch 'main' into stephan/more-validator-tests
0age May 5, 2023
19bbb64
Merge pull request #1220 from ProjectOpenSea/dan/2023/05/remove-order…
0age May 5, 2023
7e5ebca
Merge pull request #1217 from ProjectOpenSea/stephan/more-validator-t…
0age May 5, 2023
b75fa6b
breakup deployment of validator and helper
stephankmin May 5, 2023
772438f
Merge pull request #1224 from ProjectOpenSea/breakup-validator-helper
0age May 5, 2023
ba05b22
docs: add canto addresses
Sabnock01 May 6, 2023
ea666d4
docs: fix links
Sabnock01 May 6, 2023
2794c43
remove expected available orders array from context
May 8, 2023
f75b499
skip 721 on dropAllOffer
0age May 8, 2023
99fb2ed
Merge branch 'main' into dan/2023/05/remove-expected-available-orders…
0age May 8, 2023
c179f57
add stale workflow
ryanio May 8, 2023
a6bdc78
Merge pull request #1228 from ProjectOpenSea/ryan/add-stale-workflow
0age May 8, 2023
21ce15f
Merge pull request #1226 from Sabnock01/docs/add-canto-addresses
0age May 8, 2023
ef629d6
Merge pull request #1227 from ProjectOpenSea/dan/2023/05/remove-expec…
0age May 8, 2023
68e33e4
Add issue code toString helpers
horsefacts May 8, 2023
ebf03db
wip: add validation to fuzz tests
horsefacts May 8, 2023
92841bc
Merge pull request #1229 from ProjectOpenSea/horsefacts/validator-errors
0age May 8, 2023
ffe3ee2
reorder contract nonce increment operation
0age May 8, 2023
6d66be0
fix another discrepancy
0age May 9, 2023
6674186
skip revert reason checks on reference moat test
0age May 9, 2023
84db4ab
check in to clean up comment diff
May 9, 2023
efd0fc5
add validation to fuzz engine
horsefacts May 9, 2023
9ed1691
remove assertion, just save in context
horsefacts May 9, 2023
22e574d
add comment
horsefacts May 9, 2023
d31bb76
fix validator test
horsefacts May 9, 2023
247c2ac
skip serializing empty errors
horsefacts May 9, 2023
2ba98f5
remove validator helper hack
horsefacts May 9, 2023
aead605
Merge pull request #1230 from ProjectOpenSea/horsefacts/fuzz-seaport-…
0age May 9, 2023
8d754b2
add documentation and do a little refactoring on mutations
May 10, 2023
3b90f99
not pretty, but it's progress
0age May 10, 2023
95c61cb
fix a zone encoding discrepancy in refererence too
0age May 10, 2023
ad7d54a
update solcover excludes
0age May 10, 2023
59ef9c4
do a follow-up pass on mutations
0age May 10, 2023
14c7b72
Merge pull request #1232 from ProjectOpenSea/reference-cleanup
0age May 10, 2023
a13296e
Merge branch 'main' into dan/2023/05/documentation-and-light-refactor…
0age May 10, 2023
fcdaf63
Merge pull request #1231 from ProjectOpenSea/dan/2023/05/documentatio…
0age May 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ cache
constants
coverage
lib/murky
lib/openzeppelin-contracts
lib/openzeppelin-contracts
order-validator/test
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"commitHash": "bb5d39539354e96cf6e69ad107906a0b6a46ea91",
"commitHash": "10d78fe57eb635a6d8a85e34236aa29548a1b52f",
"contractReports": {
"Conduit": {
"name": "Conduit",
"methods": [
{
"method": "execute",
"min": 77435,
"max": 2179914,
"avg": 451436,
"max": 2232387,
"avg": 460181,
"calls": 6
},
{
Expand All @@ -21,8 +21,8 @@
{
"method": "executeWithBatch1155",
"min": 97669,
"max": 361418,
"avg": 228749,
"max": 361430,
"avg": 228746,
"calls": 4
},
{
Expand Down Expand Up @@ -71,7 +71,7 @@
"method": "updateChannel",
"min": 34454,
"max": 121098,
"avg": 117293,
"avg": 117294,
"calls": 71
}
],
Expand Down Expand Up @@ -106,7 +106,7 @@
"method": "registerDigest",
"min": 22239,
"max": 44151,
"avg": 36843,
"avg": 36847,
"calls": 3
},
{
Expand Down Expand Up @@ -148,7 +148,7 @@
"method": "cancelOrders",
"min": null,
"max": null,
"avg": 65327,
"avg": 65339,
"calls": 1
}
],
Expand Down Expand Up @@ -176,14 +176,14 @@
"method": "assignPauser",
"min": null,
"max": null,
"avg": 47183,
"avg": 47171,
"calls": 1
},
{
"method": "cancelOrders",
"min": null,
"max": null,
"avg": 73870,
"avg": 73894,
"calls": 1
},
{
Expand All @@ -195,23 +195,23 @@
},
{
"method": "createZone",
"min": 1154302,
"max": 1154314,
"avg": 1154312,
"min": null,
"max": null,
"avg": 1154314,
"calls": 31
},
{
"method": "executeMatchAdvancedOrders",
"min": null,
"max": null,
"avg": 289151,
"avg": 289127,
"calls": 2
},
{
"method": "executeMatchOrders",
"min": null,
"max": null,
"avg": 282751,
"avg": 282727,
"calls": 2
},
{
Expand All @@ -225,7 +225,7 @@
"method": "transferOwnership",
"min": null,
"max": null,
"avg": 47199,
"avg": 47187,
"calls": 2
}
],
Expand All @@ -238,8 +238,8 @@
{
"method": "prepare",
"min": 49267,
"max": 2351690,
"avg": 1061771,
"max": 2351702,
"avg": 1061791,
"calls": 26
}
],
Expand All @@ -251,37 +251,37 @@
"methods": [
{
"method": "cancel",
"min": 41226,
"max": 58374,
"avg": 54030,
"min": 41250,
"max": 58422,
"avg": 54038,
"calls": 16
},
{
"method": "fulfillAdvancedOrder",
"min": 96288,
"max": 225181,
"avg": 159350,
"avg": 160736,
"calls": 194
},
{
"method": "fulfillAvailableAdvancedOrders",
"min": 149626,
"max": 260680,
"avg": 203090,
"max": 305236,
"avg": 209036,
"calls": 30
},
{
"method": "fulfillAvailableOrders",
"min": 164986,
"max": 215752,
"avg": 201359,
"avg": 201368,
"calls": 21
},
{
"method": "fulfillBasicOrder",
"min": 90639,
"max": 1621627,
"avg": 598705,
"avg": 598707,
"calls": 187
},
{
Expand All @@ -295,7 +295,7 @@
"method": "fulfillOrder",
"min": 119409,
"max": 225080,
"avg": 176770,
"avg": 178008,
"calls": 108
},
{
Expand All @@ -308,41 +308,41 @@
{
"method": "matchAdvancedOrders",
"min": 179574,
"max": 300473,
"avg": 248933,
"calls": 77
"max": 300485,
"avg": 249389,
"calls": 75
},
{
"method": "matchOrders",
"min": 157522,
"max": 348207,
"avg": 264552,
"calls": 151
"avg": 264801,
"calls": 149
},
{
"method": "validate",
"min": 53201,
"max": 83910,
"avg": 73546,
"max": 83922,
"avg": 73545,
"calls": 29
}
],
"bytecodeSize": 26114,
"deployedBytecodeSize": 24389
"bytecodeSize": 26128,
"deployedBytecodeSize": 24403
},
"SeaportRouter": {
"name": "SeaportRouter",
"methods": [
{
"method": "fulfillAvailableAdvancedOrders",
"min": 183954,
"max": 311883,
"avg": 233586,
"min": 183796,
"max": 311939,
"avg": 233615,
"calls": 6
}
],
"bytecodeSize": 6345,
"deployedBytecodeSize": 6158
"bytecodeSize": 6417,
"deployedBytecodeSize": 6230
},
"TestContractOfferer": {
"name": "TestContractOfferer",
Expand Down Expand Up @@ -400,15 +400,15 @@
"method": "mint",
"min": 47235,
"max": 49879,
"avg": 49421,
"calls": 236
"avg": 49474,
"calls": 273
},
{
"method": "setApprovalForAll",
"min": 26102,
"max": 46002,
"avg": 45380,
"calls": 448
"avg": 45468,
"calls": 522
}
],
"bytecodeSize": 4173,
Expand All @@ -421,8 +421,8 @@
"method": "approve",
"min": 28881,
"max": 46245,
"avg": 45780,
"calls": 338
"avg": 45749,
"calls": 292
},
{
"method": "blockTransfer",
Expand All @@ -433,10 +433,10 @@
},
{
"method": "mint",
"min": 33982,
"min": 33994,
"max": 68458,
"avg": 67466,
"calls": 164
"avg": 67348,
"calls": 141
},
{
"method": "setNoReturnData",
Expand All @@ -456,15 +456,15 @@
"method": "mint",
"min": 51492,
"max": 68796,
"avg": 66042,
"calls": 315
"avg": 65926,
"calls": 301
},
{
"method": "setApprovalForAll",
"min": 26195,
"max": 46095,
"avg": 45578,
"calls": 540
"avg": 45550,
"calls": 512
}
],
"bytecodeSize": 5238,
Expand Down Expand Up @@ -504,8 +504,8 @@
{
"method": "bulkTransfer",
"min": 77935,
"max": 1492854,
"avg": 664509,
"max": 1438866,
"avg": 632608,
"calls": 3
}
],
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
days-before-stale: 60
days-before-close: 14
operations-per-run: 100
exempt-pr-labels: "work-in-progress"
exempt-issue-labels: "work-in-progress"
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ optimized-out
reference-working
offerers-out

#foundry script run output files
broadcast/

.DS_Store

Expand All @@ -34,4 +36,10 @@ html
lcov.info

test/utils/eip712/gen.sol
.gas_reports/*.md
.gas_reports/*.md

# fuzz metrics
metrics.txt
*-metrics.txt

fuzz_debug.json
20 changes: 14 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/ds-test"]
path = lib/ds-test
url = https://github.com/dapphub/ds-test
[submodule "lib/murky"]
path = lib/murky
url = https://github.com/dmfxyz/murky
Expand All @@ -13,3 +7,17 @@
[submodule "lib/solmate"]
path = lib/solmate
url = https://github.com/transmissions11/solmate
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
branch = v1.5.0
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/vectorized/solady
branch = v0.0.84
[submodule "lib/solarray"]
path = lib/solarray
url = https://github.com/emo-eth/solarray
[submodule "lib/ds-test"]
path = lib/ds-test
url = https://github.com/dapphub/ds-test
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ lib/murky
lib/openzeppelin-contracts
lib/solmate

docs/OrderValidator.md
Loading