SushiMiniChefV2Guard

Functions:

Events:

Function constructor(address _rewardTokenA, address _rewardTokenB)

No description

Function txGuard(address _poolManagerLogic, address to, bytes data) → uint16 txType

Transaction guard for Sushi MiniChefV2

Parameters:

  • _poolManagerLogic: the pool manager logic

  • to: The contract to send transaction to

  • data: The transaction data

Return Values:

  • txType the transaction type of a given transaction data. 5 for Stake type, 6 for Unstake, 7 for Claim, 8 for UnstakeAndClaim

Last updated