pub trait ECDSAExt { // Required method fn to_eth_address(&self) -> Result<[u8; 20], ()>; }
Extension trait for Public to be used from inside the runtime.
Public
This is needed because host functions cannot be called from within sp_core due to cyclic dependencies on sp_io.
sp_core
sp_io
Returns Ethereum address calculated from this ECDSA public key.