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

PowerFour

contract PowerFour

is PowerTwo

Source: contracts/complexgames/PowerEther.sol

Index

  • _powerFour
  • makePowerFourBid

Reference

Functions

  • _powerFour

    function _powerFour(string result, uint256 pnOne, uint256 pnTwo, uint256 pnThree, uint256 pnFour, address playerAddress) internal

    Internal core logic of the PowerFour game.

    Parameters:
    result - string
    pnOne - uint256
    pnTwo - uint256
    pnThree - uint256
    pnFour - uint256
    playerAddress - address
  • makePowerFourBid

    function makePowerFourBid(uint256 numberOne, uint256 numberTwo, uint256 numberThree, uint256 numberFour) public payable

    Makes the bid to the PowerFour game.

    Modifiers:
    isHuman isActivated
    Parameters:
    numberOne - uint256
    numberTwo - uint256
    numberThree - uint256
    numberFour - uint256
← PowerEtherHelperPowerOne →
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