Sponsored:   Color - Revolutionizing the Dapp Ecosystem, Bounty & Airdrop, Get 240,000 COL NOW!
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 515 txns
Token Tracker: Digital Fantasy Sports (DFS)
 Latest 25 txns from a total Of 515 transactions
(+12 PendingTxns)

TxHash Age From To Value [TxFee]
0x877bd6ecfc86dc7fbbc29bedcb6ca934c0e2ae7cf58937bc6e725396053711ec(pending)0x1906e35eec451256fc5da5c63a8b926213095964  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0x4c6575219057cb2613d477a5b4c795d22b28d157b875abcc46012e01331dc81f(pending)0x3c34169effe7d8e238ba68bbdb3244290f914676  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xec28299d23750b45c6208d206693f6dd9bfd89ed083b33339d74d14c7c198878(pending)0xd42cb0c91d367edac1381640bb1e7352b245488b  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xb2cbbfac1d26aa7b1b76ecedb85469bb3b094d5c355a38851396b3ded55446ca(pending)0x4b2fc143f04b27593efb58c064d79a725df66730  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0x542c213ecc5f7f2411d4255087ec8bcaa25d722cfdaf3f48d86ce53fd1960b3c(pending)0x4b2fc143f04b27593efb58c064d79a725df66730  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xe7cdc762e7c5dfd93587d3bfb55ffe844faaceb1d88a6e7151090513ec6ef2ef(pending)0x4b2fc143f04b27593efb58c064d79a725df66730  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0x547b92a9fcfc6d1c3368ac90faa3a2e3cb8c24fa0e00212fea250ea6f597097f(pending)0x4b2fc143f04b27593efb58c064d79a725df66730  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0x490cb542524dd3bd4e5439060d3bf6c89e4d0d1c8b112dc8a6179930d5395cf0(pending)0x09f7473cf8818e31802f84a83c483dd5d20ac7cc  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xe1cf8d7219bc1966771a9f05c0d5379fa5903dd9a65e41911a63b70a639b881d(pending)0xa361b7dd6b8ff8a95f77f7b2456f2782f14d3b8a  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0x4945ecc39e8bc719fcdde49df1c0d2f847873d56280f77226614e7f7230ecf1c(pending)0x45c9b3e83b6ae9241e33df912cc12a5e9331440c  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xadc560aa3e8b8b986647e908d6249fcb3b981105ca8338f1536f91bc20fde929(pending)0x53796383485d9b5539c4c3b8d3c4c78938bf3ccf  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xbc36c1bcfa7f3ebc10d20524215b7a1acd3e228dc21035bfb1074b5693d96aeb(pending)0xd8ee8dfbdf7e8b1ee6e690790d60ac6e267992d3  IN  0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether(pending)
0xca70ba1a7ef0c1c7e1423afac42e50bca57f711d08cd86c49c484f80a7b02e8010 mins ago0x1f55636b42995f3faf0b2786a54913d7b542c67a  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00018996
0x4ad32dbd6200482fa33ade954ed3df36519e1dcca2bfbde2ac8d5c6521d1ac3b32 mins ago0xc5b5cb1fc6300cf327ac1531933925222182cd4b  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00011496
0x9b50301cbb578dbd622389719c50ac381be58c52b34c8283075b4ae52f558f7036 mins ago0xf7a55b36b90f95ef1c27fe9fa9c369cd7708bd34  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00037992
0x2bae593a0d4515ba5700b60ea116c7b4fb6b82da125cacd08aa3ab846a23185446 mins ago0xacc1ba153a072b2850aee0db6d91c6dd3587b9cd  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00018996
0xfad5b37ff25ead5dd1bc1d81297c733583c4ff74dafcaf2ec35181197061515448 mins ago0xf7a55b36b90f95ef1c27fe9fa9c369cd7708bd34  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00023648
0x0d51776e07d2b866f8dfd23456ec78b63ab3f1e5b5eb930ddc636be64bee29a61 hr 20 mins ago0x8460b752d49de926c8c623b4a836eb7bd402930c  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00045696
0x64ea5a4118804f2ce50dc72236bd276c49a65cce1a5696ed648276db6e83aaea1 hr 28 mins ago0xdadbb833990b96db1fd1615930b02963df8ec7ce  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.0001466176
0xca3f690857658b28f3ddda38f8c1d4e48702367df9084683f905cd7350ed8ebe1 hr 39 mins ago0x5c04798ad58b682a565ed77a67ef4fe0db444732  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.000068976
0x87b9fdb638b09184b9f317844fa3eecffa032af2bfc3d7c912ceddc278ee91d61 hr 45 mins ago0xeefeadc04b5b09519505a2ed87afe4fedab1c724  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.000417912
0x474c51c9a16088cd8bc01fc1f00eb1234b0d957b607ddb06802a8579a6c26b531 hr 52 mins ago0xe8b48bca5afa3ea54e6a9aaccc2f78f76fbbc7c2  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.000151968
0x2cc752c02c127c439bb5cb7a85600966f8a1ec99335a5218c19d27e6b49a5b9d2 hrs 1 min ago0x9719438623b8f33794bf105b3ef8f232144782b5  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00018996
0x7d25345ba91acb071ec0f8bad38274457a299404391e46bd95e8f92498aa02932 hrs 5 mins ago0x4987ec0b69fe1d437a85fc4d62688eaa30d565f2  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.00018964
0xdbfbc09c3bf195934a3add847a57e2ba3fa7f8e45981fee21c2e2628116b5e383 hrs 9 mins ago0x3b943b519aac96009175dbcbc001af9e852e8569  IN   0x45ed02e374aef2e4b34c04e86ad9d45891d107510 Ether0.000151968
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0x01d98c5813cb69f11ec3a04c4ca4fc55bb25d5871d0397103cd6b0f1ec860f465134445173 days 1 hr ago0x233e08558dc81fde31e8ca8d25ca69576ad9ac11  Contract Creation0 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: DFSToken
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

