Function: initialize(IAddressProvider _addressProvider)
This function initializes the WasabiShortPool contract and assigns the first address provider.
Inputs
_addressProviderControl: None.
Constraints: None.
Impact: Assigns the first address provider.
Branches and code coverage
Intended branches
Initializes WasabiShortPool successfully.
Negative behavior
Reverts if
_addressProvideris not an AddressProvider contract.Reverts if
msg.senderis not the owner.Reverts if hte contract is already initialized.
Function call analysis
__BaseWasabiPool_init(false, _addressProvider)What is controllable?
_addressProvider.If the return value is controllable, how is it used and how can it go wrong? Not used.
What happens if it reverts, reenters or does other unusual control flow? N/A.