Announcement: Node Re-synch in progress

 Latest 25 transactions from a total of 13517 transactions

TxHash Age From To Value [TxFee]
0xd2d7304ac72bb2b8c636638a0edd5b71d1bcd301e03671e94247083a211d08535 hrs 16 mins ago0x3eb1f5f5fb6c1b7aa5f775ba08d73b9176ace4b9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000052298
0x9973f77c3c05bef1fe53a0f2c881b14142ff06291f0bce77de0445bb2eb600b75 hrs 50 mins ago0x3eb1f5f5fb6c1b7aa5f775ba08d73b9176ace4b9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000052298
0x0e62ebcab94b0de056bfd33f3470d3bbecebdc08d8953563e41bd558e2e35b8d5 hrs 54 mins ago0x3eb1f5f5fb6c1b7aa5f775ba08d73b9176ace4b9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000052298
0xa709204ea72094226ff4123b51b02d8b404c31611b312aac00cc9b83bc1f8ffd6 hrs 3 mins ago0x3eb1f5f5fb6c1b7aa5f775ba08d73b9176ace4b9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000052298
0xc65268b8c31d9f95e9ec7f79b3ea3f018d65eee36e7591602d5f0874e96b21446 hrs 6 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000052298
0x6d76e76e27cad19d626dbfa9b3d09c6934c231ce7503aff15ab88ee1772f3a836 hrs 6 mins ago0x3eb1f5f5fb6c1b7aa5f775ba08d73b9176ace4b9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000051978
0xcc6e0f6a048718d551d6830c89ef6f6d78b1313e7e9249d4e3234e56267ca2d07 hrs 5 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0xff485adab213c8eaa4632e97c8d845a66b6c8e411c98a02e52bdb412ccf8d2b47 hrs 6 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x7088b2a7d238bc9dfc29440dd1941728334b4c5d61df8fabc38175e5986e88ec7 hrs 7 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x6e2706df68fbe74cf94ce7e693191da5f9e6c77679a87c331b46e0852544f4477 hrs 9 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0xa308abe604b0744b41b6c4428a873cbf9436f18c2d9802956e9db380f1e140247 hrs 15 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0x75d7b9d240ca569d2e061ac86c983e6fd4f7cd2e322a447b90964e2d16773a527 hrs 20 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x06a2b750a2d6acf87b1e417351e799ed08e9995590fb31df9c8cd304d9b128f07 hrs 20 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0xa47459d36e89c00c884f1e4a42323167f322b589f6781e766dc5a6b6db1104e37 hrs 21 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0xba1efd7f6be0ad06d2681955cef71ffa3cf4e32863a4a142fbe3a3ef46dd4fc97 hrs 21 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x9c4e1c8130aa217347860920cf751b5e08a3430d7a88777c11db9d24ef5c74237 hrs 22 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0xf6501f0a5676599b5ae630a322e3a6cff27d9eceac9d9f1537c881c2a3ab37657 hrs 23 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0xacfc0d4bd6959f5ad272e49de56422538fc650faf09732e3dcd829a1f6bb274c7 hrs 24 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x6707c533896564ecaedf6756d0699b5284b52841f1945688ed2ee2924c67b9337 hrs 25 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0x5272c41beb64adb7781171628eb5dfb10b9b6a2a430e48d214f51164b854c4c07 hrs 26 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0xcab62d62e78df1be63909133f300d29a9d2c22341ae9d8e8b4760983c5573afb7 hrs 27 mins ago0xf3b3d10dd712b7eb4bf300f70e160e0e0ee483ba  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037298
0xa77978739d3de15f41eb0ab44058c202c53a8cfcecdb9ba9e1ce7edd05ce65d47 hrs 31 mins ago0x5a051d0811e654be08d0b4c09eb17a4e6c61ba19  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000037426
0x1ee1e9af467348fe08e4514b8b678aedcd666a6c231cb344dd2d38e8034851507 hrs 36 mins ago0x889c0c0c862f3c828d3d3ee36bfa092699ac5929  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000022362
0x7369ac242e1b31dd773d56dcb013eb114293ab6013075d3d509ba4fabd0f31517 hrs 39 mins ago0x9e80fa64f59cc0ac3eedab8a698dcbc8435091a9  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.0052362
0xaba9fdc28edb8cb81d623352c637145167ef64292ba7a630bed03922c75093f17 hrs 51 mins ago0x889c0c0c862f3c828d3d3ee36bfa092699ac5929  IN  0xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether0.000022298
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x4e4bfac8fca03fe05f7578a11441f572a6d1b5fc7037734007732794af41c5c21011718410 hrs 8 mins ago0x14f5a0e96687dace273d85bc031169c19df61b950xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x4e4bfac8fca03fe05f7578a11441f572a6d1b5fc7037734007732794af41c5c21011718410 hrs 8 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x4e4bfac8fca03fe05f7578a11441f572a6d1b5fc7037734007732794af41c5c21011718410 hrs 8 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0x4e4bfac8fca03fe05f7578a11441f572a6d1b5fc7037734007732794af41c5c21011718410 hrs 8 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xd3bac6b70922e83d13d24592086274e6782d91493d12969492aefd417d9b8ab61011716210 hrs 11 mins ago0x14f5a0e96687dace273d85bc031169c19df61b950xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xd3bac6b70922e83d13d24592086274e6782d91493d12969492aefd417d9b8ab61011716210 hrs 11 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xd3bac6b70922e83d13d24592086274e6782d91493d12969492aefd417d9b8ab61011716210 hrs 11 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0xd3bac6b70922e83d13d24592086274e6782d91493d12969492aefd417d9b8ab61011716210 hrs 11 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x12e8bb68df3ffa5ab9fb94ff32e599e0ce11245224a36059d76cd5cdda755ce31011716010 hrs 12 mins ago0x14f5a0e96687dace273d85bc031169c19df61b950xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x12e8bb68df3ffa5ab9fb94ff32e599e0ce11245224a36059d76cd5cdda755ce31011716010 hrs 12 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x12e8bb68df3ffa5ab9fb94ff32e599e0ce11245224a36059d76cd5cdda755ce31011716010 hrs 12 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0x12e8bb68df3ffa5ab9fb94ff32e599e0ce11245224a36059d76cd5cdda755ce31011716010 hrs 12 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xa5636be34ffdb1f8cf8542f0ff1e7d945b6da570ba7209f7e687d3e5ccfa78ae1011714510 hrs 14 mins ago0x14f5a0e96687dace273d85bc031169c19df61b950xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xa5636be34ffdb1f8cf8542f0ff1e7d945b6da570ba7209f7e687d3e5ccfa78ae1011714510 hrs 14 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xa5636be34ffdb1f8cf8542f0ff1e7d945b6da570ba7209f7e687d3e5ccfa78ae1011714510 hrs 14 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0xa5636be34ffdb1f8cf8542f0ff1e7d945b6da570ba7209f7e687d3e5ccfa78ae1011714510 hrs 14 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x427a9fdc28c5f406769f9e2f7a56f5bbf5b57e31c56bc97a6bc8e851417708411011702510 hrs 32 mins ago0xd71a007c9243ac73bcfc6fee70ef11b6bde9a6190xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x427a9fdc28c5f406769f9e2f7a56f5bbf5b57e31c56bc97a6bc8e851417708411011702510 hrs 32 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0x427a9fdc28c5f406769f9e2f7a56f5bbf5b57e31c56bc97a6bc8e851417708411011702510 hrs 32 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0x427a9fdc28c5f406769f9e2f7a56f5bbf5b57e31c56bc97a6bc8e851417708411011702510 hrs 32 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xbc96b1449b58e72c0fe1d4fd7e68c9c17cecfaf75814f000a396ada18518b2e01011700410 hrs 35 mins ago0x14f5a0e96687dace273d85bc031169c19df61b950xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xbc96b1449b58e72c0fe1d4fd7e68c9c17cecfaf75814f000a396ada18518b2e01011700410 hrs 35 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xbc96b1449b58e72c0fe1d4fd7e68c9c17cecfaf75814f000a396ada18518b2e01011700410 hrs 35 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
0xbc96b1449b58e72c0fe1d4fd7e68c9c17cecfaf75814f000a396ada18518b2e01011700410 hrs 35 mins ago0xa71937147b55deb8a530c7229c442fd3f31b7db20xc4375b7de8af5a38a93548eb8453a498222c4ff20 Ether
0xd8a5756020493a1af10776f152e8196a58e5ebac91f8cb38607d514b051272661011700010 hrs 36 mins ago0xc4375b7de8af5a38a93548eb8453a498222c4ff20x6a884c7af48e29a20be9ff04bdde112b5596fcee0 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: DSToken
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.13;

