Function fuels_test_helpers::setup_single_asset_coins
source · pub fn setup_single_asset_coins(
owner: &Bech32Address,
asset_id: AssetId,
num_coins: u64,
amount_per_coin: u64
) -> Vec<Coin> ⓘ
Expand description
Create a vector of num_coins
UTXOs containing amount_per_coin
amount of asset asset_id
.
The output of this function can be used with setup_test_client
to get a client with some
pre-existing coins, but with only one asset ID.