SwapRouter

Verified contract

Active on Base with 9,805 txns
Deployed by via 0x5815e14a at 2520970
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.53
0x7879fbe3ce003ee5520b6b3ae1e9c11998589092af5cfa46a2d704ae7f4ec668
0x28056855cf8b01753e77bf52363c7ee2c75a02d13438a48576fdfd141777349d
0x8c942b8b27b3631aa71374d09a34ad67e0fc94de39360b98654c90e9eb4f57ee
0x14702b0bc80bb470c53a05599831aac68272e6d24119c75cc0e21ef62b2a086e
0x1b76e0b2edc4b78ddc1bb25fa5b03e35e5fda53ad274678389e9047214f8eb62
0x17bdb7c77bad641960c4d028ced0f750fa94ca3039e329ebdc80d0dc6cd4232f
0xef1b3a50a6c03595f83791537937734b50ed08f62c6aaec8da5f31c4dd0e94a9
0xa8e32a2854d016343961589cc0124427abf13da15b14ad545acbbc9ac7f18f8f
0x8dab28b8aab29efeec51feb727ed0a2dc3dc06d8d6a4321ff730d4ca5a628d53
0xcc25a96d7f6bf4af5ea96a51df7adc795277dc169e024f4c9f7f646ba48ee851

Functions
Getter at block 22750401
PRICE_PRECISION(view returns (uint256)
1000000000000000000000000000000
admin(view returns (address)
0x13a8a2dfd6481f34523fa9208271f50249f8079b
getRequestQueueLengths(view returns (uint256uint256)
(9779, 9780)
gov(view returns (address)
0x13a8a2dfd6481f34523fa9208271f50249f8079b
maxTimeDelay(view returns (uint256)
1800
minBlockDelayKeeper(view returns (uint256)
1
minExecutionFee(view returns (uint256)
500000000000000
minTimeDelayPublic(view returns (uint256)
180
router(view returns (address)
0xb575cea2d54c08d9c25ac033b8c93bce2fb49495
swapRequestKeysStart(view returns (uint256)
9779
vault(view returns (address)
0x1ce0ebd2b95221b924765456fde017b076e79dbe
weth(view returns (address)
0xd6c5469a7cc587e1e89a841fb7c102ff1370c05f
Read-only
getRequestKey(address _accountuint256 _indexpure returns (bytes32)
getSwapRequestPath(bytes32 _keyview returns (address[])
isRequestKeeper(addressview returns (bool)
swapRequestKeys(uint256view returns (bytes32)
swapRequests(bytes32view returns (address accountuint256 amountInuint256 minOutaddress receiveruint256 acceptableRatiouint256 executionFeeuint256 blockNumberuint256 blockTimebool isETHInbool isETHOut)
swapsIndex(addressview returns (uint256)
State-modifying
approve(address _tokenaddress _spenderuint256 _amount
cancelSwap(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
createSwap(address[] _pathuint256 _amountInuint256 _minOutaddress _receiveruint256 _acceptableRatiouint256 _executionFeebool _isETHOutpayable 
createSwapETHToTokens(address[] _pathuint256 _minOutaddress _receiveruint256 _acceptableRatiouint256 _executionFeepayable 
executeSwap(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
executeSwaps(uint256 _endIndexaddress _executionFeeReceiver
sendValue(address _receiveruint256 _amount
setAdmin(address _admin
setDelayValues(uint256 _minBlockDelayKeeperuint256 _minTimeDelayPublicuint256 _maxTimeDelay
setGov(address _gov
setMinExecutionFee(uint256 _minExecutionFee
setRequestKeeper(address _accountbool _isActive
setRequestKeysStartValue(uint256 _swapRequestKeysStart
Events
CancelSwap(address indexed accountaddress[] pathuint256 amountInuint256 minOutaddress receiveruint256 acceptableRatiouint256 executionFeeuint256 blockGapuint256 timeGap
CreateSwap(address indexed accountaddress[] pathuint256 amountInuint256 minOutaddress receiveruint256 acceptableRatiouint256 executionFeeuint256 indexuint256 blockNumberuint256 blockTime
ExecuteSwap(address indexed accountaddress[] pathuint256 amountInuint256 amountOutuint256 minOutaddress receiveruint256 acceptableRatiouint256 executionFeeuint256 blockGapuint256 timeGap
SetAdmin(address admin
SetDelayValues(uint256 minBlockDelayKeeperuint256 minTimeDelayPublicuint256 maxTimeDelay
SetMinExecutionFee(uint256 minExecutionFee
SetRequestKeeper(address indexed accountbool isActive
SetRequestKeysStartValue(uint256 swapRequestKeysStart
Constructor
constructor(address _vaultaddress _routeraddress _wethuint256 _minExecutionFee
Fallback and receive
receive(
Errors

This contract contains no error objects.