Function new_coins
pub fn new_coins(
coins: impl IntoIterator<Item = (impl ToString, impl ToString)>,
) -> Vec<Coin>
Expand description
helper function to create a vec of coins from an iterator of tuples where the first is the amount, and the second is the denom. Example:
ⓘ
use layer_climb::prelude::*;
new_coins([
("uusd", "100"),
("uslay", "200")
])