/**
 * Digital Fantasy Sports is a digital sports platform that brings this concept of playing fantasy sports 
 * while using cryptocurrencies to extraordinary fantasy players. It has created an ER20 token called 
 * DFS that provides a simple secure interface between the players and the league action that they 
 * love featuring multiple gaming sport platforms that use DFS as in-game currency.
 *
 * Website: https://www.digitalfantasysports.com/
 * Twitter: https://twitter.com/dfstoken
 * Reddit: https://www.reddit.com/r/dfstoken 
 * Discord: https://discordapp.com/channels/397817936884269057/397817937731387403
 * Bitcoin Talk: https://bitcointalk.org/index.php?topic=2223626.0
 */

// ==== Open Zeppelin library ===

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  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);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
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);
}

/**
   @title ERC827 interface, an extension of ERC20 token standard

   Interface of a ERC827 token, following the ERC20 standard with extra
   methods to transfer value and data and execute calls in transfers and
   approvals.
 */
contract ERC827 is ERC20 {

  function approve( address _spender, uint256 _value, bytes _data ) public returns (bool);
  function transfer( address _to, uint256 _value, bytes _data ) public returns (bool);
  function transferFrom( address _from, address _to, uint256 _value, bytes _data ) public returns (bool);

}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
  function safeTransfer(ERC20Basic token, address to, uint256 value) internal {
    assert(token.transfer(to, value));
  }

  function safeTransferFrom(ERC20 token, address from, address to, uint256 value) internal {
    assert(token.transferFrom(from, to, value));
  }

  function safeApprove(ERC20 token, address spender, uint256 value) internal {
    assert(token.approve(spender, value));
  }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
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;
  }
}


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
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;
  }

}

/**
 * @title Contracts that should not own Ether
 * @author Remco Bloemen <[email protected]π.com>
 * @dev This tries to block incoming ether to prevent accidental loss of Ether. Should Ether end up
 * in the contract, it will allow the owner to reclaim this ether.
 * @notice Ether can still be send to this contract by:
 * calling functions labeled `payable`
 * `selfdestruct(contract_address)`
 * mining directly to the contract address
*/
contract HasNoEther is Ownable {

  /**
  * @dev Constructor that rejects incoming Ether
  * @dev The `payable` flag is added so we can access `msg.value` without compiler warning. If we
  * leave out payable, then Solidity will allow inheriting contracts to implement a payable
  * constructor. By doing it this way we prevent a payable constructor from working. Alternatively
  * we could use assembly to access msg.value.
  */
  function HasNoEther() public payable {
    require(msg.value == 0);
  }

  /**
   * @dev Disallows direct send by settings a default function without the `payable` flag.
   */
  function() external {
  }

  /**
   * @dev Transfer all Ether held by the contract to the owner.
   */
  function reclaimEther() external onlyOwner {
    assert(owner.send(this.balance));
  }
}

/**
 * @title Contracts that should not own Contracts
 * @author Remco Bloemen <[email protected]π.com>
 * @dev Should contracts (anything Ownable) end up being owned by this contract, it allows the owner
 * of this contract to reclaim ownership of the contracts.
 */
