Reporting
Contracts
AffiliateValidator
addOperator(address _operator)
removeOperator(address _operator)
addKey(bytes32 _key, uint256 _salt, bytes32 _r, bytes32 _s, uint8 _v)
getKeyHash(bytes32 _key, address _account, uint256 _salt)
isValidSignature(bytes32 _hash, bytes32 _r, bytes32 _s, uint8 _v)
validateReference(address _account, address _referrer)
onTransferOwnership(address, address)
constructor()
getOwner()
transferOwnership(address _newOwner)
addOperator(address _operator)
external
removeOperator(address _operator)
external
addKey(bytes32 _key, uint256 _salt, bytes32 _r, bytes32 _s, uint8 _v)
external
→ bytes32public
getKeyHash(bytes32 _key, address _account, uint256 _salt)→ boolpublic
isValidSignature(bytes32 _hash, bytes32 _r, bytes32 _s, uint8 _v)→ boolexternal
validateReference(address _account, address _referrer)onTransferOwnership(address, address)
internal
IAffiliateValidator
→ boolexternal
validateReference(address _account, address _referrer)IOwnable
→ addresspublic
getOwner()→ boolpublic
transferOwnership(address _newOwner)Ownable
constructor()
public
The Ownable constructor sets the original owner
of the contract to the sender
account.
→ addresspublic
getOwner()→ boolpublic
transferOwnership(address _newOwner)Allows the current owner to transfer control of the contract to a newOwner.
onTransferOwnership(address, address)
internal
Affiliates
→ contract AffiliateValidatorpublic
createAffiliateValidator()setFingerprint(bytes32 _fingerprint)
external
setReferrer(address _referrer)
external
→ bytes32external
getAccountFingerprint(address _account)→ addressexternal
getReferrer(address _account)→ addressexternal
getAndValidateReferrer(address _account, contract IAffiliateValidator _affiliateValidator)BaseReportingParticipant
liquidateLosing()
public
fork()
public
→ uint256public
getSize()→ bytes32public
getPayoutDistributionHash()→ contract IMarketpublic
getMarket()→ boolpublic
isDisavowed()→ uint256public
getPayoutNumerator(uint256 _outcome)→ uint256[]public
getPayoutNumerators()DisputeCrowdsourcer
initialize(contract IAugur _augur, contract IMarket _market, uint256 _size, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _crowdsourcerGeneration)
redeem(address _redeemer)
contribute(address _participant, uint256 _amount, bool _overload)
forkAndRedeem()
getRemainingToFill()
setSize(uint256 _size)
getStake()
onTokenTransfer(address _from, address _to, uint256 _value)
onMint(address _target, uint256 _amount)
onBurn(address _target, uint256 _amount)
getReputationToken()
correctSize()
getCrowdsourcerGeneration()
endInitialization()
getInitialized()
liquidateLosing()
fork()
getSize()
getPayoutDistributionHash()
getMarket()
isDisavowed()
getPayoutNumerator(uint256 _outcome)
getPayoutNumerators()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
totalSupply()
initialize(contract IAugur _augur, contract IMarket _market, uint256 _size, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _crowdsourcerGeneration)
public
→ boolpublic
redeem(address _redeemer)→ uint256public
contribute(address _participant, uint256 _amount, bool _overload)→ boolpublic
forkAndRedeem()→ uint256public
getRemainingToFill()setSize(uint256 _size)
public
→ uint256public
getStake()onTokenTransfer(address _from, address _to, uint256 _value)
internal
onMint(address _target, uint256 _amount)
internal
onBurn(address _target, uint256 _amount)
internal
→ contract IReputationTokenpublic
getReputationToken()→ boolpublic
correctSize()→ uint256public
getCrowdsourcerGeneration()ERC20
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
onTokenTransfer(address _from, address _to, uint256 _value)
totalSupply()
→ uint256public
balanceOf(address _account)See {IERC20-balanceOf}.
→ boolpublic
transfer(address _recipient, uint256 _amount)See {IERC20-transfer}.
Requirements:
recipient
cannot be the zero address.- the caller must have a balance of at least
amount
.
→ uint256public
allowance(address _owner, address _spender)See {IERC20-allowance}.
→ boolpublic
approve(address _spender, uint256 _amount)See {IERC20-approve}.
Requirements:
spender
cannot be the zero address.
→ boolpublic
transferFrom(address _sender, address _recipient, uint256 _amount)See {IERC20-transferFrom}.
Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20};
Requirements:
sender
andrecipient
cannot be the zero address.sender
must have a balance of at leastamount
.- the caller must have allowance for
sender
's tokens of at leastamount
.
→ boolpublic
increaseAllowance(address _spender, uint256 _addedValue)Atomically increases the allowance granted to spender
by the caller.
This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.
Emits an {Approval} event indicating the updated allowance.
Requirements:
spender
cannot be the zero address.
→ boolpublic
decreaseAllowance(address _spender, uint256 _subtractedValue)Atomically decreases the allowance granted to spender
by the caller.
This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}.
Emits an {Approval} event indicating the updated allowance.
Requirements:
spender
cannot be the zero address.spender
must have allowance for the caller of at leastsubtractedValue
.
_transfer(address _sender, address _recipient, uint256 _amount)
internal
Moves tokens amount
from sender
to recipient
.
This is internal function is equivalent to {transfer}, and can be used to e.g. implement automatic token fees, slashing mechanisms, etc.
Emits a {Transfer} event.
Requirements:
sender
cannot be the zero address.recipient
cannot be the zero address.sender
must have a balance of at leastamount
.
_mint(address _account, uint256 _amount)
internal
Creates amount
tokens and assigns them to account
, increasing
the total supply.
Emits a {Transfer} event with from
set to the zero address.
Requirements
to
cannot be the zero address.
_burn(address _account, uint256 _amount)
internal
Destroys amount
tokens from account
, reducing the
total supply.
Emits a {Transfer} event with to
set to the zero address.
Requirements
account
cannot be the zero address.account
must have at leastamount
tokens.
_approve(address _owner, address _spender, uint256 _amount)
internal
Sets amount
as the allowance of spender
over the owner
s tokens.
This is internal function is equivalent to approve
, and can be used to
e.g. set automatic allowances for certain subsystems, etc.
Emits an {Approval} event.
Requirements:
owner
cannot be the zero address.spender
cannot be the zero address.
_burnFrom(address _account, uint256 _amount)
internal
Destroys amount
tokens from account
.amount
is then deducted
from the caller's allowance.
See {_burn} and {_approve}.
onTokenTransfer(address _from, address _to, uint256 _value)
internal
IAugur
createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators)
isKnownUniverse(contract IUniverse _universe)
trustedCashTransfer(address _from, address _to, uint256 _amount)
isTrustedSender(address _address)
onCategoricalMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash, bytes32[] _outcomes)
onYesNoMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash)
onScalarMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash, int256[] _prices, uint256 _numTicks)
logInitialReportSubmitted(contract IUniverse _universe, address _reporter, address _market, address _initialReporter, uint256 _amountStaked, bool _isDesignatedReporter, uint256[] _payoutNumerators, string _description, uint256 _nextWindowStartTime, uint256 _nextWindowEndTime)
disputeCrowdsourcerCreated(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _size, uint256 _disputeRound)
logDisputeCrowdsourcerContribution(contract IUniverse _universe, address _reporter, address _market, address _disputeCrowdsourcer, uint256 _amountStaked, string description, uint256[] _payoutNumerators, uint256 _currentStake, uint256 _stakeRemaining, uint256 _disputeRound)
logDisputeCrowdsourcerCompleted(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _nextWindowStartTime, uint256 _nextWindowEndTime, bool _pacingOn, uint256 _totalRepStakedInPayout, uint256 _totalRepStakedInMarket, uint256 _disputeRound)
logInitialReporterRedeemed(contract IUniverse _universe, address _reporter, address _market, uint256 _amountRedeemed, uint256 _repReceived, uint256[] _payoutNumerators)
logDisputeCrowdsourcerRedeemed(contract IUniverse _universe, address _reporter, address _market, uint256 _amountRedeemed, uint256 _repReceived, uint256[] _payoutNumerators)
logMarketFinalized(contract IUniverse _universe, uint256[] _winningPayoutNumerators)
logMarketMigrated(contract IMarket _market, contract IUniverse _originalUniverse)
logReportingParticipantDisavowed(contract IUniverse _universe, contract IMarket _market)
logMarketParticipantsDisavowed(contract IUniverse _universe)
logCompleteSetsPurchased(contract IUniverse _universe, contract IMarket _market, address _account, uint256 _numCompleteSets)
logCompleteSetsSold(contract IUniverse _universe, contract IMarket _market, address _account, uint256 _numCompleteSets, uint256 _fees)
logMarketOIChanged(contract IUniverse _universe, contract IMarket _market)
logTradingProceedsClaimed(contract IUniverse _universe, address _sender, address _market, uint256 _outcome, uint256 _numShares, uint256 _numPayoutTokens, uint256 _fees)
logUniverseForked(contract IMarket _forkingMarket)
logReputationTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)
logReputationTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logReputationTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logShareTokensBalanceChanged(address _account, contract IMarket _market, uint256 _outcome, uint256 _balance)
logDisputeCrowdsourcerTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)
logDisputeCrowdsourcerTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logDisputeCrowdsourcerTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logDisputeWindowCreated(contract IDisputeWindow _disputeWindow, uint256 _id, bool _initial)
logParticipationTokensRedeemed(contract IUniverse universe, address _sender, uint256 _attoParticipationTokens, uint256 _feePayoutShare)
logTimestampSet(uint256 _newTimestamp)
logInitialReporterTransferred(contract IUniverse _universe, contract IMarket _market, address _from, address _to)
logMarketTransferred(contract IUniverse _universe, address _from, address _to)
logParticipationTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)
logParticipationTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logParticipationTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)
logMarketRepBondTransferred(address _universe, address _from, address _to)
logWarpSyncDataUpdated(address _universe, uint256 _warpSyncHash, uint256 _marketEndTime)
isKnownFeeSender(address _feeSender)
lookup(bytes32 _key)
getTimestamp()
getMaximumMarketEndDate()
isKnownMarket(contract IMarket _market)
derivePayoutDistributionHash(uint256[] _payoutNumerators, uint256 _numTicks, uint256 numOutcomes)
logValidityBondChanged(uint256 _validityBond)
logDesignatedReportStakeChanged(uint256 _designatedReportStake)
logNoShowBondChanged(uint256 _noShowBond)
logReportingFeeChanged(uint256 _reportingFee)
getUniverseForkIndex(contract IUniverse _universe)
getMarketType(contract IMarket _market)
getMarketOutcomes(contract IMarket _market)
→ contract IUniversepublic
createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators)→ boolpublic
isKnownUniverse(contract IUniverse _universe)→ boolpublic
trustedCashTransfer(address _from, address _to, uint256 _amount)→ boolpublic
isTrustedSender(address _address)→ boolpublic
onCategoricalMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash, bytes32[] _outcomes)→ boolpublic
onYesNoMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash)→ boolpublic
onScalarMarketCreated(uint256 _endTime, string _extraInfo, contract IMarket _market, address _marketCreator, address _designatedReporter, uint256 _feePerCashInAttoCash, int256[] _prices, uint256 _numTicks)→ boolpublic
logInitialReportSubmitted(contract IUniverse _universe, address _reporter, address _market, address _initialReporter, uint256 _amountStaked, bool _isDesignatedReporter, uint256[] _payoutNumerators, string _description, uint256 _nextWindowStartTime, uint256 _nextWindowEndTime)→ boolpublic
disputeCrowdsourcerCreated(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _size, uint256 _disputeRound)→ boolpublic
logDisputeCrowdsourcerContribution(contract IUniverse _universe, address _reporter, address _market, address _disputeCrowdsourcer, uint256 _amountStaked, string description, uint256[] _payoutNumerators, uint256 _currentStake, uint256 _stakeRemaining, uint256 _disputeRound)→ boolpublic
logDisputeCrowdsourcerCompleted(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _nextWindowStartTime, uint256 _nextWindowEndTime, bool _pacingOn, uint256 _totalRepStakedInPayout, uint256 _totalRepStakedInMarket, uint256 _disputeRound)→ boolpublic
logInitialReporterRedeemed(contract IUniverse _universe, address _reporter, address _market, uint256 _amountRedeemed, uint256 _repReceived, uint256[] _payoutNumerators)→ boolpublic
logDisputeCrowdsourcerRedeemed(contract IUniverse _universe, address _reporter, address _market, uint256 _amountRedeemed, uint256 _repReceived, uint256[] _payoutNumerators)→ boolpublic
logMarketFinalized(contract IUniverse _universe, uint256[] _winningPayoutNumerators)→ boolpublic
logMarketMigrated(contract IMarket _market, contract IUniverse _originalUniverse)→ boolpublic
logReportingParticipantDisavowed(contract IUniverse _universe, contract IMarket _market)→ boolpublic
logMarketParticipantsDisavowed(contract IUniverse _universe)→ boolpublic
logCompleteSetsPurchased(contract IUniverse _universe, contract IMarket _market, address _account, uint256 _numCompleteSets)→ boolpublic
logCompleteSetsSold(contract IUniverse _universe, contract IMarket _market, address _account, uint256 _numCompleteSets, uint256 _fees)→ boolpublic
logMarketOIChanged(contract IUniverse _universe, contract IMarket _market)→ boolpublic
logTradingProceedsClaimed(contract IUniverse _universe, address _sender, address _market, uint256 _outcome, uint256 _numShares, uint256 _numPayoutTokens, uint256 _fees)→ boolpublic
logUniverseForked(contract IMarket _forkingMarket)→ boolpublic
logReputationTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)→ boolpublic
logReputationTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logReputationTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logShareTokensBalanceChanged(address _account, contract IMarket _market, uint256 _outcome, uint256 _balance)→ boolpublic
logDisputeCrowdsourcerTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)→ boolpublic
logDisputeCrowdsourcerTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logDisputeCrowdsourcerTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logDisputeWindowCreated(contract IDisputeWindow _disputeWindow, uint256 _id, bool _initial)→ boolpublic
logParticipationTokensRedeemed(contract IUniverse universe, address _sender, uint256 _attoParticipationTokens, uint256 _feePayoutShare)→ boolpublic
logTimestampSet(uint256 _newTimestamp)→ boolpublic
logInitialReporterTransferred(contract IUniverse _universe, contract IMarket _market, address _from, address _to)→ boolpublic
logMarketTransferred(contract IUniverse _universe, address _from, address _to)→ boolpublic
logParticipationTokensTransferred(contract IUniverse _universe, address _from, address _to, uint256 _value, uint256 _fromBalance, uint256 _toBalance)→ boolpublic
logParticipationTokensBurned(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logParticipationTokensMinted(contract IUniverse _universe, address _target, uint256 _amount, uint256 _totalSupply, uint256 _balance)→ boolpublic
logMarketRepBondTransferred(address _universe, address _from, address _to)→ boolpublic
logWarpSyncDataUpdated(address _universe, uint256 _warpSyncHash, uint256 _marketEndTime)→ boolpublic
isKnownFeeSender(address _feeSender)→ addresspublic
lookup(bytes32 _key)→ uint256public
getTimestamp()→ uint256public
getMaximumMarketEndDate()→ boolpublic
isKnownMarket(contract IMarket _market)→ bytes32public
derivePayoutDistributionHash(uint256[] _payoutNumerators, uint256 _numTicks, uint256 numOutcomes)→ boolpublic
logValidityBondChanged(uint256 _validityBond)→ boolpublic
logDesignatedReportStakeChanged(uint256 _designatedReportStake)→ boolpublic
logNoShowBondChanged(uint256 _noShowBond)→ boolpublic
logReportingFeeChanged(uint256 _reportingFee)→ uint256public
getUniverseForkIndex(contract IUniverse _universe)→ enum IMarket.MarketTypepublic
getMarketType(contract IMarket _market)→ bytes32[]public
getMarketOutcomes(contract IMarket _market)IAugurTrading
lookup(bytes32 _key)
logProfitLossChanged(contract IMarket _market, address _account, uint256 _outcome, int256 _netPosition, uint256 _avgPrice, int256 _realizedProfit, int256 _frozenFunds, int256 _realizedCost)
logOrderCreated(contract IUniverse _universe, bytes32 _orderId, bytes32 _tradeGroupId)
logOrderCanceled(contract IUniverse _universe, contract IMarket _market, address _creator, uint256 _tokenRefund, uint256 _sharesRefund, bytes32 _orderId)
logOrderFilled(contract IUniverse _universe, address _creator, address _filler, uint256 _price, uint256 _fees, uint256 _amountFilled, bytes32 _orderId, bytes32 _tradeGroupId)
logMarketVolumeChanged(contract IUniverse _universe, address _market, uint256 _volume, uint256[] _outcomeVolumes, uint256 _totalTrades)
logZeroXOrderFilled(contract IUniverse _universe, contract IMarket _market, bytes32 _orderHash, bytes32 _tradeGroupId, uint8 _orderType, address[] _addressData, uint256[] _uint256Data)
logZeroXOrderCanceled(address _universe, address _market, address _account, uint256 _outcome, uint256 _price, uint256 _amount, uint8 _type, bytes32 _orderHash)
→ addresspublic
lookup(bytes32 _key)→ boolpublic
logProfitLossChanged(contract IMarket _market, address _account, uint256 _outcome, int256 _netPosition, uint256 _avgPrice, int256 _realizedProfit, int256 _frozenFunds, int256 _realizedCost)→ boolpublic
logOrderCreated(contract IUniverse _universe, bytes32 _orderId, bytes32 _tradeGroupId)→ boolpublic
logOrderCanceled(contract IUniverse _universe, contract IMarket _market, address _creator, uint256 _tokenRefund, uint256 _sharesRefund, bytes32 _orderId)→ boolpublic
logOrderFilled(contract IUniverse _universe, address _creator, address _filler, uint256 _price, uint256 _fees, uint256 _amountFilled, bytes32 _orderId, bytes32 _tradeGroupId)→ boolpublic
logMarketVolumeChanged(contract IUniverse _universe, address _market, uint256 _volume, uint256[] _outcomeVolumes, uint256 _totalTrades)→ boolpublic
logZeroXOrderFilled(contract IUniverse _universe, contract IMarket _market, bytes32 _orderHash, bytes32 _tradeGroupId, uint8 _orderType, address[] _addressData, uint256[] _uint256Data)logZeroXOrderCanceled(address _universe, address _market, address _account, uint256 _outcome, uint256 _price, uint256 _amount, uint8 _type, bytes32 _orderHash)
public
ICash
faucet(uint256 _amount)
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
→ boolpublic
faucet(uint256 _amount)IDisputeCrowdsourcer
initialize(contract IAugur _augur, contract IMarket market, uint256 _size, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _crowdsourcerGeneration)
contribute(address _participant, uint256 _amount, bool _overload)
setSize(uint256 _size)
getRemainingToFill()
correctSize()
getCrowdsourcerGeneration()
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
getStake()
getPayoutDistributionHash()
liquidateLosing()
redeem(address _redeemer)
isDisavowed()
getPayoutNumerator(uint256 _outcome)
getPayoutNumerators()
getMarket()
getSize()
initialize(contract IAugur _augur, contract IMarket market, uint256 _size, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _crowdsourcerGeneration)
public
→ uint256public
contribute(address _participant, uint256 _amount, bool _overload)setSize(uint256 _size)
public
→ uint256public
getRemainingToFill()→ boolpublic
correctSize()→ uint256public
getCrowdsourcerGeneration()IDisputeWindow
invalidMarketsTotal()
validityBondTotal()
incorrectDesignatedReportTotal()
initialReportBondTotal()
designatedReportNoShowsTotal()
designatedReporterNoShowBondTotal()
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _disputeWindowId, bool _participationTokensEnabled, uint256 _duration, uint256 _startTime)
trustedBuy(address _buyer, uint256 _attotokens)
getUniverse()
getReputationToken()
getStartTime()
getEndTime()
getWindowId()
isActive()
isOver()
onMarketFinalized()
redeem(address _account)
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
getTypeName()
→ uint256external
invalidMarketsTotal()→ uint256external
validityBondTotal()→ uint256external
incorrectDesignatedReportTotal()→ uint256external
initialReportBondTotal()→ uint256external
designatedReportNoShowsTotal()→ uint256external
designatedReporterNoShowBondTotal()initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _disputeWindowId, bool _participationTokensEnabled, uint256 _duration, uint256 _startTime)
public
→ boolpublic
trustedBuy(address _buyer, uint256 _attotokens)→ contract IUniversepublic
getUniverse()→ contract IReputationTokenpublic
getReputationToken()→ uint256public
getStartTime()→ uint256public
getEndTime()→ uint256public
getWindowId()→ boolpublic
isActive()→ boolpublic
isOver()onMarketFinalized()
public
→ boolpublic
redeem(address _account)IERC1155
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
setApprovalForAll(address operator, bool approved)
isApprovedForAll(address owner, address operator)
balanceOf(address owner, uint256 id)
totalSupply(uint256 id)
balanceOfBatch(address[] owners, uint256[] ids)
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
external
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
external
setApprovalForAll(address operator, bool approved)
external
→ boolexternal
isApprovedForAll(address owner, address operator)→ uint256external
balanceOf(address owner, uint256 id)→ uint256external
totalSupply(uint256 id)→ uint256[]external
balanceOfBatch(address[] owners, uint256[] ids)TransferSingle(address operator, address from, address to, uint256 id, uint256 value)
Either TransferSingle or TransferBatch MUST emit when tokens are transferred,
including zero value transfers as well as minting or burning.
Operator will always be msg.sender.
Either event from address 0x0
signifies a minting operation.
An event to address 0x0
signifies a burning or melting operation.
The total value transferred from address 0x0 minus the total value transferred to 0x0 may
be used by clients and exchanges to be added to the "circulating supply" for a given token ID.
To define a token ID with no initial balance, the contract SHOULD emit the TransferSingle event
from 0x0
to 0x0
, with the token creator as _operator
.
TransferBatch(address operator, address from, address to, uint256[] ids, uint256[] values)
Either TransferSingle or TransferBatch MUST emit when tokens are transferred,
including zero value transfers as well as minting or burning.
Operator will always be msg.sender.
Either event from address 0x0
signifies a minting operation.
An event to address 0x0
signifies a burning or melting operation.
The total value transferred from address 0x0 minus the total value transferred to 0x0 may
be used by clients and exchanges to be added to the "circulating supply" for a given token ID.
To define multiple token IDs with no initial balance, this SHOULD emit the TransferBatch event
from 0x0
to 0x0
, with the token creator as _operator
.
ApprovalForAll(address owner, address operator, bool approved)
MUST emit when an approval is updated.
URI(string value, uint256 id)
MUST emit when the URI is updated for a token ID. URIs are defined in RFC 3986. The URI MUST point a JSON file that conforms to the "ERC-1155 Metadata JSON Schema".
IERC20
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
→ uint256external
totalSupply()→ uint256public
balanceOf(address owner)→ boolpublic
transfer(address to, uint256 amount)→ boolpublic
transferFrom(address from, address to, uint256 amount)→ boolpublic
approve(address spender, uint256 amount)→ uint256public
allowance(address owner, address spender)Transfer(address from, address to, uint256 value)
Approval(address owner, address spender, uint256 value)
IInitialReporter
initialize(contract IAugur _augur, contract IMarket _market, address _designatedReporter)
report(address _reporter, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _initialReportStake)
designatedReporterShowed()
initialReporterWasCorrect()
getDesignatedReporter()
getReportTimestamp()
migrateToNewUniverse(address _designatedReporter)
returnRepFromDisavow()
getOwner()
transferOwnership(address _newOwner)
getStake()
getPayoutDistributionHash()
liquidateLosing()
redeem(address _redeemer)
isDisavowed()
getPayoutNumerator(uint256 _outcome)
getPayoutNumerators()
getMarket()
getSize()
initialize(contract IAugur _augur, contract IMarket _market, address _designatedReporter)
public
report(address _reporter, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _initialReportStake)
public
→ boolpublic
designatedReporterShowed()→ boolpublic
initialReporterWasCorrect()→ addresspublic
getDesignatedReporter()→ uint256public
getReportTimestamp()migrateToNewUniverse(address _designatedReporter)
public
returnRepFromDisavow()
public
IMarket
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _creator, uint256 _numOutcomes, uint256 _numTicks)
derivePayoutDistributionHash(uint256[] _payoutNumerators)
doInitialReport(uint256[] _payoutNumerators, string _description, uint256 _additionalStake)
getUniverse()
getDisputeWindow()
getNumberOfOutcomes()
getNumTicks()
getMarketCreatorSettlementFeeDivisor()
getForkingMarket()
getEndTime()
getWinningPayoutDistributionHash()
getWinningPayoutNumerator(uint256 _outcome)
getWinningReportingParticipant()
getReputationToken()
getFinalizationTime()
getInitialReporter()
getDesignatedReportingEndTime()
getValidityBondAttoCash()
affiliateFeeDivisor()
getNumParticipants()
getDisputePacingOn()
deriveMarketCreatorFeeAmount(uint256 _amount)
recordMarketCreatorFees(uint256 _marketCreatorFees, address _sourceAccount, bytes32 _fingerprint)
isContainerForReportingParticipant(contract IReportingParticipant _reportingParticipant)
isFinalizedAsInvalid()
finalize()
isFinalized()
getOpenInterest()
getOwner()
transferOwnership(address _newOwner)
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _creator, uint256 _numOutcomes, uint256 _numTicks)
public
→ bytes32public
derivePayoutDistributionHash(uint256[] _payoutNumerators)→ boolpublic
doInitialReport(uint256[] _payoutNumerators, string _description, uint256 _additionalStake)→ contract IUniversepublic
getUniverse()→ contract IDisputeWindowpublic
getDisputeWindow()→ uint256public
getNumberOfOutcomes()→ uint256public
getNumTicks()→ uint256public
getMarketCreatorSettlementFeeDivisor()→ contract IMarketpublic
getForkingMarket()→ uint256public
getEndTime()→ bytes32public
getWinningPayoutDistributionHash()→ uint256public
getWinningPayoutNumerator(uint256 _outcome)→ contract IReportingParticipantpublic
getWinningReportingParticipant()→ contract IV2ReputationTokenpublic
getReputationToken()→ uint256public
getFinalizationTime()→ contract IInitialReporterpublic
getInitialReporter()→ uint256public
getDesignatedReportingEndTime()→ uint256public
getValidityBondAttoCash()→ uint256external
affiliateFeeDivisor()→ uint256public
getNumParticipants()→ boolpublic
getDisputePacingOn()→ uint256public
deriveMarketCreatorFeeAmount(uint256 _amount)→ boolpublic
recordMarketCreatorFees(uint256 _marketCreatorFees, address _sourceAccount, bytes32 _fingerprint)→ boolpublic
isContainerForReportingParticipant(contract IReportingParticipant _reportingParticipant)→ boolpublic
isFinalizedAsInvalid()→ boolpublic
finalize()→ boolpublic
isFinalized()→ uint256public
getOpenInterest()IOrders
saveOrder(uint256[] _uints, bytes32[] _bytes32s, enum Order.Types _type, contract IMarket _market, address _sender)
removeOrder(bytes32 _orderId)
getMarket(bytes32 _orderId)
getOrderType(bytes32 _orderId)
getOutcome(bytes32 _orderId)
getAmount(bytes32 _orderId)
getPrice(bytes32 _orderId)
getOrderCreator(bytes32 _orderId)
getOrderSharesEscrowed(bytes32 _orderId)
getOrderMoneyEscrowed(bytes32 _orderId)
getOrderDataForCancel(bytes32 _orderId)
getOrderDataForLogs(bytes32 _orderId)
getBetterOrderId(bytes32 _orderId)
getWorseOrderId(bytes32 _orderId)
getBestOrderId(enum Order.Types _type, contract IMarket _market, uint256 _outcome)
getWorstOrderId(enum Order.Types _type, contract IMarket _market, uint256 _outcome)
getLastOutcomePrice(contract IMarket _market, uint256 _outcome)
getOrderId(enum Order.Types _type, contract IMarket _market, uint256 _amount, uint256 _price, address _sender, uint256 _blockNumber, uint256 _outcome, uint256 _moneyEscrowed, uint256 _sharesEscrowed)
getTotalEscrowed(contract IMarket _market)
isBetterPrice(enum Order.Types _type, uint256 _price, bytes32 _orderId)
isWorsePrice(enum Order.Types _type, uint256 _price, bytes32 _orderId)
assertIsNotBetterPrice(enum Order.Types _type, uint256 _price, bytes32 _betterOrderId)
assertIsNotWorsePrice(enum Order.Types _type, uint256 _price, bytes32 _worseOrderId)
recordFillOrder(bytes32 _orderId, uint256 _sharesFilled, uint256 _tokensFilled, uint256 _fill)
setPrice(contract IMarket _market, uint256 _outcome, uint256 _price)
→ bytes32external
saveOrder(uint256[] _uints, bytes32[] _bytes32s, enum Order.Types _type, contract IMarket _market, address _sender)→ boolexternal
removeOrder(bytes32 _orderId)→ contract IMarketpublic
getMarket(bytes32 _orderId)→ enum Order.Typespublic
getOrderType(bytes32 _orderId)→ uint256public
getOutcome(bytes32 _orderId)→ uint256public
getAmount(bytes32 _orderId)→ uint256public
getPrice(bytes32 _orderId)→ addresspublic
getOrderCreator(bytes32 _orderId)→ uint256public
getOrderSharesEscrowed(bytes32 _orderId)→ uint256public
getOrderMoneyEscrowed(bytes32 _orderId)→ uint256,uint256,enum Order.Types,contract IMarket,uint256,addresspublic
getOrderDataForCancel(bytes32 _orderId)→ enum Order.Types,address[],uint256[]public
getOrderDataForLogs(bytes32 _orderId)→ bytes32public
getBetterOrderId(bytes32 _orderId)→ bytes32public
getWorseOrderId(bytes32 _orderId)→ bytes32public
getBestOrderId(enum Order.Types _type, contract IMarket _market, uint256 _outcome)→ bytes32public
getWorstOrderId(enum Order.Types _type, contract IMarket _market, uint256 _outcome)→ uint256public
getLastOutcomePrice(contract IMarket _market, uint256 _outcome)→ bytes32public
getOrderId(enum Order.Types _type, contract IMarket _market, uint256 _amount, uint256 _price, address _sender, uint256 _blockNumber, uint256 _outcome, uint256 _moneyEscrowed, uint256 _sharesEscrowed)→ uint256public
getTotalEscrowed(contract IMarket _market)→ boolpublic
isBetterPrice(enum Order.Types _type, uint256 _price, bytes32 _orderId)→ boolpublic
isWorsePrice(enum Order.Types _type, uint256 _price, bytes32 _orderId)→ boolpublic
assertIsNotBetterPrice(enum Order.Types _type, uint256 _price, bytes32 _betterOrderId)→ boolpublic
assertIsNotWorsePrice(enum Order.Types _type, uint256 _price, bytes32 _worseOrderId)→ boolexternal
recordFillOrder(bytes32 _orderId, uint256 _sharesFilled, uint256 _tokensFilled, uint256 _fill)→ boolexternal
setPrice(contract IMarket _market, uint256 _outcome, uint256 _price)IReportingParticipant
→ uint256public
getStake()→ bytes32public
getPayoutDistributionHash()liquidateLosing()
public
→ boolpublic
redeem(address _redeemer)→ boolpublic
isDisavowed()→ uint256public
getPayoutNumerator(uint256 _outcome)→ uint256[]public
getPayoutNumerators()→ contract IMarketpublic
getMarket()→ uint256public
getSize()IReputationToken
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)
migrateIn(address _reporter, uint256 _attotokens)
trustedReportingParticipantTransfer(address _source, address _destination, uint256 _attotokens)
trustedMarketTransfer(address _source, address _destination, uint256 _attotokens)
trustedUniverseTransfer(address _source, address _destination, uint256 _attotokens)
trustedDisputeWindowTransfer(address _source, address _destination, uint256 _attotokens)
getUniverse()
getTotalMigrated()
getTotalTheoreticalSupply()
mintForReportingParticipant(uint256 _amountMigrated)
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
→ boolpublic
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)→ boolpublic
migrateIn(address _reporter, uint256 _attotokens)→ boolpublic
trustedReportingParticipantTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedMarketTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedUniverseTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedDisputeWindowTransfer(address _source, address _destination, uint256 _attotokens)→ contract IUniversepublic
getUniverse()→ uint256public
getTotalMigrated()→ uint256public
getTotalTheoreticalSupply()→ boolpublic
mintForReportingParticipant(uint256 _amountMigrated)IShareToken
initialize(contract IAugur _augur)
initializeMarket(contract IMarket _market, uint256 _numOutcomes, uint256 _numTicks)
unsafeTransferFrom(address _from, address _to, uint256 _id, uint256 _value)
unsafeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _values)
claimTradingProceeds(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)
getMarket(uint256 _tokenId)
getOutcome(uint256 _tokenId)
getTokenId(contract IMarket _market, uint256 _outcome)
getTokenIds(contract IMarket _market, uint256[] _outcomes)
buyCompleteSets(contract IMarket _market, address _account, uint256 _amount)
buyCompleteSetsForTrade(contract IMarket _market, uint256 _amount, uint256 _longOutcome, address _longRecipient, address _shortRecipient)
sellCompleteSets(contract IMarket _market, address _holder, address _recipient, uint256 _amount, bytes32 _fingerprint)
sellCompleteSetsForTrade(contract IMarket _market, uint256 _outcome, uint256 _amount, address _shortParticipant, address _longParticipant, address _shortRecipient, address _longRecipient, uint256 _price, address _sourceAccount, bytes32 _fingerprint)
totalSupplyForMarketOutcome(contract IMarket _market, uint256 _outcome)
balanceOfMarketOutcome(contract IMarket _market, uint256 _outcome, address _account)
lowestBalanceOfMarketOutcomes(contract IMarket _market, uint256[] _outcomes, address _account)
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
setApprovalForAll(address operator, bool approved)
isApprovedForAll(address owner, address operator)
balanceOf(address owner, uint256 id)
totalSupply(uint256 id)
balanceOfBatch(address[] owners, uint256[] ids)
getTypeName()
initialize(contract IAugur _augur)
external
initializeMarket(contract IMarket _market, uint256 _numOutcomes, uint256 _numTicks)
public
unsafeTransferFrom(address _from, address _to, uint256 _id, uint256 _value)
public
unsafeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _values)
public
→ uint256[]external
claimTradingProceeds(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)→ contract IMarketexternal
getMarket(uint256 _tokenId)→ uint256external
getOutcome(uint256 _tokenId)→ uint256public
getTokenId(contract IMarket _market, uint256 _outcome)→ uint256[]public
getTokenIds(contract IMarket _market, uint256[] _outcomes)→ boolexternal
buyCompleteSets(contract IMarket _market, address _account, uint256 _amount)→ boolexternal
buyCompleteSetsForTrade(contract IMarket _market, uint256 _amount, uint256 _longOutcome, address _longRecipient, address _shortRecipient)→ uint256,uint256external
sellCompleteSets(contract IMarket _market, address _holder, address _recipient, uint256 _amount, bytes32 _fingerprint)→ uint256,uint256external
sellCompleteSetsForTrade(contract IMarket _market, uint256 _outcome, uint256 _amount, address _shortParticipant, address _longParticipant, address _shortRecipient, address _longRecipient, uint256 _price, address _sourceAccount, bytes32 _fingerprint)→ uint256public
totalSupplyForMarketOutcome(contract IMarket _market, uint256 _outcome)→ uint256public
balanceOfMarketOutcome(contract IMarket _market, uint256 _outcome, address _account)→ uint256public
lowestBalanceOfMarketOutcomes(contract IMarket _market, uint256[] _outcomes, address _account)ITyped
→ bytes32public
getTypeName()IUniswapV2Pair
name()
symbol()
decimals()
totalSupply()
balanceOf(address owner)
allowance(address owner, address spender)
approve(address spender, uint256 value)
transfer(address to, uint256 value)
transferFrom(address from, address to, uint256 value)
DOMAIN_SEPARATOR()
PERMIT_TYPEHASH()
nonces(address owner)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
MINIMUM_LIQUIDITY()
factory()
token0()
token1()
getReserves()
price0CumulativeLast()
price1CumulativeLast()
kLast()
mint(address to)
burn(address to)
swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data)
skim(address to)
sync()
initialize(address, address)
Approval(address owner, address spender, uint256 value)
Transfer(address from, address to, uint256 value)
Mint(address sender, uint256 amount0, uint256 amount1)
Burn(address sender, uint256 amount0, uint256 amount1, address to)
Swap(address sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address to)
Sync(uint112 reserve0, uint112 reserve1)
→ stringexternal
name()→ stringexternal
symbol()→ uint8external
decimals()→ uint256external
totalSupply()→ uint256external
balanceOf(address owner)→ uint256external
allowance(address owner, address spender)→ boolexternal
approve(address spender, uint256 value)→ boolexternal
transfer(address to, uint256 value)→ boolexternal
transferFrom(address from, address to, uint256 value)→ bytes32external
DOMAIN_SEPARATOR()→ bytes32external
PERMIT_TYPEHASH()→ uint256external
nonces(address owner)permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
external
→ uint256external
MINIMUM_LIQUIDITY()→ addressexternal
factory()→ addressexternal
token0()→ addressexternal
token1()→ uint112,uint112,uint32external
getReserves()→ uint256external
price0CumulativeLast()→ uint256external
price1CumulativeLast()→ uint256external
kLast()→ uint256external
mint(address to)→ uint256,uint256external
burn(address to)swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data)
external
skim(address to)
external
sync()
external
initialize(address, address)
external
Approval(address owner, address spender, uint256 value)
Transfer(address from, address to, uint256 value)
Mint(address sender, uint256 amount0, uint256 amount1)
Burn(address sender, uint256 amount0, uint256 amount1, address to)
Swap(address sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address to)
Sync(uint112 reserve0, uint112 reserve1)
IUniverse
creationTime()
marketBalance(address)
fork()
updateForkValues()
getParentUniverse()
createChildUniverse(uint256[] _parentPayoutNumerators)
getChildUniverse(bytes32 _parentPayoutDistributionHash)
getReputationToken()
getForkingMarket()
getForkEndTime()
getForkReputationGoal()
getParentPayoutDistributionHash()
getDisputeRoundDurationInSeconds(bool _initial)
getOrCreateDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)
getOrCreateCurrentDisputeWindow(bool _initial)
getOrCreateNextDisputeWindow(bool _initial)
getOrCreatePreviousDisputeWindow(bool _initial)
getOpenInterestInAttoCash()
getTargetRepMarketCapInAttoCash()
getOrCacheValidityBond()
getOrCacheDesignatedReportStake()
getOrCacheDesignatedReportNoShowBond()
getOrCacheMarketRepBond()
getOrCacheReportingFeeDivisor()
getDisputeThresholdForFork()
getDisputeThresholdForDisputePacing()
getInitialReportMinValue()
getPayoutNumerators()
getReportingFeeDivisor()
getPayoutNumerator(uint256 _outcome)
getWinningChildPayoutNumerator(uint256 _outcome)
isOpenInterestCash(address)
isForkingMarket()
getCurrentDisputeWindow(bool _initial)
getDisputeWindowStartTimeAndDuration(uint256 _timestamp, bool _initial)
isParentOf(contract IUniverse _shadyChild)
updateTentativeWinningChildUniverse(bytes32 _parentPayoutDistributionHash)
isContainerForDisputeWindow(contract IDisputeWindow _shadyTarget)
isContainerForMarket(contract IMarket _shadyTarget)
isContainerForReportingParticipant(contract IReportingParticipant _reportingParticipant)
migrateMarketOut(contract IUniverse _destinationUniverse)
migrateMarketIn(contract IMarket _market, uint256 _cashBalance, uint256 _marketOI)
decrementOpenInterest(uint256 _amount)
decrementOpenInterestFromMarket(contract IMarket _market)
incrementOpenInterest(uint256 _amount)
getWinningChildUniverse()
isForking()
deposit(address _sender, uint256 _amount, address _market)
withdraw(address _recipient, uint256 _amount, address _market)
pokeRepMarketCapInAttoCash()
createScalarMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, int256[] _prices, uint256 _numTicks, string _extraInfo)
createYesNoMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, string _extraInfo)
createCategoricalMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, bytes32[] _outcomes, string _extraInfo)
runPeriodicals()
→ uint256external
creationTime()→ uint256external
marketBalance(address)→ boolpublic
fork()→ boolpublic
updateForkValues()→ contract IUniversepublic
getParentUniverse()→ contract IUniversepublic
createChildUniverse(uint256[] _parentPayoutNumerators)→ contract IUniversepublic
getChildUniverse(bytes32 _parentPayoutDistributionHash)→ contract IV2ReputationTokenpublic
getReputationToken()→ contract IMarketpublic
getForkingMarket()→ uint256public
getForkEndTime()→ uint256public
getForkReputationGoal()→ bytes32public
getParentPayoutDistributionHash()→ uint256public
getDisputeRoundDurationInSeconds(bool _initial)→ contract IDisputeWindowpublic
getOrCreateDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)→ contract IDisputeWindowpublic
getOrCreateCurrentDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getOrCreateNextDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getOrCreatePreviousDisputeWindow(bool _initial)→ uint256public
getOpenInterestInAttoCash()→ uint256public
getTargetRepMarketCapInAttoCash()→ uint256public
getOrCacheValidityBond()→ uint256public
getOrCacheDesignatedReportStake()→ uint256public
getOrCacheDesignatedReportNoShowBond()→ uint256public
getOrCacheMarketRepBond()→ uint256public
getOrCacheReportingFeeDivisor()→ uint256public
getDisputeThresholdForFork()→ uint256public
getDisputeThresholdForDisputePacing()→ uint256public
getInitialReportMinValue()→ uint256[]public
getPayoutNumerators()→ uint256public
getReportingFeeDivisor()→ uint256public
getPayoutNumerator(uint256 _outcome)→ uint256public
getWinningChildPayoutNumerator(uint256 _outcome)→ boolpublic
isOpenInterestCash(address)→ boolpublic
isForkingMarket()→ contract IDisputeWindowpublic
getCurrentDisputeWindow(bool _initial)→ uint256,uint256public
getDisputeWindowStartTimeAndDuration(uint256 _timestamp, bool _initial)→ boolpublic
isParentOf(contract IUniverse _shadyChild)→ boolpublic
updateTentativeWinningChildUniverse(bytes32 _parentPayoutDistributionHash)→ boolpublic
isContainerForDisputeWindow(contract IDisputeWindow _shadyTarget)→ boolpublic
isContainerForMarket(contract IMarket _shadyTarget)→ boolpublic
isContainerForReportingParticipant(contract IReportingParticipant _reportingParticipant)→ boolpublic
migrateMarketOut(contract IUniverse _destinationUniverse)→ boolpublic
migrateMarketIn(contract IMarket _market, uint256 _cashBalance, uint256 _marketOI)→ boolpublic
decrementOpenInterest(uint256 _amount)→ boolpublic
decrementOpenInterestFromMarket(contract IMarket _market)→ boolpublic
incrementOpenInterest(uint256 _amount)→ contract IUniversepublic
getWinningChildUniverse()→ boolpublic
isForking()→ boolpublic
deposit(address _sender, uint256 _amount, address _market)→ boolpublic
withdraw(address _recipient, uint256 _amount, address _market)→ uint256public
pokeRepMarketCapInAttoCash()→ contract IMarketpublic
createScalarMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, int256[] _prices, uint256 _numTicks, string _extraInfo)→ contract IMarketpublic
createYesNoMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, string _extraInfo)→ contract IMarketpublic
createCategoricalMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, bytes32[] _outcomes, string _extraInfo)→ boolexternal
runPeriodicals()IV2ReputationToken
parentUniverse()
burnForMarket(uint256 _amountToBurn)
mintForWarpSync(uint256 _amountToMint, address _target)
getLegacyRepToken()
symbol()
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)
migrateIn(address _reporter, uint256 _attotokens)
trustedReportingParticipantTransfer(address _source, address _destination, uint256 _attotokens)
trustedMarketTransfer(address _source, address _destination, uint256 _attotokens)
trustedUniverseTransfer(address _source, address _destination, uint256 _attotokens)
trustedDisputeWindowTransfer(address _source, address _destination, uint256 _attotokens)
getUniverse()
getTotalMigrated()
getTotalTheoreticalSupply()
mintForReportingParticipant(uint256 _amountMigrated)
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
→ contract IUniverseexternal
parentUniverse()→ boolpublic
burnForMarket(uint256 _amountToBurn)→ boolpublic
mintForWarpSync(uint256 _amountToMint, address _target)→ contract IERC20public
getLegacyRepToken()→ stringpublic
symbol()Initializable
endInitialization()
internal
→ boolpublic
getInitialized()Order
create(contract IAugur _augur, contract IAugurTrading _augurTrading, address _creator, uint256 _outcome, enum Order.Types _type, uint256 _attoshares, uint256 _price, contract IMarket _market, bytes32 _betterOrderId, bytes32 _worseOrderId)
getOrderId(struct Order.Data _orderData, contract IOrders _orders)
calculateOrderId(enum Order.Types _type, contract IMarket _market, uint256 _amount, uint256 _price, address _sender, uint256 _blockNumber, uint256 _outcome, uint256 _moneyEscrowed, uint256 _sharesEscrowed)
getOrderTradingTypeFromMakerDirection(enum Order.TradeDirections _creatorDirection)
getOrderTradingTypeFromFillerDirection(enum Order.TradeDirections _fillerDirection)
saveOrder(struct Order.Data _orderData, bytes32 _tradeGroupId, contract IOrders _orders)
→ struct Order.Datainternal
create(contract IAugur _augur, contract IAugurTrading _augurTrading, address _creator, uint256 _outcome, enum Order.Types _type, uint256 _attoshares, uint256 _price, contract IMarket _market, bytes32 _betterOrderId, bytes32 _worseOrderId)→ bytes32internal
getOrderId(struct Order.Data _orderData, contract IOrders _orders)→ bytes32internal
calculateOrderId(enum Order.Types _type, contract IMarket _market, uint256 _amount, uint256 _price, address _sender, uint256 _blockNumber, uint256 _outcome, uint256 _moneyEscrowed, uint256 _sharesEscrowed)→ enum Order.Typesinternal
getOrderTradingTypeFromMakerDirection(enum Order.TradeDirections _creatorDirection)→ enum Order.Typesinternal
getOrderTradingTypeFromFillerDirection(enum Order.TradeDirections _fillerDirection)→ bytes32internal
saveOrder(struct Order.Data _orderData, bytes32 _tradeGroupId, contract IOrders _orders)SafeMathUint256
mul(uint256 a, uint256 b)
div(uint256 a, uint256 b)
sub(uint256 a, uint256 b)
subS(uint256 a, uint256 b, string message)
add(uint256 a, uint256 b)
min(uint256 a, uint256 b)
max(uint256 a, uint256 b)
sqrt(uint256 y)
getUint256Min()
getUint256Max()
isMultipleOf(uint256 a, uint256 b)
fxpMul(uint256 a, uint256 b, uint256 base)
fxpDiv(uint256 a, uint256 b, uint256 base)
→ uint256internal
mul(uint256 a, uint256 b)→ uint256internal
div(uint256 a, uint256 b)→ uint256internal
sub(uint256 a, uint256 b)→ uint256internal
subS(uint256 a, uint256 b, string message)→ uint256internal
add(uint256 a, uint256 b)→ uint256internal
min(uint256 a, uint256 b)→ uint256internal
max(uint256 a, uint256 b)→ uint256internal
sqrt(uint256 y)→ uint256internal
getUint256Min()→ uint256internal
getUint256Max()→ boolinternal
isMultipleOf(uint256 a, uint256 b)→ uint256internal
fxpMul(uint256 a, uint256 b, uint256 base)→ uint256internal
fxpDiv(uint256 a, uint256 b, uint256 base)VariableSupplyToken
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
onMint(address, uint256)
onBurn(address, uint256)
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
onTokenTransfer(address _from, address _to, uint256 _value)
totalSupply()
→ boolinternal
mint(address _target, uint256 _amount)→ boolinternal
burn(address _target, uint256 _amount)onMint(address, uint256)
internal
onBurn(address, uint256)
internal
CloneFactory
→ addressinternal
createClone(address target)DisputeWindow
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _disputeWindowId, bool _participationTokensEnabled, uint256 _duration, uint256 _startTime)
onMarketFinalized()
buy(uint256 _attotokens)
trustedBuy(address _buyer, uint256 _attotokens)
redeem(address _account)
getTypeName()
getUniverse()
getReputationToken()
getStartTime()
getEndTime()
getWindowId()
isActive()
isOver()
onTokenTransfer(address _from, address _to, uint256 _value)
onMint(address _target, uint256 _amount)
onBurn(address _target, uint256 _amount)
invalidMarketsTotal()
validityBondTotal()
incorrectDesignatedReportTotal()
initialReportBondTotal()
designatedReportNoShowsTotal()
designatedReporterNoShowBondTotal()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
totalSupply()
endInitialization()
getInitialized()
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _disputeWindowId, bool _participationTokensEnabled, uint256 _duration, uint256 _startTime)
public
onMarketFinalized()
public
→ boolpublic
buy(uint256 _attotokens)→ boolpublic
trustedBuy(address _buyer, uint256 _attotokens)→ boolpublic
redeem(address _account)→ bytes32public
getTypeName()→ contract IUniversepublic
getUniverse()→ contract IReputationTokenpublic
getReputationToken()→ uint256public
getStartTime()→ uint256public
getEndTime()→ uint256public
getWindowId()→ boolpublic
isActive()→ boolpublic
isOver()onTokenTransfer(address _from, address _to, uint256 _value)
internal
onMint(address _target, uint256 _amount)
internal
onBurn(address _target, uint256 _amount)
internal
IMarketFactory
→ contract IMarketpublic
createMarket(contract IAugur _augur, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _sender, uint256 _numOutcomes, uint256 _numTicks)MarketFactory
→ contract IMarketpublic
createMarket(contract IAugur _augur, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _sender, uint256 _numOutcomes, uint256 _numTicks)InitialReporter
initialize(contract IAugur _augur, contract IMarket _market, address _designatedReporter)
redeem(address)
report(address _reporter, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _initialReportStake)
returnRepFromDisavow()
migrateToNewUniverse(address _designatedReporter)
forkAndRedeem()
getStake()
getDesignatedReporter()
getReportTimestamp()
designatedReporterShowed()
getReputationToken()
initialReporterWasCorrect()
onTransferOwnership(address _owner, address _newOwner)
endInitialization()
getInitialized()
liquidateLosing()
fork()
getSize()
getPayoutDistributionHash()
getMarket()
isDisavowed()
getPayoutNumerator(uint256 _outcome)
getPayoutNumerators()
constructor()
getOwner()
transferOwnership(address _newOwner)
initialize(contract IAugur _augur, contract IMarket _market, address _designatedReporter)
public
→ boolpublic
redeem(address)The address argument is ignored. There is only ever one owner of this bond, but the signature needs to match Dispute Crowdsourcer's redeem for code simplicity
report(address _reporter, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _initialReportStake)
public
returnRepFromDisavow()
public
migrateToNewUniverse(address _designatedReporter)
public
→ boolpublic
forkAndRedeem()→ uint256public
getStake()→ addresspublic
getDesignatedReporter()→ uint256public
getReportTimestamp()→ boolpublic
designatedReporterShowed()→ contract IReputationTokenpublic
getReputationToken()→ boolpublic
initialReporterWasCorrect()onTransferOwnership(address _owner, address _newOwner)
internal
IAffiliates
setFingerprint(bytes32 _fingerprint)
external
setReferrer(address _referrer)
external
→ bytes32external
getAccountFingerprint(address _account)→ addressexternal
getReferrer(address _account)→ addressexternal
getAndValidateReferrer(address _account, contract IAffiliateValidator affiliateValidator)→ boolexternal
affiliateValidators(address _affiliateValidator)IDisputeCrowdsourcerFactory
→ contract IDisputeCrowdsourcerpublic
createDisputeCrowdsourcer(contract IAugur _augur, uint256 _size, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _crowdsourcerGeneration)IWarpSync
→ contract IMarketexternal
markets(address _universe)notifyMarketFinalized()
public
InitialReporterFactory
→ contract IInitialReporterpublic
createInitialReporter(contract IAugur _augur, address _designatedReporter)Market
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _creator, uint256 _numOutcomes, uint256 _numTicks)
doInitialReport(uint256[] _payoutNumerators, string _description, uint256 _additionalStake)
contributeToTentative(uint256[] _payoutNumerators, uint256 _amount, string _description)
contribute(uint256[] _payoutNumerators, uint256 _amount, string _description)
internalContribute(address _contributor, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _amount, bool _overload, string _description)
finalize()
getMarketCreatorSettlementFeeDivisor()
deriveMarketCreatorFeeAmount(uint256 _amount)
recordMarketCreatorFees(uint256 _marketCreatorFees, address _sourceAccount, bytes32 _fingerprint)
migrateThroughOneFork(uint256[] _payoutNumerators, string _description)
disavowCrowdsourcers()
getHighestNonTentativeParticipantStake()
getParticipantStake()
getStakeInOutcome(bytes32 _payoutDistributionHash)
getForkingMarket()
getWinningPayoutDistributionHash()
isFinalized()
getEndTime()
isFinalizedAsInvalid()
getInitialReporter()
getCrowdsourcer(bytes32 _payoutDistributionHash)
getWinningReportingParticipant()
getWinningPayoutNumerator(uint256 _outcome)
getUniverse()
getDisputeWindow()
getFinalizationTime()
getReputationToken()
getNumberOfOutcomes()
getNumTicks()
getDesignatedReportingEndTime()
getNumParticipants()
getValidityBondAttoCash()
getDisputePacingOn()
derivePayoutDistributionHash(uint256[] _payoutNumerators)
isContainerForReportingParticipant(contract IReportingParticipant _shadyReportingParticipant)
onTransferOwnership(address _owner, address _newOwner)
transferRepBondOwnership(address _newOwner)
isForkingMarket()
getWinningChildPayout(uint256 _outcome)
getOpenInterest()
affiliateFeeDivisor()
constructor()
getOwner()
transferOwnership(address _newOwner)
endInitialization()
getInitialized()
initialize(contract IAugur _augur, contract IUniverse _universe, uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, address _creator, uint256 _numOutcomes, uint256 _numTicks)
public
→ boolpublic
doInitialReport(uint256[] _payoutNumerators, string _description, uint256 _additionalStake)→ boolpublic
contributeToTentative(uint256[] _payoutNumerators, uint256 _amount, string _description)This will escrow REP in a bond which will be active immediately if the tentative outcome is successfully disputed.
→ boolpublic
contribute(uint256[] _payoutNumerators, uint256 _amount, string _description)internalContribute(address _contributor, bytes32 _payoutDistributionHash, uint256[] _payoutNumerators, uint256 _amount, bool _overload, string _description)
internal
→ boolpublic
finalize()→ uint256public
getMarketCreatorSettlementFeeDivisor()→ uint256public
deriveMarketCreatorFeeAmount(uint256 _amount)→ boolpublic
recordMarketCreatorFees(uint256 _marketCreatorFees, address _sourceAccount, bytes32 _fingerprint)→ boolpublic
migrateThroughOneFork(uint256[] _payoutNumerators, string _description)This will extract a new REP no show bond from whoever calls this and if the market is in the reporting phase will require a report be made as well
→ boolpublic
disavowCrowdsourcers()→ uint256public
getHighestNonTentativeParticipantStake()→ uint256public
getParticipantStake()→ uint256public
getStakeInOutcome(bytes32 _payoutDistributionHash)→ contract IMarketpublic
getForkingMarket()→ bytes32public
getWinningPayoutDistributionHash()→ boolpublic
isFinalized()→ uint256public
getEndTime()→ boolpublic
isFinalizedAsInvalid()→ contract IInitialReporterpublic
getInitialReporter()→ contract IDisputeCrowdsourcerpublic
getCrowdsourcer(bytes32 _payoutDistributionHash)→ contract IReportingParticipantpublic
getWinningReportingParticipant()→ uint256public
getWinningPayoutNumerator(uint256 _outcome)→ contract IUniversepublic
getUniverse()→ contract IDisputeWindowpublic
getDisputeWindow()→ uint256public
getFinalizationTime()→ contract IV2ReputationTokenpublic
getReputationToken()→ uint256public
getNumberOfOutcomes()→ uint256public
getNumTicks()→ uint256public
getDesignatedReportingEndTime()→ uint256public
getNumParticipants()→ uint256public
getValidityBondAttoCash()→ boolpublic
getDisputePacingOn()→ bytes32public
derivePayoutDistributionHash(uint256[] _payoutNumerators)→ boolpublic
isContainerForReportingParticipant(contract IReportingParticipant _shadyReportingParticipant)onTransferOwnership(address _owner, address _newOwner)
internal
→ boolpublic
transferRepBondOwnership(address _newOwner)→ boolpublic
isForkingMarket()→ uint256public
getWinningChildPayout(uint256 _outcome)→ uint256public
getOpenInterest()Reporting
getDesignatedReportingDurationSeconds()
getInitialDisputeRoundDurationSeconds()
getDisputeWindowBufferSeconds()
getDisputeRoundDurationSeconds()
getForkDurationSeconds()
getBaseMarketDurationMaximum()
getUpgradeCadence()
getInitialUpgradeTimestamp()
getDefaultValidityBond()
getValidityBondFloor()
getTargetInvalidMarketsDivisor()
getTargetIncorrectDesignatedReportMarketsDivisor()
getTargetDesignatedReportNoShowsDivisor()
getTargetRepMarketCapMultiplier()
getMaximumReportingFeeDivisor()
getMinimumReportingFeeDivisor()
getDefaultReportingFeeDivisor()
getInitialREPSupply()
getAffiliateSourceCutDivisor()
getForkThresholdDivisor()
getMaximumDisputeRounds()
getMinimumSlowRounds()
→ uint256internal
getDesignatedReportingDurationSeconds()→ uint256internal
getInitialDisputeRoundDurationSeconds()→ uint256internal
getDisputeWindowBufferSeconds()→ uint256internal
getDisputeRoundDurationSeconds()→ uint256internal
getForkDurationSeconds()→ uint256internal
getBaseMarketDurationMaximum()→ uint256internal
getUpgradeCadence()→ uint256internal
getInitialUpgradeTimestamp()→ uint256internal
getDefaultValidityBond()→ uint256internal
getValidityBondFloor()→ uint256internal
getTargetInvalidMarketsDivisor()→ uint256internal
getTargetIncorrectDesignatedReportMarketsDivisor()→ uint256internal
getTargetDesignatedReportNoShowsDivisor()→ uint256internal
getTargetRepMarketCapMultiplier()→ uint256internal
getMaximumReportingFeeDivisor()→ uint256internal
getMinimumReportingFeeDivisor()→ uint256internal
getDefaultReportingFeeDivisor()→ uint256internal
getInitialREPSupply()→ uint256internal
getAffiliateSourceCutDivisor()→ uint256internal
getForkThresholdDivisor()→ uint256internal
getMaximumDisputeRounds()→ uint256internal
getMinimumSlowRounds()IOICash
initialize(contract IAugur _augur, contract IUniverse _universe)
totalSupply()
balanceOf(address owner)
transfer(address to, uint256 amount)
transferFrom(address from, address to, uint256 amount)
approve(address spender, uint256 amount)
allowance(address owner, address spender)
initialize(contract IAugur _augur, contract IUniverse _universe)
external
OICash
initialize(contract IAugur _augur, contract IUniverse _universe)
deposit(uint256 _amount)
withdraw(uint256 _amount)
payFees(uint256 _feeAmount)
buyCompleteSets(contract IMarket _market, uint256 _amount)
onTokenTransfer(address _from, address _to, uint256 _value)
onMint(address _target, uint256 _amount)
onBurn(address _target, uint256 _amount)
endInitialization()
getInitialized()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
totalSupply()
initialize(contract IAugur _augur, contract IUniverse _universe)
external
→ boolexternal
deposit(uint256 _amount)→ boolexternal
withdraw(uint256 _amount)→ boolexternal
payFees(uint256 _feeAmount)→ boolexternal
buyCompleteSets(contract IMarket _market, uint256 _amount)onTokenTransfer(address _from, address _to, uint256 _value)
internal
onMint(address _target, uint256 _amount)
internal
onBurn(address _target, uint256 _amount)
internal
IUniswapV2Factory
feeTo()
feeToSetter()
getPair(address tokenA, address tokenB)
allPairs(uint256)
allPairsLength()
createPair(address tokenA, address tokenB)
setFeeTo(address)
setFeeToSetter(address)
→ addressexternal
feeTo()→ addressexternal
feeToSetter()→ addressexternal
getPair(address tokenA, address tokenB)→ addressexternal
allPairs(uint256)→ uint256external
allPairsLength()→ addressexternal
createPair(address tokenA, address tokenB)setFeeTo(address)
external
setFeeToSetter(address)
external
PairCreated(address token0, address token1, address pair, uint256)
RepOracle
initialize(contract IAugur _augur)
public
→ uint256external
poke(address _reputationToken)→ contract IUniswapV2Pairpublic
getExchange(address _reputationToken)→ uint256external
getLastUpdateTimestamp(address _reputationToken)→ uint256external
getPriceCumulativeLast(address _reputationToken)→ uint256external
getPrice(address _reputationToken)UQ112x112
→ uint224internal
encode(uint112 y)→ uint224internal
uqdiv(uint224 x, uint112 y)→ uint256internal
uqmul(uint224 x, uint256 y)→ uint256internal
decode(uint256 y)IRepSymbol
→ stringexternal
getRepSymbol(address _augur, address _universe)ReputationToken
constructor(contract IAugur _augur, contract IUniverse _universe, contract IUniverse _parentUniverse)
symbol()
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)
migrateIn(address _reporter, uint256 _attotokens)
mintForReportingParticipant(uint256 _amountMigrated)
mintForWarpSync(uint256 _amountToMint, address _target)
burnForMarket(uint256 _amountToBurn)
trustedUniverseTransfer(address _source, address _destination, uint256 _attotokens)
trustedMarketTransfer(address _source, address _destination, uint256 _attotokens)
trustedReportingParticipantTransfer(address _source, address _destination, uint256 _attotokens)
trustedDisputeWindowTransfer(address _source, address _destination, uint256 _attotokens)
getUniverse()
getTotalMigrated()
getLegacyRepToken()
getTotalTheoreticalSupply()
onTokenTransfer(address _from, address _to, uint256 _value)
onMint(address _target, uint256 _amount)
onBurn(address _target, uint256 _amount)
migrateFromLegacyReputationToken()
parentUniverse()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
balanceOf(address _account)
transfer(address _recipient, uint256 _amount)
allowance(address _owner, address _spender)
approve(address _spender, uint256 _amount)
transferFrom(address _sender, address _recipient, uint256 _amount)
increaseAllowance(address _spender, uint256 _addedValue)
decreaseAllowance(address _spender, uint256 _subtractedValue)
_transfer(address _sender, address _recipient, uint256 _amount)
_mint(address _account, uint256 _amount)
_burn(address _account, uint256 _amount)
_approve(address _owner, address _spender, uint256 _amount)
_burnFrom(address _account, uint256 _amount)
totalSupply()
constructor(contract IAugur _augur, contract IUniverse _universe, contract IUniverse _parentUniverse)
public
→ stringpublic
symbol()→ boolpublic
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)→ boolpublic
migrateIn(address _reporter, uint256 _attotokens)→ boolpublic
mintForReportingParticipant(uint256 _amountMigrated)→ boolpublic
mintForWarpSync(uint256 _amountToMint, address _target)→ boolpublic
burnForMarket(uint256 _amountToBurn)→ boolpublic
trustedUniverseTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedMarketTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedReportingParticipantTransfer(address _source, address _destination, uint256 _attotokens)→ boolpublic
trustedDisputeWindowTransfer(address _source, address _destination, uint256 _attotokens)→ contract IUniversepublic
getUniverse()→ uint256public
getTotalMigrated()→ contract IERC20public
getLegacyRepToken()→ uint256public
getTotalTheoreticalSupply()onTokenTransfer(address _from, address _to, uint256 _value)
internal
onMint(address _target, uint256 _amount)
internal
onBurn(address _target, uint256 _amount)
internal
→ boolpublic
migrateFromLegacyReputationToken()This can only be done for the Genesis Universe in V2. If a fork occurs and the window ends V1 REP is stuck in V1 forever
ContractExists
→ boolinternal
exists(address _address)ERC1155
constructor()
balanceOf(address account, uint256 id)
totalSupply(uint256 id)
balanceOfBatch(address[] accounts, uint256[] ids)
setApprovalForAll(address operator, bool approved)
isApprovedForAll(address account, address operator)
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
_transferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_internalTransferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
_batchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_internalBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_mint(address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_mintBatch(address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_burn(address account, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_burnBatch(address account, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_doSafeTransferAcceptanceCheck(address operator, address from, address to, uint256 id, uint256 value, bytes data)
_doSafeBatchTransferAcceptanceCheck(address operator, address from, address to, uint256[] ids, uint256[] values, bytes data)
onTokenTransfer(uint256 _tokenId, address _from, address _to, uint256 _value)
onMint(uint256 _tokenId, address _target, uint256 _amount)
onBurn(uint256 _tokenId, address _target, uint256 _amount)
supportsInterface(bytes4 interfaceId)
_registerInterface(bytes4 interfaceId)
constructor()
public
→ uint256public
balanceOf(address account, uint256 id)Get the specified address' balance for token with specified ID. Attempting to query the zero account for a balance will result in a revert.
→ uint256public
totalSupply(uint256 id)→ uint256[]public
balanceOfBatch(address[] accounts, uint256[] ids)Get the balance of multiple account/token pairs. If any of the query accounts is the zero account, this query will revert.
setApprovalForAll(address operator, bool approved)
external
Sets or unsets the approval of a given operator.
An operator is allowed to transfer all tokens of the sender on their behalf.
Because an account already has operator privileges for itself, this function will revert if the account attempts to set the approval status for itself.
→ boolpublic
isApprovedForAll(address account, address operator)safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
external
Transfers value
amount of an id
from the from
address to the to
address specified.
Caller must be approved to manage the tokens being transferred out of the from
account.
If to
is a smart contract, will call onERC1155Received
on to
and act appropriately.
_transferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
internal
_internalTransferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
internal
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
external
Transfers values
amount(s) of ids
from the from
address to the
to
address specified. Caller must be approved to manage the tokens being
transferred out of the from
account. If to
is a smart contract, will
call onERC1155BatchReceived
on to
and act appropriately.
_batchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
internal
_internalBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
internal
_mint(address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
internal
Internal function to mint an amount of a token with the given ID
_mintBatch(address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
internal
Internal function to batch mint amounts of tokens with the given IDs
_burn(address account, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
internal
Internal function to burn an amount of a token with the given ID
_burnBatch(address account, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
internal
Internal function to batch burn an amounts of tokens with the given IDs
_doSafeTransferAcceptanceCheck(address operator, address from, address to, uint256 id, uint256 value, bytes data)
internal
_doSafeBatchTransferAcceptanceCheck(address operator, address from, address to, uint256[] ids, uint256[] values, bytes data)
internal
onTokenTransfer(uint256 _tokenId, address _from, address _to, uint256 _value)
internal
onMint(uint256 _tokenId, address _target, uint256 _amount)
internal
onBurn(uint256 _tokenId, address _target, uint256 _amount)
internal
ERC165
constructor()
internal
→ boolexternal
supportsInterface(bytes4 interfaceId)See {IERC165-supportsInterface}.
Time complexity O(1), guaranteed to always use less than 30 000 gas.
_registerInterface(bytes4 interfaceId)
internal
Registers the contract as an implementer of the interface defined by
interfaceId
. Support of the actual ERC165 interface is automatic and
registering its interface id is not required.
See {IERC165-supportsInterface}.
Requirements:
interfaceId
cannot be the ERC165 invalid interface (0xffffffff
).
IERC1155Receiver
→ bytes4external
onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data)Handles the receipt of a single ERC1155 token type. This function is
called at the end of a safeTransferFrom
after the balance has been updated.
To accept the transfer, this must return
bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))
(i.e. 0xf23a6e61, or its own function selector).
→ bytes4external
onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data)Handles the receipt of a multiple ERC1155 token types. This function
is called at the end of a safeBatchTransferFrom
after the balances have
been updated. To accept the transfer(s), this must return
bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))
(i.e. 0xbc197c81, or its own function selector).
IERC165
→ boolexternal
supportsInterface(bytes4 interfaceId)Returns true if this contract implements the interface defined by
interfaceId
. See the corresponding
https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
to learn more about how these ids are created.
This function call must use less than 30 000 gas.
ReentrancyGuard
ShareToken
initialize(contract IAugur _augur)
unsafeTransferFrom(address _from, address _to, uint256 _id, uint256 _value)
unsafeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _values)
initializeMarket(contract IMarket _market, uint256 _numOutcomes, uint256 _numTicks)
publicBuyCompleteSets(contract IMarket _market, uint256 _amount)
buyCompleteSets(contract IMarket _market, address _account, uint256 _amount)
buyCompleteSetsInternal(contract IMarket _market, address _account, uint256 _amount)
buyCompleteSetsForTrade(contract IMarket _market, uint256 _amount, uint256 _longOutcome, address _longRecipient, address _shortRecipient)
publicSellCompleteSets(contract IMarket _market, uint256 _amount)
sellCompleteSets(contract IMarket _market, address _holder, address _recipient, uint256 _amount, bytes32 _fingerprint)
sellCompleteSetsForTrade(contract IMarket _market, uint256 _outcome, uint256 _amount, address _shortParticipant, address _longParticipant, address _shortRecipient, address _longRecipient, uint256 _price, address _sourceAccount, bytes32 _fingerprint)
claimTradingProceeds(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)
claimTradingProceedsInternal(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)
divideUpWinnings(contract IMarket _market, uint256 _outcome, uint256 _numberOfShares)
calculateProceeds(contract IMarket _market, uint256 _outcome, uint256 _numberOfShares)
calculateReportingFee(contract IMarket _market, uint256 _amount)
calculateCreatorFee(contract IMarket _market, uint256 _amount)
getTypeName()
getMarket(uint256 _tokenId)
getOutcome(uint256 _tokenId)
totalSupplyForMarketOutcome(contract IMarket _market, uint256 _outcome)
balanceOfMarketOutcome(contract IMarket _market, uint256 _outcome, address _account)
lowestBalanceOfMarketOutcomes(contract IMarket _market, uint256[] _outcomes, address _account)
assertBalances(contract IMarket _market)
getTokenId(contract IMarket _market, uint256 _outcome)
getTokenIds(contract IMarket _market, uint256[] _outcomes)
unpackTokenId(uint256 _tokenId)
onTokenTransfer(uint256 _tokenId, address _from, address _to, uint256 _value)
onMint(uint256 _tokenId, address _target, uint256 _amount)
onBurn(uint256 _tokenId, address _target, uint256 _amount)
constructor()
balanceOf(address account, uint256 id)
totalSupply(uint256 id)
balanceOfBatch(address[] accounts, uint256[] ids)
setApprovalForAll(address operator, bool approved)
isApprovedForAll(address account, address operator)
safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data)
_transferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_internalTransferFrom(address from, address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data)
_batchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_internalBatchTransferFrom(address from, address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_mint(address to, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_mintBatch(address to, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_burn(address account, uint256 id, uint256 value, bytes data, bool doAcceptanceCheck)
_burnBatch(address account, uint256[] ids, uint256[] values, bytes data, bool doAcceptanceCheck)
_doSafeTransferAcceptanceCheck(address operator, address from, address to, uint256 id, uint256 value, bytes data)
_doSafeBatchTransferAcceptanceCheck(address operator, address from, address to, uint256[] ids, uint256[] values, bytes data)
supportsInterface(bytes4 interfaceId)
_registerInterface(bytes4 interfaceId)
endInitialization()
getInitialized()
initialize(contract IAugur _augur)
external
unsafeTransferFrom(address _from, address _to, uint256 _id, uint256 _value)
public
Transfers value
amount of an id
from the from
address to the to
address specified.
Caller must be approved to manage the tokens being transferred out of the from
account.
Regardless of if the desintation is a contract or not this will not call onERC1155Received
on to
unsafeBatchTransferFrom(address _from, address _to, uint256[] _ids, uint256[] _values)
public
Transfers values
amount(s) of ids
from the from
address to the
to
address specified. Caller must be approved to manage the tokens being
transferred out of the from
account. Regardless of if the desintation is
a contract or not this will not call onERC1155Received
on to
initializeMarket(contract IMarket _market, uint256 _numOutcomes, uint256 _numTicks)
public
→ boolexternal
publicBuyCompleteSets(contract IMarket _market, uint256 _amount)→ boolexternal
buyCompleteSets(contract IMarket _market, address _account, uint256 _amount)→ boolinternal
buyCompleteSetsInternal(contract IMarket _market, address _account, uint256 _amount)→ boolexternal
buyCompleteSetsForTrade(contract IMarket _market, uint256 _amount, uint256 _longOutcome, address _longRecipient, address _shortRecipient)→ uint256,uint256external
publicSellCompleteSets(contract IMarket _market, uint256 _amount)→ uint256,uint256external
sellCompleteSets(contract IMarket _market, address _holder, address _recipient, uint256 _amount, bytes32 _fingerprint)→ uint256,uint256external
sellCompleteSetsForTrade(contract IMarket _market, uint256 _outcome, uint256 _amount, address _shortParticipant, address _longParticipant, address _shortRecipient, address _longRecipient, uint256 _price, address _sourceAccount, bytes32 _fingerprint)→ uint256[]external
claimTradingProceeds(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)→ uint256[]internal
claimTradingProceedsInternal(contract IMarket _market, address _shareHolder, bytes32 _fingerprint)→ uint256,uint256,uint256,uint256public
divideUpWinnings(contract IMarket _market, uint256 _outcome, uint256 _numberOfShares)→ uint256public
calculateProceeds(contract IMarket _market, uint256 _outcome, uint256 _numberOfShares)→ uint256public
calculateReportingFee(contract IMarket _market, uint256 _amount)→ uint256public
calculateCreatorFee(contract IMarket _market, uint256 _amount)→ bytes32public
getTypeName()→ contract IMarketexternal
getMarket(uint256 _tokenId)→ uint256external
getOutcome(uint256 _tokenId)→ uint256public
totalSupplyForMarketOutcome(contract IMarket _market, uint256 _outcome)→ uint256public
balanceOfMarketOutcome(contract IMarket _market, uint256 _outcome, address _account)→ uint256public
lowestBalanceOfMarketOutcomes(contract IMarket _market, uint256[] _outcomes, address _account)assertBalances(contract IMarket _market)
public
→ uint256public
getTokenId(contract IMarket _market, uint256 _outcome)→ uint256[]public
getTokenIds(contract IMarket _market, uint256[] _outcomes)→ address,uint256public
unpackTokenId(uint256 _tokenId)onTokenTransfer(uint256 _tokenId, address _from, address _to, uint256 _value)
internal
onMint(uint256 _tokenId, address _target, uint256 _amount)
internal
onBurn(uint256 _tokenId, address _target, uint256 _amount)
internal
TokenId
→ uint256internal
getTokenId(address _market, uint256 _outcome)→ uint256internal
getTokenId(contract IMarket _market, uint256 _outcome)→ uint256[]internal
getTokenIds(address _market, uint256[] _outcomes)→ uint256[]internal
getTokenIds(contract IMarket _market, uint256[] _outcomes)→ address,uint256internal
unpackTokenId(uint256 _tokenId)IDisputeWindowFactory
→ contract IDisputeWindowpublic
createDisputeWindow(contract IAugur _augur, uint256 _disputeWindowId, uint256 _windowDuration, uint256 _startTime, bool _participationTokensEnabled)IFormulas
calculateFloatingValue(uint256 _totalBad, uint256 _total, uint256 _targetDivisor, uint256 _previousValue, uint256 _floor)
calculateValidityBond(contract IDisputeWindow _previousDisputeWindow, uint256 _previousValidityBondInAttoCash)
calculateDesignatedReportStake(contract IDisputeWindow _previousDisputeWindow, uint256 _previousDesignatedReportStakeInAttoRep, uint256 _initialReportMinValue)
calculateDesignatedReportNoShowBond(contract IDisputeWindow _previousDisputeWindow, uint256 _previousDesignatedReportNoShowBondInAttoRep, uint256 _initialReportMinValue)
→ uint256public
calculateFloatingValue(uint256 _totalBad, uint256 _total, uint256 _targetDivisor, uint256 _previousValue, uint256 _floor)→ uint256public
calculateValidityBond(contract IDisputeWindow _previousDisputeWindow, uint256 _previousValidityBondInAttoCash)→ uint256public
calculateDesignatedReportStake(contract IDisputeWindow _previousDisputeWindow, uint256 _previousDesignatedReportStakeInAttoRep, uint256 _initialReportMinValue)→ uint256public
calculateDesignatedReportNoShowBond(contract IDisputeWindow _previousDisputeWindow, uint256 _previousDesignatedReportNoShowBondInAttoRep, uint256 _initialReportMinValue)IOICashFactory
→ contract IOICashpublic
createOICash(contract IAugur _augur)IRepOracle
initialize(contract IAugur _augur)
external
→ uint256external
getLastUpdateTimestamp(address _reputationToken)→ uint256external
poke(address _reputationTokenAddress)IReputationTokenFactory
→ contract IV2ReputationTokenpublic
createReputationToken(contract IAugur _augur, contract IUniverse _parentUniverse)Universe
constructor(contract IAugur _augur, contract IUniverse _parentUniverse, bytes32 _parentPayoutDistributionHash, uint256[] _payoutNumerators)
fork()
updateForkValues()
getPayoutNumerator(uint256 _outcome)
getWinningChildPayoutNumerator(uint256 _outcome)
getParentUniverse()
getParentPayoutDistributionHash()
getReputationToken()
getForkingMarket()
getForkEndTime()
getForkReputationGoal()
getDisputeThresholdForFork()
getDisputeThresholdForDisputePacing()
getInitialReportMinValue()
getPayoutNumerators()
getDisputeWindow(uint256 _disputeWindowId)
isForking()
isForkingMarket()
getChildUniverse(bytes32 _parentPayoutDistributionHash)
getDisputeWindowId(uint256 _timestamp, bool _initial)
getDisputeRoundDurationInSeconds(bool _initial)
getOrCreateDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)
getDisputeWindowStartTimeAndDuration(uint256 _timestamp, bool _initial)
getDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)
getOrCreatePreviousPreviousDisputeWindow(bool _initial)
getOrCreatePreviousDisputeWindow(bool _initial)
getOrCreateCurrentDisputeWindow(bool _initial)
getCurrentDisputeWindow(bool _initial)
getOrCreateNextDisputeWindow(bool _initial)
createChildUniverse(uint256[] _parentPayoutNumerators)
updateTentativeWinningChildUniverse(bytes32 _parentPayoutDistributionHash)
getWinningChildUniverse()
isContainerForDisputeWindow(contract IDisputeWindow _shadyDisputeWindow)
isContainerForMarket(contract IMarket _shadyMarket)
migrateMarketOut(contract IUniverse _destinationUniverse)
migrateMarketIn(contract IMarket _market, uint256 _cashBalance, uint256 _marketOI)
isContainerForReportingParticipant(contract IReportingParticipant _shadyReportingParticipant)
isParentOf(contract IUniverse _shadyChild)
decrementOpenInterest(uint256 _amount)
decrementOpenInterestFromMarket(contract IMarket _market)
incrementOpenInterest(uint256 _amount)
getOpenInterestInAttoCash()
isOpenInterestCash(address _address)
pokeRepMarketCapInAttoCash()
getTargetRepMarketCapInAttoCash()
getOrCacheValidityBond()
getOrCacheDesignatedReportStake()
getOrCacheDesignatedReportNoShowBond()
getOrCacheMarketRepBond()
getOrCacheReportingFeeDivisor()
getReportingFeeDivisor()
createYesNoMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, string _extraInfo)
createCategoricalMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, bytes32[] _outcomes, string _extraInfo)
createScalarMarket(uint256 _endTime, uint256 _feePerCashInAttoCash, contract IAffiliateValidator _affiliateValidator, uint256 _affiliateFeeDivisor, address _designatedReporterAddress, int256[] _prices, uint256 _numTicks, string _extraInfo)
deposit(address _sender, uint256 _amount, address _market)
withdraw(address _recipient, uint256 _amount, address _market)
runPeriodicals()
creationTime()
marketBalance(address)
constructor(contract IAugur _augur, contract IUniverse _parentUniverse, bytes32 _parentPayoutDistributionHash, uint256[] _payoutNumerators)
public
→ boolpublic
fork()→ boolpublic
updateForkValues()→ uint256public
getPayoutNumerator(uint256 _outcome)→ uint256public
getWinningChildPayoutNumerator(uint256 _outcome)→ contract IUniversepublic
getParentUniverse()→ bytes32public
getParentPayoutDistributionHash()→ contract IV2ReputationTokenpublic
getReputationToken()→ contract IMarketpublic
getForkingMarket()→ uint256public
getForkEndTime()→ uint256public
getForkReputationGoal()→ uint256public
getDisputeThresholdForFork()→ uint256public
getDisputeThresholdForDisputePacing()→ uint256public
getInitialReportMinValue()→ uint256[]public
getPayoutNumerators()→ contract IDisputeWindowpublic
getDisputeWindow(uint256 _disputeWindowId)→ boolpublic
isForking()→ boolpublic
isForkingMarket()→ contract IUniversepublic
getChildUniverse(bytes32 _parentPayoutDistributionHash)→ uint256public
getDisputeWindowId(uint256 _timestamp, bool _initial)→ uint256public
getDisputeRoundDurationInSeconds(bool _initial)→ contract IDisputeWindowpublic
getOrCreateDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)→ uint256,uint256public
getDisputeWindowStartTimeAndDuration(uint256 _timestamp, bool _initial)→ contract IDisputeWindowpublic
getDisputeWindowByTimestamp(uint256 _timestamp, bool _initial)→ contract IDisputeWindowpublic
getOrCreatePreviousPreviousDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getOrCreatePreviousDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getOrCreateCurrentDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getCurrentDisputeWindow(bool _initial)→ contract IDisputeWindowpublic
getOrCreateNextDisputeWindow(bool _initial)→ contract IUniversepublic
createChildUniverse(uint256[] _parentPayoutNumerators)→ boolpublic
updateTentativeWinningChildUniverse(bytes32 _parentPayoutDistributionHash)→ contract IUniversepublic
getWinningChildUniverse()→ boolpublic
isContainerForDisputeWindow(contract IDisputeWindow _shadyDisputeWindow)→ boolpublic
isContainerForMarket(contract IMarket _shadyMarket)→ boolpublic
migrateMarketOut(contract IUniverse _destinationUniverse)→ boolpublic
migrateMarketIn(contract IMarket _market, uint256 _cashBalance, uint256 _marketOI)→ boolpublic
isContainerForReportingParticipant(contract IReportingParticipant _shadyReportingParticipant)→ boolpublic
isParentOf(contract IUniverse _shadyChild)→ boolpublic
decrementOpenInterest(uint256 _amount)→ boolpublic
decrementOpenInterestFromMarket(contract IMarket _market)→ boolpublic
incrementOpenInterest(uint256 _amount)→ uint256public
getOpenInterestInAttoCash()→ boolpublic
isOpenInterestCash(address _address)→ uint256public
pokeRepMarketCapInAttoCash()→ uint256public
getTargetRepMarketCapInAttoCash()→ uint256public
getOrCacheValidityBond()→ uint256public
getOrCacheDesignatedReportStake()→ uint256public
getOrCacheDesignatedReportNoShowBond()→ uint256public
getOrCacheMarketRepBond()→ uint256public
getOrCacheReportingFeeDivisor()this should be used in contracts so that the fee is actually set
→ uint256public
getReportingFeeDivisor()this should be used for estimation purposes as it is a view and does not actually freeze or recalculate the rate