xWin Allocation
xWinAllocations
xWinSwap
contract IxWinSwap xWinSwappriceMaster
contract IxWinPriceMaster priceMasterexecutors
mapping(address => bool) executorsTargetWeight
mapping(address => uint256) TargetWeighttargetAddr
address[] targetAddrinitialize
function initialize(string _name, string _symbol, address _baseToken, address _swapEngine, address _USDTokenAddr, address _xWinPriceMaster, uint256 _managerFee, uint256 _performanceFee, uint256 _collectionPeriod, address _managerAddr) externalonlyExecutor
modifier onlyExecutor()updatexWinPriceMaster
_deposit
deposit
Name
Type
Description
Name
Type
Description
deposit
_calcMintQty
_withdraw
withdraw
withdraw
_getLatestPrice
_getLatestPriceInUSD
getLatestPrice
createTargetNames
Rebalance
_moveNonIndex
_getDeleteNames
Rebalance
_rebalance
_sellOverWeightNames
_buyUnderWeightNames
_getActiveOverWeight
getTokenValues
_getTokenValues
getBalance
_getTransferAmt
setExecutor
getUnitPrice
_getUnitPrice
getUnitPriceInUSD
getVaultValues
_getVaultValues
getTargetWeightQty
_getTokenValuesInUSD
getVaultValuesInUSD
_getVaultValuesInUSD
getStableValues
getTargetNamesAddress
Last updated