Skip to content

IProtocolConfigManager

IProtocolConfigManager

ProtocolExternalFeesCollectorChanged

event ProtocolExternalFeesCollectorChanged(address oldCollector, address newCollector)

Emitted when address of collector for Protocol's external fees is changed.

Name Type Description
oldCollector address Address of old collector.
newCollector address Address of new collector.

changeProtocolExternalFeesCollector

function changeProtocolExternalFeesCollector(address newProtocolExternalFeesCollector) external

Changes the address of collector for Protocol's external fees. Also emits `ProtocolExternalFeesCollectorChanged`.

Name Type Description
newProtocolExternalFeesCollector address The new collector's address.

baseToken

function baseToken() external view returns (address)

Returns the base token that's used for stable price denomination.

Name Type Description
[0] address The base token address.

baseTokenDecimals

function baseTokenDecimals() external view returns (uint8)

Returns the base token decimals.

Name Type Description
[0] uint8 The base token decimals.

protocolExternalFeesCollector

function protocolExternalFeesCollector() external view returns (address)

Returns address of Protocol's external fees collector.

Name Type Description
[0] address The address of Protocol's external fees collector.