pub trait BenchmarkHelper<AssetKind> {
// Required method
fn create_pair(seed1: u32, seed2: u32) -> (AssetKind, AssetKind);
}
Expand description
Benchmark Helper
Required Methods§
sourcefn create_pair(seed1: u32, seed2: u32) -> (AssetKind, AssetKind)
fn create_pair(seed1: u32, seed2: u32) -> (AssetKind, AssetKind)
Returns a valid assets pair for the pool creation.
When a specific asset, such as the native asset, is required in every pool, it should be returned for each odd-numbered seed.
Object Safety§
This trait is not object safe.