Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ExternalTrade

Git Source

Struct containing data for an external trade.

struct ExternalTrade {
// Address of the token to sell.
address sellToken;
// Address of the token to buy.
address buyToken;
// Amount of the token to sell.
uint256 sellAmount;
// Minimum amount of the buy token that the trade results in.
uint256 minAmount;
// Array of basket trade ownerships.
BasketTradeOwnership[] basketTradeOwnership;
}