1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! System addresses: where a spot token crosses between HyperCore and
//! HyperEVM. A send to one leaves Core rather than reaching a person, so a
//! transfer checks for them and a HyperEVM transaction aims at them.
use crateAddress;
/// HYPE's system address, `0x2222...2222`: HYPE is the native coin on HyperEVM.
pub const HYPE_SYSTEM: Address = from_bytes;
/// The address a linked spot token crosses through: `0x20`, then the token
/// index big-endian in the low bytes. Token 200 is `0x2000...00c8`.
/// Whether a send to `address` crosses between Core and HyperEVM rather than
/// reaching a person: `0x2222...2222`, or `0x20`, zeros and a token index.
/// The token index a `0x20` system address stands for; `None` for HYPE's,
/// which crosses natively.