Skip to content

add slot locked disperser - #480

Open
0w3n-d wants to merge 1 commit into
developfrom
add-slot-locked-disperser
Open

0w3n-d wants to merge 1 commit into
developfrom
add-slot-locked-disperser

Conversation

@0w3n-d

@0w3n-d 0w3n-d commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Similar to the PaymentForwarder and needed for the same reason, but used the block merging rev share payment.

Similar to the PaymentForwarder and needed for the same reason, but used
the block merging rev share payment.
/// CALLDATA LAYOUT:
/// Offset 0..3: [uint32 timestamp] (4 bytes)
/// Offset 4..23: Recipient 1 (20 bytes)
/// Offset 24..55: Amount 1 (32 bytes)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do we really need 32 bytes for amount? its in ETH. think a u128 is > total eth in the universe

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you ask claude to tone down the comments here? quite hard to read 😅

Comment on lines +87 to +88
// Refund remaining balance to msg.sender
selfbalance iszero exit jumpi

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this case ever possible?

push0 [LOCK_SLOT] sstore
stop

refund_failed:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

when is this realistically going to happen? aren't we paying this with an eoa?

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