Router

Verified contract

Active on Base with 147 txns
Deployed by via 0x9f122f2e at 2367545
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Router"

0x23e49dfc63f102db5a2f71fb2913b07ca1dbe998094fa0f7c0de3e221926a9f2
0xcc804a99c3ab6ce74407940e0b7425d3fd682a11ecbcd5dc8ecabea7a5d99c9a
0xa16ec0b80ec52573d0d325f8a11ad77a78787dff437790a6d4b3f02c7bda160b
0x1bd48a20569f395a080639ba5622c68ea74ee95ad669e392218f76b77a142c8a
0xa4da465b004f163589d6ccbf3c76af8b6f38d53922349408d814b97d264383e4
0x19ef182d74e7e5816cb58a29966e22942171c0db3cf5b84c7cc324384713cac6
0x71066142556c9b090f73f7710560e6ca577390c028abe1b86ed9d20efbd6adac
0x00816c1ac36b76b3fba925baa992d7d06b9c19504db89c4f2c76b5ca2a9646c0
0x9da91fd9813f143822630bb067695754856f75a9f0ce3f65e7e5d4aac9a9de3b
0x627936e4f9d2f315b9c5ba1374bdc0ae7589fb62887f7e38f6452ba0f4523916

Functions
Getter at block 23178356
gov(view returns (address)
0xfd5844867387cecc3a0393b3e0be32479ea9e61a
usdb(view returns (address)
0x025aacb4a93626b49c1b43c0afa4bd9e81938e9a
vault(view returns (address)
0x210b49f74040a385840a3276e81ba9010954d064
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
approvedPlugins(addressaddressview returns (bool)
plugins(addressview returns (bool)
State-modifying
addPlugin(address _plugin
approvePlugin(address _plugin
decreasePosition(address _collateralTokenaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiveruint256 _price
decreasePositionAndSwap(address[] _pathaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiveruint256 _priceuint256 _minOut
decreasePositionAndSwapETH(address[] _pathaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiveruint256 _priceuint256 _minOut
decreasePositionETH(address _collateralTokenaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiveruint256 _price
denyPlugin(address _plugin
directPoolDeposit(address _tokenuint256 _amount
increasePosition(address[] _pathaddress _indexTokenuint256 _amountInuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _price
increasePositionETH(address[] _pathaddress _indexTokenuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _pricepayable 
pluginDecreasePosition(address _accountaddress _collateralTokenaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiverreturns (uint256)
pluginIncreasePosition(address _accountaddress _collateralTokenaddress _indexTokenuint256 _sizeDeltabool _isLong
pluginTransfer(address _tokenaddress _accountaddress _receiveruint256 _amount
removePlugin(address _plugin
setGov(address _gov
swap(address[] _pathuint256 _amountInuint256 _minOutaddress _receiver
swapETHToTokens(address[] _pathuint256 _minOutaddress _receiverpayable 
swapTokensToETH(address[] _pathuint256 _amountInuint256 _minOutaddress _receiver
Events
Swap(address accountaddress tokenInaddress tokenOutuint256 amountInuint256 amountOut
Constructor
constructor(address _vaultaddress _usdbaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.