Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x4f18…2f50
Balances ($0.00)
No balances found for "ShortsTracker"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 3612966 | a year ago | | | 0 | 6.8584723e-7 | |
| 3611422 | a year ago | | | 0 | 7.1504624e-7 |
ABI
ABI objects
Getter at block 22753818
MAX_INT256() view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819967
gov() view returns (address)
0x9cba37df627cdaa6548e1a837f82773d68e593d0
isGlobalShortDataReady() view returns (bool)
false
vault() view returns (address)
0x4f188afdc40e6d2ddddf5fd1b2df7aef7da52f50
Read-only
_getNextGlobalAveragePrice(uint256 _averagePrice, uint256 _nextPrice, uint256 _nextSize, uint256 _delta, int256 _realisedPnl) pure returns (uint256)
data(bytes32) view returns (bytes32)
getGlobalShortDelta(address _token) view returns (bool, uint256)
getNextGlobalShortData(address _account, address _collateralToken, address _indexToken, uint256 _nextPrice, uint256 _sizeDelta, bool _isIncrease) view returns (uint256, uint256)
getRealisedPnl(address _account, address _collateralToken, address _indexToken, uint256 _sizeDelta, bool _isIncrease) view returns (int256)
globalShortAveragePrices(address) view returns (uint256)
isHandler(address) view returns (bool)
State-modifying
Events setGov(address _gov)
setHandler(address _handler, bool _isActive)
setInitData(address[] _tokens, uint256[] _averagePrices)
setIsGlobalShortDataReady(bool value)
updateGlobalShortData(address _account, address _collateralToken, address _indexToken, bool _isLong, uint256 _sizeDelta, uint256 _markPrice, bool _isIncrease)
GlobalShortDataUpdated(address indexed token, uint256 globalShortSize, uint256 globalShortAveragePrice)
constructor(address _vault)
This contract contains no fallback and receive objects.
This contract contains no error objects.