WAMPL-WETH Auto Rebalancer V1

Verified contract

Proxy

Active on Ethereum with 50 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 $2,680.53
ERC-20
Value $2,667.46
0xb5a591ad9b98b58aa9e2b8ddb459d495cb864c449094666fdd69d8de66249560
0x58c2ce76ab04dcc30be30bc3cbf27ec47153984728e330853f10933e8105b5f4
0xc04613555d2cc4174d041217db2f2f41f3dfab16bfcc625c857c1b46d7f59458
0x1ce59744d5c60c607bb2b834ad4879944024c64c750cf6b44f7e8a184803503c
0xc78dd79eb0f5ca50c5ea3d2a216091f409e2a8b6dbce7a38be4c69cfd026adcb
0xf5735a8652b71a1a565dd733531ea232bd9c88f5187d3566895655d0764eea38
0x707ff5756ec0fc75a12c6917b91dc7216ef0d4207d3e39752dccc51918afa0a1
0x6bff8b2398195492683ea36cd987f5406f5421b9a7b91ee6612e5566d6d7b7f1
0xb818d3e8991a4ec48899e8cd58fb591da830ec48f0bc4db8e086af071d96b413
0xd52c10990791b2094c3ef48aae838a45a4549ce03ca9f593c6937d322083d55e

Functions
Getter at block 20892181
MINIMUM_LIQUIDITY(view returns (uint256)
1000
accruedManagerFees0(view returns (uint256)
140742208417221822
accruedManagerFees1(view returns (uint256)
49572673755820296854
accruedProtocolFees0(view returns (uint256)
20915067897254612
accruedProtocolFees1(view returns (uint256)
6480454427966303105
baseLower(view returns (int24)
52800
baseThreshold(view returns (int24)
4800
baseUpper(view returns (int24)
62600
 
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)
957174043870452446
getBalance1(view returns (uint256)
306180878209531938334
 
getTotalAmounts(view returns (uint256 total0uint256 total1)
 
getTwap(view returns (int24)
lastTick(view returns (int24)
57693
lastTimestamp(view returns (uint256)
1728044135
limitLower(view returns (int24)
52800
limitThreshold(view returns (int24)
4800
limitUpper(view returns (int24)
57600
manager(view returns (address)
0x6785fa26191eb531c54fd093931f395c4b01b583
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)
0x6785fa26191eb531c54fd093931f395c4b01b583
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)
59947359083808703565339
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.