UniswapV2RouterGuard
Transaction guard for UniswapV2Router
Functions:
Events:
Function constructor(address _factory)
constructor(address _factory)
No description
Function txGuard(address _poolManagerLogic, address, bytes data) → uint16 txType
txGuard(address _poolManagerLogic, address, bytes data) → uint16 txType
Transaction guard for Uniswap V2
Parameters:
_poolManagerLogic
: the pool manager logicdata
: the transaction data
Return Values:
txType the transaction type of a given transaction data. 2 for
Exchange
type, 3 forAdd Liquidity
, 4 forRemove Liquidity
Last updated