-
getOtokenImpl() (external) -
getOtokenFactory() (external) -
getWhitelist() (external) -
getController() (external) -
getMarginPool() (external) -
getMarginCalculator() (external) -
getLiquidationManager() (external) -
getOracle() (external) -
setOtokenImpl(address _otokenImpl) (external) -
setOtokenFactory(address _otokenFactory) (external) -
setWhitelist(address _whitelist) (external) -
setController(address _controller) (external) -
setMarginPool(address _marginPool) (external) -
setMarginCalculator(address _marginCalculator) (external) -
setLiquidationManager(address _liquidationManager) (external) -
setOracle(address _oracle) (external) -
getAddress(bytes32 _key) (public) -
setAddress(bytes32 _key, address _address) (public) -
updateImpl(bytes32 _id, address _newAddress) (public)
-
ProxyCreated(bytes32 id, address proxy) -
AddressAdded(bytes32 id, address add)
return Otoken implementation address
- Otoken implementation address
return oTokenFactory address
- OtokenFactory address
return Whitelist address
- Whitelist address
return Controller address
- Controller address
return MarginPool address
- MarginPool address
return MarginCalculator address
- MarginCalculator address
return LiquidationManager address
- LiquidationManager address
return Oracle address
- Oracle address
set Otoken implementation address
can only be called by the addressbook owner
_otokenImpl: Otoken implementation address
set OtokenFactory address
can only be called by the addressbook owner
_otokenFactory: OtokenFactory address
set Whitelist address
can only be called by the addressbook owner
_whitelist: Whitelist address
set Controller address
can only be called by the addressbook owner
_controller: Controller address
set MarginPool address
can only be called by the addressbook owner
_marginPool: MarginPool address
set MarginCalculator address
can only be called by the addressbook owner
_marginCalculator: MarginCalculator address
set LiquidationManager address
can only be called by the addressbook owner
_liquidationManager: LiquidationManager address
set Oracle address
can only be called by the addressbook owner
_oracle: Oracle address
return an address for specific key
_key: key address
set a specific address for a specific key
can only be called by the addressbook owner
-
_key: key -
_address: address
function to update the implementation of a specific component of the protocol
-
_id: id of the contract to be updated -
_newAddress: address of the new implementation*
emits an event when a new proxy is created
emits an event when a new address is added