Global variables
Gas price and oracle
// Sets whether Mangrove uses the monitor as oracle for `gasprice` and `density` values.
function setUseOracle(bool useOracle) external;
// Sets the gasprice (in Mwei, 26 bits).
function setGasprice(uint gasprice) external;
// Sets the monitor/oracle. The `monitor/oracle` can provide real-time values for `gasprice` and `density` to Mangrove. It can also receive liquidity event notifications.
function setMonitor(address monitor) external;event SetGasprice(uint value); // Emitted when gas price is updated.
event SetMonitor(address value); // 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` otherwise.Other governance controlled setters
Last updated
Was this helpful?