Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›UNCATEGORIZED

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

Users

contract Users

This is a todolist with storage on the blockchain, much more efficent to use a database.

Source: contracts/Users.sol
Author: David Li

Index

  • UserCreated
  • UserDestroyed
  • authenticate
  • create
  • destroy
  • exists
  • get

Reference

Events

  • UserCreated

    event UserCreated(address _address, bytes32 _pseudo)
    Parameters:
    _address - address
    _pseudo - bytes32
  • UserDestroyed

    event UserDestroyed(address _address)
    Parameters:
    _address - address

Functions

  • authenticate

    function authenticate() public view returns (bytes32)
    Returns:
    bytes32
  • create

    function create(bytes32 _pseudo) public
    Parameters:
    _pseudo - bytes32
  • destroy

    function destroy() public
  • exists

    function exists(address _address) public view returns (bool)
    Parameters:
    _address - address
    Returns:
    bool
  • get

    function get(address _address) public view returns (bytes32)
    Parameters:
    _address - address
    Returns:
    bytes32
← TodoList
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