|
| 1 | +pragma solidity 0.4.18; |
| 2 | + |
| 3 | +import 'reporting/IUniverse.sol'; |
| 4 | +import 'libraries/token/ERC20.sol'; |
| 5 | +import 'reporting/IMarket.sol'; |
| 6 | +import 'trading/Order.sol'; |
| 7 | + |
| 8 | + |
| 9 | +contract IAugur { |
| 10 | + function createChildUniverse(bytes32 _parentPayoutDistributionHash) public returns (IUniverse); |
| 11 | + function isKnownUniverse(IUniverse _universe) public view returns (bool); |
| 12 | + function trustedTransfer(ERC20 _token, address _from, address _to, uint256 _amount) public returns (bool); |
| 13 | + function logMarketCreated(bytes32 _topic, string _description, string _extraInfo, IUniverse _universe, address _market, address _marketCreator, bytes32[] _outcomes, int256 _minPrice, int256 _maxPrice, IMarket.MarketType _marketType) public returns (bool); |
| 14 | + function logMarketCreated(bytes32 _topic, string _description, string _extraInfo, IUniverse _universe, address _market, address _marketCreator, int256 _minPrice, int256 _maxPrice, IMarket.MarketType _marketType) public returns (bool); |
| 15 | + function logInitialReportSubmitted(IUniverse _universe, address _reporter, address _market, uint256 _amountStaked, bool _isDesignatedReporter, uint256[] _payoutNumerators) public returns (bool); |
| 16 | + function logDisputeCrowdsourcerCreated(IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _size) public returns (bool); |
| 17 | + function logDisputeCrowdsourcerContribution(IUniverse _universe, address _reporter, address _market, address _disputeCrowdsourcer, uint256 _amountStaked) public returns (bool); |
| 18 | + function logDisputeCrowdsourcerCompleted(IUniverse _universe, address _market, address _disputeCrowdsourcer) public returns (bool); |
| 19 | + function logWinningTokensRedeemed(IUniverse _universe, address _reporter, address _market, address _reportingParticipant, uint256 _amountRedeemed, uint256 _reportingFeesReceived, uint256[] _payoutNumerators) public returns (bool); |
| 20 | + function logMarketFinalized(IUniverse _universe, address _market) public returns (bool); |
| 21 | + function logOrderCanceled(IUniverse _universe, address _shareToken, address _sender, bytes32 _orderId, Order.Types _orderType, uint256 _tokenRefund, uint256 _sharesRefund) public returns (bool); |
| 22 | + function logOrderCreated(Order.Types _orderType, uint256 _amount, uint256 _price, address _creator, uint256 _moneyEscrowed, uint256 _sharesEscrowed, bytes32 _tradeGroupId, bytes32 _orderId, IUniverse _universe, address _shareToken) public returns (bool); |
| 23 | + function logOrderFilled(IUniverse _universe, address _shareToken, address _filler, bytes32 _orderId, uint256 _numCreatorShares, uint256 _numCreatorTokens, uint256 _numFillerShares, uint256 _numFillerTokens, uint256 _marketCreatorFees, uint256 _reporterFees, bytes32 _tradeGroupId) public returns (bool); |
| 24 | + function logTradingProceedsClaimed(IUniverse _universe, address _shareToken, address _sender, address _market, uint256 _numShares, uint256 _numPayoutTokens, uint256 _finalTokenBalance) public returns (bool); |
| 25 | + function logUniverseForked() public returns (bool); |
| 26 | + function logUniverseCreated(IUniverse _childUniverse) public returns (bool); |
| 27 | + function logFeeWindowTransferred(IUniverse _universe, address _from, address _to, uint256 _value) public returns (bool); |
| 28 | + function logReputationTokensTransferred(IUniverse _universe, address _from, address _to, uint256 _value) public returns (bool); |
| 29 | + function logDisputeCrowdsourcerTokensTransferred(IUniverse _universe, address _from, address _to, uint256 _value) public returns (bool); |
| 30 | + function logShareTokensTransferred(IUniverse _universe, address _from, address _to, uint256 _value) public returns (bool); |
| 31 | + function logReputationTokenBurned(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 32 | + function logReputationTokenMinted(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 33 | + function logShareTokenBurned(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 34 | + function logShareTokenMinted(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 35 | + function logFeeWindowBurned(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 36 | + function logFeeWindowMinted(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 37 | + function logDisputeCrowdsourcerTokensBurned(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 38 | + function logDisputeCrowdsourcerTokensMinted(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 39 | + function logFeeWindowCreated(IFeeWindow _feeWindow, uint256 _id) public returns (bool); |
| 40 | + function logFeeTokenTransferred(IUniverse _universe, address _from, address _to, uint256 _value) public returns (bool); |
| 41 | + function logFeeTokenBurned(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 42 | + function logFeeTokenMinted(IUniverse _universe, address _target, uint256 _amount) public returns (bool); |
| 43 | + function logContractAddedToWhitelist(address _addition) public returns (bool); |
| 44 | + function logContractAddedToRegistry(bytes32 _key, address _address, bytes20 _commitHash, bytes32 _bytecodeHash) public returns (bool); |
| 45 | +} |
0 commit comments