Constant mango_v4::state::QUOTE_TOKEN_INDEX
source · pub const QUOTE_TOKEN_INDEX: TokenIndex = 0;
Expand description
This token index is supposed to be the token that oracles quote in.
In practice this is set to the USDC token index, and that is wrong: actually oracles quote in USD. Any use of this constant points to a potentially incorrect assumption.