Function dex_general::pallet::dispatchables::bootstrap_create
source · pub fn bootstrap_create<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
Create bootstrap pair
The order of asset don’t affect result.
Arguments
asset_0
: Asset which make up bootstrap pairasset_1
: Asset which make up bootstrap pairtarget_supply_0
: Target amount of asset_0 total contributetarget_supply_0
: Target amount of asset_1 total contributecapacity_supply_0
: The max amount of asset_0 total contributecapacity_supply_1
: The 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_create
.