contract HasNoContracts is Ownable {

  /**
   * @dev Reclaim ownership of Ownable contracts
   * @param contractAddr The address of the Ownable to be reclaimed.
   */
  function reclaimContract(address contractAddr) external onlyOwner {
    Ownable contractInst = Ownable(contractAddr);
    contractInst.transferOwnership(owner);
  }
}

/**
 * @title Contracts that should be able to recover tokens
 * @author SylTi
 * @dev This allow a contract to recover any ERC20 token received in a contract by transferring the balance to the contract owner.
 * This will prevent any accidental loss of tokens.
 */
contract CanReclaimToken is Ownable {
  using SafeERC20 for ERC20Basic;

  /**
   * @dev Reclaim all ERC20Basic compatible tokens
   * @param token ERC20Basic The address of the token contract
   */
  function reclaimToken(ERC20Basic token) external onlyOwner {
    uint256 balance = token.balanceOf(this);
    token.safeTransfer(owner, balance);
  }

}

/**
 * @title Contracts that should not own Tokens
 * @author Remco Bloemen <[email protected]π.com>
 * @dev This blocks incoming ERC23 tokens to prevent accidental loss of tokens.
 * Should tokens (any ERC20Basic compatible) end up in the contract, it allows the
 * owner to reclaim the tokens.
 */
contract HasNoTokens is CanReclaimToken {

 /**
  * @dev Reject all ERC23 compatible tokens
  * @param from_ address The address that is transferring the tokens
  * @param value_ uint256 the amount of the specified token
  * @param data_ Bytes The data passed from the caller.
  */
  function tokenFallback(address from_, uint256 value_, bytes data_) pure external {
    from_;
    value_;
    data_;
    revert();
  }

}

/**
 * @title Base contract for contracts that should not own things.
 * @author Remco Bloemen <[email protected]π.com>
 * @dev Solves a class of errors where a contract accidentally becomes owner of Ether, Tokens or
 * Owned contracts. See respective base contracts for details.
 */
contract NoOwner is HasNoEther, HasNoTokens, HasNoContracts {
}

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  uint256 totalSupply_;

  /**
  * @dev total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }

  /**
  * @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];
  }

}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
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];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a 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
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  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;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  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;
  }

}

/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */
contract MintableToken is StandardToken, Ownable {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;


  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  /**
   * @dev Function to mint tokens
   * @param _to The address that will receive the minted tokens.
   * @param _amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
    totalSupply_ = totalSupply_.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    Transfer(address(0), _to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner canMint public returns (bool) {
    mintingFinished = true;
    MintFinished();
    return true;
  }
}

/**
   @title ERC827, an extension of ERC20 token standard

   Implementation the ERC827, following the ERC20 standard with extra
   methods to transfer value and data and execute calls in transfers and
   approvals.
   Uses OpenZeppelin StandardToken.
 */
contract ERC827Token is ERC827, StandardToken {

  /**
     @dev Addition to ERC20 token methods. It allows to
     approve the transfer of value and execute a call with the sent data.

     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 that will spend the funds.
     @param _value The amount of tokens to be spent.
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function approve(address _spender, uint256 _value, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.approve(_spender, _value);

    require(_spender.call(_data));

    return true;
  }

  /**
     @dev Addition to ERC20 token methods. Transfer tokens to a specified
     address and execute a call with the sent data on the same transaction

     @param _to address The address which you want to transfer to
     @param _value uint256 the amout of tokens to be transfered
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function transfer(address _to, uint256 _value, bytes _data) public returns (bool) {
    require(_to != address(this));

    super.transfer(_to, _value);

    require(_to.call(_data));
    return true;
  }

  /**
     @dev Addition to ERC20 token methods. Transfer tokens from one address to
     another and make a contract call on the same transaction

     @param _from The address which you want to send tokens from
     @param _to The address which you want to transfer to
     @param _value The amout of tokens to be transferred
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function transferFrom(address _from, address _to, uint256 _value, bytes _data) public returns (bool) {
    require(_to != address(this));

    super.transferFrom(_from, _to, _value);

    require(_to.call(_data));
    return true;
  }

  /**
   * @dev Addition to StandardToken methods. Increase the amount of tokens that
   * an owner allowed to a spender and execute a call with the sent data.
   *
   * 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
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   * @param _data ABI-encoded contract call to call `_spender` address.
   */
  function increaseApproval(address _spender, uint _addedValue, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.increaseApproval(_spender, _addedValue);

    require(_spender.call(_data));

    return true;
  }

  /**
   * @dev Addition to StandardToken methods. Decrease the amount of tokens that
   * an owner allowed to a spender and execute a call with the sent data.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   * @param _data ABI-encoded contract call to call `_spender` address.
   */
  function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.decreaseApproval(_spender, _subtractedValue);

    require(_spender.call(_data));

    return true;
  }

}

