Struct fsnft_utils::FtokenContrInit [−][src]
pub struct FtokenContrInit {
pub ftkn_idx: u32,
pub depositor: HumanAddr,
pub fract_hash: String,
pub nft_info: UndrNftInfo,
pub init_resv_price: Uint128,
pub ftkn_conf: FtokenConf,
}
Expand description
Part of information sent from fractionalizer contract to ftoken contract on instantiation tx
Fields
ftkn_idx: u32
Index of ftoken contract. Starts from 0
depositor: HumanAddr
Depositor of NFT into fractionalizer
fract_hash: String
Contract hash of fractionalizer
nft_info: UndrNftInfo
Underlying NFT info
init_resv_price: Uint128
Initial reservation price which determines the initial min and max reservation price vote for the first user who votes on reservation price
ftkn_conf: FtokenConf
ftoken config which is stored in the ftoken contract
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 FtokenContrInit
impl Send for FtokenContrInit
impl Sync for FtokenContrInit
impl Unpin for FtokenContrInit
impl UnwindSafe for FtokenContrInit
Blanket Implementations
Mutably borrows from an owned value. Read more