Trait validator_worker::GetStateRoot
source · pub trait GetStateRoot {
fn hash(
&self,
channel: ChannelId,
token_precision: u8
) -> Result<[u8; 32], GetStateRootError>;
fn encode(
&self,
channel: ChannelId,
token_precision: u8
) -> Result<String, GetStateRootError> { ... }
}