// ==== DFS Contracts ===

contract DFSToken is MintableToken, ERC827Token, NoOwner {
    string public symbol = 'DFS';
    string public name = 'Digital Fantasy Sports';
    uint8 public constant decimals = 18;

    bool public transferEnabled;    //allows to dissable transfers while minting and in case of emergency

    function setTransferEnabled(bool enable) onlyOwner public {
        transferEnabled = enable;
    }
    modifier canTransfer() {
        require( transferEnabled || msg.sender == owner);
        _;
    }
    
    function transfer(address _to, uint256 _value) canTransfer public returns (bool) {
        return super.transfer(_to, _value);
    }
    function transferFrom(address _from, address _to, uint256 _value) canTransfer public returns (bool) {
        return super.transferFrom(_from, _to, _value);
    }
    function transfer(address _to, uint256 _value, bytes _data) canTransfer public returns (bool) {
        return super.transfer(_to, _value, _data);
    }
    function transferFrom(address _from, address _to, uint256 _value, bytes _data) canTransfer public returns (bool) {
        return super.transferFrom(_from, _to, _value, _data);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"reclaimToken","outputs":[],"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":false,"inputs":[{"name":"contractAddr","type":"address"}],"name":"reclaimContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transferEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"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":"reclaimEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"enable","type":"bool"}],"name":"setTransferEnabled","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"from_","type":"address"},{"name":"value_","type":"uint256"},{"name":"data_","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"stateMutability":"pure","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":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"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"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"}]

  Contract Creation Code Switch To Opcodes View
