PowerEtherBase
Index
Reference
Events
LogQuery
event LogQuery(address playerAddress, uint256 gameType, uint256 randomQueryId, uint256 powerNumberOne, uint256 powerNumberTwo, uint256 powerNumberThree, uint256 powerNumberFour)Fired to log the Oraclize query.
- Parameters:
playerAddress- addressgameType- uint256randomQueryId- uint256powerNumberOne- uint256powerNumberTwo- uint256powerNumberThree- uint256powerNumberFour- uint256
MegaJackpotCapWin
event MegaJackpotCapWin(address playerAddress, uint256 megaJackpot)Fired, whenever a MegaJackpot is won via reached cap.
- Parameters:
playerAddress- addressmegaJackpot- uint256
PowerEtherResults
event PowerEtherResults(address playerAddress, uint256 resultSerialNumber, uint256 gameType, uint256 powerNumberOne, uint256 powerNumberTwo, uint256 powerNumberThree, uint256 powerNumberFour, uint256 jackpot, bool isGameWon, bool isMegaJackpotWon)Fired whenever a PowerEther game is won or lost.
- Parameters:
playerAddress- addressresultSerialNumber- uint256gameType- uint256powerNumberOne- uint256powerNumberTwo- uint256powerNumberThree- uint256powerNumberFour- uint256jackpot- uint256isGameWon- boolisMegaJackpotWon- bool
Refund
event Refund(address playerAddress, uint256 gameType)Fired, whenever a refund is initiated.
- Parameters:
playerAddress- addressgameType- uint256
balanceUpdated
event balanceUpdated(uint256 _amount)Fired whenever ether is manually added to the balance by the CEO.
- Parameters:
_amount- uint256
Modifiers
isActivated
modifier isActivated()Checks for contract activation.
isHuman
modifier isHuman()Checks for human interaction.
isWithinLimits
modifier isWithinLimits(uint256 _eth)Sanity check for incoming transactions.
- Parameters:
_eth- uint256
onlyCEO
modifier onlyCEO()Access only to the CEO-functionality.
