OptionRegistry

Functions

createSeries(struct DataTypes.Option data) → address

Create a new option series given by the data

Parameters

data - Struct defining option specification along with implementation addresses

addImplementation(address impl)

Approve a new option protocol implementation

Parameters

impl - Address of the option protocol implementation

removeImplementation(address impl)

Remove an already approved option protocol implementation

Parameters

impl - Address of the option protocol implementation

approveAsset(address asset, string name, string symbol)

Method to approve an asset

Parameters

asset - Address of the asset
name - Name of the asset
symbol - Symbol of the asset

removeAsset(address asset)

Method to remove a token from approved assets

Parameters

asset - Address of the asset to remove

getOptionAddress(struct DataTypes.Option data) → address optionToken, bool hasDeployed

Get option token address based option specification

Parameters

data - A struct defining the Option specification along with implementation addresses

Return Values

optionToken - Address of the option token
hasDeployed - Whether the option has been deployed