xWin FundFactory
FundV2Initialize
initialize
function initialize(string _name, string _symbol, address _USDAddr, address _manageraddr, address _managerRebaddr, address _platformWallet) externalFundV2Factory
fundV2Array
address[] fundV2ArraysupportedBaseTokens
mapping(address => bool) supportedBaseTokenswhitelisted
mapping(address => bool) whitelistedfundIDs
mapping(address => uint256) fundIDsxWinToken
contract IERC20Upgradeable xWinTokenxWinPriceMaster
xEmitEvent
beaconContract
autoLockAddr
xWinSwapAddr
xWinAdminWallet
DEFAULT_BASETOKEN
DEFAULT_MANAGER
DEFAULT_PLATFORM
DEFAULT_MANAGER_FEE
DEFAULT_PERFORMANCE_FEE
DEFAULT_CREATION_FEE
DEFAULT_PLATFORM_FEE
DEFAULT_REBALANCE_PERIOD
DEFAULT_BLOCKSPERDAY
DEFAULT_SMALLRATIO
BaseTokenUpdate
Received
FundCreation
executors
initialize
createFundPrivate
Create a Fund
Parameters
Name
Type
Description
name
string
Name of new fund
symbol
string
Symbol of new fund
_toAddresses
address[]
Array of initial target allocation addresses
_targetWeight
uint256[]
Array of inital target allocation weights
createFundPrivateWithBaseToken
Create a Fund, with specific base token
Parameters
Name
Type
Description
name
string
Name of new fund
symbol
string
Symbol of new fund
_baseToken
address
base token for new fund
_toAddresses
address[]
Array of initial target allocation addresses
_targetWeight
uint256[]
Array of inital target allocation weights
createFund
createProxy
initialiseFund
_initialiseFund
massProcessPlatformFee
processPlatformFee
processManagerFee
massProcessManagerFee
setSwapAddr
addNewBaseToken
removeBaseToken
updatePriceMaster
getLatestFundID
getFundfromIndex
setProperties
addWhiteList
removeWhiteList
setPause
MoveNonIndexNameToBase
setOpenForPublic
updateOtherProperties
updatePlatformProperty
setPerformanceFee
updateManagerProperty
updateBlockPerday
updatexWinEngines
updateUSDAddr
updateEmitEvent
updateLockedStaking
setWaivedPerformanceFee
setAdminWallet
setEmitEvent
setAutoLock
setCreationFee
isRegistered
countTotalFunds
countActiveFunds
countTVL
countFundNumberByAddress
countTotalTVLByAddress
Gets the total deposit value of the given address in all FundV2 contracts
Parameters
Name
Type
Description
_user
address
Wallet to query
receive
setExecutor
onlyExecutor
Last updated