pub trait ChainWriteSafeOperations {
type Error: Error + Send + Sync + 'static;
// Required method
fn deploy_safe<'a, 'async_trait>(
&'a self,
balance: Balance<WxHOPR>,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Future<Output = Result<HashBase<CoreWrapper<Keccak256Core>>, Self::Error>> + Send + 'a>>, Self::Error>> + Send + 'async_trait>>
where 'a: 'async_trait,
Self: 'async_trait;
}Expand description
Operations for writing Safe information.
Required Associated Types§
Required Methods§
Sourcefn deploy_safe<'a, 'async_trait>(
&'a self,
balance: Balance<WxHOPR>,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Future<Output = Result<HashBase<CoreWrapper<Keccak256Core>>, Self::Error>> + Send + 'a>>, Self::Error>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: 'async_trait,
fn deploy_safe<'a, 'async_trait>(
&'a self,
balance: Balance<WxHOPR>,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Future<Output = Result<HashBase<CoreWrapper<Keccak256Core>>, Self::Error>> + Send + 'a>>, Self::Error>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: 'async_trait,
Deploys Safe with the given balance of wxHOPR tokens.
The admin of the deployed Safe is always only the Connector’s own signer. Only one Safe can be deployed per signer.