Function pallet_broker::pallet::dispatchables::purchase_credit
source · pub fn purchase_credit<T: Config>(
amount: BalanceOf<T>,
beneficiary: RelayAccountIdOf<T>,
)
Expand description
Purchase credit for use in the Instantaneous Coretime Pool.
origin
: Must be a Signed origin able to pay at leastamount
.amount
: The amount of credit to purchase.beneficiary
: The account on the Relay-chain which controls the credit (generally this will be the collator’s hot wallet).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::purchase_credit
.