Contract 0x117a4db782f29598d9627a57be5ed331f6aa446c

 
Ad
Crypto.com
Txn Hash Method
Block
From
To
Value
0x3093040f01cbe28cac80909806b485dc9abecd68aaebf7cf0378e1eb5ccc70caTransfer53677792018-04-02 15:36:401131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001110153
0x623fb225f5ffb575fdc2c3688319d2d83f3a135673d23e01aa295eafa959bd2cTransfer53677732018-04-02 15:34:541131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001560153
0xf14004e3bc44e8d5b964601a30526a0a881120fec2a8f293bcda6ef4fa280224Transfer53677672018-04-02 15:33:351131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001560153
0x40d00ade62b499cd66535a5aa39babf12f1c52b4a0194c817c7c61b34e3b09a2Transfer53677662018-04-02 15:33:201131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0002603455
0x3bc056f8ec0f4536e67a17bcb22f78f8700127cc2ad784031b0d0c99181412e4Transfer53677542018-04-02 15:30:321131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001560153
0x7ce521ce26a1f0b8bf03fb1f8d8749c225d4d3ad95b776278d4e325863c70873Transfer53677522018-04-02 15:30:171131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001562073
0xd6e6b03ea3b1d402e288b4af7acf40cb05c370adb55f07cdf763b7450b556c07Transfer53677482018-04-02 15:29:491131 days 22 hrs ago0xd4ff4eb15308ea72914d243a7b141a5ef1df40dd IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0001562073
0xd65091949006ee680b20fd84c94711046d321f48610734374cdb5b8da8d6b3afTransfer46395362017-11-28 19:33:031256 days 18 hrs ago0x301f361c78b38e39c5a367e54666bd70f4cdaef4 IN  0x117a4db782f29598d9627a57be5ed331f6aa446c0 Ether0.0003700510
0x1b2a50b513ee0c1fa36843a75fe754ea11684da2d8e805228d6031f36aee2bb50x6060604046394342017-11-28 19:10:101256 days 19 hrs ago0x301f361c78b38e39c5a367e54666bd70f4cdaef4 IN  Contract Creation0 Ether0.019159220
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BFDToken

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-11-28
*/

pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BTRIC Founding Donor' token contract
//
// Issuer       Blockchain Technology Research Innovations Corporation
// Website      https://www.btric.org
// Symbol       BFD
// Name         BTRIC Founding Donor Token
// Total supply 500000
// Decimals     8
//
// License      MIT
// 
// ----------------------------------------------------------------------------

// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws 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;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Ownable {
  address public owner;

  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

// ----------------------------------------------------------------------------
// ERC20Basic
// ----------------------------------------------------------------------------
contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

// ----------------------------------------------------------------------------
// BasicToken
// ----------------------------------------------------------------------------
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }
}

// ----------------------------------------------------------------------------
// ERC20
// ----------------------------------------------------------------------------
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

// ----------------------------------------------------------------------------
// StandardToken
// ----------------------------------------------------------------------------
contract StandardToken is ERC20, BasicToken {
  mapping (address => mapping (address => uint256)) internal allowed;

  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  /**
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }
}

// ----------------------------------------------------------------------------
// BFDToken
// ----------------------------------------------------------------------------
contract BFDToken is StandardToken, Ownable {
  string public name = "BTRIC Founding Donor Token"; 
  string public symbol = "BFD";
  uint public decimals = 8;
  uint public INITIAL_SUPPLY = 500000 * (10 ** decimals);

  function BFDToken() public {
    totalSupply = INITIAL_SUPPLY;
    balances[msg.sender] = INITIAL_SUPPLY;
  }

  /**
   * @dev Revert ETH
   */
  function () public payable {
    revert();
  }

  /**
   * @dev Function to allow owner to transfer out accidentally sent ERC20 tokens
   * @param tokenAddress The address of the ERC token
   * @param tokens The amount of tokens to transfer
   */
  function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {
    return ERC20(tokenAddress).transfer(owner, tokens);
  }
}

Contract Security Audit

Contract ABI

[{"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":"","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","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":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"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"}]

606060405260408051908101604052601a81527f425452494320466f756e64696e6720446f6e6f7220546f6b656e0000000000006020820152600490805161004b9291602001906100e7565b5060408051908101604052600381527f4246440000000000000000000000000000000000000000000000000000000000602082015260059080516100939291602001906100e7565b506008600655652d79883d200060075534156100ae57600080fd5b60038054600160a060020a03191633600160a060020a031690811790915560075460008181559182526001602052604090912055610182565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012857805160ff1916838001178555610155565b82800160010185558215610155579182015b8281111561015557825182559160200191906001019061013a565b50610161929150610165565b5090565b61017f91905b80821115610161576000815560010161016b565b90565b610ae2806101916000396000f3006060604052600436106100da5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100df578063095ea7b31461016957806318160ddd1461019f57806323b872dd146101c45780632ff2e9dc146101ec578063313ce567146101ff578063661884631461021257806370a08231146102345780638da5cb5b1461025357806395d89b4114610282578063a9059cbb14610295578063d73dd623146102b7578063dc39d06d146102d9578063dd62ed3e146102fb578063f2fde38b14610320575b600080fd5b34156100ea57600080fd5b6100f2610341565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012e578082015183820152602001610116565b50505050905090810190601f16801561015b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017457600080fd5b61018b600160a060020a03600435166024356103df565b604051901515815260200160405180910390f35b34156101aa57600080fd5b6101b261044b565b60405190815260200160405180910390f35b34156101cf57600080fd5b61018b600160a060020a0360043581169060243516604435610451565b34156101f757600080fd5b6101b26105d3565b341561020a57600080fd5b6101b26105d9565b341561021d57600080fd5b61018b600160a060020a03600435166024356105df565b341561023f57600080fd5b6101b2600160a060020a03600435166106d9565b341561025e57600080fd5b6102666106f4565b604051600160a060020a03909116815260200160405180910390f35b341561028d57600080fd5b6100f2610703565b34156102a057600080fd5b61018b600160a060020a036004351660243561076e565b34156102c257600080fd5b61018b600160a060020a0360043516602435610869565b34156102e457600080fd5b61018b600160a060020a036004351660243561090d565b341561030657600080fd5b6101b2600160a060020a03600435811690602435166109c8565b341561032b57600080fd5b61033f600160a060020a03600435166109f3565b005b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103d75780601f106103ac576101008083540402835291602001916103d7565b820191906000526020600020905b8154815290600101906020018083116103ba57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000600160a060020a038316151561046857600080fd5b600160a060020a03841660009081526001602052604090205482111561048d57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156104c057600080fd5b600160a060020a0384166000908152600160205260409020546104e9908363ffffffff610a8e16565b600160a060020a03808616600090815260016020526040808220939093559085168152205461051e908363ffffffff610aa016565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610566908363ffffffff610a8e16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60075481565b60065481565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561063c57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610673565b61064c818463ffffffff610a8e16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103d75780601f106103ac576101008083540402835291602001916103d7565b6000600160a060020a038316151561078557600080fd5b600160a060020a0333166000908152600160205260409020548211156107aa57600080fd5b600160a060020a0333166000908152600160205260409020546107d3908363ffffffff610a8e16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610808908363ffffffff610aa016565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120546108a1908363ffffffff610aa016565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b60035460009033600160a060020a0390811691161461092b57600080fd5b600354600160a060020a038085169163a9059cbb9116846000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156109a757600080fd5b6102c65a03f115156109b857600080fd5b5050506040518051949350505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610a0e57600080fd5b600160a060020a0381161515610a2357600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610a9a57fe5b50900390565b600082820183811015610aaf57fe5b93925050505600a165627a7a72305820abc5a71f29ff2e9d2c472d9c5bf3437958add1ff8f3970b0af59364b7d020bb20029

Swarm Source

bzzr://abc5a71f29ff2e9d2c472d9c5bf3437958add1ff8f3970b0af59364b7d020bb2
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.