The AmmFactory is a relatively simple contract that allows an admin to deploy new MinterAmm contracts. It emits the
AmmCreatedevent upon every successful call to
MinterAmm.createAmm, which can be used in the subgraph to query for all existing AMMs.
It is not very interesting for users of the SIREN protocol, because most of its functions contain the
onlyOwnermodifier and thus can only be called by protocol admins.
) public view returns (ISeriesController)
SeriesController. This is set on all AMM's the
) public view returns (address)
Returns the address of an AMM earlier created by the
) external onlyOwner
Deploys a new
MinterAmmcontract with the given parameters. Can only be called by the owner of the