PositionRouter

Verified contract

Active on Base with 69 txns
Deployed by via 0xe646c434 at 3611382
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables

No balances found for "PositionRouter"

0x706185764cc3c5abf9d4a9a1ec9cb3d50aa6516edc70e8a88481618616c6eda6
0x59cbbfdab7c8a90e85296f3595b390db2b6bc543c96d70dba8e883ec28c72dd9
0x118f0527e096cac7d63d2f9efcc0e65d8897cc9e9e7081977613bc82e8da954c
0x32cbb28d3e484f3f8c18551f10d89fc29978d852c4f1497893d6dbfa59bee908
0x0bb124dfa155a6733f317aff04db2726df58d251457081ae86be338c748a525a
0x95294f67d3377cd4f818711ac7d2e748087714021511761d11184fd5e6492487
0x9e5d2ab35495f0a95a8b585dc808583b9b87455cf7da0d125058e78095c733c9
0x1224fe7c273dadbdfceb22973922c40882a8ca62c180525e1658ecf2feb386d5
0x5cd15d70f1498f28ff266f3b81e1c0871145b7de2959df5082351e79c05f268c
0x67af8b65a13434bf53ba2a9e093cdb8f39740e804082883ab6886295ee2411e4

Functions
Getter at block 22745063
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
admin(view returns (address)
0x9cba37df627cdaa6548e1a837f82773d68e593d0
callbackGasLimit(view returns (uint256)
0
decreasePositionRequestKeysStart(view returns (uint256)
25
depositFee(view returns (uint256)
30
getRequestQueueLengths(view returns (uint256uint256uint256uint256)
(37, 37, 25, 25)
gov(view returns (address)
0x76ad05929ec24c9ea858185416ea9bd8270d9a40
increasePositionBufferBps(view returns (uint256)
100
increasePositionRequestKeysStart(view returns (uint256)
37
isLeverageEnabled(view returns (bool)
true
maxTimeDelay(view returns (uint256)
1800
minBlockDelayKeeper(view returns (uint256)
0
minExecutionFee(view returns (uint256)
300000000000000
minTimeDelayPublic(view returns (uint256)
180
referralStorage(view returns (address)
0xa54121a849ae68e7d3495a768880b250fab20a0c
router(view returns (address)
0x336b4e044047a3f26b1eb0a345cb00d2ef61225c
shortsTracker(view returns (address)
0x59d8b510eeb0e5e97cece560cf018021cfa1c43e
vault(view returns (address)
0x4f188afdc40e6d2ddddf5fd1b2df7aef7da52f50
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
decreasePositionRequestKeys(uint256view returns (bytes32)
decreasePositionRequests(bytes32view returns (address accountaddress indexTokenuint256 collateralDeltauint256 sizeDeltabool isLongaddress receiveruint256 acceptablePriceuint256 minOutuint256 executionFeeuint256 blockNumberuint256 blockTimebool withdrawETHaddress callbackTarget)
decreasePositionsIndex(addressview returns (uint256)
feeReserves(addressview returns (uint256)
getDecreasePositionRequestPath(bytes32 _keyview returns (address[])
getIncreasePositionRequestPath(bytes32 _keyview returns (address[])
getRequestKey(address _accountuint256 _indexpure returns (bytes32)
increasePositionRequestKeys(uint256view returns (bytes32)
increasePositionRequests(bytes32view returns (address accountaddress indexTokenuint256 amountInuint256 minOutuint256 sizeDeltabool isLonguint256 acceptablePriceuint256 executionFeeuint256 blockNumberuint256 blockTimebool hasCollateralInETHaddress callbackTarget)
increasePositionsIndex(addressview returns (uint256)
isPositionKeeper(addressview returns (bool)
maxGlobalLongSizes(addressview returns (uint256)
maxGlobalShortSizes(addressview returns (uint256)
State-modifying
approve(address _tokenaddress _spenderuint256 _amount
cancelDecreasePosition(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
cancelIncreasePosition(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
createDecreasePosition(address[] _pathaddress _indexTokenuint256 _collateralDeltauint256 _sizeDeltabool _isLongaddress _receiveruint256 _acceptablePriceuint256 _minOutuint256 _executionFeebool _withdrawETHaddress _callbackTargetpayable returns (bytes32)
createIncreasePosition(address[] _pathaddress _indexTokenuint256 _amountInuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _acceptablePriceuint256 _executionFeebytes32 _referralCodeaddress _callbackTargetpayable returns (bytes32)
createIncreasePositionETH(address[] _pathaddress _indexTokenuint256 _minOutuint256 _sizeDeltabool _isLonguint256 _acceptablePriceuint256 _executionFeebytes32 _referralCodeaddress _callbackTargetpayable returns (bytes32)
executeDecreasePosition(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
executeDecreasePositions(uint256 _endIndexaddress _executionFeeReceiver
executeIncreasePosition(bytes32 _keyaddress _executionFeeReceiverreturns (bool)
executeIncreasePositions(uint256 _endIndexaddress _executionFeeReceiver
sendValue(address _receiveruint256 _amount
setAdmin(address _admin
setCallbackGasLimit(uint256 _callbackGasLimit
setDelayValues(uint256 _minBlockDelayKeeperuint256 _minTimeDelayPublicuint256 _maxTimeDelay
setDepositFee(uint256 _depositFee
setGov(address _gov
setIncreasePositionBufferBps(uint256 _increasePositionBufferBps
setIsLeverageEnabled(bool _isLeverageEnabled
setMaxGlobalSizes(address[] _tokensuint256[] _longSizesuint256[] _shortSizes
setMinExecutionFee(uint256 _minExecutionFee
setPositionKeeper(address _accountbool _isActive
setReferralStorage(address _referralStorage
setRequestKeysStartValues(uint256 _increasePositionRequestKeysStartuint256 _decreasePositionRequestKeysStart
withdrawFees(address _tokenaddress _receiver
Events
Callback(address callbackTargetbool success
CancelDecreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 collateralDeltauint256 sizeDeltabool isLongaddress receiveruint256 acceptablePriceuint256 minOutuint256 executionFeeuint256 blockGapuint256 timeGap
CancelIncreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 amountInuint256 minOutuint256 sizeDeltabool isLonguint256 acceptablePriceuint256 executionFeeuint256 blockGapuint256 timeGap
CreateDecreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 collateralDeltauint256 sizeDeltabool isLongaddress receiveruint256 acceptablePriceuint256 minOutuint256 executionFeeuint256 indexuint256 queueIndexuint256 blockNumberuint256 blockTime
CreateIncreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 amountInuint256 minOutuint256 sizeDeltabool isLonguint256 acceptablePriceuint256 executionFeeuint256 indexuint256 queueIndexuint256 blockNumberuint256 blockTimeuint256 gasPrice
DecreasePositionReferral(address accountuint256 sizeDeltauint256 marginFeeBasisPointsbytes32 referralCodeaddress referrer
ExecuteDecreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 collateralDeltauint256 sizeDeltabool isLongaddress receiveruint256 acceptablePriceuint256 minOutuint256 executionFeeuint256 blockGapuint256 timeGap
ExecuteIncreasePosition(address indexed accountaddress[] pathaddress indexTokenuint256 amountInuint256 minOutuint256 sizeDeltabool isLonguint256 acceptablePriceuint256 executionFeeuint256 blockGapuint256 timeGap
IncreasePositionReferral(address accountuint256 sizeDeltauint256 marginFeeBasisPointsbytes32 referralCodeaddress referrer
SetAdmin(address admin
SetCallbackGasLimit(uint256 callbackGasLimit
SetDelayValues(uint256 minBlockDelayKeeperuint256 minTimeDelayPublicuint256 maxTimeDelay
SetDepositFee(uint256 depositFee
SetIncreasePositionBufferBps(uint256 increasePositionBufferBps
SetIsLeverageEnabled(bool isLeverageEnabled
SetMaxGlobalSizes(address[] tokensuint256[] longSizesuint256[] shortSizes
SetMinExecutionFee(uint256 minExecutionFee
SetPositionKeeper(address indexed accountbool isActive
SetReferralStorage(address referralStorage
SetRequestKeysStartValues(uint256 increasePositionRequestKeysStartuint256 decreasePositionRequestKeysStart
WithdrawFees(address tokenaddress receiveruint256 amount
Constructor
constructor(address _vaultaddress _routeraddress _wethaddress _shortsTrackeruint256 _depositFeeuint256 _minExecutionFee
Fallback and receive
receive(
Errors

This contract contains no error objects.