MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / is_system_addr

Function is_system_addr

fendermint/vm/actor_interface/src/system.rs:18–20  ·  view source on GitHub ↗

Check whether the address is one of those identifying the system actor.

(addr: &Address)

Source from the content-addressed store, hash-verified

16
17/// Check whether the address is one of those identifying the system actor.
18pub fn is_system_addr(addr: &Address) -> bool {
19 *addr == SYSTEM_ACTOR_ADDR || *addr == *SYSTEM_ACTOR_ETH_ADDR
20}
21
22/// System actor state.
23#[derive(Default, Deserialize_tuple, Serialize_tuple, Debug, Clone)]

Callers 1

callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected