Enum sg_name::SgNameExecuteMsg
source · pub enum SgNameExecuteMsg {
SetNameMarketplace {
address: String,
},
AssociateAddress {
name: String,
address: Option<String>,
},
UpdateImageNft {
name: String,
nft: Option<NFT>,
},
UpdateMetadata {
name: String,
metadata: Option<Metadata>,
},
AddTextRecord {
name: String,
record: TextRecord,
},
RemoveTextRecord {
name: String,
record_name: String,
},
UpdateTextRecord {
name: String,
record: TextRecord,
},
VerifyTextRecord {
name: String,
record_name: String,
result: bool,
},
UpdateVerifier {
verifier: Option<String>,
},
}Variants§
SetNameMarketplace
Set name marketplace contract address
AssociateAddress
Set an address for name reverse lookup Can be an EOA or a contract address
UpdateImageNft
Update image
UpdateMetadata
Update Metadata
AddTextRecord
Add text record ex: twitter handle, discord name, etc
RemoveTextRecord
Remove text record ex: twitter handle, discord name, etc
UpdateTextRecord
Update text record ex: twitter handle, discord name, etc
VerifyTextRecord
Verify a text record (via oracle)
UpdateVerifier
Update the reset the verification oracle
Trait Implementations§
source§impl Clone for SgNameExecuteMsg
impl Clone for SgNameExecuteMsg
source§fn clone(&self) -> SgNameExecuteMsg
fn clone(&self) -> SgNameExecuteMsg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SgNameExecuteMsg
impl Debug for SgNameExecuteMsg
source§impl<'de> Deserialize<'de> for SgNameExecuteMsg
impl<'de> Deserialize<'de> for SgNameExecuteMsg
source§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
source§impl JsonSchema for SgNameExecuteMsg
impl JsonSchema for SgNameExecuteMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§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