xWin Pricemaster
xWinPriceMaster
SourceMap
onlyExecutor
stratInteractor
_TWAPOracle
chainLinkUSDpair
priceSourceMap
executors
initialize
getPrice
Get token price from xWinPriceMaster in the form of from/to, e.g ETH/USDC, BTC/ETH
Parameters
Name
Type
Description
_from
address
from Token address
_to
address
to Token address
_getTWAPPrice
_getLPPrice
addPrice
addChainlinkUSDPrice
setExecutor
setTWAPOracle
updateStratInteractor
_convertFrom18
Last updated