ProxyFactory

This contract is used to deploy the proxy contract.

Functions:

Events:

Function setLogic(address _poolLogic, address _poolManagerLogic)

Setting logic address for both poolLogic and poolManagerLogic

Parameters:

  • _poolLogic: address of the pool logic

  • _poolManagerLogic: address of the pool manager logic

Function getLogic(uint8 _proxyType) → address

Return logic address of the pool or the pool manager logic

Function deploy(bytes _data, uint8 _proxyType) → address

Deploy proxy contract external call

Last updated