606060409081526003805460a060020a60ff02191690558051908101604052600381527f4446530000000000000000000000000000000000000000000000000000000000602082015260049080516200005d929160200190620000d5565b5060408051908101604052601681527f4469676974616c2046616e746173792053706f7274730000000000000000000060208201526005908051620000a7929160200190620000d5565b5060038054600160a060020a03191633600160a060020a03161790553415620000cf57600080fd5b6200017a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011857805160ff191683800117855562000148565b8280016001018555821562000148579182015b82811115620001485782518255916020019190600101906200012b565b50620001569291506200015a565b5090565b6200017791905b8082111562000156576000815560010162000161565b90565b611470806200018a6000396000f3006060604052600436106101455763ffffffff60e060020a60003504166305d2035b811461015257806306fdde0314610179578063095ea7b31461020357806316ca3b631461022557806317ffc3201461028a57806318160ddd146102a957806323b872dd146102ce5780632aed7f3f146102f6578063313ce5671461031557806340c10f191461033e5780634cd412d5146103605780635c17f9f41461037357806366188463146103d857806370a08231146103fa5780637272ad49146104195780637d64bcb41461047e5780638da5cb5b1461049157806395d89b41146104c05780639f727c27146104d35780639fe9f623146104e6578063a9059cbb146104fe578063ab67aa5814610520578063be45fd621461058c578063c0ee0b8a146105f1578063d73dd62314610620578063dd62ed3e14610642578063f2fde38b14610667575b341561015057600080fd5b005b341561015d57600080fd5b610165610686565b604051901515815260200160405180910390f35b341561018457600080fd5b61018c610696565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c85780820151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020e57600080fd5b610165600160a060020a0360043516602435610734565b341561023057600080fd5b61016560048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506107a095505050505050565b341561029557600080fd5b610150600160a060020a036004351661085e565b34156102b457600080fd5b6102bc610914565b60405190815260200160405180910390f35b34156102d957600080fd5b610165600160a060020a036004358116906024351660443561091a565b341561030157600080fd5b610150600160a060020a036004351661095a565b341561032057600080fd5b6103286109e7565b60405160ff909116815260200160405180910390f35b341561034957600080fd5b610165600160a060020a03600435166024356109ec565b341561036b57600080fd5b610165610afa565b341561037e57600080fd5b61016560048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b0395505050505050565b34156103e357600080fd5b610165600160a060020a0360043516602435610b30565b341561040557600080fd5b6102bc600160a060020a0360043516610c2a565b341561042457600080fd5b61016560048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610c4595505050505050565b341561048957600080fd5b610165610c72565b341561049c57600080fd5b6104a4610cfd565b604051600160a060020a03909116815260200160405180910390f35b34156104cb57600080fd5b61018c610d0c565b34156104de57600080fd5b610150610d77565b34156104f157600080fd5b6101506004351515610dca565b341561050957600080fd5b610165600160a060020a0360043516602435610df8565b341561052b57600080fd5b610165600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e3695505050505050565b341561059757600080fd5b61016560048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e7895505050505050565b34156105fc57600080fd5b61015060048035600160a060020a0316906024803591604435918201910135610eb0565b341561062b57600080fd5b610165600160a060020a0360043516602435610eb5565b341561064d57600080fd5b6102bc600160a060020a0360043581169060243516610f59565b341561067257600080fd5b610150600160a060020a0360043516610f84565b60035460a060020a900460ff1681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561072c5780601f106107015761010080835404028352916020019161072c565b820191906000526020600020905b81548152906001019060200180831161070f57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a0316141515156107c357600080fd5b6107cd8484610eb5565b5083600160a060020a03168260405180828051906020019080838360005b838110156108035780820151838201526020016107eb565b50505050905090810190601f1680156108305780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f1915050151561085457600080fd5b5060019392505050565b60035460009033600160a060020a0390811691161461087c57600080fd5b81600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108d357600080fd5b6102c65a03f115156108e457600080fd5b50505060405180516003549092506109109150600160a060020a0384811691168363ffffffff61101f16565b5050565b60015490565b60065460009060ff168061093c575060035433600160a060020a039081169116145b151561094757600080fd5b6109528484846110a4565b949350505050565b60035460009033600160a060020a0390811691161461097857600080fd5b506003548190600160a060020a038083169163f2fde38b911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b15156109cf57600080fd5b6102c65a03f115156109e057600080fd5b5050505050565b601281565b60035460009033600160a060020a03908116911614610a0a57600080fd5b60035460a060020a900460ff1615610a2157600080fd5b600154610a34908363ffffffff61122416565b600155600160a060020a038316600090815260208190526040902054610a60908363ffffffff61122416565b600160a060020a0384166000818152602081905260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60065460ff1681565b600030600160a060020a031684600160a060020a031614151515610b2657600080fd5b6107cd8484610734565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610b8d57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610bc4565b610b9d818463ffffffff61123316565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600030600160a060020a031684600160a060020a031614151515610c6857600080fd5b6107cd8484610b30565b60035460009033600160a060020a03908116911614610c9057600080fd5b60035460a060020a900460ff1615610ca757600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b600354600160a060020a031681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561072c5780601f106107015761010080835404028352916020019161072c565b60035433600160a060020a03908116911614610d9257600080fd5b600354600160a060020a039081169030163180156108fc0290604051600060405180830381858888f193505050501515610dc857fe5b565b60035433600160a060020a03908116911614610de557600080fd5b6006805460ff1916911515919091179055565b60065460009060ff1680610e1a575060035433600160a060020a039081169116145b1515610e2557600080fd5b610e2f8383611245565b9392505050565b60065460009060ff1680610e58575060035433600160a060020a039081169116145b1515610e6357600080fd5b610e6f85858585611357565b95945050505050565b60065460009060ff1680610e9a575060035433600160a060020a039081169116145b1515610ea557600080fd5b610952848484611417565b600080fd5b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610eed908363ffffffff61122416565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a03908116911614610f9f57600080fd5b600160a060020a0381161515610fb457600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b82600160a060020a031663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561107c57600080fd5b6102c65a03f1151561108d57600080fd5b50505060405180519050151561109f57fe5b505050565b6000600160a060020a03831615156110bb57600080fd5b600160a060020a0384166000908152602081905260409020548211156110e057600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561111357600080fd5b600160a060020a03841660009081526020819052604090205461113c908363ffffffff61123316565b600160a060020a038086166000908152602081905260408082209390935590851681522054611171908363ffffffff61122416565b600160a060020a03808516600090815260208181526040808320949094558783168252600281528382203390931682529190915220546111b7908363ffffffff61123316565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600082820183811015610e2f57fe5b60008282111561123f57fe5b50900390565b6000600160a060020a038316151561125c57600080fd5b600160a060020a03331660009081526020819052604090205482111561128157600080fd5b600160a060020a0333166000908152602081905260409020546112aa908363ffffffff61123316565b600160a060020a0333811660009081526020819052604080822093909355908516815220546112df908363ffffffff61122416565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561137a57600080fd5b6113858585856110a4565b5083600160a060020a03168260405180828051906020019080838360005b838110156113bb5780820151838201526020016113a3565b50505050905090810190601f1680156113e85780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f1915050151561140c57600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a03161415151561143a57600080fd5b6107cd84846112455600a165627a7a72305820c6ae6eef5d776be289a27d445c54647201a92bfc6cc2640a2806fd10032601830029

   Swarm Source:
bzzr://c6ae6eef5d776be289a27d445c54647201a92bfc6cc2640a2806fd1003260183

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.