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

Ability to set alternative transferor #224

Merged
merged 10 commits into from
Aug 15, 2024

Conversation

yahgwai
Copy link
Contributor

@yahgwai yahgwai commented Aug 5, 2024

No description provided.

@cla-bot cla-bot bot added the s label Aug 5, 2024
@yahgwai yahgwai requested a review from gzeoneth August 6, 2024 15:52
@yahgwai yahgwai marked this pull request as ready for review August 6, 2024 15:52
src/express-lane-auction/ExpressLaneAuction.sol Outdated Show resolved Hide resolved
Transferor storage currentTransferor = transferorOf[msg.sender];
if (
currentTransferor.addr != address(0) &&
currentTransferor.fixedUntilRound > roundTimingInfo.currentRound()
Copy link
Member

Choose a reason for hiding this comment

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

maybe its better to fix to a timestamp (and rounding up 1 round) instead? otherwise changing round time might make the fix duration change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that's fine - round duration changes might also warrant a change of fix time. Also changing to timestamp might mean that you cant guarantee that the next round will have a fixed transferor

@yahgwai yahgwai merged commit d4043bd into express-lane-auction-2 Aug 15, 2024
4 of 11 checks passed
@yahgwai yahgwai deleted the express-lane-auction-3 branch August 15, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants