PositionManager

Verified contract

Active on Base with 1,440 txns
Deployed by via 0x94beecd8 at 3008570
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x2cbe510e2571c76ed87b9dd61bcf9403fdb9084cfabc1a08a5c449675d5e3190
0x644844b4eb069579af7fc275102abab8ee3bc03ae5c103135bb84b3f49933c5d
0x628ff2ea817b649ae72ee4881dfb23406bbfa27dd7ea766fced9666a4567748b
0x708cce64178450001dd77337920724609c9fa56339b5058168c23c133d763032
0x356a1f3fc5ff84a859213141b7517901ab435d2c1947873322b05b7e48451ac4
0xa686f71bac9226ba3a87631a881ffdb92a401a7a09974874454b4e5a041f587c
0x2e558869d7f15fc622fac3885562232e8fda3b22f2667211dd698998dbb9808d
0xe6ed6b9eeeead9aa581c994d40b06bd03fd261cb904b34e9e05c2ac785cfbc85
0xd2520738260da2ef35e60ba38ff71e6a0064c9025d565dfb93fc0b2942366ede
0xee55f226a7216860323dcdcd9ffc852cbb7419de1423dda1a376ec807563aeed

Functions
Getter at block 22908002
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
admin(view returns (address)
0xb1dd2fdb023cb54b7cc2a0f5d9e8d47a9f7723ce
depositFee(view returns (uint256)
30
gov(view returns (address)
0xe02fb5c70af32f80aa7f9e8775fe7f12550348ec
inLegacyMode(view returns (bool)
false
increasePositionBufferBps(view returns (uint256)
100
orderBook(view returns (address)
0xf9fc0b2859f9b6d33fd1cea5b0a9f1d56c258178
referralStorage(view returns (address)
0xd9d396b94d19cfafea52513c2092102d145e06ae
router(view returns (address)
0xc608188e753b1e9558731724b7f7cdde40c3b174
shortsTracker(view returns (address)
0x37e62664c7b78e1e05ca47aa80924d9a6280f420
shouldValidateIncreaseOrder(view returns (bool)
false
vault(view returns (address)
0xec8d8d4b215727f3476ff0ab41c406fa99b4272c
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
feeReserves(addressview returns (uint256)
isLiquidator(addressview returns (bool)
isOrderKeeper(addressview returns (bool)
isPartner(addressview returns (bool)
maxGlobalLongSizes(addressview returns (uint256)
maxGlobalShortSizes(addressview returns (uint256)
State-modifying
approve(address _tokenaddress _spenderuint256 _amount
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
executeDecreaseOrder(address _accountuint256 _orderIndexaddress _feeReceiver
executeIncreaseOrder(address _accountuint256 _orderIndexaddress _feeReceiver
executeSwapOrder(address _accountuint256 _orderIndexaddress _feeReceiver
increasePosition(address[] _pathaddress _indexTokenuint256 _amountInuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _price
increasePositionETH(address[] _pathaddress _indexTokenuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _pricepayable 
liquidatePosition(address _accountaddress _collateralTokenaddress _indexTokenbool _isLongaddress _feeReceiver
sendValue(address _receiveruint256 _amount
setAdmin(address _admin
setDepositFee(uint256 _depositFee
setGov(address _gov
setInLegacyMode(bool _inLegacyMode
setIncreasePositionBufferBps(uint256 _increasePositionBufferBps
setLiquidator(address _accountbool _isActive
setMaxGlobalSizes(address[] _tokensuint256[] _longSizesuint256[] _shortSizes
setOrderKeeper(address _accountbool _isActive
setPartner(address _accountbool _isActive
setReferralStorage(address _referralStorage
setShouldValidateIncreaseOrder(bool _shouldValidateIncreaseOrder
withdrawFees(address _tokenaddress _receiver
Events
DecreasePositionReferral(address accountuint256 sizeDeltauint256 marginFeeBasisPointsbytes32 referralCodeaddress referrer
IncreasePositionReferral(address accountuint256 sizeDeltauint256 marginFeeBasisPointsbytes32 referralCodeaddress referrer
SetAdmin(address admin
SetDepositFee(uint256 depositFee
SetInLegacyMode(bool inLegacyMode
SetIncreasePositionBufferBps(uint256 increasePositionBufferBps
SetLiquidator(address indexed accountbool isActive
SetMaxGlobalSizes(address[] tokensuint256[] longSizesuint256[] shortSizes
SetOrderKeeper(address indexed accountbool isActive
SetPartner(address accountbool isActive
SetReferralStorage(address referralStorage
SetShouldValidateIncreaseOrder(bool shouldValidateIncreaseOrder
WithdrawFees(address tokenaddress receiveruint256 amount
Constructor
constructor(address _vaultaddress _routeraddress _shortsTrackeraddress _wethuint256 _depositFeeaddress _orderBook
Fallback and receive
receive(
Errors

This contract contains no error objects.