ElektroInitialize.sol
View Source: contracts/elektro/init/ElektroInitialize.sol
↗ Extends: ElektroStorage, IElektroInitialize
ElektroInitialize
Contract repsonsible for initialization of {ElektroStorage}.
Functions
init(address _underlyingCurrency, address _strikeCurrency, address _eventEmitter, address _tokenManager)
init
Main initialization function of the storage for each Elektro market ({ElektroRouter}). Will set all necessary state variables in {ElektroStorage}. It is called by {ElektroRegistry} during the construction/creation of each Elektro market ({ElektroRouter}).
Arguments
Name | Type | Description |
---|---|---|
_underlyingCurrency | address | - the underlying asset of Elektro market |
_strikeCurrency | address | - the strike/price asset of Elektro market |
_eventEmitter | address | - address of the {ElektroEventEmitterRouter} |
_tokenManager | address | - address of the {TokenManagerRouter} |
Last updated