Contracts
Contracts
Augur
constructor()
registerContract(bytes32 _key, address _address)
lookup(bytes32 _key)
finishDeployment()
createGenesisUniverse()
createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators)
isKnownUniverse(contract IUniverse _universe)
getUniverseForkIndex(contract IUniverse _universe)
isKnownCrowdsourcer(contract IDisputeCrowdsourcer _crowdsourcer)
disputeCrowdsourcerCreated(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _size, uint256 _disputeRound)
isKnownFeeSender(address _feeSender)
trustedCashTransfer(address _from, address _to, uint256 _amount)
isTrustedSender(address _address)
getTimestamp()
isKnownMarket(contract IMarket _market)
getMaximumMarketEndDate()
derivePayoutDistributionHash(uint256[] _payoutNumerators, uint256 _numTicks, uint256 _numOutcomes)
getMarketCreationData(contract IMarket _market)
getMarketType(contract IMarket _market)
getMarketOutcomes(contract IMarket _market)
getMarketRecommendedTradeInterval(contract IMarket _market)
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)
getTradeInterval(uint256 _displayRange, uint256 _numTicks)
logInitialReportSubmitted(contract IUniverse _universe, address _reporter, address _market, address _initialReporter, uint256 _amountStaked, bool _isDesignatedReporter, uint256[] _payoutNumerators, string _description, uint256 _nextWindowStartTime, uint256 _nextWindowEndTime)
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)
logReportingParticipantDisavowed(contract IUniverse _universe, contract IMarket _market)
logMarketParticipantsDisavowed(contract IUniverse _universe)
logMarketFinalized(contract IUniverse _universe, uint256[] _winningPayoutNumerators)
logMarketMigrated(contract IMarket _market, contract IUniverse _originalUniverse)
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)
logDisputeCrowdsourcerTokensTransferred(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)
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 _account, 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)
logValidityBondChanged(uint256 _validityBond)
logDesignatedReportStakeChanged(uint256 _designatedReportStake)
logNoShowBondChanged(uint256 _noShowBond)
logReportingFeeChanged(uint256 _reportingFee)
logMarketRepBondTransferred(address _universe, address _from, address _to)
logWarpSyncDataUpdated(address _universe, uint256 _warpSyncHash, uint256 _marketEndTime)
getAndValidateUniverse(address _untrustedUniverse)
MarketCreated(contract IUniverse universe, uint256 endTime, string extraInfo, contract IMarket market, address marketCreator, address designatedReporter, uint256 feePerCashInAttoCash, int256[] prices, enum IMarket.MarketType marketType, uint256 numTicks, bytes32[] outcomes, uint256 noShowBond, uint256 timestamp)
InitialReportSubmitted(address universe, address reporter, address market, address initialReporter, uint256 amountStaked, bool isDesignatedReporter, uint256[] payoutNumerators, string description, uint256 nextWindowStartTime, uint256 nextWindowEndTime, uint256 timestamp)
DisputeCrowdsourcerCreated(address universe, address market, address disputeCrowdsourcer, uint256[] payoutNumerators, uint256 size, uint256 disputeRound)
DisputeCrowdsourcerContribution(address universe, address reporter, address market, address disputeCrowdsourcer, uint256 amountStaked, string description, uint256[] payoutNumerators, uint256 currentStake, uint256 stakeRemaining, uint256 disputeRound, uint256 timestamp)
DisputeCrowdsourcerCompleted(address universe, address market, address disputeCrowdsourcer, uint256[] payoutNumerators, uint256 nextWindowStartTime, uint256 nextWindowEndTime, bool pacingOn, uint256 totalRepStakedInPayout, uint256 totalRepStakedInMarket, uint256 disputeRound, uint256 timestamp)
InitialReporterRedeemed(address universe, address reporter, address market, address initialReporter, uint256 amountRedeemed, uint256 repReceived, uint256[] payoutNumerators, uint256 timestamp)
DisputeCrowdsourcerRedeemed(address universe, address reporter, address market, address disputeCrowdsourcer, uint256 amountRedeemed, uint256 repReceived, uint256[] payoutNumerators, uint256 timestamp)
ReportingParticipantDisavowed(address universe, address market, address reportingParticipant)
MarketParticipantsDisavowed(address universe, address market)
MarketFinalized(address universe, address market, uint256 timestamp, uint256[] winningPayoutNumerators)
MarketMigrated(address market, address originalUniverse, address newUniverse)
UniverseForked(address universe, contract IMarket forkingMarket)
UniverseCreated(address parentUniverse, address childUniverse, uint256[] payoutNumerators, uint256 creationTimestamp)
CompleteSetsPurchased(address universe, address market, address account, uint256 numCompleteSets, uint256 timestamp)
CompleteSetsSold(address universe, address market, address account, uint256 numCompleteSets, uint256 fees, uint256 timestamp)
TradingProceedsClaimed(address universe, address sender, address market, uint256 outcome, uint256 numShares, uint256 numPayoutTokens, uint256 fees, uint256 timestamp)
TokensTransferred(address universe, address token, address from, address to, uint256 value, enum Augur.TokenType tokenType, address market)
TokensMinted(address universe, address token, address target, uint256 amount, enum Augur.TokenType tokenType, address market, uint256 totalSupply)
TokensBurned(address universe, address token, address target, uint256 amount, enum Augur.TokenType tokenType, address market, uint256 totalSupply)
TokenBalanceChanged(address universe, address owner, address token, enum Augur.TokenType tokenType, address market, uint256 balance, uint256 outcome)
DisputeWindowCreated(address universe, address disputeWindow, uint256 startTime, uint256 endTime, uint256 id, bool initial)
InitialReporterTransferred(address universe, address market, address from, address to)
MarketTransferred(address universe, address market, address from, address to)
MarketOIChanged(address universe, address market, uint256 marketOI)
ParticipationTokensRedeemed(address universe, address disputeWindow, address account, uint256 attoParticipationTokens, uint256 feePayoutShare, uint256 timestamp)
TimestampSet(uint256 newTimestamp)
ValidityBondChanged(address universe, uint256 validityBond)
DesignatedReportStakeChanged(address universe, uint256 designatedReportStake)
NoShowBondChanged(address universe, uint256 noShowBond)
ReportingFeeChanged(address universe, uint256 reportingFee)
ShareTokenBalanceChanged(address universe, address account, address market, uint256 outcome, uint256 balance)
MarketRepBondTransferred(address universe, address market, address from, address to)
WarpSyncDataUpdated(address universe, uint256 warpSyncHash, uint256 marketEndTime)
RegisterContract(address contractAddress, bytes32 key)
FinishDeployment()
constructor()
public
→ boolpublic
registerContract(bytes32 _key, address _address)→ addresspublic
lookup(bytes32 _key)→ boolpublic
finishDeployment()→ contract IUniversepublic
createGenesisUniverse()→ contract IUniversepublic
createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators)→ boolpublic
isKnownUniverse(contract IUniverse _universe)→ uint256public
getUniverseForkIndex(contract IUniverse _universe)→ boolpublic
isKnownCrowdsourcer(contract IDisputeCrowdsourcer _crowdsourcer)→ boolpublic
disputeCrowdsourcerCreated(contract IUniverse _universe, address _market, address _disputeCrowdsourcer, uint256[] _payoutNumerators, uint256 _size, uint256 _disputeRound)→ boolpublic
isKnownFeeSender(address _feeSender)→ boolpublic
trustedCashTransfer(address _from, address _to, uint256 _amount)→ boolpublic
isTrustedSender(address _address)→ uint256public
getTimestamp()→ boolpublic
isKnownMarket(contract IMarket _market)→ uint256public
getMaximumMarketEndDate()→ bytes32public
derivePayoutDistributionHash(uint256[] _payoutNumerators, uint256 _numTicks, uint256 _numOutcomes)→ struct IAugurCreationDataGetter.MarketCreationDatapublic
getMarketCreationData(contract IMarket _market)→ enum IMarket.MarketTypepublic
getMarketType(contract IMarket _market)→ bytes32[]public
getMarketOutcomes(contract IMarket _market)→ uint256public
getMarketRecommendedTradeInterval(contract IMarket _market)→ 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)→ uint256public
getTradeInterval(uint256 _displayRange, 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
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
logReportingParticipantDisavowed(contract IUniverse _universe, contract IMarket _market)→ boolpublic
logMarketParticipantsDisavowed(contract IUniverse _universe)→ boolpublic
logMarketFinalized(contract IUniverse _universe, uint256[] _winningPayoutNumerators)→ boolpublic
logMarketMigrated(contract IMarket _market, contract IUniverse _originalUniverse)→ 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
logDisputeCrowdsourcerTokensTransferred(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
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 _account, 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
logValidityBondChanged(uint256 _validityBond)→ boolpublic
logDesignatedReportStakeChanged(uint256 _designatedReportStake)→ boolpublic
logNoShowBondChanged(uint256 _noShowBond)→ boolpublic
logReportingFeeChanged(uint256 _reportingFee)→ boolpublic
logMarketRepBondTransferred(address _universe, address _from, address _to)→ boolpublic
logWarpSyncDataUpdated(address _universe, uint256 _warpSyncHash, uint256 _marketEndTime)→ contract IUniverseinternal
getAndValidateUniverse(address _untrustedUniverse)MarketCreated(contract IUniverse universe, uint256 endTime, string extraInfo, contract IMarket market, address marketCreator, address designatedReporter, uint256 feePerCashInAttoCash, int256[] prices, enum IMarket.MarketType marketType, uint256 numTicks, bytes32[] outcomes, uint256 noShowBond, uint256 timestamp)
InitialReportSubmitted(address universe, address reporter, address market, address initialReporter, uint256 amountStaked, bool isDesignatedReporter, uint256[] payoutNumerators, string description, uint256 nextWindowStartTime, uint256 nextWindowEndTime, uint256 timestamp)
DisputeCrowdsourcerCreated(address universe, address market, address disputeCrowdsourcer, uint256[] payoutNumerators, uint256 size, uint256 disputeRound)
DisputeCrowdsourcerContribution(address universe, address reporter, address market, address disputeCrowdsourcer, uint256 amountStaked, string description, uint256[] payoutNumerators, uint256 currentStake, uint256 stakeRemaining, uint256 disputeRound, uint256 timestamp)
DisputeCrowdsourcerCompleted(address universe, address market, address disputeCrowdsourcer, uint256[] payoutNumerators, uint256 nextWindowStartTime, uint256 nextWindowEndTime, bool pacingOn, uint256 totalRepStakedInPayout, uint256 totalRepStakedInMarket, uint256 disputeRound, uint256 timestamp)
InitialReporterRedeemed(address universe, address reporter, address market, address initialReporter, uint256 amountRedeemed, uint256 repReceived, uint256[] payoutNumerators, uint256 timestamp)
DisputeCrowdsourcerRedeemed(address universe, address reporter, address market, address disputeCrowdsourcer, uint256 amountRedeemed, uint256 repReceived, uint256[] payoutNumerators, uint256 timestamp)
ReportingParticipantDisavowed(address universe, address market, address reportingParticipant)
MarketParticipantsDisavowed(address universe, address market)
MarketFinalized(address universe, address market, uint256 timestamp, uint256[] winningPayoutNumerators)
MarketMigrated(address market, address originalUniverse, address newUniverse)
UniverseForked(address universe, contract IMarket forkingMarket)
UniverseCreated(address parentUniverse, address childUniverse, uint256[] payoutNumerators, uint256 creationTimestamp)
CompleteSetsPurchased(address universe, address market, address account, uint256 numCompleteSets, uint256 timestamp)
CompleteSetsSold(address universe, address market, address account, uint256 numCompleteSets, uint256 fees, uint256 timestamp)
TradingProceedsClaimed(address universe, address sender, address market, uint256 outcome, uint256 numShares, uint256 numPayoutTokens, uint256 fees, uint256 timestamp)
TokensTransferred(address universe, address token, address from, address to, uint256 value, enum Augur.TokenType tokenType, address market)
TokensMinted(address universe, address token, address target, uint256 amount, enum Augur.TokenType tokenType, address market, uint256 totalSupply)
TokensBurned(address universe, address token, address target, uint256 amount, enum Augur.TokenType tokenType, address market, uint256 totalSupply)
TokenBalanceChanged(address universe, address owner, address token, enum Augur.TokenType tokenType, address market, uint256 balance, uint256 outcome)
DisputeWindowCreated(address universe, address disputeWindow, uint256 startTime, uint256 endTime, uint256 id, bool initial)
InitialReporterTransferred(address universe, address market, address from, address to)
MarketTransferred(address universe, address market, address from, address to)
MarketOIChanged(address universe, address market, uint256 marketOI)
ParticipationTokensRedeemed(address universe, address disputeWindow, address account, uint256 attoParticipationTokens, uint256 feePayoutShare, uint256 timestamp)
TimestampSet(uint256 newTimestamp)
ValidityBondChanged(address universe, uint256 validityBond)
DesignatedReportStakeChanged(address universe, uint256 designatedReportStake)
NoShowBondChanged(address universe, uint256 noShowBond)
ReportingFeeChanged(address universe, uint256 reportingFee)
ShareTokenBalanceChanged(address universe, address account, address market, uint256 outcome, uint256 balance)
MarketRepBondTransferred(address universe, address market, address from, address to)
WarpSyncDataUpdated(address universe, uint256 warpSyncHash, uint256 marketEndTime)
RegisterContract(address contractAddress, bytes32 key)
FinishDeployment()
ContractExists
→ boolinternal
exists(address _address)IAffiliateValidator
→ boolexternal
validateReference(address _account, address _referrer)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)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)IAugurCreationDataGetter
→ struct IAugurCreationDataGetter.MarketCreationDatapublic
getMarketCreationData(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)IOwnable
→ addresspublic
getOwner()→ boolpublic
transferOwnership(address _newOwner)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)ITime
→ uint256external
getTimestamp()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()IUniverseFactory
→ contract IUniversepublic
createUniverse(contract IUniverse _parentUniverse, bytes32 _parentPayoutDistributionHash, uint256[] _payoutNumerators)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()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)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()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)AugurWallet
initialize(address _owner, address _referralAddress, bytes32 _fingerprint, address _augur, address _registry, address _registryV2, contract IERC20 _cash, contract IAffiliates _affiliates, contract IERC1155 _shareToken, address _createOrder, address _fillOrder, address _zeroXTrade)
transferCash(address _to, uint256 _amount)
executeTransaction(address _to, bytes _data, uint256 _value)
addAuthorizedProxy(address _authorizedProxy)
removeAuthorizedProxy(address _authorizedProxy)
withdrawAllFundsAsDai(address _destination, uint256 _minExchangeRateInDai)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)
isValidSignature(bytes _data, bytes _signature)
getMessageHash(bytes _message)
fallback()
endInitialization()
getInitialized()
initialize(address _owner, address _referralAddress, bytes32 _fingerprint, address _augur, address _registry, address _registryV2, contract IERC20 _cash, contract IAffiliates _affiliates, contract IERC1155 _shareToken, address _createOrder, address _fillOrder, address _zeroXTrade)
external
transferCash(address _to, uint256 _amount)
external
→ boolexternal
executeTransaction(address _to, bytes _data, uint256 _value)→ boolexternal
addAuthorizedProxy(address _authorizedProxy)→ boolexternal
removeAuthorizedProxy(address _authorizedProxy)→ boolexternal
withdrawAllFundsAsDai(address _destination, uint256 _minExchangeRateInDai)→ uint256public
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)→ bytes4external
isValidSignature(bytes _data, bytes _signature)→ bytes32public
getMessageHash(bytes _message)Returns hash of a message that can be signed by the owner. @param _message Message that should be hashed @return Message hash.
fallback()
external
IAugurWallet
initialize(address _owner, address _referralAddress, bytes32 _fingerprint, address _augur, address _registry, address _registryV2, contract IERC20 _cash, contract IAffiliates _affiliates, contract IERC1155 _shareToken, address _createOrder, address _fillOrder, address _zeroXTrade)
transferCash(address _to, uint256 _amount)
executeTransaction(address _to, bytes _data, uint256 _value)
initialize(address _owner, address _referralAddress, bytes32 _fingerprint, address _augur, address _registry, address _registryV2, contract IERC20 _cash, contract IAffiliates _affiliates, contract IERC1155 _shareToken, address _createOrder, address _fillOrder, address _zeroXTrade)
external
transferCash(address _to, uint256 _amount)
external
→ boolexternal
executeTransaction(address _to, bytes _data, uint256 _value)IAugurWalletRegistry
→ contract IUniswapV2Pairexternal
ethExchange()→ contract IWETHexternal
WETH()→ boolexternal
token0IsCash()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)
IWETH
deposit()
external
→ uint256external
balanceOf(address owner)→ boolexternal
transfer(address to, uint256 value)withdraw(uint256)
external
Initializable
endInitialization()
internal
→ boolpublic
getInitialized()AugurWalletRegistry
initialize(contract IAugur _augur, contract IAugurTrading _augurTrading)
acceptRelayedCall(address, address _from, bytes _encodedFunction, uint256, uint256, uint256, uint256, bytes, uint256 _maxPossibleCharge)
_preRelayedCall(bytes _context)
_postRelayedCall(bytes _context, bool, uint256 _actualCharge, bytes32)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)
getCreate2WalletAddress(address _owner)
getWallet(address _account)
executeWalletTransaction(address _to, bytes _data, uint256 _value, uint256 _payment, address _referralAddress, bytes32 _fingerprint, uint256 _desiredSignerBalance, uint256 _maxExchangeRateInDai, bool _revertOnFailure)
getRelayMessageHash(address relay, address from, address to, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce)
fallback()
getHubAddr()
_upgradeRelayHub(address newRelayHub)
relayHubVersion()
_withdrawDeposits(uint256 amount, address payable payee)
_msgSender()
_msgData()
preRelayedCall(bytes context)
postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
_approveRelayedCall()
_approveRelayedCall(bytes context)
_rejectRelayedCall(uint256 errorCode)
_computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee)
endInitialization()
getInitialized()
→ boolpublic
initialize(contract IAugur _augur, contract IAugurTrading _augurTrading)→ uint256,bytesexternal
acceptRelayedCall(address, address _from, bytes _encodedFunction, uint256, uint256, uint256, uint256, bytes, uint256 _maxPossibleCharge)→ bytes32internal
_preRelayedCall(bytes _context)_postRelayedCall(bytes _context, bool, uint256 _actualCharge, bytes32)
internal
→ uint256public
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)→ uint256public
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)→ addresspublic
getCreate2WalletAddress(address _owner)→ contract IAugurWalletpublic
getWallet(address _account)executeWalletTransaction(address _to, bytes _data, uint256 _value, uint256 _payment, address _referralAddress, bytes32 _fingerprint, uint256 _desiredSignerBalance, uint256 _maxExchangeRateInDai, bool _revertOnFailure)
external
→ bytes32public
getRelayMessageHash(address relay, address from, address to, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce)fallback()
external
ExecuteTransactionStatus(bool success, bool fundingSuccess)
Context
→ address payableinternal
_msgSender()→ bytesinternal
_msgData()GSNRecipient
getHubAddr()
_upgradeRelayHub(address newRelayHub)
relayHubVersion()
_withdrawDeposits(uint256 amount, address payable payee)
_msgSender()
_msgData()
preRelayedCall(bytes context)
_preRelayedCall(bytes context)
postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
_postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
_approveRelayedCall()
_approveRelayedCall(bytes context)
_rejectRelayedCall(uint256 errorCode)
_computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee)
acceptRelayedCall(address relay, address from, bytes encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes approvalData, uint256 maxPossibleCharge)
→ addresspublic
getHubAddr()Returns the address of the {IRelayHub} contract for this recipient.
_upgradeRelayHub(address newRelayHub)
internal
Switches to a new {IRelayHub} instance. This method is added for future-proofing: there's no reason to not use the default instance.
IMPORTANT: After upgrading, the {GSNRecipient} will no longer be able to receive relayed calls from the old {IRelayHub} instance. Additionally, all funds should be previously withdrawn via {_withdrawDeposits}.
→ stringpublic
relayHubVersion()Returns the version string of the {IRelayHub} for which this recipient implementation was built. If {_upgradeRelayHub} is used, the new {IRelayHub} instance should be compatible with this version.
_withdrawDeposits(uint256 amount, address payable payee)
internal
Withdraws the recipient's deposits in RelayHub
.
Derived contracts should expose this in an external interface with proper access control.
→ address payableinternal
_msgSender()Replacement for msg.sender. Returns the actual sender of a transaction: msg.sender for regular transactions,
and the end-user for GSN relayed calls (where msg.sender is actually RelayHub
).
IMPORTANT: Contracts derived from {GSNRecipient} should never use msg.sender
, and use {_msgSender} instead.
→ bytesinternal
_msgData()Replacement for msg.data. Returns the actual calldata of a transaction: msg.data for regular transactions, and a reduced version for GSN relayed calls (where msg.data contains additional information).
IMPORTANT: Contracts derived from {GSNRecipient} should never use msg.data
, and use {_msgData} instead.
→ bytes32external
preRelayedCall(bytes context)See IRelayRecipient.preRelayedCall
.
This function should not be overriden directly, use _preRelayedCall
instead.
- Requirements:
- the caller must be the
RelayHub
contract.
→ bytes32internal
_preRelayedCall(bytes context)See IRelayRecipient.preRelayedCall
.
Called by GSNRecipient.preRelayedCall
, which asserts the caller is the RelayHub
contract. Derived contracts
must implement this function with any relayed-call preprocessing they may wish to do.
postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
external
See IRelayRecipient.postRelayedCall
.
This function should not be overriden directly, use _postRelayedCall
instead.
- Requirements:
- the caller must be the
RelayHub
contract.
_postRelayedCall(bytes context, bool success, uint256 actualCharge, bytes32 preRetVal)
internal
See IRelayRecipient.postRelayedCall
.
Called by GSNRecipient.postRelayedCall
, which asserts the caller is the RelayHub
contract. Derived contracts
must implement this function with any relayed-call postprocessing they may wish to do.
→ uint256,bytesinternal
_approveRelayedCall()Return this in acceptRelayedCall to proceed with the execution of a relayed call. Note that this contract will be charged a fee by RelayHub
→ uint256,bytesinternal
_approveRelayedCall(bytes context)See GSNRecipient._approveRelayedCall
.
This overload forwards context
to _preRelayedCall and _postRelayedCall.
→ uint256,bytesinternal
_rejectRelayedCall(uint256 errorCode)Return this in acceptRelayedCall to impede execution of a relayed call. No fees will be charged.
→ uint256internal
_computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee)RelayHubChanged(address oldRelayHub, address newRelayHub)
Emitted when a contract changes its {IRelayHub} contract to a new one.
IAugurWalletFactory
→ addressexternal
getCreate2WalletAddress(address _owner)→ contract IAugurWalletpublic
createAugurWallet(address _owner, address _referralAddress, bytes32 _fingerprint)IRelayHub
getStakeManager()
addRelayWorkers(address[] newRelayWorkers)
registerRelayServer(uint256 baseRelayFee, uint256 pctRelayFee, string url)
depositFor(address target)
balanceOf(address target)
withdraw(uint256 amount, address payable dest)
relayCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 externalGasLimit)
penalize(address relayWorker, address payable beneficiary)
getHubOverhead()
calculateCharge(uint256 gasUsed, struct GsnTypes.RelayData relayData)
versionHub()
RelayServerRegistered(address relayManager, uint256 baseRelayFee, uint256 pctRelayFee, string relayUrl)
RelayWorkersAdded(address relayManager, address[] newRelayWorkers, uint256 workersCount)
Withdrawn(address account, address dest, uint256 amount)
Deposited(address paymaster, address from, uint256 amount)
TransactionRejectedByPaymaster(address relayManager, address paymaster, address from, address to, address relayWorker, bytes4 selector, string reason)
TransactionRelayed(address relayManager, address relayWorker, address from, address to, address paymaster, bytes4 selector, enum IRelayHub.RelayCallStatus status, uint256 charge)
Penalized(address relayWorker, address sender, uint256 reward)
→ addressexternal
getStakeManager()addRelayWorkers(address[] newRelayWorkers)
external
registerRelayServer(uint256 baseRelayFee, uint256 pctRelayFee, string url)
external
depositFor(address target)
external
→ uint256external
balanceOf(address target)withdraw(uint256 amount, address payable dest)
external
→ bool,stringexternal
relayCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 externalGasLimit)penalize(address relayWorker, address payable beneficiary)
external
→ uint256external
getHubOverhead()→ uint256external
calculateCharge(uint256 gasUsed, struct GsnTypes.RelayData relayData)→ stringexternal
versionHub()RelayServerRegistered(address relayManager, uint256 baseRelayFee, uint256 pctRelayFee, string relayUrl)
RelayWorkersAdded(address relayManager, address[] newRelayWorkers, uint256 workersCount)
Withdrawn(address account, address dest, uint256 amount)
Deposited(address paymaster, address from, uint256 amount)
TransactionRejectedByPaymaster(address relayManager, address paymaster, address from, address to, address relayWorker, bytes4 selector, string reason)
TransactionRelayed(address relayManager, address relayWorker, address from, address to, address paymaster, bytes4 selector, enum IRelayHub.RelayCallStatus status, uint256 charge)
Penalized(address relayWorker, address sender, uint256 reward)
IRelayRecipient
→ boolpublic
isTrustedForwarder(address forwarder)→ address payableinternal
_msgSender()→ stringexternal
versionRecipient()LibBytes
→ boolinternal
equals(bytes lhs, bytes rhs)Tests equality of two byte arrays. @param lhs First byte array to compare. @param rhs Second byte array to compare. @return True if arrays are the same. False otherwise.
→ uint256internal
contentAddress(bytes input)Gets the memory address for the contents of a byte array. @param input Byte array to lookup. @return memoryAddress Memory address of the contents of the byte array.
memCopy(uint256 dest, uint256 source, uint256 length)
internal
Copies length
bytes from memory location source
to dest
.
@param dest memory address to copy bytes to.
@param source memory address to copy bytes from.
@param length number of bytes to copy.
→ bytesinternal
slice(bytes b, uint256 from, uint256 to)Returns a slices from a byte array. @param b The byte array to take a slice from. @param from The starting index for the slice (inclusive). @param to The final index for the slice (exclusive). @return result The slice containing bytes at indices [from, to)
→ bytesinternal
sliceDestructive(bytes b, uint256 from, uint256 to)Returns a slice from a byte array without preserving the input.
@param b The byte array to take a slice from. Will be destroyed in the process.
@param from The starting index for the slice (inclusive).
@param to The final index for the slice (exclusive).
@return result The slice containing bytes at indices [from, to)
@dev When from == 0
, the original array will match the slice. In other cases its state will be corrupted.
→ bytes1internal
popLastByte(bytes b)Pops the last byte off of a byte array by modifying its length. @param b Byte array that will be modified. @return The byte that was popped off.
RLPReader
decodeTransaction(bytes rawTransaction)
toRlpItem(bytes item)
toList(struct RLPReader.RLPItem item)
isList(struct RLPReader.RLPItem item)
numItems(struct RLPReader.RLPItem item)
_itemLength(uint256 memPtr)
_payloadOffset(uint256 memPtr)
toRlpBytes(struct RLPReader.RLPItem item)
toBoolean(struct RLPReader.RLPItem item)
toAddress(struct RLPReader.RLPItem item)
toUint(struct RLPReader.RLPItem item)
toBytes(struct RLPReader.RLPItem item)
copy(uint256 src, uint256 dest, uint256 len)
→ uint256,uint256,uint256,address,uint256,bytesinternal
decodeTransaction(bytes rawTransaction)→ struct RLPReader.RLPIteminternal
toRlpItem(bytes item)→ struct RLPReader.RLPItem[]internal
toList(struct RLPReader.RLPItem item)→ boolinternal
isList(struct RLPReader.RLPItem item)→ uint256internal
numItems(struct RLPReader.RLPItem item)→ uint256internal
_itemLength(uint256 memPtr)→ uint256internal
_payloadOffset(uint256 memPtr)→ bytesinternal
toRlpBytes(struct RLPReader.RLPItem item)→ boolinternal
toBoolean(struct RLPReader.RLPItem item)→ addressinternal
toAddress(struct RLPReader.RLPItem item)→ uint256internal
toUint(struct RLPReader.RLPItem item)→ bytesinternal
toBytes(struct RLPReader.RLPItem item)copy(uint256 src, uint256 dest, uint256 len)
internal
AugurWalletRegistryV2
initialize(contract IAugur _augur, contract IAugurTrading _augurTrading)
getGasLimits()
getHubAddr()
acceptRelayedCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 maxPossibleGas)
preRelayedCall(bytes context)
postRelayedCall(bytes context, bool success, bytes32 preRetVal, uint256 gasUseWithoutPost, struct GsnTypes.RelayData relayData)
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)
getCreate2WalletAddress(address _owner)
getWallet(address _account)
executeWalletTransaction(address _to, bytes _data, uint256 _value, uint256 _payment, address _referralAddress, bytes32 _fingerprint, uint256 _desiredSignerBalance, uint256 _maxExchangeRateInDai, bool _revertOnFailure)
getRelayHubDeposit()
fallback()
getNonce(address from)
constructor()
verify(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
execute(struct IForwarder.ForwardRequest req, bytes32 domainSeparator, bytes32 requestTypeHash, bytes suffixData, bytes sig)
_verifyNonce(struct IForwarder.ForwardRequest req)
_updateNonce(struct IForwarder.ForwardRequest req)
registerRequestType(string typeName, string typeSuffix)
registerRequestTypeInternal(string requestType)
getRelayMessageHash(struct GsnTypes.RelayRequest req)
_getEncoded(struct IForwarder.ForwardRequest relayRequest, bytes suffixData)
_verifySig(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
isTrustedForwarder(address forwarder)
_msgSender()
versionRecipient()
endInitialization()
getInitialized()
→ boolpublic
initialize(contract IAugur _augur, contract IAugurTrading _augurTrading)→ struct IPaymaster.GasLimitsexternal
getGasLimits()→ addresspublic
getHubAddr()→ bytespublic
acceptRelayedCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 maxPossibleGas)→ boolexternal
preRelayedCall(bytes context)→ boolexternal
postRelayedCall(bytes context, bool success, bytes32 preRetVal, uint256 gasUseWithoutPost, struct GsnTypes.RelayData relayData)→ uint256public
getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut)→ uint256public
getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut)→ addresspublic
getCreate2WalletAddress(address _owner)→ contract IAugurWalletpublic
getWallet(address _account)executeWalletTransaction(address _to, bytes _data, uint256 _value, uint256 _payment, address _referralAddress, bytes32 _fingerprint, uint256 _desiredSignerBalance, uint256 _maxExchangeRateInDai, bool _revertOnFailure)
external
→ uint256public
getRelayHubDeposit()fallback()
external
ExecuteTransactionStatus(bool success, bool fundingSuccess)
BasePaymaster
getHubAddr()
getGasLimits()
_verifySignature(struct GsnTypes.RelayRequest relayRequest, bytes signature)
getRelayHubDeposit()
fallback()
acceptRelayedCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 maxPossibleGas)
preRelayedCall(bytes context)
postRelayedCall(bytes context, bool success, bytes32 preRetVal, uint256 gasUseWithoutPost, struct GsnTypes.RelayData relayData)
versionPaymaster()
→ addresspublic
getHubAddr()→ struct IPaymaster.GasLimitsexternal
getGasLimits()_verifySignature(struct GsnTypes.RelayRequest relayRequest, bytes signature)
public
→ uint256public
getRelayHubDeposit()fallback()
external
BaseRelayRecipient
→ boolpublic
isTrustedForwarder(address forwarder)→ address payableinternal
_msgSender()ECDSA
→ addressinternal
recover(bytes32 hash, bytes signature)Returns the address that signed a hashed message (hash
) with
signature
. This address can then be used for verification purposes.
The ecrecover
EVM opcode allows for malleable (non-unique) signatures:
this function rejects them by requiring the s
value to be in the lower
half order, and the v
value to be either 27 or 28.
(.note) This call does not revert if the signature is invalid, or if the signer is otherwise unable to be retrieved. In those scenarios, the zero address is returned.
(.warning) hash
must be the result of a hash operation for the
verification to be secure: it is possible to craft signatures that
recover to arbitrary addresses for non-hashed data. A safe way to ensure
this is by receiving a hash of the original message (which may otherwise)
be too long), and then calling toEthSignedMessageHash
on it.
→ bytes32internal
toEthSignedMessageHash(bytes32 hash)Returns an Ethereum Signed Message, created from a hash
. This
replicates the behavior of the
eth_sign
JSON-RPC method.
See recover
.
Forwarder
fallback()
getNonce(address from)
constructor()
verify(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
execute(struct IForwarder.ForwardRequest req, bytes32 domainSeparator, bytes32 requestTypeHash, bytes suffixData, bytes sig)
_verifyNonce(struct IForwarder.ForwardRequest req)
_updateNonce(struct IForwarder.ForwardRequest req)
registerRequestType(string typeName, string typeSuffix)
registerRequestTypeInternal(string requestType)
getRelayMessageHash(struct GsnTypes.RelayRequest req)
_getEncoded(struct IForwarder.ForwardRequest relayRequest, bytes suffixData)
_verifySig(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
fallback()
external
→ uint256public
getNonce(address from)constructor()
public
verify(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
public
→ bool,bytespublic
execute(struct IForwarder.ForwardRequest req, bytes32 domainSeparator, bytes32 requestTypeHash, bytes suffixData, bytes sig)_verifyNonce(struct IForwarder.ForwardRequest req)
internal
_updateNonce(struct IForwarder.ForwardRequest req)
internal
registerRequestType(string typeName, string typeSuffix)
external
registerRequestTypeInternal(string requestType)
internal
→ bytes32public
getRelayMessageHash(struct GsnTypes.RelayRequest req)→ bytes32internal
_getEncoded(struct IForwarder.ForwardRequest relayRequest, bytes suffixData)_verifySig(struct IForwarder.ForwardRequest req, bytes suffixData, bytes sig)
public
RequestTypeRegistered(bytes32 typeHash, string typeStr)
GsnEip712Library
splitRequest(struct GsnTypes.RelayRequest req)
verifyForwarderTrusted(struct GsnTypes.RelayRequest relayRequest)
verifySignature(struct GsnTypes.RelayRequest relayRequest, bytes signature)
verify(struct GsnTypes.RelayRequest relayRequest, bytes signature)
execute(struct GsnTypes.RelayRequest relayRequest, bytes signature)
domainSeparator(address forwarder)
getChainID()
hashDomain(struct GsnEip712Library.EIP712Domain req)
hashRelayData(struct GsnTypes.RelayData req)
hash(struct IForwarder.ForwardRequest req)
→ struct IForwarder.ForwardRequest,bytesinternal
splitRequest(struct GsnTypes.RelayRequest req)verifyForwarderTrusted(struct GsnTypes.RelayRequest relayRequest)
internal
verifySignature(struct GsnTypes.RelayRequest relayRequest, bytes signature)
internal
verify(struct GsnTypes.RelayRequest relayRequest, bytes signature)
internal
→ bool,stringinternal
execute(struct GsnTypes.RelayRequest relayRequest, bytes signature)→ bytes32internal
domainSeparator(address forwarder)→ uint256internal
getChainID()→ bytes32internal
hashDomain(struct GsnEip712Library.EIP712Domain req)→ bytes32internal
hashRelayData(struct GsnTypes.RelayData req)→ bytes32internal
hash(struct IForwarder.ForwardRequest req)GsnTypes
GsnUtils
→ uint256internal
getChainID()→ stringinternal
getError(bytes err)→ bytes4internal
getMethodSig(bytes msgData)→ uint256internal
getParam(bytes msgData, uint256 index)→ addressinternal
getAddressParam(bytes msgData, uint256 index)→ bytes32internal
getBytes32Param(bytes msgData, uint256 index)→ bytesinternal
getBytesParam(bytes msgData, uint256 index)→ stringinternal
getStringParam(bytes msgData, uint256 index)IForwarder
getNonce(address from)
verify(struct IForwarder.ForwardRequest forwardRequest, bytes suffixData, bytes signature)
execute(struct IForwarder.ForwardRequest forwardRequest, bytes32 domainSeparator, bytes32 requestTypeHash, bytes suffixData, bytes signature)
registerRequestType(string typeName, string typeSuffix)
→ uint256external
getNonce(address from)verify(struct IForwarder.ForwardRequest forwardRequest, bytes suffixData, bytes signature)
external
→ bool,bytesexternal
execute(struct IForwarder.ForwardRequest forwardRequest, bytes32 domainSeparator, bytes32 requestTypeHash, bytes suffixData, bytes signature)registerRequestType(string typeName, string typeSuffix)
external
IPaymaster
getHubAddr()
getRelayHubDeposit()
getGasLimits()
acceptRelayedCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 maxPossibleGas)
preRelayedCall(bytes context)
postRelayedCall(bytes context, bool success, bytes32 preRetVal, uint256 gasUseWithoutPost, struct GsnTypes.RelayData relayData)
versionPaymaster()
→ addressexternal
getHubAddr()→ uint256external
getRelayHubDeposit()→ struct IPaymaster.GasLimitsexternal
getGasLimits()→ bytesexternal
acceptRelayedCall(struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData, uint256 maxPossibleGas)→ bytes32external
preRelayedCall(bytes context)postRelayedCall(bytes context, bool success, bytes32 preRetVal, uint256 gasUseWithoutPost, struct GsnTypes.RelayData relayData)
external
→ stringexternal
versionPaymaster()ISignatureVerifier
→ boolexternal
verify(struct ISignatureVerifier.RelayRequest req, bytes signature)→ stringexternal
versionSM()LibBytesRichErrorsV06
→ bytesinternal
InvalidByteOperationError(enum LibBytesRichErrorsV06.InvalidByteOperationErrorCodes errorCode, uint256 offset, uint256 required)LibBytesV06
rawAddress(bytes input)
contentAddress(bytes input)
memCopy(uint256 dest, uint256 source, uint256 length)
slice(bytes b, uint256 from, uint256 to)
sliceDestructive(bytes b, uint256 from, uint256 to)
popLastByte(bytes b)
equals(bytes lhs, bytes rhs)
readAddress(bytes b, uint256 index)
writeAddress(bytes b, uint256 index, address input)
readBytes32(bytes b, uint256 index)
writeBytes32(bytes b, uint256 index, bytes32 input)
readUint256(bytes b, uint256 index)
writeUint256(bytes b, uint256 index, uint256 input)
readBytes4(bytes b, uint256 index)
writeLength(bytes b, uint256 length)
→ uint256internal
rawAddress(bytes input)Gets the memory address for a byte array. @param input Byte array to lookup. @return memoryAddress Memory address of byte array. This points to the header of the byte array which contains the length.
→ uint256internal
contentAddress(bytes input)Gets the memory address for the contents of a byte array. @param input Byte array to lookup. @return memoryAddress Memory address of the contents of the byte array.
memCopy(uint256 dest, uint256 source, uint256 length)
internal
Copies length
bytes from memory location source
to dest
.
@param dest memory address to copy bytes to.
@param source memory address to copy bytes from.
@param length number of bytes to copy.
→ bytesinternal
slice(bytes b, uint256 from, uint256 to)Returns a slices from a byte array. @param b The byte array to take a slice from. @param from The starting index for the slice (inclusive). @param to The final index for the slice (exclusive). @return result The slice containing bytes at indices [from, to)
→ bytesinternal
sliceDestructive(bytes b, uint256 from, uint256 to)Returns a slice from a byte array without preserving the input.
When from == 0
, the original array will match the slice.
In other cases its state will be corrupted.
@param b The byte array to take a slice from. Will be destroyed in the process.
@param from The starting index for the slice (inclusive).
@param to The final index for the slice (exclusive).
@return result The slice containing bytes at indices [from, to)
→ bytes1internal
popLastByte(bytes b)Pops the last byte off of a byte array by modifying its length. @param b Byte array that will be modified. @return result The byte that was popped off.
→ boolinternal
equals(bytes lhs, bytes rhs)Tests equality of two byte arrays. @param lhs First byte array to compare. @param rhs Second byte array to compare. @return equal True if arrays are the same. False otherwise.
→ addressinternal
readAddress(bytes b, uint256 index)Reads an address from a position in a byte array. @param b Byte array containing an address. @param index Index in byte array of address. @return result address from byte array.
writeAddress(bytes b, uint256 index, address input)
internal
Writes an address into a specific position in a byte array. @param b Byte array to insert address into. @param index Index in byte array of address. @param input Address to put into byte array.
→ bytes32internal
readBytes32(bytes b, uint256 index)Reads a bytes32 value from a position in a byte array. @param b Byte array containing a bytes32 value. @param index Index in byte array of bytes32 value. @return result bytes32 value from byte array.
writeBytes32(bytes b, uint256 index, bytes32 input)
internal
Writes a bytes32 into a specific position in a byte array. @param b Byte array to insert <input> into. @param index Index in byte array of <input>. @param input bytes32 to put into byte array.
→ uint256internal
readUint256(bytes b, uint256 index)Reads a uint256 value from a position in a byte array. @param b Byte array containing a uint256 value. @param index Index in byte array of uint256 value. @return result uint256 value from byte array.
writeUint256(bytes b, uint256 index, uint256 input)
internal
Writes a uint256 into a specific position in a byte array. @param b Byte array to insert <input> into. @param index Index in byte array of <input>. @param input uint256 to put into byte array.
→ bytes4internal
readBytes4(bytes b, uint256 index)Reads an unpadded bytes4 value from a position in a byte array. @param b Byte array containing a bytes4 value. @param index Index in byte array of bytes4 value. @return result bytes4 value from byte array.
writeLength(bytes b, uint256 length)
internal
Writes a new length to a byte array. Decreasing length will lead to removing the corresponding lower order bytes from the byte array. Increasing length may lead to appending adjacent in-memory bytes to the end of the byte array. @param b Bytes array to write new length to. @param length New length of byte array.
LibRichErrorsV06
→ bytesinternal
StandardError(string message)ABI encode a standard, string revert error payload.
This is the same payload that would be included by a revert(string)
solidity statement. It has the function signature Error(string)
.
@param message The error string.
@return The ABI encoded error.
rrevert(bytes errorData)
internal
Reverts an encoded rich revert reason errorData
.
@param errorData ABI encoded error data.
Cash
faucet(uint256 _amount)
setDecimals(uint8 _decimals)
getTypeName()
onTokenTransfer(address _from, address _to, uint256 _value)
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)
totalSupply()
→ boolpublic
faucet(uint256 _amount)→ boolpublic
setDecimals(uint8 _decimals)→ bytes32public
getTypeName()onTokenTransfer(address _from, address _to, uint256 _value)
internal
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
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
DelegationTarget
LegacyReputationToken
faucet(uint256 _amount)
onMint(address, uint256)
onBurn(address, uint256)
onTokenTransfer(address, address, uint256)
initialize(contract IUniverse _universe)
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)
migrateOut(contract IReputationToken _destination, uint256 _attotokens)
migrateIn(address _reporter, uint256 _attotokens)
mintForReportingParticipant(uint256 _amountMigrated)
transfer(address _to, uint256 _value)
transferFrom(address _from, address _to, uint256 _value)
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)
getTypeName()
getUniverse()
getTotalMigrated()
getLegacyRepToken()
updateSiblingMigrationTotal(contract IReputationToken _token)
updateParentTotalTheoreticalSupply()
getTotalTheoreticalSupply()
migrateBalancesFromLegacyRep(address[] _holders)
migrateAllowancesFromLegacyRep(address[] _owners, address[] _spenders)
getIsMigratingFromLegacy()
getTargetSupply()
getTimestamp()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
balanceOf(address _account)
allowance(address _owner, address _spender)
approve(address _spender, 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()
→ boolpublic
faucet(uint256 _amount)onMint(address, uint256)
internal
onBurn(address, uint256)
internal
onTokenTransfer(address, address, uint256)
internal
FundedAccount(address _universe, address _sender, uint256 _repBalance, uint256 _timestamp)
OldLegacyReputationToken
initialize(contract IUniverse _universe)
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)
migrateOut(contract IReputationToken _destination, uint256 _attotokens)
migrateIn(address _reporter, uint256 _attotokens)
mintForReportingParticipant(uint256 _amountMigrated)
transfer(address _to, uint256 _value)
transferFrom(address _from, address _to, uint256 _value)
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)
getTypeName()
getUniverse()
getTotalMigrated()
getLegacyRepToken()
updateSiblingMigrationTotal(contract IReputationToken _token)
updateParentTotalTheoreticalSupply()
getTotalTheoreticalSupply()
migrateBalancesFromLegacyRep(address[] _holders)
migrateAllowancesFromLegacyRep(address[] _owners, address[] _spenders)
getIsMigratingFromLegacy()
getTargetSupply()
getTimestamp()
mint(address _target, uint256 _amount)
burn(address _target, uint256 _amount)
onMint(address, uint256)
onBurn(address, uint256)
balanceOf(address _account)
allowance(address _owner, address _spender)
approve(address _spender, 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()
endInitialization()
getInitialized()
initialize(contract IUniverse _universe)
public
→ boolpublic
migrateOutByPayout(uint256[] _payoutNumerators, uint256 _attotokens)→ boolpublic
migrateOut(contract IReputationToken _destination, uint256 _attotokens)→ boolpublic
migrateIn(address _reporter, uint256 _attotokens)→ boolpublic
mintForReportingParticipant(uint256 _amountMigrated)→ boolpublic
transfer(address _to, uint256 _value)→ boolpublic
transferFrom(address _from, address _to, uint256 _value)→ 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)→ bytes32public
getTypeName()→ contract IUniversepublic
getUniverse()→ uint256public
getTotalMigrated()→ contract IERC20public
getLegacyRepToken()→ boolpublic
updateSiblingMigrationTotal(contract IReputationToken _token)→ boolpublic
updateParentTotalTheoreticalSupply()→ uint256public
getTotalTheoreticalSupply()→ boolpublic
migrateBalancesFromLegacyRep(address[] _holders)Copies the balance of a batch of addresses from the legacy contract
→ boolpublic
migrateAllowancesFromLegacyRep(address[] _owners, address[] _spenders)Copies the allowances of a batch of addresses from the legacy contract. This is an optional step which may only be done before the migration is complete but is not required to complete it.
→ boolpublic
getIsMigratingFromLegacy()→ uint256public
getTargetSupply()→ uint256public
getTimestamp()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
TestNetReputationToken
constructor(contract IAugur _augur, contract IUniverse _universe, contract IUniverse _parentUniverse)
faucet(uint256 _amount)
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
→ boolpublic
faucet(uint256 _amount)Time
→ uint256external
getTimestamp()→ bytes32public
getTypeName()TimeControlled
constructor()
public
→ boolpublic
initialize(contract IAugur _augur)→ uint256external
getTimestamp()→ boolexternal
incrementTimestamp(uint256 _amount)→ boolexternal
setTimestamp(uint256 _timestamp)→ bytes32public
getTypeName()USDC
constructor()
getTypeName()
faucet(uint256 _amount)
setDecimals(uint8 _decimals)
onTokenTransfer(address _from, address _to, uint256 _value)
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)
totalSupply()
constructor()
public
→ bytes32public
getTypeName()USDT
constructor()
getTypeName()
faucet(uint256 _amount)
setDecimals(uint8 _decimals)
onTokenTransfer(address _from, address _to, uint256 _value)
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)
totalSupply()
constructor()
public
→ bytes32public
getTypeName()IWarpSync
→ contract IMarketexternal
markets(address _universe)notifyMarketFinalized()
public
WarpSync
initialize(contract IAugur _augur)
doInitialReport(contract IUniverse _universe, uint256[] _payoutNumerators, string _description)
initializeUniverse(contract IUniverse _universe)
notifyMarketFinalized()
getFinalizationReward(contract IMarket _market)
getCreationReward(contract IUniverse _universe)
endInitialization()
getInitialized()
markets(address _universe)