V3Utils

Verified contract

Active on Ethereum with 2,238 txns
Deployed by via 0x5ad3517e at 16842351
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
)
ERC-721
--
)
ERC-721
--
0x4e2d41fcf8452e014cdcf60043d9ff1819491f20cbe070f545644f4a0b832d74
0xecc20f7b156c243d75086cc2f688e04d6b9845afcceaaf3ab1f56c38be511091
0x7db8cea000f36c0fd4f70f163a52de8d13e99aafab1a039025decfe5797aec39
0xedc4fcd278fefd060fe9a8d26ca49e7e2546e76ff1f59ca6e568ef6ece506be2
0x7ec41dedffe0eedfdff5715a1375bff5db84fd4e60a513c349c5e9f43c816356
0xc3fee7308ec7ea76ccbf24df43287d1220ab71b064dd4d969929a28c18c484ae
0xfcd08a0f63de57da3e97b9c614b875fc252d68b33c2a6de143781f527ebdb476
0xde74ea558f6405b15fa5170641fed1945a40f3994f9d70c894935134da20e468
0x96846fcd631ec04e824a5cc282f231483c1372cb1f3d363658e73ed5f015040b
0x424d52ea62c2976dae49bbcb95b71dab5e5979671ae5891e8c993c903fa29589

Functions
Getter at block 21311075
nonfungiblePositionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
swapRouter(view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only

This contract contains no read-only function objects.

State-modifying
execute(uint256 tokenIdV3UtilsInstructions instructions
onERC721Received(addressaddress fromuint256 tokenIdbytes datareturns (bytes4)
swap(struct V3UtilsSwapParams paramspayable returns (uint256 amountOut)
swapAndIncreaseLiquidity(struct V3UtilsSwapAndIncreaseLiquidityParams paramspayable returns (uint128 liquidityuint256 amount0uint256 amount1)
swapAndMint(struct V3UtilsSwapAndMintParams paramspayable returns (uint256 tokenIduint128 liquidityuint256 amount0uint256 amount1)
Events
ChangeRange(uint256 indexed tokenIduint256 newTokenId
CompoundFees(uint256 indexed tokenIduint128 liquidityuint256 amount0uint256 amount1
Swap(address indexed tokenInaddress indexed tokenOutuint256 amountInuint256 amountOut
SwapAndIncreaseLiquidity(uint256 indexed tokenIduint128 liquidityuint256 amount0uint256 amount1
SwapAndMint(uint256 indexed tokenIduint128 liquidityuint256 amount0uint256 amount1
WithdrawAndCollectAndSwap(uint256 indexed tokenIdaddress tokenuint256 amount
Constructor
constructor(address _nonfungiblePositionManageraddress _swapRouter
Fallback and receive
receive(
Errors
AmountError(
CollectError(
EtherSendFailed(
NoEtherToken(
NotSupportedWhatToDo(
NotWETH(
SameToken(
SelfSend(
SlippageError(
SwapFailed(
TooMuchEtherSent(
TransferError(
Unauthorized(
WrongContract(