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 pair
  • asset_1: Asset which make up bootstrap pair
  • target_supply_0: Target amount of asset_0 total contribute
  • target_supply_0: Target amount of asset_1 total contribute
  • capacity_supply_0: The max amount of asset_0 total contribute
  • capacity_supply_1: The max amount of asset_1 total contribute
  • end: 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.