MCPcopy Create free account
hub / github.com/SeismicSystems/summit / admin_address

Function admin_address

rpc/src/auth.rs:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14pub const ACTION_UNPAUSE: &str = "unpause";
15
16fn admin_address() -> Result<Address, RpcError> {
17 Address::from_str(PAUSE_ADMIN_ADDRESS_HEX)
18 .map_err(|e| RpcError::InvalidAdminAddress(format!("admin address parse failed: {e}")))
19}
20
21fn now_secs() -> Result<u64, RpcError> {
22 SystemTime::now()

Callers 1

verify_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected