blob: 40d80db652934a0d4c3e1e99f28a6e21d2d33a1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pragma solidity >=0.0;
import "../Events/Event.sol";
import "../MarketMakers/MarketMaker.sol";
import "../Markets/Market.sol";
/// @title Abstract market factory contract - Functions to be implemented by market factories
contract MarketFactory {
/*
* Events
*/
event MarketCreation(address indexed creator, Market market, Event eventContract, MarketMaker marketMaker, uint24 fee);
/*
* Public functions
*/
function createMarket(Event eventContract, MarketMaker marketMaker, uint24 fee) public returns (Market);
}
|