ShortsTracker

Verified contract

Active on Base with 2 txns
Deployed by via 0x2908a5c9 at 3611186
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ShortsTracker"

0xca228324139be1bdc3f18f6cbe26b0e4b9136864ab4d193805b955dfa0bee936
0xe5292d185bdef79eee93c7474489ee9b771ab8857e0eca1b2673c9975dfb5613

Functions
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 _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.