PositionRouter

Verified contract

Active on Base with 9 txns
Deployed by via 0x33ac73a5 at 2692565
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"

0x745f6657213d50bb1cf26557255199f349befe103b38a39138ff51e7476d79ee
0x6dea2f6c9b934ad697e55d3115c73abc62ba0258d86d412b66b39ba52529ea4e
0xfe3479b07f86e6afa611f4c38607074616d846c386d9aade0e7ebecfe5fb2afa
0xec7dd836e720d54b297a5b9f9bdf6018196c60fd5230d03911abf3f675a6f17c
0x4e120dadba5cab985cc613ac46cee3c8109354db9d86502854f3952fdfadf084
0x6ca8e4b51cfffcc73b5bf0fdedb02232af9b677d09be089d126183b5e29832c1
0x308e45e3424c03f822ac3283b710d56b5e93d5bc03e572fc416d516f7020b592
0xf8d6bc928951f8e5870d7ef3a3625ed13687b505ca10d482977cc802b3a4f613
0x94eee7ff4de9c90b61ea6ee5d65044bf219fdb80b56bff9343c407b33b31a09e

Functions
Getter at block 21750537
BASIS_POINTS_DIVISOR(view returns (uint256)
10000
admin(view returns (address)
0x0a68f81fe8c23cf19fd0f90be3734f68ff2ef451
callbackGasLimit(view returns (uint256)
0
decreasePositionRequestKeysStart(view returns (uint256)
1
depositFee(view returns (uint256)
30
getRequestQueueLengths(view returns (uint256uint256uint256uint256)
(3, 3, 1, 1)
gov(view returns (address)
0x0a68f81fe8c23cf19fd0f90be3734f68ff2ef451
increasePositionBufferBps(view returns (uint256)
100
increasePositionRequestKeysStart(view returns (uint256)
3
isLeverageEnabled(view returns (bool)
true
maxTimeDelay(view returns (uint256)
1800
minBlockDelayKeeper(view returns (uint256)
1
minExecutionFee(view returns (uint256)
595919000000000
minTimeDelayPublic(view returns (uint256)
10
referralStorage(view returns (address)
0x8a1403b6b8eab4b748ab08b46a6b4b1e1cd066a8
router(view returns (address)
0x96b244391d98b62d19ae89b1a4dccf0fc56970c7
shortsTracker(view returns (address)
0x4204cad97732282d261fbb7088e07557810a6408
vault(view returns (address)
0x985bca32293a7a496300a48081947321177a86fd
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.