pub fn create(offer_coin: Coin, ask_denom: String, trader: String) -> Message {
        let internal = MsgSwap {
            ask_denom,
            offer_coin,
            trader,
        };
        Message {
            s_type: "market/MsgSwap".into(),
            value: Box::new(internal),
        }
    }
/// swap a coin, and send it to someone
swap a coin, and send it to someone
swap a coin and send it to someone
pub fn create(offer_coin: Coin, ask_denom: String, trader: String) -> Message {
        let internal = MsgSwap {
            ask_denom,
            offer_coin,
            trader,
        };
        Message {
            s_type: "market/MsgSwap".into(),
            value: Box::new(internal),
        }
    }
pub fn create ( offer_coin : Coin , ask_denom : String , trader : String ) -> Message { let internal = MsgSwap { ask_denom , offer_coin , trader , } ; Message { s_type : " " . into ( ) , value : Box :: new ( internal ) , } }
swap a coin, and send it to someone
swap a coin and send it to someone
offer_coin
Coin
ask_denom
String
trader
String