PositionManager
Verified contract
Active on
Base with 1,440 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
| ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
OHNO | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22897982 | 6 hours ago | | | 0 | 0.0000073654918 | |
| 22891240 | 9 hours ago | | | 0 | 0.0000077744587 | |
| 22886688 | 12 hours ago | | | 0 | 0.0000080648706 | |
| 22886634 | 12 hours ago | | | 0 | 0.0000044594805 | |
| 22879072 | 16 hours ago | | | 0 | 0.000025279739 | |
| 22872856 | 20 hours ago | | | 0 | 0.0000082541592 | |
| 22860096 | a day ago | | | 0 | 0.0000012980841 | |
| 22854414 | a day ago | | | 0 | 0.000014439165 | |
| 22854275 | a day ago | | | 0 | 0.000011146129 | |
| 22841561 | 2 days ago | | | 0 | 0.0000088836313 |
ABI
ABI objects
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(address) view returns (uint256)
isLiquidator(address) view returns (bool)
isOrderKeeper(address) view returns (bool)
isPartner(address) view returns (bool)
maxGlobalLongSizes(address) view returns (uint256)
maxGlobalShortSizes(address) view returns (uint256)
State-modifying
Events approve(address _token, address _spender, uint256 _amount)
decreasePosition(address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _price)
decreasePositionAndSwap(address[] _path, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _price, uint256 _minOut)
decreasePositionAndSwapETH(address[] _path, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _price, uint256 _minOut)
decreasePositionETH(address _collateralToken, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _price)
executeDecreaseOrder(address _account, uint256 _orderIndex, address _feeReceiver)
executeIncreaseOrder(address _account, uint256 _orderIndex, address _feeReceiver)
executeSwapOrder(address _account, uint256 _orderIndex, address _feeReceiver)
increasePosition(address[] _path, address _indexToken, uint256 _amountIn, uint256 _minOut, uint256 _sizeDelta, bool _isLong, uint256 _price)
increasePositionETH(address[] _path, address _indexToken, uint256 _minOut, uint256 _sizeDelta, bool _isLong, uint256 _price) payable
liquidatePosition(address _account, address _collateralToken, address _indexToken, bool _isLong, address _feeReceiver)
sendValue(address _receiver, uint256 _amount)
setAdmin(address _admin)
setDepositFee(uint256 _depositFee)
setGov(address _gov)
setInLegacyMode(bool _inLegacyMode)
setIncreasePositionBufferBps(uint256 _increasePositionBufferBps)
setLiquidator(address _account, bool _isActive)
setMaxGlobalSizes(address[] _tokens, uint256[] _longSizes, uint256[] _shortSizes)
setOrderKeeper(address _account, bool _isActive)
setPartner(address _account, bool _isActive)
setReferralStorage(address _referralStorage)
setShouldValidateIncreaseOrder(bool _shouldValidateIncreaseOrder)
withdrawFees(address _token, address _receiver)
DecreasePositionReferral(address account, uint256 sizeDelta, uint256 marginFeeBasisPoints, bytes32 referralCode, address referrer)
IncreasePositionReferral(address account, uint256 sizeDelta, uint256 marginFeeBasisPoints, bytes32 referralCode, address referrer)
SetAdmin(address admin)
SetDepositFee(uint256 depositFee)
SetInLegacyMode(bool inLegacyMode)
SetIncreasePositionBufferBps(uint256 increasePositionBufferBps)
SetLiquidator(address indexed account, bool isActive)
SetMaxGlobalSizes(address[] tokens, uint256[] longSizes, uint256[] shortSizes)
SetOrderKeeper(address indexed account, bool isActive)
SetPartner(address account, bool isActive)
SetReferralStorage(address referralStorage)
SetShouldValidateIncreaseOrder(bool shouldValidateIncreaseOrder)
WithdrawFees(address token, address receiver, uint256 amount)
constructor(address _vault, address _router, address _shortsTracker, address _weth, uint256 _depositFee, address _orderBook)
receive()
This contract contains no error objects.