This contract is being backfilled. You may encounter incomplete storage history.

ShortsTracker

Verified contract

Active on Base with 2 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ShortsTracker"

0xe053b5f39bb11579debe9b89593db5108d28120be04378fba65e596227dcb4d6
0xf94a3692c4a15ca70784b63b37131245708752761dbcae8b19baaf613c889ff8

Functions
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 _averagePriceuint256 _nextPriceuint256 _nextSizeuint256 _deltaint256 _realisedPnlpure returns (uint256)
data(bytes32view returns (bytes32)
getGlobalShortDelta(address _tokenview returns (booluint256)
getNextGlobalShortData(address _accountaddress _collateralTokenaddress _indexTokenuint256 _nextPriceuint256 _sizeDeltabool _isIncreaseview returns (uint256uint256)
getRealisedPnl(address _accountaddress _collateralTokenaddress _indexTokenuint256 _sizeDeltabool _isIncreaseview returns (int256)
globalShortAveragePrices(addressview returns (uint256)
isHandler(addressview returns (bool)
State-modifying
setGov(address _gov
setHandler(address _handlerbool _isActive
setInitData(address[] _tokensuint256[] _averagePrices
setIsGlobalShortDataReady(bool value
updateGlobalShortData(address _accountaddress _collateralTokenaddress _indexTokenbool _isLonguint256 _sizeDeltauint256 _markPricebool _isIncrease
Events
GlobalShortDataUpdated(address indexed tokenuint256 globalShortSizeuint256 globalShortAveragePrice
Constructor
constructor(address _vault
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.