Struct fsnft_utils::FtokenConf [−][src]
pub struct FtokenConf {
pub min_ftkn_bond_prd: u64,
pub priv_metadata_view_threshold: u32,
pub auc_conf: AucConf,
pub prop_conf: PropConf,
}
Expand description
ftoken overall config which is stored in the ftoken contract. Sent as init in fractionalize tx, and stored in ftoken contract
Fields
min_ftkn_bond_prd: u64
Number of blocks that ftokens will be bonded after a vote (on reservation price or on proposals). Important to prevent vote spamming and manipulation
priv_metadata_view_threshold: u32
Proportion of ftoken ownership required before private metadata of underlying NFT can be queried by ftoken owner. This needs to be done with authenticated query, either through viewing keys or viewing permit. Unit in basis points (ie: 1/10_000)
auc_conf: AucConf
Configurations for auctions
prop_conf: PropConf
Configurations for proposals
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FtokenConf
impl Send for FtokenConf
impl Sync for FtokenConf
impl Unpin for FtokenConf
impl UnwindSafe for FtokenConf
Blanket Implementations
Mutably borrows from an owned value. Read more