Identity Oracle
Each oracle has a clearly stated purpose on the architecture. In this case IdentityOracle will solve the case in which someone is quoting the same pair of tokens, while not supporting any other pair of tokens.
This allows us to support quotes where tokenIn = tokenOut
without needing to hardcode this special case into each of the oracles.
Last updated