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
The keccak encoding of the AMM's underlying, price, and colalteral tokens
) external onlyOwner
Deploys a new
MinterAmmcontract with the given parameters. Can only be called by the owner of the
The address of the
The fees to charge on option token trades (100 = 1%)