Skip to main content

Module trade

Module trade 

Source

Structs§

Landing
The transfer fees and the Unix time, in seconds, when the trade lands. Get each fee from MintState::fee_at with the landing epoch.
MarketQuote
The trade that the program would make. The caller decides whether to send it.
QuoteRequest
StandInTrade
A trade with the keys of TradeAccounts::with_stand_in_trader. MarketHooks::screen takes only this type.
TradeAccounts
The accounts of a trade instruction. user_base_account and user_quote_account can be any token accounts that user owns.

Enums§

MarketQuoteError
A trade that the program refuses.
TradeDirection
launchpad::types::TradeDirection. .into() converts it to dex::types::TradeDirection.
TradeMode