Overall Structure

How Each Smart Contract Interacted Each Other

xWinDefi Protocol served the main connector with off-chain UI and each vault generated in xWinFund or xWinFarm protocol.

xWinFund or xWinFarm contain the logic of how the rebalance, subscription and redemption works by connecting with other protocol such as Pancakeswap for swapping or price discovery with xWinMaster.

xWinMaster contain the logic of how the price is fetched. The protocol mainly is configured with token names and where the price should be fetched, band protocol or pancakeswap

xWinStake protocol has simple logic of provide the xwin and BNB to xwin-bnb pair liquidity in Pancakeswap.