NapierRouter

Verified contract

Active on Ethereum with 1,348 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "NapierRouter"

0x5e6ba415e62a670ba2fdaaf9fd8577c95dc86cecd44baa93467700d98b7724a0
0x105feeb4d8a037b77dd5be8186cffbd969ee4a45ecb980b79cd3f002f1f879ee
0x93464b9f14af050905a6c44ab85f991fc9525f11f1b178e8e98a0b9234571120
0x647d83f5f9febf3fb7c2781b2d123c040bd673c6ab9fbf1c9256eca9479bcf7f
0x14f87f4ae674425c05f8fb95835da4b4326739acfe5e60718741587b8b648248
0x1fa43f346c97942e98829ebb70fbdf54a6b4557a5f9817040de5e948e4879a0f
0xdeaa2ad27afff0821403f74c57564cb43816732a78b43b1b47ae7c87ff2d9da9
0x56f622279c928075a20ce0ef641310cdaaf380d2097ef4e2823b01a468996fcc
0x3276a1fc0fdbb27ea73f8ede73849fc54b107cc795a68b20a0d5c666eca7365c
0x8b7194b6554a79743bf1f2f219fa55d076ade2034682efa2ae15f8a368557ce3

Functions
Getter at block 21315655
WETH9(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory(view returns (address)
0x17354e8e7518599c7f6b7095a6706766e4e4dc61
Read-only

This contract contains no read-only function objects.

State-modifying
addLiquidity(address pooluint256 underlyingInuint256[3] ptsInuint256 minLiquidityaddress recipientuint256 deadlinepayable returns (uint256)
addLiquidityOnePt(address pooluint256 indexuint256 amountInuint256 minLiquidityaddress recipientuint256 deadlineuint256 baseLpTokenSwapreturns (uint256)
addLiquidityOneUnderlying(address pooluint256 underlyingInuint256 minLiquidityaddress recipientuint256 deadlineuint256 baseLpTokenSwapreturns (uint256)
addLiquidityOneUnderlyingKeepYt(address pooluint256 indexuint256 underlyingInuint256 minLiquidityuint256 ytOutMinaddress recipientuint256 deadlineuint256 underlyingDepositreturns (uint256)
mintCallback(uint256 underlyingDeltauint256 baseLptDeltabytes data
multicall(bytes[] datapayable returns (bytes[] results)
refundETH(payable 
removeLiquidity(address pooluint256 liquidityuint256 underlyingOutMinuint256[3] ptsOutMinaddress recipientuint256 deadlinereturns (uint256uint256[3])
removeLiquidityOnePt(address pooluint256 indexuint256 liquidityuint256 ptOutMinaddress recipientuint256 deadlineuint256 baseLpTokenSwapreturns (uint256)
removeLiquidityOneUnderlying(address pooluint256 indexuint256 liquidityuint256 underlyingOutMinaddress recipientuint256 deadlinereturns (uint256)
swapCallback(int256 underlyingDeltaint256 ptDeltabytes data
swapPtForUnderlying(address pooluint256 indexuint256 ptInDesireduint256 underlyingOutMinaddress recipientuint256 deadlinereturns (uint256)
swapUnderlyingForPt(address pooluint256 indexuint256 ptOutDesireduint256 underlyingInMaxaddress recipientuint256 deadlinepayable returns (uint256)
swapUnderlyingForYt(address pooluint256 indexuint256 ytOutDesireduint256 underlyingInMaxaddress recipientuint256 deadlinepayable returns (uint256)
swapUnderlyingForYt(address pooluint256 indexuint256 ytOutDesireduint256 underlyingInMaxaddress recipientuint256 deadlinestruct ApproxParams approxpayable returns (uint256)
swapYtForUnderlying(address pooluint256 indexuint256 ytInuint256 underlyingOutMinaddress recipientuint256 deadlinereturns (uint256)
sweepToken(address tokenuint256 amountMinimumaddress recipientpayable 
sweepTokens(address[] tokensuint256[] amountMinimumsaddress recipientpayable 
unwrapWETH9(uint256 amountMinimumaddress recipientpayable 
Events

This contract contains no event objects.

Constructor
constructor(address _factoryaddress _WETH9
Fallback and receive
receive(
Errors
ApproxBinarySearchInputInvalid(
ApproxFail(
FailedToSendEther(
NotWETH(
RouterCallbackNotNapierPool(
RouterExceededLimitUnderlyingIn(
RouterInconsistentWETHPayment(
RouterInsufficientLpOut(
RouterInsufficientPtRepay(
RouterInsufficientTokenBalance(
RouterInsufficientUnderlyingOut(
RouterInsufficientUnderlyingRepay(
RouterInsufficientWETH(
RouterInsufficientYtOut(
RouterNonSituationSwapUnderlyingForYt(
RouterPoolNotFound(
RouterTransactionTooOld(