pub fn call_host_standard_payment(&mut self) -> Result<(), Error> {
        // NOTE: This method (unlike other call_host_* methods) already runs on its own runtime
        // context.
        let gas_counter = self.gas_counter();
        let amount: U512 =
            Self::get_named_argument(self.context.args(), standard_payment::ARG_AMOUNT)?;
        let result = self.pay(amount).map_err(Self::reverter);
        self.set_gas_counter(gas_counter);
        result
    }
/// Calls host standard payment contract.
Calls host standard payment contract.
Calls host standard payment contract .
pub fn call_host_standard_payment(&mut self) -> Result<(), Error> {
        // NOTE: This method (unlike other call_host_* methods) already runs on its own runtime
        // context.
        let gas_counter = self.gas_counter();
        let amount: U512 =
            Self::get_named_argument(self.context.args(), standard_payment::ARG_AMOUNT)?;
        let result = self.pay(amount).map_err(Self::reverter);
        self.set_gas_counter(gas_counter);
        result
    }
pub fn call_host_standard_payment ( & mut self ) -> Result < ( ) , Error > { // NOTE: This method (unlike other call_host_* methods) already runs on its own runtime // context. let gas_counter = self . gas_counter ( ) ; let amount : U512 = Self :: get_named_argument ( self . context . args ( ) , standard_payment :: ARG_AMOUNT ) ? ; let result = self . pay ( amount ) . map_err ( Self :: reverter ) ; self . set_gas_counter ( gas_counter ) ; result }
Calls host standard payment contract.
Calls host standard payment contract .
&mut self
&mut self