PositionRouter
Verified contract
Active on
Base with 8,340 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($1,798.56)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
AERO | ERC-20 | 1.058429K | $1.30 |
$1,375.96 | |
WETH | ERC-20 | 0.122871 | $3,316.13 |
$407.46 | |
axlWBTC | ERC-20 | 0.000106 | $98,416.00 |
$10.44 | |
cbBTC | ERC-20 | 0.000033 | $98,981.00 |
$3.22 | |
cbETH | ERC-20 | 0.00034 | $3,590.73 |
$1.22 | |
YFI | ERC-20 | 0.000016 | $6,415.73 |
$0.11 | |
WGC | ERC-20 | 200 | $0.000495 |
$0.1 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.05 | |
BOOMER | ERC-20 | 0.42 | $0.010423 |
$0 | |
USA | ERC-20 | 1 | $0.000759 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22751147 | an hour ago | | | 0.0002 | 0.0000047745608 | |
| 22749324 | 2 hours ago | | | 0.0002 | 0.0000041839552 | |
| 22749057 | 2 hours ago | | | 0.0002 | 0.0000043834368 | |
| 22748845 | 2 hours ago | | | 0.0002 | 0.0000046682931 | |
| 22748355 | 2 hours ago | | | 0.0002 | 0.0000041839552 | |
| 22748289 | 2 hours ago | | | 0.0002 | 0.0000046682931 | |
| 22748151 | 3 hours ago | | | 0.0802 | 0.0000046334700 | |
| 22746978 | 3 hours ago | | | 0.0002 | 0.0000041837962 | |
| 22746812 | 3 hours ago | | | 0.0002 | 0.0000046681341 | |
| 22746444 | 3 hours ago | | | 0.0002 | 0.0000039794454 |
ABI
ABI objects
Getter at block 22752725
BASIS_POINTS_DIVISOR() view returns (uint256)
10000
admin() view returns (address)
0xb1dd2fdb023cb54b7cc2a0f5d9e8d47a9f7723ce
callbackGasLimit() view returns (uint256)
0
decreasePositionRequestKeysStart() view returns (uint256)
3104
depositFee() view returns (uint256)
30
getRequestQueueLengths() view returns (uint256, uint256, uint256, uint256)
(5182, 5182, 3104, 3104)
gov() view returns (address)
0xe02fb5c70af32f80aa7f9e8775fe7f12550348ec
increasePositionBufferBps() view returns (uint256)
100
increasePositionRequestKeysStart() view returns (uint256)
5182
isLeverageEnabled() view returns (bool)
true
maxTimeDelay() view returns (uint256)
1800
minBlockDelayKeeper() view returns (uint256)
0
minExecutionFee() view returns (uint256)
200000000000000
minTimeDelayPublic() view returns (uint256)
180
referralStorage() view returns (address)
0xd9d396b94d19cfafea52513c2092102d145e06ae
router() view returns (address)
0xc608188e753b1e9558731724b7f7cdde40c3b174
shortsTracker() view returns (address)
0x37e62664c7b78e1e05ca47aa80924d9a6280f420
vault() view returns (address)
0xec8d8d4b215727f3476ff0ab41c406fa99b4272c
weth() view returns (address)
0x4200000000000000000000000000000000000006
Read-only
decreasePositionRequestKeys(uint256) view returns (bytes32)
decreasePositionRequests(bytes32) view returns (address account, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, address receiver, uint256 acceptablePrice, uint256 minOut, uint256 executionFee, uint256 blockNumber, uint256 blockTime, bool withdrawETH, address callbackTarget)
decreasePositionsIndex(address) view returns (uint256)
feeReserves(address) view returns (uint256)
getDecreasePositionRequestPath(bytes32 _key) view returns (address[])
getIncreasePositionRequestPath(bytes32 _key) view returns (address[])
getRequestKey(address _account, uint256 _index) pure returns (bytes32)
increasePositionRequestKeys(uint256) view returns (bytes32)
increasePositionRequests(bytes32) view returns (address account, address indexToken, uint256 amountIn, uint256 minOut, uint256 sizeDelta, bool isLong, uint256 acceptablePrice, uint256 executionFee, uint256 blockNumber, uint256 blockTime, bool hasCollateralInETH, address callbackTarget)
increasePositionsIndex(address) view returns (uint256)
isPositionKeeper(address) view returns (bool)
maxGlobalLongSizes(address) view returns (uint256)
maxGlobalShortSizes(address) view returns (uint256)
State-modifying
Events approve(address _token, address _spender, uint256 _amount)
cancelDecreasePosition(bytes32 _key, address _executionFeeReceiver) returns (bool)
cancelIncreasePosition(bytes32 _key, address _executionFeeReceiver) returns (bool)
createDecreasePosition(address[] _path, address _indexToken, uint256 _collateralDelta, uint256 _sizeDelta, bool _isLong, address _receiver, uint256 _acceptablePrice, uint256 _minOut, uint256 _executionFee, bool _withdrawETH, address _callbackTarget) payable returns (bytes32)
createIncreasePosition(address[] _path, address _indexToken, uint256 _amountIn, uint256 _minOut, uint256 _sizeDelta, bool _isLong, uint256 _acceptablePrice, uint256 _executionFee, bytes32 _referralCode, address _callbackTarget) payable returns (bytes32)
createIncreasePositionETH(address[] _path, address _indexToken, uint256 _minOut, uint256 _sizeDelta, bool _isLong, uint256 _acceptablePrice, uint256 _executionFee, bytes32 _referralCode, address _callbackTarget) payable returns (bytes32)
executeDecreasePosition(bytes32 _key, address _executionFeeReceiver) returns (bool)
executeDecreasePositions(uint256 _endIndex, address _executionFeeReceiver)
executeIncreasePosition(bytes32 _key, address _executionFeeReceiver) returns (bool)
executeIncreasePositions(uint256 _endIndex, address _executionFeeReceiver)
sendValue(address _receiver, uint256 _amount)
setAdmin(address _admin)
setCallbackGasLimit(uint256 _callbackGasLimit)
setDelayValues(uint256 _minBlockDelayKeeper, uint256 _minTimeDelayPublic, uint256 _maxTimeDelay)
setDepositFee(uint256 _depositFee)
setGov(address _gov)
setIncreasePositionBufferBps(uint256 _increasePositionBufferBps)
setIsLeverageEnabled(bool _isLeverageEnabled)
setMaxGlobalSizes(address[] _tokens, uint256[] _longSizes, uint256[] _shortSizes)
setMinExecutionFee(uint256 _minExecutionFee)
setPositionKeeper(address _account, bool _isActive)
setReferralStorage(address _referralStorage)
setRequestKeysStartValues(uint256 _increasePositionRequestKeysStart, uint256 _decreasePositionRequestKeysStart)
withdrawFees(address _token, address _receiver)
Callback(address callbackTarget, bool success)
CancelDecreasePosition(address indexed account, address[] path, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, address receiver, uint256 acceptablePrice, uint256 minOut, uint256 executionFee, uint256 blockGap, uint256 timeGap)
CancelIncreasePosition(address indexed account, address[] path, address indexToken, uint256 amountIn, uint256 minOut, uint256 sizeDelta, bool isLong, uint256 acceptablePrice, uint256 executionFee, uint256 blockGap, uint256 timeGap)
CreateDecreasePosition(address indexed account, address[] path, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, address receiver, uint256 acceptablePrice, uint256 minOut, uint256 executionFee, uint256 index, uint256 queueIndex, uint256 blockNumber, uint256 blockTime)
CreateIncreasePosition(address indexed account, address[] path, address indexToken, uint256 amountIn, uint256 minOut, uint256 sizeDelta, bool isLong, uint256 acceptablePrice, uint256 executionFee, uint256 index, uint256 queueIndex, uint256 blockNumber, uint256 blockTime, uint256 gasPrice)
DecreasePositionReferral(address account, uint256 sizeDelta, uint256 marginFeeBasisPoints, bytes32 referralCode, address referrer)
ExecuteDecreasePosition(address indexed account, address[] path, address indexToken, uint256 collateralDelta, uint256 sizeDelta, bool isLong, address receiver, uint256 acceptablePrice, uint256 minOut, uint256 executionFee, uint256 blockGap, uint256 timeGap)
ExecuteIncreasePosition(address indexed account, address[] path, address indexToken, uint256 amountIn, uint256 minOut, uint256 sizeDelta, bool isLong, uint256 acceptablePrice, uint256 executionFee, uint256 blockGap, uint256 timeGap)
IncreasePositionReferral(address account, uint256 sizeDelta, uint256 marginFeeBasisPoints, bytes32 referralCode, address referrer)
SetAdmin(address admin)
SetCallbackGasLimit(uint256 callbackGasLimit)
SetDelayValues(uint256 minBlockDelayKeeper, uint256 minTimeDelayPublic, uint256 maxTimeDelay)
SetDepositFee(uint256 depositFee)
SetIncreasePositionBufferBps(uint256 increasePositionBufferBps)
SetIsLeverageEnabled(bool isLeverageEnabled)
SetMaxGlobalSizes(address[] tokens, uint256[] longSizes, uint256[] shortSizes)
SetMinExecutionFee(uint256 minExecutionFee)
SetPositionKeeper(address indexed account, bool isActive)
SetReferralStorage(address referralStorage)
SetRequestKeysStartValues(uint256 increasePositionRequestKeysStart, uint256 decreasePositionRequestKeysStart)
WithdrawFees(address token, address receiver, uint256 amount)
constructor(address _vault, address _router, address _weth, address _shortsTracker, uint256 _depositFee, uint256 _minExecutionFee)
receive()
This contract contains no error objects.