////// lib/ds-math/src/math.sol
/// math.sol -- mixin for inline numerical wizardry

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

contract DSMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x);
    }
    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x);
    }
    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x);
    }

    function min(uint x, uint y) internal pure returns (uint z) {
        return x <= y ? x : y;
    }
    function max(uint x, uint y) internal pure returns (uint z) {
        return x >= y ? x : y;
    }
    function imin(int x, int y) internal pure returns (int z) {
        return x <= y ? x : y;
    }
    function imax(int x, int y) internal pure returns (int z) {
        return x >= y ? x : y;
    }

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    function wmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }
    function wdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}

////// lib/ds-stop/lib/ds-auth/src/auth.sol
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

contract DSAuthority {
    function canCall(
        address src, address dst, bytes4 sig
    ) public view returns (bool);
}

contract DSAuthEvents {
    event LogSetAuthority (address indexed authority);
    event LogSetOwner     (address indexed owner);
}

contract DSAuth is DSAuthEvents {
    DSAuthority  public  authority;
    address      public  owner;

    function DSAuth() public {
        owner = msg.sender;
        LogSetOwner(msg.sender);
    }

    function setOwner(address owner_)
        public
        auth
    {
        owner = owner_;
        LogSetOwner(owner);
    }

    function setAuthority(DSAuthority authority_)
        public
        auth
    {
        authority = authority_;
        LogSetAuthority(authority);
    }

    modifier auth {
        require(isAuthorized(msg.sender, msg.sig));
        _;
    }

    function isAuthorized(address src, bytes4 sig) internal view returns (bool) {
        if (src == address(this)) {
            return true;
        } else if (src == owner) {
            return true;
        } else if (authority == DSAuthority(0)) {
            return false;
        } else {
            return authority.canCall(src, this, sig);
        }
    }
}

////// lib/ds-stop/lib/ds-note/src/note.sol
/// note.sol -- the `note' modifier, for logging calls as events

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

contract DSNote {
    event LogNote(
        bytes4   indexed  sig,
        address  indexed  guy,
        bytes32  indexed  foo,
        bytes32  indexed  bar,
        uint              wad,
        bytes             fax
    ) anonymous;

    modifier note {
        bytes32 foo;
        bytes32 bar;

        assembly {
            foo := calldataload(4)
            bar := calldataload(36)
        }

        LogNote(msg.sig, msg.sender, foo, bar, msg.value, msg.data);

        _;
    }
}

////// lib/ds-stop/src/stop.sol
/// stop.sol -- mixin for enable/disable functionality

// Copyright (C) 2017  DappHub, LLC

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

/* import "ds-auth/auth.sol"; */
/* import "ds-note/note.sol"; */

contract DSStop is DSNote, DSAuth {

    bool public stopped;

    modifier stoppable {
        require(!stopped);
        _;
    }
    function stop() public auth note {
        stopped = true;
    }
    function start() public auth note {
        stopped = false;
    }

}

////// lib/erc20/src/erc20.sol
/// erc20.sol -- API for the ERC20 token standard

// See <https://github.com/ethereum/EIPs/issues/20>.

// This file likely does not meet the threshold of originality
// required for copyright to apply.  As a result, this is free and
// unencumbered software belonging to the public domain.

/* pragma solidity ^0.4.8; */

contract ERC20Events {
    event Approval(address indexed src, address indexed guy, uint wad);
    event Transfer(address indexed src, address indexed dst, uint wad);
}

contract ERC20 is ERC20Events {
    function totalSupply() public view returns (uint);
    function balanceOf(address guy) public view returns (uint);
    function allowance(address src, address guy) public view returns (uint);

    function approve(address guy, uint wad) public returns (bool);
    function transfer(address dst, uint wad) public returns (bool);
    function transferFrom(
        address src, address dst, uint wad
    ) public returns (bool);
}

////// src/base.sol
/// base.sol -- basic ERC20 implementation

// Copyright (C) 2015, 2016, 2017  DappHub, LLC

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

/* import "erc20/erc20.sol"; */
/* import "ds-math/math.sol"; */

