OptionAMMFactory
Contract responsible for creating/deploying new OptionAMMpools
. This contract is supposed to be used along with Pods financial instrument PodOption.
If you want to implement the Pool yourself, talk to us on our Discord channel and we will give you assistance.
Methods
createPool
This function is meant to be called by a caller who wants to deploy a new instance of a Pool contract.
Returns a new instance of OptionAMMPool.
input name
Type
Required
Description
_optionAddress
address
PodOption contracts
The address of the option token (PodOption)
_stableAsset
address
ERC20 token
The ERC20 will be used as the pair of the option. Will be easier if the price of the option is denominated in any stablecoin.
_priceProvider
address
-
Contract address of the PriceProvider contract for spotPrice
_priceMethod
address
-
Contract address of the PriceMethod contract (E.g: BlackScholes)
_sigma
address
-
Contract address of the sigma (Implied Volatility - IV)
_initialSigma
uint256
The Initial number of sigma (Implied Volatility) with 18 decimals
Last updated
Was this helpful?