// Copyright 2019-2022 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT
usesuper::signature::Signature;useaddress::Address;usestd::error::Error;/// Signer is a trait which allows a key implementation to sign data for an address
pubtraitSigner{/// Function signs any arbitrary data given the [Address].
fnsign_bytes(&self, data:&[u8], address:&Address)->Result<Signature, Box<dyn Error>>;}