pub fn create<T: Config>(pool_id: T::PoolId, info: LoanInfo<T>)
Expand description

Creates a new loan against the collateral provided

The origin must be the owner of the collateral. This collateral will be transferred to the existing pool.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::create.