contract DSTokenBase is ERC20, DSMath {
    uint256                                            _supply;
    mapping (address => uint256)                       _balances;
    mapping (address => mapping (address => uint256))  _approvals;

    function DSTokenBase(uint supply) public {
        _balances[msg.sender] = supply;
        _supply = supply;
    }

    function totalSupply() public view returns (uint) {
        return _supply;
    }
    function balanceOf(address src) public view returns (uint) {
        return _balances[src];
    }
    function allowance(address src, address guy) public view returns (uint) {
        return _approvals[src][guy];
    }

    function transfer(address dst, uint wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(address src, address dst, uint wad)
        public
        returns (bool)
    {
        if (src != msg.sender) {
            _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
        }

        _balances[src] = sub(_balances[src], wad);
        _balances[dst] = add(_balances[dst], wad);

        Transfer(src, dst, wad);

        return true;
    }

    function approve(address guy, uint wad) public returns (bool) {
        _approvals[msg.sender][guy] = wad;

        Approval(msg.sender, guy, wad);

        return true;
    }
}

////// src/token.sol
/// token.sol -- ERC20 implementation with minting and burning

// Copyright (C) 2015, 2016, 2017  DappHub, LLC

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/* pragma solidity ^0.4.13; */

/* import "ds-stop/stop.sol"; */

/* import "./base.sol"; */

contract DSToken is DSTokenBase(0), DSStop {

    bytes32  public  symbol;
    uint256  public  decimals = 18; // standard token precision. override to customize

    function DSToken(bytes32 symbol_) public {
        symbol = symbol_;
    }

    event Mint(address indexed guy, uint wad);
    event Burn(address indexed guy, uint wad);

    function approve(address guy) public stoppable returns (bool) {
        return super.approve(guy, uint(-1));
    }

    function approve(address guy, uint wad) public stoppable returns (bool) {
        return super.approve(guy, wad);
    }

    function transferFrom(address src, address dst, uint wad)
        public
        stoppable
        returns (bool)
    {
        if (src != msg.sender && _approvals[src][msg.sender] != uint(-1)) {
            _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
        }

        _balances[src] = sub(_balances[src], wad);
        _balances[dst] = add(_balances[dst], wad);

        Transfer(src, dst, wad);

        return true;
    }

    function push(address dst, uint wad) public {
        transferFrom(msg.sender, dst, wad);
    }
    function pull(address src, uint wad) public {
        transferFrom(src, msg.sender, wad);
    }
    function move(address src, address dst, uint wad) public {
        transferFrom(src, dst, wad);
    }

    function mint(uint wad) public {
        mint(msg.sender, wad);
    }
    function burn(uint wad) public {
        burn(msg.sender, wad);
    }
    function mint(address guy, uint wad) public auth stoppable {
        _balances[guy] = add(_balances[guy], wad);
        _supply = add(_supply, wad);
        Mint(guy, wad);
    }
    function burn(address guy, uint wad) public auth stoppable {
        if (guy != msg.sender && _approvals[guy][msg.sender] != uint(-1)) {
            _approvals[guy][msg.sender] = sub(_approvals[guy][msg.sender], wad);
        }

        _balances[guy] = sub(_balances[guy], wad);
        _supply = sub(_supply, wad);
        Burn(guy, wad);
    }

    // Optional token name
    bytes32   public  name = "";

    function setName(bytes32 name_) public auth {
        name = name_;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","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":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","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":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"name_","type":"bytes32"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"authority_","type":"address"}],"name":"setAuthority","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":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"push","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"move","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"authority","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"},{"name":"guy","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"wad","type":"uint256"}],"name":"pull","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"symbol_","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"guy","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"guy","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"authority","type":"address"}],"name":"LogSetAuthority","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"}],"name":"LogSetOwner","type":"event"},{"anonymous":true,"inputs":[{"indexed":true,"name":"sig","type":"bytes4"},{"indexed":true,"name":"guy","type":"address"},{"indexed":true,"name":"foo","type":"bytes32"},{"indexed":true,"name":"bar","type":"bytes32"},{"indexed":false,"name":"wad","type":"uint256"},{"indexed":false,"name":"fax","type":"bytes"}],"name":"LogNote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"guy","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"dst","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Transfer","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405260126006556000600755341561001957600080fd5b604051602080610dd283398101604052808051600160a060020a03331660008181526001602052604080822082905590805560048054600160a060020a0319168317905591935091507fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94905160405180910390a2600555610d338061009f6000396000f3006060604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461014d57806307da68f514610172578063095ea7b31461018757806313af4035146101bd57806318160ddd146101dc57806323b872dd146101ef578063313ce5671461021757806340c10f191461022a57806342966c681461024c5780635ac801fe1461026257806370a082311461027857806375f12b21146102975780637a9e5e4b146102aa5780638da5cb5b146102c957806395d89b41146102f85780639dc29fac1461030b578063a0712d681461032d578063a9059cbb14610343578063b753a98c14610365578063bb35783b14610387578063be9a6555146103af578063bf7e214f146103c2578063daea85c5146103d5578063dd62ed3e146103f4578063f2d5d56b14610419575b600080fd5b341561015857600080fd5b61016061043b565b60405190815260200160405180910390f35b341561017d57600080fd5b610185610441565b005b341561019257600080fd5b6101a9600160a060020a03600435166024356104e0565b604051901515815260200160405180910390f35b34156101c857600080fd5b610185600160a060020a036004351661050d565b34156101e757600080fd5b61016061058c565b34156101fa57600080fd5b6101a9600160a060020a0360043581169060243516604435610592565b341561022257600080fd5b610160610707565b341561023557600080fd5b610185600160a060020a036004351660243561070d565b341561025757600080fd5b6101856004356107d3565b341561026d57600080fd5b6101856004356107e0565b341561028357600080fd5b610160600160a060020a0360043516610806565b34156102a257600080fd5b6101a9610821565b34156102b557600080fd5b610185600160a060020a0360043516610831565b34156102d457600080fd5b6102dc6108b0565b604051600160a060020a03909116815260200160405180910390f35b341561030357600080fd5b6101606108bf565b341561031657600080fd5b610185600160a060020a03600435166024356108c5565b341561033857600080fd5b610185600435610a33565b341561034e57600080fd5b6101a9600160a060020a0360043516602435610a3d565b341561037057600080fd5b610185600160a060020a0360043516602435610a4a565b341561039257600080fd5b610185600160a060020a0360043581169060243516604435610a5a565b34156103ba57600080fd5b610185610a6b565b34156103cd57600080fd5b6102dc610b04565b34156103e057600080fd5b6101a9600160a060020a0360043516610b13565b34156103ff57600080fd5b610160600160a060020a0360043581169060243516610b39565b341561042457600080fd5b610185600160a060020a0360043516602435610b64565b60075481565b61045733600035600160e060020a031916610b6f565b151561046257600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff0000000000000000000000000000000000000000191660a060020a179055565b60045460009060a060020a900460ff16156104fa57600080fd5b6105048383610c7b565b90505b92915050565b61052333600035600160e060020a031916610b6f565b151561052e57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60005490565b60045460009060a060020a900460ff16156105ac57600080fd5b33600160a060020a031684600160a060020a0316141580156105f65750600160a060020a038085166000908152600260209081526040808320339094168352929052205460001914155b1561065457600160a060020a038085166000908152600260209081526040808320339094168352929052205461062c9083610ce7565b600160a060020a03808616600090815260026020908152604080832033909416835292905220555b600160a060020a0384166000908152600160205260409020546106779083610ce7565b600160a060020a0380861660009081526001602052604080822093909355908516815220546106a69083610cf7565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60065481565b61072333600035600160e060020a031916610b6f565b151561072e57600080fd5b60045460a060020a900460ff161561074557600080fd5b600160a060020a0382166000908152600160205260409020546107689082610cf7565b600160a060020a0383166000908152600160205260408120919091555461078f9082610cf7565b600055600160a060020a0382167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a25050565b6107dd33826108c5565b50565b6107f633600035600160e060020a031916610b6f565b151561080157600080fd5b600755565b600160a060020a031660009081526001602052604090205490565b60045460a060020a900460ff1681565b61084733600035600160e060020a031916610b6f565b151561085257600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600454600160a060020a031681565b60055481565b6108db33600035600160e060020a031916610b6f565b15156108e657600080fd5b60045460a060020a900460ff16156108fd57600080fd5b33600160a060020a031682600160a060020a0316141580156109475750600160a060020a038083166000908152600260209081526040808320339094168352929052205460001914155b156109a557600160a060020a038083166000908152600260209081526040808320339094168352929052205461097d9082610ce7565b600160a060020a03808416600090815260026020908152604080832033909416835292905220555b600160a060020a0382166000908152600160205260409020546109c89082610ce7565b600160a060020a038316600090815260016020526040812091909155546109ef9082610ce7565b600055600160a060020a0382167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25050565b6107dd338261070d565b6000610504338484610592565b610a55338383610592565b505050565b610a65838383610592565b50505050565b610a8133600035600160e060020a031916610b6f565b1515610a8c57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff000000000000000000000000000000000000000019169055565b600354600160a060020a031681565b60045460009060a060020a900460ff1615610b2d57600080fd5b61050782600019610c7b565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b610a55823383610592565b600030600160a060020a031683600160a060020a03161415610b9357506001610507565b600454600160a060020a0384811691161415610bb157506001610507565b600354600160a060020a03161515610bcb57506000610507565b600354600160a060020a031663b70096138430856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b1515610c5957600080fd5b6102c65a03f11515610c6a57600080fd5b505050604051805190509050610507565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b8082038281111561050757600080fd5b8082018281101561050757600080fd00a165627a7a723058200877df264aa5d498c61a45dfe4fc04c68d11820448cf0cc7a275283a271173b400294441490000000000000000000000000000000000000000000000000000000000

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
4441490000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 4441490000000000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://0877df264aa5d498c61a45dfe4fc04c68d11820448cf0cc7a275283a271173b4

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward