SushiMiniChefV2Guard
Functions:
Events:
Function constructor(address _rewardTokenA, address _rewardTokenB)
constructor(address _rewardTokenA, address _rewardTokenB)
No description
Function txGuard(address _poolManagerLogic, address to, bytes data) → uint16 txType
txGuard(address _poolManagerLogic, address to, bytes data) → uint16 txType
Transaction guard for Sushi MiniChefV2
Parameters:
_poolManagerLogic
: the pool manager logicto
: The contract to send transaction todata
: The transaction data
Return Values:
txType the transaction type of a given transaction data. 5 for
Stake
type, 6 forUnstake
, 7 forClaim
, 8 forUnstakeAndClaim
Last updated