Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›TOKENS / ATTENDANCETOKEN

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

EIP20Interface

contract EIP20Interface

Source: contracts/tokens/AttendanceToken/EIP20Interface.sol

Index

  • Approval
  • Transfer
  • allowance
  • approve
  • balanceOf
  • transfer
  • transferFrom

Reference

Events

  • Approval

    event Approval(address _owner, address _spender, uint256 _value)
    Parameters:
    _owner - address
    _spender - address
    _value - uint256
  • Transfer

    event Transfer(address _from, address _to, uint256 _value)
    Parameters:
    _from - address
    _to - address
    _value - uint256

Functions

  • allowance

    abstract function allowance(address _owner, address _spender) public view returns (uint256)
    Parameters:
    _owner - The address of the account owning tokens
    _spender - The address of the account able to transfer the tokens
    Returns:
    Amount of remaining tokens allowed to spent
  • approve

    abstract function approve(address _spender, uint256 _value) public returns (bool)

    `msg.sender` approves `_spender` to spend `_value` tokens.

    Parameters:
    _spender - The address of the account able to transfer the tokens
    _value - The amount of tokens to be approved for transfer
    Returns:
    Whether the approval was successful or not
  • balanceOf

    abstract function balanceOf(address _owner) public view returns (uint256)
    Parameters:
    _owner - The address from which the balance will be retrieved
    Returns:
    The balance
  • transfer

    abstract function transfer(address _to, uint256 _value) public returns (bool)

    Send `_value` token to `_to` from `msg.sender`.

    Parameters:
    _to - The address of the recipient
    _value - The amount of token to be transferred
    Returns:
    Whether the transfer was successful or not
  • transferFrom

    abstract function transferFrom(address _from, address _to, uint256 _value) public returns (bool)

    Send `_value` token to `_to` from `_from` on the condition it is approved by `_from`.

    Parameters:
    _from - The address of the sender
    _to - The address of the recipient
    _value - The amount of token to be transferred
    Returns:
    Whether the transfer was successful or not
← EIP20Migrations →
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