Struct gekko::runtime::kusama::extrinsics::auctions::Bid [−][src]
pub struct Bid<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode, {
pub para: A,
pub auction_index: B,
pub first_slot: C,
pub last_slot: D,
pub amount: E,
}
Expand description
Make a new bid from an account (including a parachain account) for deploying a new
Documentation (provided by the runtime metadata)
Make a new bid from an account (including a parachain account) for deploying a new parachain.
Multiple simultaneous bids from the same bidder are allowed only as long as all active bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.
sub
is the sub-bidder ID, allowing for multiple competing bids to be made by (and funded by) the same account.auction_index
is the index of the auction to bid on. Should just be the present value ofAuctionCounter
.first_slot
is the first lease period index of the range to bid on. This is the absolute lease period index value, not an auction-specific offset.last_slot
is the last lease period index of the range to bid on. This is the absolute lease period index value, not an auction-specific offset.amount
is the amount to bid to be held as deposit for the parachain should the bid win. This amount is held throughout the range.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
para: A
Type description: Compact<ParaId>
auction_index: B
Type description: Compact<AuctionIndex>
first_slot: C
Type description: Compact<LeasePeriodOf<T>>
last_slot: D
Type description: Compact<LeasePeriodOf<T>>
amount: E
Type description: Compact<BalanceOf<T>>
Trait Implementations
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq> Eq for Bid<A, B, C, D, E> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
E: Encode + Decode,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for Bid<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Unpin for Bid<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for Bid<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.