Inherits: OLM
The Manual Strike OLM contract allows the owner to manually set the strike price that new option tokens are created with on epoch transition.
Strike price to be used for new option tokens
Internal function, not callable directly. Called within initialize
to implement Manual Strike OLM specific initialization logic.
Parameters
Name | Type | Description |
---|---|---|
The parameters for this function are ABI-encoded into a bytes
object and passed as the other_
variable into the top-level OLM initialize
function. For example:
Returns the strike price that would be used if a new epoch started right now
Set the strike price to be used for future option tokens
Only owner
Parameters
Name | Type | Description |
---|---|---|
strikePrice_
uint256
The initial strike price for the Manual Strike OLM, in quote tokens per payout token.
strikePrice_
uint256
Strike price for the option tokens formatted as the number of quote tokens required per payout token