AutoRange

Verified contract

Active on Base with 55,134 txns
Deployed by via 0xea2bcbbc at 15062403
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $11,119.44
ERC-20
Value $740.24
ERC-20
Value $566.01
ERC-20
Value $370.84
ERC-20
Value $291.43
ERC-20
Value $238.56
ERC-20
Value $219.27
ERC-20
Value $176.42
ERC-20
Value $147.1
ERC-20
Value $97.79
0x4a9fc4e2a7db683ac18e46dc84107d2d455b6db09a48b55689cb84604d886250
0x2470bb005d369517f4b04f903b4ce8fcdf89a90c26ee51634716cc8f4459e4bb
0xc1b01a6490277e0c8d60afee864f0ea413bda73fbe17036f8f401eab0b640962
0xa359c8e884d9165c47e3d4010972923cece76b7b8b124248ea736aafdc45edb4
0xe665d19ea3d6fded3900ce295e6d5dc54190265657cbe5784b13088380f64fc0
0x3599d06735d733b3b0e01df8418f407c9f8ac7b7b66079cb3bd5015c614c295b
0x53be5f7c47c5714b23f04389906b223e9ce3dc17db5e12d870f50d2f577e43a8
0x9a3ee234ac1eca32a6ee9e04f04b26ba0b2a593ed0a8bc6ecbc7e6dc2400a7ed
0x393f0c14a8a3b204cad512df318507a5fe9375be731b5a509142551a33863d39
0x58d28e9e08e669d351719c0467b89bb2b4794a2d4a1ebefda71249280aff29a4

Functions
Getter at block 23792982
MAX_TWAP_TICK_DIFFERENCE(view returns (uint32)
200
MIN_TWAP_SECONDS(view returns (uint32)
60
TWAPSeconds(view returns (uint32)
60
factory(view returns (address)
0x33128a8fc17869897dce68ed026d694621f6fdfd
maxTWAPTickDifference(view returns (uint16)
100
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
owner(view returns (address)
0x45b220860a39f717dc7daff4fc08b69cb89d1cc9
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
universalRouter(view returns (address)
0xec8b0f7ffe3ae75d7ffab09429e3675bb63503e4
weth(view returns (address)
0x4200000000000000000000000000000000000006
withdrawer(view returns (address)
0x5663ba1b0b1d9b8559cfe049b33fe3b194852e82
zeroxRouter(view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
Read-only
operators(addressview returns (bool)
positionConfigs(uint256view returns (int32 lowerTickLimitint32 upperTickLimitint32 lowerTickDeltaint32 upperTickDeltauint64 token0SlippageX64uint64 token1SlippageX64bool onlyFeesuint64 maxRewardX64)
vaults(addressview returns (bool)
State-modifying
acceptOwnership(
configToken(uint256 tokenIdaddress vaultstruct AutoRangePositionConfig config
execute(struct AutoRangeExecuteParams params
executeWithVault(struct AutoRangeExecuteParams paramsaddress vault
renounceOwnership(
setOperator(address _operatorbool _active
setTWAPConfig(uint16 _maxTWAPTickDifferenceuint32 _TWAPSeconds
setVault(address _vault
setWithdrawer(address _withdrawer
transferOwnership(address newOwner
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdrawBalances(address[] tokensaddress to
withdrawETH(address to
Events
OperatorChanged(address newOperatorbool active
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PositionConfigured(uint256 indexed tokenIdint32 lowerTickLimitint32 upperTickLimitint32 lowerTickDeltaint32 upperTickDeltauint64 token0SlippageX64uint64 token1SlippageX64bool onlyFeesuint64 maxRewardX64
RangeChanged(uint256 indexed oldTokenIduint256 indexed newTokenId
Swap(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOut
TWAPConfigChanged(uint32 TWAPSecondsuint16 maxTWAPTickDifference
VaultSet(address newVault
WithdrawerChanged(address newWithdrawer
Constructor
constructor(address _npmaddress _operatoraddress _withdraweruint32 _TWAPSecondsuint16 _maxTWAPTickDifferenceaddress _zeroxRouteraddress _universalRouter
Fallback and receive
receive(
Errors
AmountError(
ChainlinkPriceError(
CollateralFactorExceedsMax(
CollateralFail(
CollateralValueLimit(
CollectError(
DailyDebtIncreaseLimit(
DailyLendIncreaseLimit(
DebtChanged(
EtherSendFailed(
ExceedsMaxReward(
GlobalDebtLimit(
GlobalLendLimit(
InsufficientLiquidity(
InterestNotUpdated(
InvalidConfig(
InvalidPool(
InvalidToken(
MinLoanSize(
MissingSwapData(
NeedsRepay(
NoEtherToken(
NoLiquidity(
NoSharesRepayed(
NotConfigured(
NotEnoughReward(
NotLiquidatable(
NotReady(
NotSupportedFeeTier(
NotSupportedWhatToDo(
NotWETH(
PriceDifferenceExceeded(
Reentrancy(
SameRange(
SameToken(
SelfSend(
SequencerDown(
SequencerGracePeriodNotOver(
SlippageError(
SwapAmountTooLarge(
SwapFailed(
TWAPCheckFailed(
TooMuchEtherSent(
TransferError(
TransformFailed(
TransformNotAllowed(
Unauthorized(
WrongContract(