Function pallet_nis::pallet::dispatchables::place_bid
source · pub fn place_bid<T: Config>(
amount: <<T as Config>::Currency as FunInspect<<T as Config>::AccountId>>::Balance,
duration: u32
)
Expand description
Place a bid.
Origin must be Signed, and account must have at least amount
in free balance.
amount
: The amount of the bid; these funds will be reserved, and if/when consolidated, removed. Must be at leastMinBid
.duration
: The number of periods before which the newly consolidated bid may be thawed. Must be greater than 1 and no more thanQueueCount
.
Complexities:
Queues[duration].len()
(just take max).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::place_bid
.