UniverseVault

Verified contract

Active on Ethereum with 50 txns
Deployed by via 0xe0f07281 at 13813876
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 1 additional slot
ERC-20
Value $6,288.74
ERC-20
Value $229
0x1adb69632e69f9d21ffbce23cba1fa153a0b30a77a6421d4b8a436b3abe606b0
0xe173f4a868c6bba213c7bd3b32d85e75b155ff4bc253708efdd0a01d3a4d8452
0x17ea65821c23a3f64c933405ebec605fccb1808fea90f3972029177c2b59fd4a
0xedf037b2c87083b4699c85901df3b3067b2e6b37402b6226d57a019b5b9cf95b
0xb5c0d66f5b854d557878e8e66aa2035d5e8f68ba5e659efc65968ee1e99c5dd8
0x6b2cfe82ff60f7392e3b5bfd4c39b06b27a27e6365f5291b8922b2578cf9d4b5
0xc5adc97bb57ebbc8c8af6123a5e13c5f5d5d8c56afc946657ad0894d28af6a57
0xc923e88303e88627ca4c49bfbf66ac99613308f57bfad27af8a7a33420f2f486
0xc8dad6f643dc854f02eeecaa5d42052930ced9ad812171230dbf81c4faf28160
0xac761c3e8ff42d84a774bd92372f00e5bbd90418d5b28f6347ad2a1a10b52138

Functions
Getter at block 21165805
UNIVERSE_VAULT_VERSION(view returns (uint8)
2
getPNL(view returns (uint256 rateuint256 param)
(rate=0, param=95000)
getTotalAmounts(view returns (uint256 total0uint256 total1uint256 free0uint256 free1uint256 utilizationRate0uint256 utilizationRate1)
(total0=1821067937255287346, total1=0, free0=1821067937255287346, free1=0, utilizationRate0=0, utilizationRate1=0)
maxShares(view returns (uint256 maxToken0Amtuint256 maxToken1Amtuint256 maxSingeDepositAmt0uint256 maxSingeDepositAmt1)
(maxToken0Amt=20000000000000000000000, maxToken1Amt=70000000000000, maxSingeDepositAmt0=2000000000000000000000, maxSingeDepositAmt1=7000000000000)
owner(view returns (address)
0x72aa5e87a11815127daff850e0586a07a9a0f5a4
position(view returns (uint128 principal0uint128 principal1address poolAddressint24 lowerTickint24 upperTickint24 tickSpacingbool status)
(principal0=9700400215062368560, principal1=21188773244, poolAddress=0x4e68ccd3e89f51c3074ca5072bbac773960dfa36, lowerTick=-199440, upperTick=-197520, tickSpacing=60, status=false)
protocolFees(view returns (uint128 fee0uint128 fee1)
(fee0=92467112242370355, fee1=228539085)
safeAddLiq(view returns (int24 positionTickint24 depositMaxOffsetTickint24 tickBias0int24 tickBias1uint24 pct0uint24 pct1)
(positionTick=-198525, depositMaxOffsetTick=6000, tickBias0=0, tickBias1=0, pct0=10000000, pct1=10000000)
token0(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
token1(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
totalShare0(view returns (uint256)
1973242827262323193
totalShare1(view returns (uint256)
0
uToken0(view returns (address)
0xdbd151161532f42ed23e2fd08d173990e922f076
uToken1(view returns (address)
0x1830efc39f413dc6b8c73043850fdfe6dc0307bf
Read-only
getBals(uint256 share0uint256 share1view returns (uint256 amount0uint256 amount1)
getShares(uint256 amount0Desireduint256 amount1Desiredview returns (uint256 share0uint256 share1)
getUserBals(address userview returns (uint256 amount0uint256 amount1)
getUserShares(address userview returns (uint256 share0uint256 share1)
State-modifying
addPool(uint24 _poolFee
avoidRisk(uint8 _profitScale
changeConfig(address _swapPooluint8 _performanceFeeuint24 _diffTickuint32 _safetyParam
changeManager(address _operator
changeMaxShare(uint256 _maxShare0uint256 _maxShare1uint256 _maxSingeDepositAmt0uint256 _maxSingeDepositAmt1
changePool(address newPoolAddressint24 _lowerTickint24 _upperTickint24 _spotTickuint8 _profitScale
changeSafeAddLiq(int24 _depositMaxOffsetTickint24 _tickBias0int24 _tickBias1uint24 _pct0uint24 _pct1
deposit(uint256 amount0Desireduint256 amount1Desiredreturns (uint256uint256)
deposit(uint256 amount0Desireduint256 amount1Desiredaddress toreturns (uint256uint256)
forceReBalance(int24 _lowerTickint24 _upperTickint24 _spotTickuint8 _profitScale
initPosition(address _poolAddressint24 _lowerTickint24 _upperTick
reBalance(int24 reBalanceThresholdint24 bandint24 _spotTickuint8 _profitScale
renounceOwnership(
transferOwnership(address newOwner
uniswapV3MintCallback(uint256 amount0uint256 amount1bytes
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes
updateWhiteList(address _addressbool status
withdraw(uint256 share0uint256 share1returns (uint256uint256)
withdrawPerformanceFee(address to
Events
ChangeManger(address indexed _operator
CollectFees(uint256 feesFromPool0uint256 feesFromPool1
Deposit(address indexed useruint256 share0uint256 share1uint256 amount0uint256 amount1
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UpdateWhiteList(address indexed _addressbool status
Withdraw(address indexed useruint256 share0uint256 share1uint256 amount0uint256 amount1
Constructor
constructor(address _uniFactoryaddress _poolAddressaddress _operatoraddress _swapPooluint8 _performanceFeeuint24 _diffTickuint256 _maxToken0uint256 _maxToken1uint256 _maxSingeDepositAmt0uint256 _maxSingeDepositAmt1
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.