xWinMaster

xWinMaster is the contract configured with the price reference and tokens supported in xWin Platform.

Owner setup the price with the name and address and maintain it from time to time.

function updateTokenNames(
address[] calldata underlyingAddress,
string[] calldata tokennames) external onlyOwner

xWin will decided if the price is not available in band protocol it will use the Pancakeswap LP price instead by updating the xWinMaster contract without touching the contract in xWinFund

function addPancakePriceToken(
string [] memory _tokenname,
address[] calldata _addressToken,
bool [] memory _usePancake)
public onlyOwner