Created
May 17, 2018 07:24
-
-
Save nuevoalex/8b33541b572825bd9ae04386f2baf713 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.20; | |
contract Controller { | |
function addToWhitelist(address _target) public returns (bool); | |
function removeFromWhitelist(address _target) public returns (bool); | |
function assertIsWhitelisted(address _target) public view returns (bool); | |
function registerContract(bytes32 _key, address _address, bytes20 _commitHash, bytes32 _bytecodeHash) public returns (bool); | |
function getContractDetails(bytes32 _key) public view returns (address, bytes20, bytes32); | |
function unregisterContract(bytes32 _key) public returns (bool); | |
function lookup(bytes32 _key) public view returns (address); | |
function suicideFunds(address _target, address _destination, address[] _tokens) public returns (bool); | |
function updateController(address _target, address _newController) public returns (bool); | |
function transferOwnership(address _newOwner) public returns (bool); | |
function switchModeSoOnlyEmergencyStopsAndEscapeHatchesCanBeUsed() public returns (bool); | |
function emergencyStop() public returns (bool); | |
function release() public returns (bool); | |
function stopInEmergency() public view returns (bool); | |
function onlyInEmergency() public view returns (bool); | |
function getAugur() public view returns (address); | |
function getTimestamp() public view returns (uint256); | |
} | |
contract ReportingParticipant { | |
function forkAndRedeem() public returns (bool); | |
function redeem() public returns (bool); | |
} | |
contract Helper { | |
function getEthBalance(address _addr) public view returns (uint256) { | |
return _addr.balance; | |
} | |
} | |
contract Cash { | |
function totalSupply() public constant returns (uint); | |
function balanceOf(address tokenOwner) public constant returns (uint balance); | |
function allowance(address tokenOwner, address spender) public constant returns (uint remaining); | |
function transfer(address to, uint tokens) public returns (bool success); | |
function approve(address spender, uint tokens) public returns (bool success); | |
function transferFrom(address from, address to, uint tokens) public returns (bool success); | |
function getTypeName() public view returns (bytes32); | |
} | |
contract CompleteSets { | |
function publicBuyCompleteSets(address _market, uint256 _amount) external payable returns (bool); | |
function publicSellCompleteSets(address _market, uint256 _amount) external returns (bool); | |
} | |
contract LegacyReputationToken { | |
function faucet(uint256 _amount) public returns (bool); | |
function totalSupply() public constant returns (uint); | |
} | |
contract ReputationToken { | |
address public owner; | |
function migrateFromLegacyReputationToken() public returns (bool); | |
function totalSupply() public constant returns (uint); | |
} | |
contract Universe { | |
function isForking() public view returns (bool); | |
function getReputationToken() public view returns (address); | |
function getCurrentFeeWindow() public view returns (address); | |
} | |
contract Orders { | |
function getPrice(bytes32 _orderId) public view returns (uint256); | |
function getBetterOrderId(bytes32 _orderId) public view returns (bytes32); | |
function getWorseOrderId(bytes32 _orderId) public view returns (bytes32); | |
} | |
contract TimeControlled { | |
function getTimestamp() external view returns (uint256); | |
function incrementTimestamp(uint256 _amount) external returns (bool); | |
function setTimestamp(uint256 _timestamp) external returns (bool); | |
function getTypeName() public view returns (bytes32); | |
} | |
contract Market { | |
function getEndTime() public view returns (uint256); | |
function contribute(uint256[] _payoutNumerators, bool _invalid, uint256 _amount) public returns (bool); | |
function doInitialReport(uint256[] _payoutNumerators, bool _invalid) public returns (bool); | |
function migrateThroughOneFork() public returns (bool); | |
function disavowCrowdsourcers() public returns (bool); | |
function getFeeWindow() public view returns (address); | |
function getNumParticipants() public view returns (uint256); | |
function getParticipantStake() public view returns (uint256); | |
function getNumTicks() public view returns (uint256); | |
function finalize() public returns (bool); | |
function isFinalized() public view returns (bool); | |
function getMarketCreatorMailbox() public view returns (address); | |
function getMarketCreatorSettlementFeeDivisor() public view returns (uint256); | |
function getReportingParticipant(uint256 _index) public view returns (address); | |
} | |
contract FeeWindow { | |
function getStartTime() public view returns (uint256); | |
function getEndTime() public view returns (uint256); | |
} | |
contract TradingEscapeHatch { | |
function getFrozenShareValueInMarket(address _market) public view returns (uint256); | |
} | |
contract CancelOrder { | |
function cancelOrder(bytes32 _orderId) external returns (bool); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment