/// Simple builder for an `oracle/MsgExchangeRateVote` message
Simple builder for an `oracle/MsgExchangeRateVote` message
Simple builder for an ` oracle / MsgExchangeRateVote ` message
pub fn to_stdtx_msg(&self) -> Result<stdtx::Msg, Error> {
        Ok(
            stdtx::msg::Builder::new(&SCHEMA, "oracle/MsgExchangeRateVote")?
                .decimal("exchange_rate", self.exchange_rate)?
                .string("salt", &self.salt)?
                .string("denom", self.denom.as_str())?
                .acc_address("feeder", self.feeder)?
                .val_address("validator", self.validator)?
                .to_msg(),
        )
    }
pub fn to_stdtx_msg ( & self ) -> Result < stdtx :: Msg , Error > { Ok ( stdtx :: msg :: Builder :: new ( & SCHEMA , " " ) ? . decimal ( " " , self . exchange_rate ) ? . string ( " " , & self . salt ) ? . string ( " " , self . denom . as_str ( ) ) ? . acc_address ( " " , self . feeder ) ? . val_address ( " " , self . validator ) ? . to_msg ( ) , ) }
Simple builder for an `oracle/MsgExchangeRateVote` message
Simple builder for an ` oracle / MsgExchangeRateVote ` message
&self