Skip to main content
GNSTriggerRewards facet internal library

initializeTriggerRewards

Check ITriggerRewardsUtils interface for documentation

updateTriggerTimeoutBlocks

Check ITriggerRewardsUtils interface for documentation

distributeTriggerReward

Check ITriggerRewardsUtils interface for documentation

claimPendingTriggerRewards

Check 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.