xWin Docs
Search…
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.
1
function updateTokenNames(
2
address[] calldata underlyingAddress,
3
string[] calldata tokennames) external onlyOwner
Copied!
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
1
function addPancakePriceToken(
2
string [] memory _tokenname,
3
address[] calldata _addressToken,
4
bool [] memory _usePancake)
5
public onlyOwner
Copied!
Last modified 10mo ago
Copy link