Struct fsnft_utils::AucConf [−][src]
pub struct AucConf {
pub bid_token: ContractInfo,
pub auc_period: u64,
pub resv_boundary: u32,
pub min_bid_inc: u32,
pub unlock_threshold: Uint128,
}
Expand description
ftoken config for bidding. Nested in a larger struct
Fields
bid_token: ContractInfo
Determines the token that bids are made in (eg: sSCRT)
auc_period: u64
Number of blocks that a bid remains live before a finalize_vote_count tx can be called
resv_boundary: u32
User needs to vote a reservation price within this boundary. Boundary is the percentage above and below
current reservation price.
Floor = current reservation price
* 100 / minmax_boundary
.
Ceiling = current reservation price
* minmax_boundary
/ 100.
min_bid_inc: u32
Min bid increment proportion in basis points ie: 1/10_000. So a setting of 10 means that if the current highest bid is 100_000 tokens, the next bid needs to be at least 1/1000 higher, or 100_100 tokens
unlock_threshold: Uint128
Proportion of ftoken OF TOTAL SUPPLY before NFT gets unlocked. Unit in basis points (1/1000)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
Auto Trait Implementations
impl RefUnwindSafe for AucConf
impl UnwindSafe for AucConf
Blanket Implementations
Mutably borrows from an owned value. Read more