UniswapV2RouterGuard

Transaction guard for UniswapV2Router

Functions:

Events:

Function constructor(address _factory)

No description

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

Transaction guard for Uniswap V2

Parameters:

  • _poolManagerLogic: the pool manager logic

  • data: the transaction data

Return Values:

  • txType the transaction type of a given transaction data. 2 for Exchange type, 3 for Add Liquidity, 4 for Remove Liquidity

Last updated