WAMPL-WETH Auto Rebalancer V1

Verified contract

Proxy

Active on Ethereum with 67 txns
Deployed by via 0x47b0c54e at 20162630
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 48 additional slots
19 additional variables
ERC-20
Value $1,385,532.49
ERC-20
Value $11,973.76
0x9e5ba66fa76ee3e8514110fe7664a924ee32cb307be87ecd31e55fbf81cc9153
0xbea18bef787b9510e2db7841dbf898cbab8836fab311e71ad46b884612eba1af
0x07e3130964267bfad6c4ba3551ba1ceade4d26929e10726345296ede97442128
0x4fa2557b5baca359ba313df57b9d5687bb2e05651dea380b4709f7a8c5623a92
0x6f2626399ddd5c63219b4bbebff9d5599b523a6eb2b329b6714eda2dfab63c55
0x2c9f2b05c472bd43e6fdac79a2762152b363c20f11bab33a78ecc77a6acb7dde
0xeeb6f766f0d9ed6a1880a351b72413c3529834eb13d0eeb60b513825cdc3d306
0x63aa35f123c250f8a6982a8f7aea6717bf5aacde2d7e8b4a5370dfcebecf34b9
0x549ea47713316629a90d6295c33ead81e9e554b3480f5ff1e2727a5241a6730d
From
0x5d336ddca2d3df385f6dcee4041025f1e9fd9e15683ed745b2bff7854d504fce

Functions
Getter at block 21383866
MINIMUM_LIQUIDITY(view returns (uint256)
1000
accruedManagerFees0(view returns (uint256)
9505553687071283
accruedManagerFees1(view returns (uint256)
201542999400757148
accruedProtocolFees0(view returns (uint256)
200957351982953784
accruedProtocolFees1(view returns (uint256)
33980444593642777808
baseLower(view returns (int24)
45000
baseThreshold(view returns (int24)
4800
baseUpper(view returns (int24)
54800
 
checkCanRebalance(view 
decimals(view returns (uint8)
18
factory(view returns (address)
0x5b7b8b487d05f77977b7abeec5f922925b9b2afa
fullLower(view returns (int24)
-887200
fullRangeWeight(view returns (uint24)
500000
fullUpper(view returns (int24)
887200
getBalance0(view returns (uint256)
351785232012015185682
getBalance1(view returns (uint256)
390118517588768564978
 
getTotalAmounts(view returns (uint256 total0uint256 total1)
 
getTwap(view returns (int24)
lastTick(view returns (int24)
49854
lastTimestamp(view returns (uint256)
1733897735
limitLower(view returns (int24)
50000
limitThreshold(view returns (int24)
4800
limitUpper(view returns (int24)
54800
manager(view returns (address)
0x574fca658b4b59e965c0e5f74761ae0ac41da6a7
managerFee(view returns (uint24)
90000
maxTotalSupply(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
maxTwapDeviation(view returns (int24)
100
minTickMove(view returns (int24)
0
name(view returns (string)
WAMPL-WETH Auto Rebalancer V1
pendingManager(view returns (address)
0x574fca658b4b59e965c0e5f74761ae0ac41da6a7
pendingManagerFee(view returns (uint24)
90000
period(view returns (uint32)
604800
pool(view returns (address)
0x0c2b6bf7322a3cceb47c7ba74f2c75a19f530f11
protocolFee(view returns (uint24)
10000
rebalanceDelegate(view returns (address)
0x57981b1eafe4b18ec97f8b10859b40207b364662
symbol(view returns (string)
WAMPL-WETH-LP
tickSpacing(view returns (int24)
200
token0(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
token1(view returns (address)
0xedb171c18ce90b633db442f2a6f72874093b49ef
totalSupply(view returns (uint256)
80740701973202204656931
twapDuration(view returns (uint32)
3600
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getPositionAmounts(int24 tickLowerint24 tickUpperview returns (uint256 amount0uint256 amount1)
State-modifying
acceptManager(
approve(address spenderuint256 amountreturns (bool)
collectManager(address to
collectProtocol(address to
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 amount0Desireduint256 amount1Desireduint256 amount0Minuint256 amount1Minaddress toreturns (uint256 sharesuint256 amount0uint256 amount1)
emergencyBurn(int24 tickLowerint24 tickUpperuint128 liquidity
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(struct VaultParams _paramsaddress _factory
rebalance(
setBaseThreshold(int24 _baseThreshold
setFullRangeWeight(uint24 _fullRangeWeight
setLimitThreshold(int24 _limitThreshold
setManager(address _manager
setManagerFee(uint24 _pendingManagerFee
setMaxTotalSupply(uint256 _maxTotalSupply
setMaxTwapDeviation(int24 _maxTwapDeviation
setMinTickMove(int24 _minTickMove
setPeriod(uint32 _period
setRebalanceDelegate(address _rebalanceDelegate
setTwapDuration(uint32 _twapDuration
sweep(address tokenuint256 amountaddress to
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
uniswapV3MintCallback(uint256 amount0uint256 amount1bytes data
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdraw(uint256 sharesuint256 amount0Minuint256 amount1Minaddress toreturns (uint256 amount0uint256 amount1)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CollectFees(uint256 feesToVault0uint256 feesToVault1uint256 feesToProtocol0uint256 feesToProtocol1uint256 feesToManager0uint256 feesToManager1
CollectManager(uint256 amount0uint256 amount1
CollectProtocol(uint256 amount0uint256 amount1
Deposit(address indexed senderaddress indexed touint256 sharesuint256 amount0uint256 amount1
Snapshot(int24 tickuint256 totalAmount0uint256 totalAmount1uint256 totalSupply
Transfer(address indexed fromaddress indexed touint256 value
UpdateBaseThreshold(int24 threshold
UpdateFullRangeWeight(uint24 weight
UpdateLimitThreshold(int24 threshold
UpdateManager(address manager
UpdateManagerFee(uint24 managerFee
UpdateMaxTotalSupply(uint256 maxTotalSupply
UpdateMaxTwapDeviation(int24 maxTwapDeviation
UpdateMinTickMove(int24 minTickMove
UpdatePendingManager(address manager
UpdatePeriod(uint32 period
UpdateRebalanceDelegate(address delegate
UpdateTwapDuration(uint32 twapDuration
Withdraw(address indexed senderaddress indexed touint256 sharesuint256 amount0uint256 amount1
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.