Type Alias place_bid

place_bid: TxDescriptor<{ amount: bigint; duration: number }>

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 least MinBid.
  • duration: The number of periods before which the newly consolidated bid may be thawed. Must be greater than 1 and no more than QueueCount.

Complexities:

  • Queues[duration].len() (just take max).