UniswapV3Swapper

Verified contract

Active on Ethereum with 646 txns
Deployed by via 0xb1014870 at 14974716
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0xec679e43c0bfbc610ed4a68e8272fcc284fe37518ba41408d7727803d04a49b1
0x9953d91abc236691f37c557165037b2d218a2d20bbc52d9af9b04ad685a76303
0x4f8dc5e1717cd5fddfecb626222eab39e743165bf4479cf193410212a7bd794a
0xda733781df3acdcd82e9168ad600fd9d2104cb88aecb7d5556cb158ac365a34b
0x4dca9ae7c27e23167cf894a49c75cb33354a9527afd6f8e87484641456290a6d
0x1a30c84ffa7f3e3f92853bfcc74c2b7559f902826bf3151b1c00c22fac2c3638
0x83942834ef060f4abedd6b4a89bdaf5c04a2e598d381179fd055d6de7777c1e5
0x6aaeaad2f871c01d92e4a7a04344f8af2d11557497a697c94b8b2a6f0663c7bc
0x8ef4e42c0578345923a48a5110718ba50d71689dcfa4a075bf47c662355a0bf9
0xfed113e11b2ff05e5749313acbf8f2716424c701903f44f55ec6df83ecda357d

Functions
Getter at block 21124368
owner(view returns (address)
0x9a8fee232dcf73060af348a1b62cdb0a19852d13
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeInfo(view returns (uint8 feeaddress recipient)
(fee=10, recipient=0x9a8fee232dcf73060af348a1b62cdb0a19852d13)
uniswapV3Factory(view returns (address)
0x1f98431c8ad98523631ae4a59f267346ea31f984
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
zeroExProxy(view returns (address)
0xdef1c0ded9bec7f1a1670819833240f027b25eff
Read-only

This contract contains no read-only function objects.

State-modifying
claimOwnership(
doZeroExSwap(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutaddress recipientbool useSwapperBalancebool requireApprovaluint256 deadlinebytes swapDatapayable returns (uint256 tokenAmountOut)
multicall(bytes[] datapayable returns (bytes[] results)
ownerSetProtocolFee(struct SwapperProtocolFeeInfo protocolFeeInfo_
selfPermit(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
selfPermitIfNecessary(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
swapNytToUnderlying(struct SwapperSwapArgs argspayable returns (uint256 tokenAmountOut)
swapUnderlyingToNyt(struct SwapperSwapArgs argspayable returns (uint256 tokenAmountOut)
swapUnderlyingToXpyt(struct SwapperSwapArgs argspayable returns (uint256 tokenAmountOut)
swapXpytToUnderlying(struct SwapperSwapArgs argspayable returns (uint256 tokenAmountOut)
transferOwnership(address newOwnerbool directbool renounce
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
wrapEthInput(payable 
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetProtocolFee(struct SwapperProtocolFeeInfo protocolFeeInfo_
Constructor
constructor(address zeroExProxy_address weth_struct SwapperProtocolFeeInfo protocolFeeInfo_address uniswapV3Factory_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Error_BothTokenDeltasAreZero(
Error_InsufficientOutput(
Error_NotUniswapV3Pool(
Error_PastDeadline(
Error_ProtocolFeeRecipientIsZero(
Error_SameToken(
Error_ZeroExSwapFailed(