xWin Single Asset Alpaca
xWinSingleAssetAlpaca
xWinPriceMaster
contract IxWinPriceMaster xWinPriceMaster_Alpaca
contract IAlpaca _AlpacasmallRatio
uint256 smallRatioexecutors
mapping(address => bool) executorsonlyExecutor
modifier onlyExecutor()initialize
function initialize(string name, string symbol, address _baseToken, address _xWinPriceMaster, address alpaca_, address _USDTokenAddr, uint256 _managerFee, uint256 _performanceFee, uint256 _collectionPeriod, address _managerAddr) externalgetUserBalance
function getUserBalance(address _user) public view returns (uint256)getUnitPrice
_getUnitPrice
_getUnitPrice
getUnitPriceInUSD
deposit
deposit
_deposit
withdraw
withdraw
_withdraw
getVaultValues
getVaultValuesInUSD
_getVaultValues
_getVaultValuesInUSD
canSystemDeposit
systemDeposit
emergencyUnWindPosition
_getAlpacaPrice
_deposit
_removeAlpaca
setExecutor
updateSmallRatio
setPriceMaster
Last updated