Skip to main content

Kandel

Kandel​

constructor​

constructor(contract IMangrove mgv, struct OLKey olKeyBaseQuote, uint256 gasreq, address reserveId) public

Constructor

Parameters​

NameTypeDescription
mgvcontract IMangroveThe Mangrove deployment.
olKeyBaseQuotestruct OLKeyThe OLKey for the outbound_tkn base and inbound_tkn quote offer list Kandel will act on, the flipped OLKey is used for the opposite offer list.
gasrequint256the gasreq to use for offers
reserveIdaddressidentifier of this contract's reserve when using a router.

posthookSuccess​

function __posthookSuccess__(struct MgvLib.SingleOrder order, bytes32 makerData) internal virtual returns (bytes32 repostStatus)