Struct fsnft_utils::FtokenInstance[][src]

pub struct FtokenInstance {
    pub ftkn_idx: u32,
    pub depositor: HumanAddr,
    pub ftoken_contr: ContractInfo,
    pub init_nft_info: UndrNftInfo,
    pub name: String,
    pub symbol: String,
    pub decimals: u8,
}
Expand description

ftoken contract information created at initialization, stored directly in fractionalizer contract, also within the FtokenInfo struct stored in ftoken contracts

Fields

ftkn_idx: u32

ftoken contract index from the fractionalizer contract’s perspective

depositor: HumanAddr

Address which deposited the nft

ftoken_contr: ContractInfo

Code hash and address of ftoken contract

init_nft_info: UndrNftInfo

Information on the underlying nft that was initially deposited

name: String

Name of ftoken

symbol: String

Symbol of ftoken

decimals: u8

Decimal of ftoken

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.