pub fn transfer_eth(
        &mut self,
        sender_address: H160,
        receipient_address: H160,
        eth_amount: U256,
    ) -> Result<(), ExitReason> {
        self.transact(|exec| {
            let (exit_reason, _buffer) = exec.transact_call(
                sender_address,
                receipient_address,
                eth_amount,
                vec![],
                u64::MAX,
                vec![],
            );

            match &exit_reason {
                ExitReason::Succeed(_) => Ok(()),
                _ => Err(exit_reason),
            }
        })
    }
/// Transfer some ETH from one account to another.
Transfer some ETH from one account to another.
Transfer some ETH from one account to another .
pub fn transfer_eth(
        &mut self,
        sender_address: H160,
        receipient_address: H160,
        eth_amount: U256,
    ) -> Result<(), ExitReason> {
        self.transact(|exec| {
            let (exit_reason, _buffer) = exec.transact_call(
                sender_address,
                receipient_address,
                eth_amount,
                vec![],
                u64::MAX,
                vec![],
            );
            match &exit_reason {
                ExitReason::Succeed(_) => Ok(()),
                _ => Err(exit_reason),
            }
        })
    }
pub fn transfer_eth ( & mut self , sender_address : H160 , receipient_address : H160 , eth_amount : U256 , ) -> Result < ( ) , ExitReason > { self . transact ( | exec | { let ( exit_reason , _buffer ) = exec . transact_call ( sender_address , receipient_address , eth_amount , vec ! [ ] , u64 :: MAX , vec ! [ ] , ) ; match & exit_reason { ExitReason :: Succeed ( _ ) => Ok ( ( ) ) , _ => Err ( exit_reason ) , } } ) }
Transfer some ETH from one account to another.
Transfer some ETH from one account to another .
&mut self
sender_address
H160
receipient_address
H160
eth_amount
U256