Skip to content

Conversation

@grasphoper
Copy link
Contributor

Combining two changes:

…ed to handleAcrossV3Message (#1223)

* feat(HypercoreDepositHandler): Allow different types of messages passed to handleAcrossV3Message

Read first byte to determine how to decode `message`:
- type 1: message = abi.encode(user)
- type 2: message = abi.encode(user, signature)

type 2 messages can be used to activate new accounts, type 1 cannot

* Update contracts/handlers/HyperliquidDepositHandler.sol

Co-authored-by: Faisal Usmani <faisal.of.usmani@gmail.com>

---------

Co-authored-by: Faisal Usmani <faisal.of.usmani@gmail.com>
@grasphoper grasphoper closed this Jan 16, 2026
@grasphoper grasphoper deleted the audit-jan19 branch January 16, 2026 21: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