Skip to content

Conversation

@gnarvaja
Copy link
Contributor

When msg.data.length == 0 (receive) it checks if receive are enabled in the AccessManager.

When msg.data.length between 1 and 3, it checks if fallback is enabled in AccessManager.

If enabled, it delegates to the implementation.

Uses bytes4(keccak256("receive")) and bytes4(keccak256("fallback")) as fake selectors for this special call.

When msg.data.length == 0 (receive) it checks if receive are enabled in
the AccessManager.

When msg.data.length between 1 and 3, it checks if fallback is enabled
in AccessManager.

If enabled, it delegates to the implementation.

Uses `bytes4(keccak256("receive"))` and `bytes4(keccak256("fallback"))`
as fake selectors for this special call.
@gnarvaja gnarvaja requested review from LucasCambon and gnpar January 29, 2026 15:15
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.

3 participants