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

Method fmt

ipc/api/src/staking.rs:66–74  ·  view source on GitHub ↗
(&self, f: &mut Formatter<'_>)

Source from the content-addressed store, hash-verified

64
65impl Display for ValidatorStakingInfo {
66 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
67 write!(
68 f,
69 "ValidatorStaking(confirmed_collateral: {}, total_collateral: {}, metadata: 0x{})",
70 self.confirmed_collateral,
71 self.total_collateral,
72 hex::encode(&self.metadata)
73 )
74 }
75}
76
77impl TryFrom<subnet_actor_getter_facet::ValidatorInfo> for ValidatorStakingInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected