Struct fsnft_utils::FtokenInit [−][src]
pub struct FtokenInit {
pub name: String,
pub symbol: String,
pub supply: Uint128,
pub decimals: u8,
pub contract_label: String,
pub init_resv_price: Uint128,
pub ftkn_conf: FtokenConf,
}
Expand description
Part of initialization message sent by USERS to fractionalizer initial configuration of fractionalized tokens
Fields
name: String
Name of the ftoken
symbol: String
Symbol of the ftoken
supply: Uint128
Supply in the lowest denomination
decimals: u8
Determines the lowest denomination
contract_label: String
Label String of the ftoken contract which will be instantiated. Instantiation of the new ftoken contract will fail if the label already exists on another contract on Secret Network
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
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 FtokenInit
impl Send for FtokenInit
impl Sync for FtokenInit
impl Unpin for FtokenInit
impl UnwindSafe for FtokenInit
Blanket Implementations
Mutably borrows from an owned value. Read more