ETH Price: $2,508.39 (-5.20%)

Token

InfluWay (IWAY)
 

Overview

Max Total Supply

10,000,000,000 IWAY

Holders

1,921

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
500 IWAY

Value
$0.00
0x93ed41743f151bf8f1d46e23f65605da45388fff
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A decentralized social e-commerce platform for Influencers, Companies & Consumers

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
IWAY

Compiler Version
v0.5.2+commit.1df8f40c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-12-25
*/

pragma solidity ^0.5.2;

interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

contract Owned {
    address public owner;
    address public newOwner;
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
    function transferOwnership(address _newOwner) public onlyOwner {
        newOwner = _newOwner;
    }
    function acceptOwnership() public {
        require(msg.sender == newOwner);
        owner = newOwner;
    }
}

contract IWAY is IERC20, Owned {
    using SafeMath for uint256;
    
    // Constructor - Sets the token Owner
    constructor() public {
        owner = 0x95cc7e685De21Fd004778A241EcC3DEEE93321f7;
        _balances[0x95cc7e685De21Fd004778A241EcC3DEEE93321f7] = supply;
        emit Transfer(address(0), owner, supply);
    }
    
    // Token Setup
    string public constant name = "InfluWay";
    string public constant symbol = "IWAY";
    uint256 public constant decimals = 8;
    uint256 public supply = 1500000000 * 10 ** decimals;
    
    // Balances for each account
    mapping(address => uint256) _balances;
 
    // Owner of account approves the transfer of an amount to another account
    mapping(address => mapping (address => uint256)) public _allowed;
 
    // Get the total supply of tokens
    function totalSupply() public view returns (uint) {
        return supply;
    }
 
    // Get the token balance for account `tokenOwner`
    function balanceOf(address tokenOwner) public view returns (uint balance) {
        return _balances[tokenOwner];
    }
 
    // Get the allowance of funds beteen a token holder and a spender
    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {
        return _allowed[tokenOwner][spender];
    }
 
    // Transfer the balance from owner's account to another account
    function transfer(address to, uint value) public returns (bool success) {
        require(_balances[msg.sender] >= value);
        require(to != address(this));
        _balances[msg.sender] = _balances[msg.sender].sub(value);
        _balances[to] = _balances[to].add(value);
        emit Transfer(msg.sender, to, value);
        return true;
    }
    
    // Sets how much a sender is allowed to use of an owners funds
    function approve(address spender, uint value) public returns (bool success) {
        _allowed[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }
    
    // Transfer from function, pulls from allowance
    function transferFrom(address from, address to, uint value) public returns (bool success) {
        require(to != address(this));
        require(value <= balanceOf(from));
        require(value <= allowance(from, to));
        _balances[from] = _balances[from].sub(value);
        _balances[to] = _balances[to].add(value);
        _allowed[from][to] = _allowed[from][to].sub(value);
        emit Transfer(from, to, value);
        return true;
    }
    
    // No acidental ETH transfers to the contract.
    function () external payable {
        revert();
    }
    
    // Mint
    function mint(address to, uint256 value) public onlyOwner {
        _balances[to] = _balances[to].add(value);
        supply = supply.add(value);
        emit Transfer(address(0), to, value);
    }
    
    // Burn
    function burn(address from, uint256 value) public onlyOwner {
        require(_balances[from] <= value);
        _balances[from] = _balances[from].sub(value);
        supply = supply.sub(value);
        emit Transfer(from, address(0), value);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"supply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"_allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

6080604052670214e8348c4f000060025534801561001c57600080fd5b5060008054600160a060020a0319167395cc7e685de21fd004778a241ecc3deee93321f7908117808355600254918352600360209081527fbdacdb19f8fc932017fa5c4b12caec14758c96ccfecf9d113e04655d4d31be778390556040805193845251600160a060020a039290921693927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3610a6a806100c76000396000f3fe60806040526004361061011b576000357c01000000000000000000000000000000000000000000000000000000009004806379ba5097116100b2578063a9059cbb11610081578063a9059cbb1461038d578063ba0fb861146103c6578063d4ee1d9014610401578063dd62ed3e14610416578063f2fde38b146104515761011b565b806379ba5097146102f95780638da5cb5b1461030e57806395d89b411461033f5780639dc29fac146103545761011b565b806323b872dd116100ee57806323b872dd14610233578063313ce5671461027657806340c10f191461028b57806370a08231146102c65761011b565b8063047fc9aa1461012057806306fdde0314610147578063095ea7b3146101d157806318160ddd1461021e575b600080fd5b34801561012c57600080fd5b50610135610484565b60408051918252519081900360200190f35b34801561015357600080fd5b5061015c61048a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019657818101518382015260200161017e565b50505050905090810190601f1680156101c35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101dd57600080fd5b5061020a600480360360408110156101f457600080fd5b50600160a060020a0381351690602001356104c1565b604080519115158252519081900360200190f35b34801561022a57600080fd5b50610135610527565b34801561023f57600080fd5b5061020a6004803603606081101561025657600080fd5b50600160a060020a0381358116916020810135909116906040013561052d565b34801561028257600080fd5b5061013561066c565b34801561029757600080fd5b506102c4600480360360408110156102ae57600080fd5b50600160a060020a038135169060200135610671565b005b3480156102d257600080fd5b50610135600480360360208110156102e957600080fd5b5035600160a060020a0316610713565b34801561030557600080fd5b506102c461072e565b34801561031a57600080fd5b50610323610776565b60408051600160a060020a039092168252519081900360200190f35b34801561034b57600080fd5b5061015c610785565b34801561036057600080fd5b506102c46004803603604081101561037757600080fd5b50600160a060020a0381351690602001356107bc565b34801561039957600080fd5b5061020a600480360360408110156103b057600080fd5b50600160a060020a038135169060200135610883565b3480156103d257600080fd5b50610135600480360360408110156103e957600080fd5b50600160a060020a0381358116916020013516610953565b34801561040d57600080fd5b50610323610970565b34801561042257600080fd5b506101356004803603604081101561043957600080fd5b50600160a060020a038135811691602001351661097f565b34801561045d57600080fd5b506102c46004803603602081101561047457600080fd5b5035600160a060020a03166109aa565b60025481565b60408051808201909152600881527f496e666c75576179000000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831630141561054557600080fd5b61054e84610713565b82111561055a57600080fd5b610564848461097f565b82111561057057600080fd5b600160a060020a038416600090815260036020526040902054610599908363ffffffff6109f016565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105ce908363ffffffff610a0516565b600160a060020a0380851660008181526003602090815260408083209590955592881681526004835283812091815291522054610611908363ffffffff6109f016565b600160a060020a03808616600081815260046020908152604080832094891680845294825291829020949094558051868152905192939192600080516020610a1f833981519152929181900390910190a35060019392505050565b600881565b600054600160a060020a0316331461068857600080fd5b600160a060020a0382166000908152600360205260409020546106b1908263ffffffff610a0516565b600160a060020a0383166000908152600360205260409020556002546106dd908263ffffffff610a0516565b600255604080518281529051600160a060020a03841691600091600080516020610a1f8339815191529181900360200190a35050565b600160a060020a031660009081526003602052604090205490565b600154600160a060020a0316331461074557600080fd5b6001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600054600160a060020a031681565b60408051808201909152600481527f4957415900000000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a031633146107d357600080fd5b600160a060020a0382166000908152600360205260409020548110156107f857600080fd5b600160a060020a038216600090815260036020526040902054610821908263ffffffff6109f016565b600160a060020a03831660009081526003602052604090205560025461084d908263ffffffff6109f016565b600255604080518281529051600091600160a060020a03851691600080516020610a1f8339815191529181900360200190a35050565b3360009081526003602052604081205482111561089f57600080fd5b600160a060020a0383163014156108b557600080fd5b336000908152600360205260409020546108d5908363ffffffff6109f016565b3360009081526003602052604080822092909255600160a060020a03851681522054610907908363ffffffff610a0516565b600160a060020a038416600081815260036020908152604091829020939093558051858152905191923392600080516020610a1f8339815191529281900390910190a350600192915050565b600460209081526000928352604080842090915290825290205481565b600154600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600054600160a060020a031633146109c157600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109ff57600080fd5b50900390565b600082820183811015610a1757600080fd5b939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582093a58580630c6a86ad50da38ddd24d6d38bffd85787461d75ea7c682127843350029

Deployed Bytecode

0x60806040526004361061011b576000357c01000000000000000000000000000000000000000000000000000000009004806379ba5097116100b2578063a9059cbb11610081578063a9059cbb1461038d578063ba0fb861146103c6578063d4ee1d9014610401578063dd62ed3e14610416578063f2fde38b146104515761011b565b806379ba5097146102f95780638da5cb5b1461030e57806395d89b411461033f5780639dc29fac146103545761011b565b806323b872dd116100ee57806323b872dd14610233578063313ce5671461027657806340c10f191461028b57806370a08231146102c65761011b565b8063047fc9aa1461012057806306fdde0314610147578063095ea7b3146101d157806318160ddd1461021e575b600080fd5b34801561012c57600080fd5b50610135610484565b60408051918252519081900360200190f35b34801561015357600080fd5b5061015c61048a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019657818101518382015260200161017e565b50505050905090810190601f1680156101c35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101dd57600080fd5b5061020a600480360360408110156101f457600080fd5b50600160a060020a0381351690602001356104c1565b604080519115158252519081900360200190f35b34801561022a57600080fd5b50610135610527565b34801561023f57600080fd5b5061020a6004803603606081101561025657600080fd5b50600160a060020a0381358116916020810135909116906040013561052d565b34801561028257600080fd5b5061013561066c565b34801561029757600080fd5b506102c4600480360360408110156102ae57600080fd5b50600160a060020a038135169060200135610671565b005b3480156102d257600080fd5b50610135600480360360208110156102e957600080fd5b5035600160a060020a0316610713565b34801561030557600080fd5b506102c461072e565b34801561031a57600080fd5b50610323610776565b60408051600160a060020a039092168252519081900360200190f35b34801561034b57600080fd5b5061015c610785565b34801561036057600080fd5b506102c46004803603604081101561037757600080fd5b50600160a060020a0381351690602001356107bc565b34801561039957600080fd5b5061020a600480360360408110156103b057600080fd5b50600160a060020a038135169060200135610883565b3480156103d257600080fd5b50610135600480360360408110156103e957600080fd5b50600160a060020a0381358116916020013516610953565b34801561040d57600080fd5b50610323610970565b34801561042257600080fd5b506101356004803603604081101561043957600080fd5b50600160a060020a038135811691602001351661097f565b34801561045d57600080fd5b506102c46004803603602081101561047457600080fd5b5035600160a060020a03166109aa565b60025481565b60408051808201909152600881527f496e666c75576179000000000000000000000000000000000000000000000000602082015281565b336000818152600460209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831630141561054557600080fd5b61054e84610713565b82111561055a57600080fd5b610564848461097f565b82111561057057600080fd5b600160a060020a038416600090815260036020526040902054610599908363ffffffff6109f016565b600160a060020a0380861660009081526003602052604080822093909355908516815220546105ce908363ffffffff610a0516565b600160a060020a0380851660008181526003602090815260408083209590955592881681526004835283812091815291522054610611908363ffffffff6109f016565b600160a060020a03808616600081815260046020908152604080832094891680845294825291829020949094558051868152905192939192600080516020610a1f833981519152929181900390910190a35060019392505050565b600881565b600054600160a060020a0316331461068857600080fd5b600160a060020a0382166000908152600360205260409020546106b1908263ffffffff610a0516565b600160a060020a0383166000908152600360205260409020556002546106dd908263ffffffff610a0516565b600255604080518281529051600160a060020a03841691600091600080516020610a1f8339815191529181900360200190a35050565b600160a060020a031660009081526003602052604090205490565b600154600160a060020a0316331461074557600080fd5b6001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600054600160a060020a031681565b60408051808201909152600481527f4957415900000000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a031633146107d357600080fd5b600160a060020a0382166000908152600360205260409020548110156107f857600080fd5b600160a060020a038216600090815260036020526040902054610821908263ffffffff6109f016565b600160a060020a03831660009081526003602052604090205560025461084d908263ffffffff6109f016565b600255604080518281529051600091600160a060020a03851691600080516020610a1f8339815191529181900360200190a35050565b3360009081526003602052604081205482111561089f57600080fd5b600160a060020a0383163014156108b557600080fd5b336000908152600360205260409020546108d5908363ffffffff6109f016565b3360009081526003602052604080822092909255600160a060020a03851681522054610907908363ffffffff610a0516565b600160a060020a038416600081815260036020908152604091829020939093558051858152905191923392600080516020610a1f8339815191529281900390910190a350600192915050565b600460209081526000928352604080842090915290825290205481565b600154600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600054600160a060020a031633146109c157600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000828211156109ff57600080fd5b50900390565b600082820183811015610a1757600080fd5b939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582093a58580630c6a86ad50da38ddd24d6d38bffd85787461d75ea7c682127843350029

Swarm Source

bzzr://93a58580630c6a86ad50da38ddd24d6d38bffd85787461d75ea7c68212784335
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.