solidity/test/compilationTests/gnosis/Markets/MarketFactory.sol

20 lines
557 B
Solidity
Raw Normal View History

2017-07-12 13:46:33 +00:00
pragma solidity ^0.4.11;
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);
}