Skip to content

Latest commit

 

History

History
200 lines (179 loc) · 6.11 KB

IPriceDiscovery.md

File metadata and controls

200 lines (179 loc) · 6.11 KB

IPriceDiscovery.sol

View Source: contracts/interfaces/IPriceDiscovery.sol

↗ Extends: IMember ↘ Derived Contracts: PriceDiscovery

IPriceDiscovery

Events

event PriceUpdated(address  token, address  stablecoin, uint256  price);

Functions

getTokenPriceInStableCoin

function getTokenPriceInStableCoin(address token, uint256 multiplier) external view
returns(uint256)

Arguments

Name Type Description
token address
multiplier uint256
Source Code
function getTokenPriceInStableCoin(address token, uint256 multiplier) external view returns (uint256);

getTokenPriceInLiquidityToken

function getTokenPriceInLiquidityToken(address token, address liquidityToken, uint256 multiplier) external view
returns(uint256)

Arguments

Name Type Description
token address
liquidityToken address
multiplier uint256
Source Code
function getTokenPriceInLiquidityToken(
    address token,
    address liquidityToken,
    uint256 multiplier
  ) external view returns (uint256);

Contracts