Function dex_general::pallet::dispatchables::bootstrap_update
source · pub fn bootstrap_update<T: Config>(
asset_0: T::AssetId,
asset_1: T::AssetId,
target_supply_0: AssetBalance,
target_supply_1: AssetBalance,
capacity_supply_0: AssetBalance,
capacity_supply_1: AssetBalance,
end: BlockNumberFor<T>,
rewards: Vec<T::AssetId>,
limits: Vec<(T::AssetId, AssetBalance)>
)
Expand description
update a bootstrap pair
Arguments
asset_0
: Asset which make up bootstrap pairasset_1
: Asset which make up bootstrap pairmin_contribution_0
: The new min amount of asset_0 contributemin_contribution_0
: The new min amount of asset_1 contributetarget_supply_0
: The new target amount of asset_0 total contributetarget_supply_0
: The new target amount of asset_1 total contributecapacity_supply_0
: The new max amount of asset_0 total contributecapacity_supply_1
: The new max amount of asset_1 total contributeend
: The earliest ending block.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::bootstrap_update
.