AutoExit

Verified contract

Active on Ethereum with 178 txns
Deployed by via 0x2daf0a50 at 19970906
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $162.25
ERC-20
Value $10.83
ERC-20
Value $9
ERC-20
Value $0.14
ERC-20
Value $0.06
ERC-20
Value $0.05
ERC-20
--
ERC-20
--
0xabe31f7356d7af14bde23a313fa713013b1f9bcc65ff32f4187cbfacef46c3a0
0x97744f6212ba2a0a055d55d99874fa0b281ae8feb13c1d74bbb27f6da6c1513a
0x6a02f665418b4af45d38e0639645d737babccdef7b9e723269d640592f381b12
0x03e941d49288d4571c4fc2315da057a13df20f5ad52918362a02ea2dc3f5dd9a
0x3ba27dd72f9767cd7699c22954f0e1f600c521a98fd934aef569f78167c717db
0x3bd8460622179af9a8dc297e761c7848f78718586c662d2832bcd9f7bd3c58b8
0x7a1fa395af59e3b249490eec2fbd577ed8242107818826e029ba821832cd3e28
0x89c874ca77dfc5677eeb2d566cdcf44d8543eea8263ab0b1bd8748ffcb94720b
0x2fea0527cb9af7cd9e4d6daa8219bc94182e8d6f1f1ba1a86c2fd533d9bc35f6
0x91aac8b9f156ec9bb8613fa31ea54d79f678fc96c43d24ce0c40ef6f533ae4f1

Functions
Getter at block 21223244
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 (bool isActivebool token0Swapbool token1Swapint24 token0TriggerTickint24 token1TriggerTickuint64 token0SlippageX64uint64 token1SlippageX64bool onlyFeesuint64 maxRewardX64)
State-modifying
acceptOwnership(
configToken(uint256 tokenIdstruct AutoExitPositionConfig config
execute(struct AutoExitExecuteParams params
renounceOwnership(
setOperator(address _operatorbool _active
setTWAPConfig(uint16 _maxTWAPTickDifferenceuint32 _TWAPSeconds
setWithdrawer(address _withdrawer
transferOwnership(address newOwner
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdrawBalances(address[] tokensaddress to
withdrawETH(address to
Events
Executed(uint256 indexed tokenIdaddress accountbool isSwapuint256 amountReturned0uint256 amountReturned1address token0address token1
OperatorChanged(address newOperatorbool active
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PositionConfigured(uint256 indexed tokenIdbool isActivebool token0Swapbool token1Swapint24 token0TriggerTickint24 token1TriggerTickuint64 token0SlippageX64uint64 token1SlippageX64bool onlyFeesuint64 maxRewardX64
Swap(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOut
TWAPConfigChanged(uint32 TWAPSecondsuint16 maxTWAPTickDifference
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(