SanityRatesInterface
interface SanityRatesInterface
Source: SanityRatesInterface.sol
INDEX
REFERENCE
Functions
getSanityRate
Gets the sanity rate for a pair of tokens.
function getSanityRate(ERC20 src, ERC20 dest) public view returns (uint)
Parameter | Type | Description |
---|---|---|
src | ERC20 | source ERC20 token contract address |
dest | ERC20 | destination ERC20 token contract address |
Returns:
The sanity rate for the pair of tokens