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

21 lines
572 B
Solidity
Raw Normal View History

2018-10-24 12:52:11 +00:00
pragma solidity >=0.0;
2017-07-12 13:46:33 +00:00
import "../Events/Event.sol";
import "../MarketMakers/MarketMaker.sol";
import "../Markets/Market.sol";
/// @title Abstract market factory contract - Functions to be implemented by market factories
2019-10-23 20:10:12 +00:00
abstract contract MarketFactory {
2017-07-12 13:46:33 +00:00
/*
* Events
*/
event MarketCreation(address indexed creator, Market market, Event eventContract, MarketMaker marketMaker, uint24 fee);
/*
* Public functions
*/
2019-11-05 17:25:34 +00:00
function createMarket(Event eventContract, MarketMaker marketMaker, uint24
fee) virtual public returns (Market);
2017-07-12 13:46:33 +00:00
}