pub enum ExecuteMsg {
Show 26 variants Receive(Cw20ReceiveMsg), Deposit {}, Withdraw { coins: Vec<Coin>, }, WithdrawInsuranceFund { coin: Coin, }, SwapMulticollateralToBase { orders: Vec<OrderPlacement>, }, UseWhitelist(bool), AddToCW20DenomMapping { address: String, denom: String, }, AddToFullDenomMapping { full_denom: String, internal_denom: String, conversion_rate: Decimal, }, AddToOracleDenomMapping { oracle_denom: String, internal_denom: String, conversion_rate: Decimal, }, AddToWhitelist { converter: String, }, AddToSupportedMultiCollateralDenoms { denom: String, }, AddToFundingPaymentPairs { price_denom: String, asset_denom: String, }, RemoveFromWhitelist { converter: String, }, AddDenom { denom: String, }, RemoveDenom { denom: String, }, UpdateMarginRatio { margin_ratio: MarginRatios, }, UpdateMaxLeverage { max_leverage: SignedDecimal, }, UpdateMarketOrderFee { market_order_fee: SignedDecimal, }, UpdateLimitOrderFee { limit_order_fee: SignedDecimal, }, UpdateLiquidationOrderFee { liquidation_order_fee: SignedDecimal, }, UpdateAdmin { admin: String, }, UpdateFundingPaymentLookback { funding_payment_lookback: u64, }, UpdateNativeToken { native_token: String, }, UpdateBase { default_base: String, }, UpdateSpotMarketContract { contract_addr: String, }, UpdateMultiCollateralWhitelist { whitelist: Vec<Addr>, whitelist_enable: bool, },
}

Variants

Receive(Cw20ReceiveMsg)

Deposit

Fields

Withdraw

Fields

coins: Vec<Coin>

WithdrawInsuranceFund

Fields

coin: Coin

SwapMulticollateralToBase

Fields

UseWhitelist(bool)

AddToCW20DenomMapping

Fields

address: String
denom: String

AddToFullDenomMapping

Fields

full_denom: String
internal_denom: String
conversion_rate: Decimal

AddToOracleDenomMapping

Fields

oracle_denom: String
internal_denom: String
conversion_rate: Decimal

AddToWhitelist

Fields

converter: String

AddToSupportedMultiCollateralDenoms

Fields

denom: String

AddToFundingPaymentPairs

Fields

price_denom: String
asset_denom: String

RemoveFromWhitelist

Fields

converter: String

AddDenom

Fields

denom: String

RemoveDenom

Fields

denom: String

UpdateMarginRatio

Fields

margin_ratio: MarginRatios

UpdateMaxLeverage

Fields

max_leverage: SignedDecimal

UpdateMarketOrderFee

Fields

market_order_fee: SignedDecimal

UpdateLimitOrderFee

Fields

limit_order_fee: SignedDecimal

UpdateLiquidationOrderFee

Fields

liquidation_order_fee: SignedDecimal

UpdateAdmin

Fields

admin: String

UpdateFundingPaymentLookback

Fields

funding_payment_lookback: u64

UpdateNativeToken

Fields

native_token: String

UpdateBase

Fields

default_base: String

UpdateSpotMarketContract

Fields

contract_addr: String

UpdateMultiCollateralWhitelist

Fields

whitelist: Vec<Addr>
whitelist_enable: bool

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

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

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.