Repository navigation
Dutch Auction - #3
romanagureev wants to merge 30 commits into
Conversation
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. It is recommended to resolve "Warn" alerts too. Learn more about Socket for GitHub.
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Absolute imports, drop ignored module pragmas, reuse .vyi interfaces (IDutchAuctionBurner, IComposableCow, IAdapterRegistry) instead of inline ones, move Lot to auction_types, bounded AuctionTaker callback data, clearer error/function names, trimmed comments. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BnVcosq9nSKVAZVN5rKNCr
Gas reportBase report unavailable; head only. Execution gas per external call, intrinsic gas excluded (vyper 0.5.0b1).
|
| Function | Calls | Mean | Median | Min | Max |
|---|---|---|---|---|---|
| take_with_limits | 3 | 69617 | 69617 | 69617 | 69619 |
| take | 14 | 76297 | 69505 | 44827 | 228651 |
| sync_executor_approvals | 29 | 26483 | 29388 | 2493 | 29388 |
| push_target | 1 | 28639 | 28639 | 28639 | 28639 |
| recover | 4 | 30728 | 28589 | 26339 | 39398 |
| isValidSignature | 20 | 19936 | 22454 | 4674 | 22454 |
| getAmountNeeded | 113 | 9946 | 10032 | 3236 | 10777 |
| price | 22 | 8587 | 9947 | 3221 | 10692 |
| resync_target | 3 | 7927 | 7927 | 7927 | 7927 |
| available | 63 | 6670 | 7044 | 1724 | 7164 |
| isActive | 4 | 5757 | 6390 | 3201 | 7050 |
| auctions | 5 | 2145 | 2436 | 983 | 2436 |
| window | 141 | 1997 | 1999 | 595 | 2595 |
| lots | 139 | 833 | 776 | 776 | 2776 |
| auctionLength | 1 | 471 | 471 | 471 | 471 |
| start_total | 4 | 441 | 441 | 441 | 441 |
| want | 3 | 440 | 440 | 440 | 440 |
| supportsInterface | 5 | 420 | 420 | 420 | 420 |
| VERSION | 1 | 403 | 403 | 403 | 403 |
| auction_length | 1 | 347 | 347 | 347 | 347 |
| fee_collector | 1 | 347 | 347 | 347 | 347 |
| registry | 1 | 347 | 347 | 347 | 347 |
contracts/burners/adapters/AdapterRegistry.vy
| Function | Calls | Mean | Median | Min | Max |
|---|---|---|---|---|---|
| set_adapter | 147 | 64263 | 71504 | 3372 | 71526 |
| activate_adapter | 59 | 44367 | 44862 | 22984 | 44884 |
| disable_adapter | 14 | 3395 | 3602 | 3105 | 3624 |
| owner | 1 | 660 | 660 | 660 | 660 |
| emergency_owner | 2 | 638 | 638 | 638 | 638 |
| get_adapters | 10 | 1853 | 631 | 463 | 5748 |
| get_adapter | 147 | 603 | 576 | 576 | 4576 |
| is_executor_active | 44 | 664 | 483 | 483 | 2483 |
| role_source | 1 | 127 | 127 | 127 | 127 |
contracts/burners/adapters/cow/CowAdapter.vy
| Function | Calls | Mean | Median | Min | Max |
|---|---|---|---|---|---|
| order_for | 3 | 12374 | 14734 | 7654 | 14734 |
| ADAPTER_VERSION | 1 | 277 | 277 | 277 | 277 |
| vault_relayer | 1 | 148 | 148 | 148 | 148 |
| app_data | 1 | 125 | 125 | 125 | 125 |
| domain_separator | 1 | 125 | 125 | 125 | 125 |
| settlement | 1 | 125 | 125 | 125 | 125 |
contracts/burners/auction/periphery/AuctionTaker.vy
| Function | Calls | Mean | Median | Min | Max |
|---|---|---|---|---|---|
| take_with_route | 5 | 209367 | 175152 | 171687 | 331846 |
contracts/burners/auction/periphery/DutchAuctionResolver.vy
| Function | Calls | Mean | Median | Min | Max |
|---|---|---|---|---|---|
| resolve | 14 | 14719 | 15360 | 10860 | 15397 |
b741785 to
b5faaa0
Compare
3f73823 to
84ba4e4
Compare
Add Dutch Auction for Fee Burning: