Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›SCHEMES

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

Government

contract Government

Source: contracts/schemes/Government.sol

Index

  • Government
  • fallback
  • getCreditorAddresses
  • getCreditorAmounts
  • inheritToNextGeneration
  • investInTheSystem
  • lendGovernmentMoney
  • totalDebt
  • totalPayedOut

Reference

Functions

  • Government

    function Government() public
  • fallback

    function () public
  • getCreditorAddresses

    function getCreditorAddresses() public returns (address[])
    Returns:
    address[]
  • getCreditorAmounts

    function getCreditorAmounts() public returns (uint[])
    Returns:
    uint[]
  • inheritToNextGeneration

    function inheritToNextGeneration(address nextGeneration) public
    Parameters:
    nextGeneration - address
  • investInTheSystem

    function investInTheSystem() public
  • lendGovernmentMoney

    function lendGovernmentMoney(address buddy) public returns (bool)
    Parameters:
    buddy - address
    Returns:
    bool
  • totalDebt

    function totalDebt() public returns (uint)
    Returns:
    uint
  • totalPayedOut

    function totalPayedOut() public returns (uint)
    Returns:
    uint
← WorkbenchBaseGradualPonzi →
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