Enum ftoken::ftoken_mod::msg::InitRes [−][src]
pub enum InitRes {
ReceiveFtokenCallback {
ftkn_instance: FtokenInstance,
},
SetViewingKey {
key: String,
padding: Option<String>,
},
}
Expand description
Init Callback response to send upon instantiation of ftoken contract
Variants
ReceiveFtokenCallback
Fields
ftkn_instance: FtokenInstance
Callback to fractionalizer contract upon instantiation of ftoken contract
SetViewingKey
set viewing key sent to nft contract
Implementations
Implements register_receieve of ftoken contract on fractionalizer
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
pad the message to blocks of this size
fn to_cosmos_msg(
&self,
callback_code_hash: String,
contract_addr: HumanAddr,
send_amount: Option<Uint128>
) -> Result<CosmosMsg<Empty>, StdError>
fn to_cosmos_msg(
&self,
callback_code_hash: String,
contract_addr: HumanAddr,
send_amount: Option<Uint128>
) -> Result<CosmosMsg<Empty>, StdError>
Returns StdResult
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 InitRes
impl UnwindSafe for InitRes
Blanket Implementations
Mutably borrows from an owned value. Read more