Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›COMPLEXGAMES

BASIC

  • A
  • Factory
  • Marriage
  • MyContract
  • BugSquash
  • HelloWorld

BASIC / ECOM

  • Customer
  • Supplier

COMPLEXGAMES

  • Ownable
  • blackJack
  • PowerEther
  • Buffer
  • CBOR
  • OraclizeAddrResolverI
  • OraclizeI
  • Ownable
  • PowerEtherBase
  • PowerEtherHelper
  • PowerFour
  • PowerOne
  • PowerTwo
  • SafeMath
  • strings
  • usingOraclize

DATASTRUCT

  • LinkedList
  • Stack

FINANCE

  • CrowdBank
  • Mortgage

GAMES

  • CasinoRoulette
  • Itontine
  • Cplayer
  • Ctontine
  • PredictionMarket
  • RNGLottery
  • RecurringLottery
  • Roulette
  • SatoshiDice
  • SimpleLottery
  • WhatDoesNadiaThink

OTHER

  • e0x

OTHER / CREDVERT

  • ApplicantFactory
  • CredentialOrgFactory
  • CredentialFactory
  • CredentialOrgFactory
  • CredentialOrgFactory
  • Ownable
  • Pausable
  • SafeMath32

OTHER / MARKETPLACE

  • DigitalLocker
  • WorkbenchBase

SCHEMES

  • Government
  • GradualPonzi
  • SimplePonzi
  • SimplePyramid

TOKENS

  • BasicToken
  • ERC20
  • TokenSale

TOKENS / ATTENDANCETOKEN

  • EIP20
  • EIP20Interface
  • Migrations
  • ApproveAndCallFallBack
  • AttendanceCoinMembers
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath
  • ApproveAndCallFallBack
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath

UTIL

  • MarriageInvestment
  • Stock
  • SafeMath
  • Welfare
  • PromiseBox

UNCATEGORIZED

  • Authentication
  • TodoList
  • Users

PowerEtherBase

contract PowerEtherBase

is Ownable

Source: contracts/complexgames/PowerEther.sol

Index

  • LogQuery
  • MegaJackpotCapWin
  • PowerEtherResults
  • Refund
  • balanceUpdated
  • isActivated
  • isHuman
  • isWithinLimits
  • onlyCEO

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 - address
    gameType - uint256
    randomQueryId - uint256
    powerNumberOne - uint256
    powerNumberTwo - uint256
    powerNumberThree - uint256
    powerNumberFour - uint256
  • MegaJackpotCapWin

    event MegaJackpotCapWin(address playerAddress, uint256 megaJackpot)

    Fired, whenever a MegaJackpot is won via reached cap.

    Parameters:
    playerAddress - address
    megaJackpot - 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 - address
    resultSerialNumber - uint256
    gameType - uint256
    powerNumberOne - uint256
    powerNumberTwo - uint256
    powerNumberThree - uint256
    powerNumberFour - uint256
    jackpot - uint256
    isGameWon - bool
    isMegaJackpotWon - bool
  • Refund

    event Refund(address playerAddress, uint256 gameType)

    Fired, whenever a refund is initiated.

    Parameters:
    playerAddress - address
    gameType - 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.

← OwnablePowerEtherHelper →
Smart Contract info
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Copyright © 2019 David Li