proxyFactory docs

RigoblockPoolProxyFactory

implementation

address implementation

Returns the implementation address for the pool proxies.

Return Values

_registry

address _registry

_parameters

struct IRigoblockPoolProxyFactory.Parameters _parameters

onlyRigoblockDao

modifier onlyRigoblockDao()

constructor

constructor(address newImplementation, address registry) public

createPool

function createPool(string name, string symbol, address baseToken) external returns (address newPoolAddress, bytes32 poolId)

Creates a new Rigoblock pool.

Parameters

Return Values

setImplementation

function setImplementation(address newImplementation) external

Allows Rigoblock Dao to update factory pool implementation.

Parameters

setRegistry

function setRegistry(address newRegistry) external

Allows owner to update the registry.

Parameters

parameters

function parameters() external view returns (struct IRigoblockPoolProxyFactory.Parameters)

Returns the pool initialization parameters at proxy deploy.

Return Values

getRegistry

function getRegistry() public view returns (address)

Returns the address of the pool registry.

Return Values

_createPool

function _createPool(string name, string symbol, address baseToken) internal returns (bytes32 salt, contract RigoblockPoolProxy newProxy)

Creates a pool and routes to eventful.

Parameters

_isContract

function _isContract(address target) private view returns (bool)

Returns whether an address is a contract.

Return Values

Last updated