pub struct LimitOrderTranche {
pub key: Option<LimitOrderTrancheKey>,
pub reserves_maker_denom: String,
pub reserves_taker_denom: String,
pub total_maker_denom: String,
pub total_taker_denom: String,
pub expiration_time: Option<Timestamp>,
pub price_taker_to_maker: String,
pub maker_price: String,
pub dec_reserves_maker_denom: String,
pub dec_reserves_taker_denom: String,
pub dec_total_taker_denom: String,
}Fields§
§key: Option<LimitOrderTrancheKey>§reserves_maker_denom: StringDEPRECATED: reserves_maker_denom will be removed in future release, dec_reserves_maker_denom should always be used.
reserves_taker_denom: StringDEPRECATED: reserves_taker_denom will be removed in future release, dec_reserves_taker_denom should always be used.
total_maker_denom: String§total_taker_denom: StringDEPRECATED: total_taker_denom will be removed in future release, dec_total_taker_denom should always be used.
LimitOrders with expiration_time set are valid as long as blockTime <= expiration_time
expiration_time: Option<Timestamp>JIT orders also use expiration_time to handle deletion but represent a special case All JIT orders have a expiration_time of 0 and an exception is made to still treat these orders as live Order deletion still functions the same and the orders will be deleted at the end of the block
price_taker_to_maker: StringDEPRECATED: price_taker_to_maker will be removed in future release, maker_price should always be used.
maker_price: StringThis is the price of the LimitOrder denominated in the opposite token. (ie. 1 TokenA with a maker_price of 10 is worth 10 TokenB )
dec_reserves_maker_denom: String§dec_reserves_taker_denom: String§dec_total_taker_denom: StringImplementations§
Trait Implementations§
Source§impl Clone for LimitOrderTranche
impl Clone for LimitOrderTranche
Source§fn clone(&self) -> LimitOrderTranche
fn clone(&self) -> LimitOrderTranche
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LimitOrderTranche
impl Debug for LimitOrderTranche
Source§impl Default for LimitOrderTranche
impl Default for LimitOrderTranche
Source§impl<'de> Deserialize<'de> for LimitOrderTranche
impl<'de> Deserialize<'de> for LimitOrderTranche
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>,
Source§impl From<LimitOrderTranche> for Binary
impl From<LimitOrderTranche> for Binary
Source§fn from(msg: LimitOrderTranche) -> Self
fn from(msg: LimitOrderTranche) -> Self
Source§impl<T> From<LimitOrderTranche> for CosmosMsg<T>
impl<T> From<LimitOrderTranche> for CosmosMsg<T>
Source§fn from(msg: LimitOrderTranche) -> Self
fn from(msg: LimitOrderTranche) -> Self
Source§impl JsonSchema for LimitOrderTranche
impl JsonSchema for LimitOrderTranche
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl Message for LimitOrderTranche
impl Message for LimitOrderTranche
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for LimitOrderTranche
impl PartialEq for LimitOrderTranche
Source§impl Serialize for LimitOrderTranche
impl Serialize for LimitOrderTranche
Source§impl TryFrom<Binary> for LimitOrderTranche
impl TryFrom<Binary> for LimitOrderTranche
Source§impl TryFrom<SubMsgResult> for LimitOrderTranche
impl TryFrom<SubMsgResult> for LimitOrderTranche
impl Eq for LimitOrderTranche
impl StructuralPartialEq for LimitOrderTranche
Auto Trait Implementations§
impl Freeze for LimitOrderTranche
impl RefUnwindSafe for LimitOrderTranche
impl Send for LimitOrderTranche
impl Sync for LimitOrderTranche
impl Unpin for LimitOrderTranche
impl UnwindSafe for LimitOrderTranche
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more