KandelSeeder
NewKandel
a new Kandel has been deployed. By emitting this data, an indexer will be able to keep track of what Kandel strats are deployed, what market its deployed on and who the owner is.
Parameters
owner
address
the owner of the strat. This is indexed so that RPC calls can filter on it.
baseQuoteOlKeyHash
bytes32
the hash of the base/quote offer list key. This is indexed so that RPC calls can filter on it.
quoteBaseOlKeyHash
bytes32
the hash of the quote/base offer list key. This is indexed so that RPC calls can filter on it.
kandel
address
the address of the deployed strat.
constructor
constructor for KandelSeeder
.
Parameters
mgv
contract IMangrove
The Mangrove deployment.
kandelGasreq
uint256
the gasreq to use for offers.
_deployKandel
deploys a new Kandel contract for the given seed parameters.
Parameters
olKeyBaseQuote
struct OLKey
The 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.
bool
Return Values
kandel
contract GeometricKandel
the Kandel contract.