IModifiable

Git Source

Inherits: IAuthorizable

Functions

modifyParameters

Set a new value for a global specific parameter

function modifyParameters(bytes32 _param, bytes memory _data) external;

Parameters

NameTypeDescription
_parambytes32String identifier of the parameter to modify
_databytesEncoded data to modify the parameter

modifyParameters

Set a new value for a collateral specific parameter

function modifyParameters(bytes32 _cType, bytes32 _param, bytes memory _data) external;

Parameters

NameTypeDescription
_cTypebytes32String identifier of the collateral to modify
_parambytes32String identifier of the parameter to modify
_databytesEncoded data to modify the parameter

Events

ModifyParameters

Event topic 1 is always a parameter, topic 2 can be empty (global params)

event ModifyParameters(bytes32 indexed _param, bytes32 indexed _cType, bytes _data);

Errors

UnrecognizedParam

error UnrecognizedParam();

UnrecognizedCType

error UnrecognizedCType();