ProtocolMetrics
Methods
getRate
Returns
Name
Type
Description
_0
uint256
undefined
initProtocolMetricsV1
Parameters
Name
Type
Description
river
address
undefined
Events
Initialize
Emitted when the contract is properly initialized
Parameters
Name
Type
Description
version
uint256
New version of the contracts
cdata
bytes
Complete calldata that was used during the initialization
Errors
InvalidInitialization
An error occured during the initialization
Parameters
Name
Type
Description
version
uint256
The version that was attempting to be initialized
expectedVersion
uint256
The version that was expected
InvalidZeroAddress
The address is zero
Last updated