pub enum SeiMsg {
PlaceOrders {
orders: Vec<Order>,
funds: Vec<Coin>,
contract_address: Addr,
},
CancelOrders {
cancellations: Vec<Cancellation>,
contract_address: Addr,
},
CreateDenom {
subdenom: String,
},
MintTokens {
amount: Coin,
},
BurnTokens {
amount: Coin,
},
ChangeAdmin {
denom: String,
new_admin_address: String,
},
SetMetadata {
metadata: Metadata,
},
DelegateCallEvm {
to: String,
data: String,
},
CallEvm {
value: Uint128,
to: String,
data: String,
},
}
Variants§
PlaceOrders
CancelOrders
CreateDenom
MintTokens
BurnTokens
ChangeAdmin
SetMetadata
DelegateCallEvm
Calls EVM contract deployed at to
address with the given data
.
Calls EVM contract as if the contract’s caller called it directly.
Please note that the CW contract has to be in
allow list
in order to execute delegate call.
The EVM (Solidity) contract msg.sender
in this case will be the callers address.
Fields
CallEvm
Calls EVM contract deployed at to
address with specified value
and data
.
The from address is the contract address of the contract executing the call.
The EVM (Solidity) contract msg.sender
in this case will be the 32-byte long
cosmwasm_std::CanonicalAddr
of this contract.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SeiMsg
impl<'de> Deserialize<'de> for SeiMsg
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 SeiMsg
impl JsonSchema for SeiMsg
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 moreimpl CustomMsg for SeiMsg
impl StructuralPartialEq for SeiMsg
Auto Trait Implementations§
impl Freeze for SeiMsg
impl RefUnwindSafe for SeiMsg
impl Send for SeiMsg
impl Sync for SeiMsg
impl Unpin for SeiMsg
impl UnwindSafe for SeiMsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more