Router

Verified contract

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

No balances found for "Router"

0x8077d893180ab2bdb2507b0398f698a5c925da2726b66b56e0d2cebd12f467c4
0x8668742100cf52cc2d3a4f057e03bc387872130e5d1d1e0dfe000482b35e6e94
0xfb10823086b0a0d7bf578303ab0116d47999643683f730ec5e591217abdd22d2
0x2d5d7c11fc133dac5013772677605f96335a27a4907339689a2ab25feaba63e3
0x4d6f2b8478d71271bc7d3a7b0f2b454b740beee78675912400638b233464014d
0x0514ef92659603da48beed5ba3208ad9bfa371bb24fcfa1c13a0a8b0fdae1a58
0xce3e00d1b09ac108b9952e41ded133c45e4f58751df914198c7c21e58a6a3952
0x46ed1ca35e21013040ae2ecf77ea22e4fb8b2f46a664094dafb836e7128dc490
0x436706592d36dad1c08255c0a5904887f6afd3d9d257b6070e0b408974c2f4e6
0x31462a2e2ddf2932c94427cbf250b1d849222a55628a6b3fe59008dc07b02975

Functions
Getter at block 22042590
gov(view returns (address)
0x1e61a5c911ab51f98a8dfbe90c0aa42e355885c5
usdg(view returns (address)
0xaec117e93f7087c277bb520b80785113d91da11b
vault(view returns (address)
0x853a8ce6b6338f5b0a14bcfc97f9d68396099c9c
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 _usdgaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.