Skip to content

Yes shmonad - #5

Merged
marshabl merged 49 commits into
mainfrom
yes-shmonad
Jan 13, 2026
Merged

marshabl merged 49 commits into
mainfrom
yes-shmonad

Conversation

@marshabl

Copy link
Copy Markdown
Contributor

This auction only has two options

  1. TOB -> txHash array length 1 and == bytes32(0)
  2. Backrun -> txHash array length 2 and txHash[1] == bytes32(0)

Uses committed shmonad funds for payBidOnFail

Uses the monad precompile to get ValId and sendExternalRewards on shmonad to pay ValId their MEV rewards

@0x1NotMe 0x1NotMe left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR reintroduces shMONAD as a runtime dependency for MEV settlement (and for payBidOnFail via committed funds). Any shMONAD pause/misconfig/revert will block settlement for otherwise-valid bids.

Requested changes focus on: (1) making the coupling explicit + documented, (2) fixing ABI/signature mismatches, and (3) adding basic guardrails/fallbacks so auctions don’t fail solely due to shMONAD/precompile edge cases.

Test/dev ergonomics note: current tests require MONAD_TESTNET_RPC_URL because BaseTest always forks; consider allowing a pure unit-test mode so contributors can run the mock-based tests without env setup.

Comment thread src/FastLaneAuctionHandler.sol
Comment thread src/FastLaneAuctionHandler.sol Outdated
Comment thread src/FastLaneAuctionHandler.sol
Comment thread src/FastLaneAuctionHandler.sol
Comment thread src/AuctionEvents.sol Outdated
Comment thread src/interfaces/IFastLaneAuctionHandler.sol
Comment thread src/AuctionErrors.sol Outdated
Comment thread src/Constants.sol
@0x1NotMe
0x1NotMe self-requested a review December 15, 2025 00:43
Comment thread src/FastLaneAuctionHandler.sol
@0x1NotMe
0x1NotMe self-requested a review December 19, 2025 04:54
@marshabl
marshabl merged commit ff20820 into main Jan 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants