Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xec8d…272c
Balances ($0.00)
No balances found for "ShortsTracker"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 3008586 | a year ago | | | 0 | 0.0000046358030 | |
| 3008424 | a year ago | | | 0 | 0.0000046358032 |
ABI
ABI objects
Getter at block 22762518
MAX_INT256() view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819967
gov() view returns (address)
0xb1dd2fdb023cb54b7cc2a0f5d9e8d47a9f7723ce
isGlobalShortDataReady() view returns (bool)
false
vault() view returns (address)
0xec8d8d4b215727f3476ff0ab41c406fa99b4272c
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.