pub fn extract_eth_address_from_contract(script_args: &[u8]) -> Result<Vec<u8>, Error> {
    if script_args.len() != CONTRACT_ACCOUNT_SCRIPT_ARGS_LEN {
        return Err(Error::InvalidArgs);
    }
    Ok(script_args[36..].to_vec())
}
/// Extract ETH address from an ETH contract script args
Extract ETH address from an ETH contract script args
Extract ETH address from an ETH contract script args
pub fn extract_eth_address_from_contract(script_args: &[u8]) -> Result<Vec<u8>, Error> {
    if script_args.len() != CONTRACT_ACCOUNT_SCRIPT_ARGS_LEN {
        return Err(Error::InvalidArgs);
    }
    Ok(script_args[36..].to_vec())
}
pub fn extract_eth_address_from_contract ( script_args : & [ u8 ] ) -> Result < Vec < u8 > , Error > { if script_args . len ( ) != CONTRACT_ACCOUNT_SCRIPT_ARGS_LEN { return Err ( Error :: InvalidArgs ) ; } Ok ( script_args [ 36 .. ] . to_vec ( ) ) }
Extract ETH address from an ETH contract script args
Extract ETH address from an ETH contract script args
script_args
&[u8]
script_args
&[u8]