Global variables
Protocol wide governance parameters.
Gas price and oracle
// Governance lets the monitor determine gasprice
function setUseOracle(bool useOracle) public;
// Governance sets the fallback gasprice value (in GWEI)
function setGasprice(uint gasprice) public;
// Governance sets a new monitor
function setMonitor(address monitor) public;event SetGasprice(uint gasprice); // emitted when gas price is updated
event SetMonitor(address monitor); // emitted when a new monitor is set
event SetUseOracle(bool value); // logs `true` if Mangrove is set to use an external monitor to read gasprice. Logs `false` otherwiseOther governance controlled setters
// Governance sets maximum allowed gas per offer
function setGasmax(uint gasmax) public;
// Changing governance address
function setGovernance(address value);
// Changing treasury address
function setVault(address value);
// (de)activates sending trade notification to governance contract (e.g. for rewards programs)
function setNotify(bool value);
// set maximum gas amount an offer may require to execute
function setGasmax(uint value);
// permanently puts mangrove into a killed state (Mangrove rejects all taker and maker orders, only retracting offer is possible)
function kill();
Last updated
Was this helpful?