Function cosmwasm_std::coins
source · [−]Expand description
A shortcut constructor for a set of one denomination of coins
Examples
let tip = coins(123, "ucosm");
let mut response: Response = Default::default();
response.messages = vec![SubMsg::new(BankMsg::Send {
to_address: info.sender.into(),
amount: tip,
})];