Trait shot_runtime::traits::AssetRecorderBenchmarks [−][src]
pub trait AssetRecorderBenchmarks<AssetId, Balance> {
fn add_asset(
asset_id: AssetId,
units: Balance,
location: MultiLocation,
amount: Balance
) -> Result<(), DispatchError>;
fn deposit_saft_equivalent(saft_nav: Balance) -> Result<(), DispatchError>;
}
Expand description
Helper trait for runtime benchmarks
Required methods
fn add_asset(
asset_id: AssetId,
units: Balance,
location: MultiLocation,
amount: Balance
) -> Result<(), DispatchError>
fn deposit_saft_equivalent(saft_nav: Balance) -> Result<(), DispatchError>
Implementations on Foreign Types
create feed and add new liquid asset
deposit index tokens to the testing account with saft_nav