AutoRange

Verified contract

Active on Ethereum with 765 txns
Deployed by via 0xaa0e4ee4 at 19970937
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $779.41
ERC-20
Value $491.38
ERC-20
Value $109.62
ERC-20
Value $100.13
ERC-20
Value $93.36
ERC-20
Value $76.71
ERC-20
Value $65.24
ERC-20
Value $33.65
ERC-20
Value $27.47
ERC-20
Value $19.72
0xe1b2e1e548497fe252a510b5d59fe060d5ff98400d0c3b3dd62f8e9a6d960b1f
0xa12bbfbfad81719a493a38e80b385732d5fe2d5205dda254ec8ac3a2f020fa9b
0x3fa64c5c756acfa06d82859539dd17878568e5e6e14713e4420cbd09725aba2d
0x10f22be8ee659632ade28b0fbc4a0a3cf5b152eb9595fe619a4a86757689e2c3
0x371100aa5a53aaed8475cfd6c07867d05edddef7ee3cf488a493c8b2ccd2a680
0x2f788679db56838b97c0e8e9ec7595d4325ffa5c6bfd9fd6a5aa6d15a80393a6
0xc0e713400dadc6b8e5825cf94a76b85aa12cb3cc57477170ba7f2d6714666f4a
0xb4aab8276f5ef7590e36c278ca9dee6945e12ed877a5c0656e359ee8feab636f
0xbea70a6c1dd05d6a6f7b053677c46c968ddc34bb246ff5b2a2188bf1233cee8d
0x324338a12a36afcb4748117149bbeda60cca8234c04e4481a32df9c05ab10dd5

Functions
Getter at block 21159842
MAX_TWAP_TICK_DIFFERENCE(view returns (uint32)
200
MIN_TWAP_SECONDS(view returns (uint32)
60
TWAPSeconds(view returns (uint32)
60
factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
maxTWAPTickDifference(view returns (uint16)
100
nonfungiblePositionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
owner(view returns (address)
0xaac25e85e752425dd1a92674ceeaf603758d3124
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
universalRouter(view returns (address)
0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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(