PerpRewardDistributor
State Variables
clearingHouse
IClearingHouse public immutable clearingHouse;_earlyWithdrawalThreshold
uint256 internal _earlyWithdrawalThreshold;_withdrawTimerStartByUserByMarket
mapping(address => mapping(address => uint256)) internal _withdrawTimerStartByUserByMarket;Functions
onlyClearingHouse
constructor
Name
Type
Description
updatePosition
Name
Type
Description
earlyWithdrawalThreshold
Name
Type
Description
withdrawTimerStartByUserByMarket
Name
Type
Description
Name
Type
Description
paused
Name
Type
Description
initMarketStartTime
Name
Type
Description
setEarlyWithdrawalThreshold
Name
Type
Description
_getNumMarkets
Name
Type
Description
_getMarketAddress
Name
Type
Description
Name
Type
Description
_getMarketIdx
Name
Type
Description
Name
Type
Description
_getCurrentPosition
Name
Type
Description
Name
Type
Description
_accrueRewards
Name
Type
Description
Last updated