Expand description
HyperCore and HyperEVM, linked. A linked spot token crosses between Core and EVM spot through
its system address: 0x2222...2222 for HYPE, 0x20, zeros and the token index for any other.
Core to EVM is a spotSend or sendAsset to Linked::system; EVM to Core is a HyperEVM
transaction to the same address (Linked::to_core). A send to a system address leaves Core
rather than reaching a person, so a transfer checks for them.
Structs§
- Linked
- A spot token as it is linked to HyperEVM. Its contract can hold arbitrary code; nothing here
checks its supply or what its
transferdoes.
Constants§
- HYPE_
SYSTEM - HYPE’s system address,
0x2222...2222: HYPE is the native coin on HyperEVM.
Functions§
- is_
system_ address - Whether a send to
addresscrosses between Core and HyperEVM rather than reaching a person:0x2222...2222, or0x20, zeros and a token index. - system_
address - The address a linked spot token crosses through:
0x20, then the token index big-endian in the low bytes. Token 200 is0x2000...00c8. - system_
token - The token index a
0x20system address stands for;Nonefor HYPE’s, which crosses natively.