Router

Verified contract

Active on Base with 3,624 txns
Deployed by via 0xeac6bbe4 at 2520706
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Router"

0x8eef39267c87da24d0b6d5aeb68531f797b4b03d0c50980c1012cc0c55c22a47
0x4d48153a4d570f167c791dac99d716825332b5a160be3f784e338f7af34e4fdc
0xe77ad87cf4ede959f0e6584033e9b17ad62c72eebc95b0ea31ac150a05b475e5
0xd74061e61cdc060a05f9fb3153e21a7c95a49cba218d01b24e5232dad388f7b6
0x6fff40570ee0f67d9fffe6b08e24ec94b7f51e959bb4647b2262f483ad625f22
0x12ae848bbdead98ee611fceb5f3a566b83ab3e20e486e8691c55b427a0bf090f
0xdab213a70f1c91992c8f0655867fb51096f93e536fc044ff67eaebfd07f7053a
0x4e6bf40c3aaa002b98f7abfaeb5a6c96e37b958160a0f16d802bf0910b90e80c
0x5bfb5ca5d0ef39b75de5a9293f148ea7977925c562d10c479ee2af49ff3d25f9
0x84e89de35ce0a9bf27fb562cc3527bc5d5a9dc9aba560942cb7662da1aa6d309

Functions
Getter at block 22748330
gov(view returns (address)
0x13a8a2dfd6481f34523fa9208271f50249f8079b
usdf(view returns (address)
0xfe4dfb5789f6fd2c2bc3c3b8d1a13025b55756b1
vault(view returns (address)
0x1ce0ebd2b95221b924765456fde017b076e79dbe
weth(view returns (address)
0xd6c5469a7cc587e1e89a841fb7c102ff1370c05f
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 _usdfaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.