SynthetixGuard

Functions:

Function constructor(contract IAddressResolver _addressResolver)

No description

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

Transaction guard for Synthetix Exchanger

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

Function getAssetProxy(bytes32 key) → address proxy

Get asset proxy address from addressResolver

Parameters:

  • key: the key of the asset

Return Values:

  • proxy the proxy address of the asset

Last updated