TriggerRewardsUtils
GNSTriggerRewards facet internal library
initializeTriggerRewards
function initializeTriggerRewards(uint16 _timeoutBlocks) internalCheck ITriggerRewardsUtils interface for documentation
updateTriggerTimeoutBlocks
function updateTriggerTimeoutBlocks(uint16 _timeoutBlocks) internalCheck ITriggerRewardsUtils interface for documentation
distributeTriggerReward
function distributeTriggerReward(uint256 _rewardGns) internalCheck ITriggerRewardsUtils interface for documentation
claimPendingTriggerRewards
function claimPendingTriggerRewards(address _oracle) internalCheck ITriggerRewardsUtils interface for documentation
getTriggerTimeoutBlocks
Check ITriggerRewardsUtils interface for documentation
hasActiveOrder
Check ITriggerRewardsUtils interface for documentation
getTriggerPendingRewardsGns
Check ITriggerRewardsUtils interface for documentation
_getSlot
Returns storage slot to use when fetching storage relevant to library
_getStorage
Returns storage pointer for storage struct in diamond contract, at defined slot
_getMultiCollatDiamond
Returns current address as multi-collateral diamond interface to call other facets functions.
Was this helpful?