Giter Club home page Giter Club logo

erc20-token-fixed-supply's Introduction

ERC20-token-fixed-supply

Sample fixed supply token contract on ERC20 standard.

Methods

1. function totalSupply

Returns the outstanding supply of all tokens.

function totalSupply() constant returns (uint256)

2. function balanceOf

Returns the balance of the source address.

function balanceOf(address src) constant returns (uint256)

3. function allowance

Returns the amount of tokens that a person can withdraw from the source address via the transferFrom function.

  function allowance(address src, address guy) constant returns (uint256)

4. function approve

Approves guy to withdraw tokens from msg.sender via the transferFrom function. Throws on uint overflow.

function approve(address guy, uint256 wad) returns (bool)

5. function transfer

Transfers wad tokens from msg.sender to the dst address. Throws on uint overflow.

function transfer(address dst, uint wad) returns (bool)

6. function transferFrom

Assumes sufficient approval set by the approve function. Transfers wad tokens from the src address to the dst address and decrements from approvals[src][msg.sender]. Throws on uint overflow.

function transferFrom(address src, address dst, uint wad) returns (bool)

Imports

import './SafeMath.sol';
import './ERC20.sol';

Support

Donate Some Ether to the Developer.

Ethereum Address : 0x39886D0BFccc74D8CCb21c44534a41eC626620b3

erc20-token-fixed-supply's People

Contributors

hamzayasin1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

erc20-token-fixed-supply's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.