ETH Price: $1,814.95 (-3.98%)
Gas: 19 Gwei
 

Overview

Max Total Supply

977,631.036950888222010062 MKR

Holders

94,939 ( 0.017%)

Market

Chart

Price

$646.42 @ 0.356164 ETH (-6.01%)

Fully Diluted Market Cap

$631,960,254.91

Circulating Supply Market Cap

$582,187,357.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,694.234207563986911222 MKR

Value
$1,741,606.88 ( ~959.5895 Eth) [0.2756%]
0x9ef05f7f6deb616fd37ac3c959a2ddd25a54e4f5
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Maker is a Decentralized Autonomous Organization that creates and insures the dai stablecoin on the Ethereum blockchain

Market

Volume (24H):$21,656,571.00
Market Capitalization:$582,187,357.00
Circulating Supply:901,311.00 MKR
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
1
Binance
MKR-USDT$646.67
0.3572711 Eth
$4,116,565.00
6,365.740 MKR
21.9451%
2
Coinbase Exchange
MKR-USD$649.64
0.3585734 Eth
$1,661,566.00
2,557.672 MKR
8.8173%
3
Coinstore
MKR-USDT$646.05
0.3566357 Eth
$1,623,334.00
2,441.525 MKR
8.4169%
4
Trubit
MKR-USDT$647.67
0.3578216 Eth
$796,853.00
1,191.103 MKR
4.1062%
5
BTSE
MKR-USD$650.00
0.3589093 Eth
$789,774.00
1,215.037 MKR
4.1887%
6
Azbit
MKR-USDT$644.16
0.3555898 Eth
$707,606.00
1,055.547 MKR
3.6389%
7
Dcoin
MKR-USDT$646.83
0.3573592 Eth
$635,838.00
983.000 MKR
3.3888%
8
Phemex
MKR-USDT$648.23
0.3578989 Eth
$599,141.00
924.277 MKR
3.1863%
9
BIT
MKR-USDT$646.15
0.3566907 Eth
$582,964.00
902.208 MKR
3.1103%
10
DigiFinex
MKR-USDT$646.67
0.3572711 Eth
$549,186.00
849.245 MKR
2.9277%
11
WhiteBIT
MKR-USDT$647.01
0.3572586 Eth
$451,222.00
697.396 MKR
2.4042%
12
HitBTC
MKR-USDT$646.23
0.3570256 Eth
$424,233.00
641.939 MKR
2.2130%
13
FMFW.io
MKR-USDT$646.48
0.3569680 Eth
$415,120.00
642.120 MKR
2.2136%
14
Bitget
MKR-USDT$647.38
0.3574302 Eth
$388,219.00
583.114 MKR
2.0102%
15
OKX
MKR-USDT$648.36
0.3579098 Eth
$351,307.00
530.356 MKR
1.8283%
16
Bitrue
MKR-BUSD$647.18
0.3573509 Eth
$341,091.00
527.044 MKR
1.8169%
17
Oceanex
MKR-USDT$647.31
0.3576235 Eth
$290,198.00
448.312 MKR
1.5455%
18
Binance
MKR-BUSD$648.82
0.3584585 Eth
$249,178.00
384.046 MKR
1.3240%
19
ExMarkets
MKR-USDT$647.34
0.3574406 Eth
$234,465.00
362.198 MKR
1.2486%
20
Kraken
MKR-USD$644.40
0.3560143 Eth
$222,255.00
344.903 MKR
1.1890%
21
Uniswap V3 (Ethereum)
0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$645.85
0.3566154 Eth
$189,304.00
290.044 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2
0.9999%
22
KuCoin
MKR-USDT$648.33
0.3579540 Eth
$181,138.00
279.393 MKR
0.9632%
23
ExMarkets
MKR-BTC$647.35
0.3574460 Eth
$177,927.00
274.855 MKR
0.9475%
24
Huobi
MKR-USDT$647.08
0.3572648 Eth
$152,700.00
231.032 MKR
0.7965%
25
LBank
MKR-USDT$647.57
0.3577666 Eth
$148,274.00
228.969 MKR
0.7893%
26
BtcTurk PRO
MKR-TRY$656.58
0.3625103 Eth
$148,120.00
225.594 MKR
0.7777%
27
Omgfin
MKR-USDT$652.28
0.3600929 Eth
$144,759.00
221.927 MKR
0.7651%
28
XT.COM
MKR-USDT$648.14
0.3578817 Eth
$119,939.00
181.031 MKR
0.6241%
29
Omgfin
MKR-BTC$648.40
0.3579491 Eth
$118,829.00
183.264 MKR
0.6318%
30
Bilaxy
MKR-USDT$650.79
0.3597153 Eth
$116,884.00
179.602 MKR
0.6192%
31
Tokenize
MKR-SGD$642.67
0.3547283 Eth
$111,570.00
173.604 MKR
0.5985%
32
Tokenize
MKR-USD$642.51
0.3546379 Eth
$111,486.00
173.516 MKR
0.5982%
33
Bitvavo
MKR-EUR$643.36
0.3551513 Eth
$105,940.00
164.665 MKR
0.5677%
34
Bitfinex
MKR-USD$647.23
0.3572431 Eth
$98,641.00
152.405 MKR
0.5254%
35
Bitubu Exchange
MKR-USDT$644.89
0.3565720 Eth
$88,415.00
133.261 MKR
0.4594%
36
Bitazza
MKR-USDT$645.16
0.3561403 Eth
$87,778.00
131.226 MKR
0.4524%
37
Bybit
MKR-USDT$647.15
0.3572412 Eth
$83,083.00
128.383 MKR
0.4426%
38
BingX
MKR-USDT$646.89
0.3570981 Eth
$80,713.00
121.326 MKR
0.4183%
39
EXMO
MKR-DAI$652.09
0.3599265 Eth
$68,500.00
105.047 MKR
0.3621%
40
Kraken
MKR-EUR$643.58
0.3555600 Eth
$67,332.00
104.621 MKR
0.3607%
41
Bit2Me
MKR-EUR$643.58
0.3555600 Eth
$67,145.00
102.379 MKR
0.3529%
42
Bitforex
MKR-USDT$648.56
0.3580808 Eth
$65,130.00
100.423 MKR
0.3462%
43
Bitbank
MKR-JPY$654.82
0.3615700 Eth
$64,548.00
98.574 MKR
0.3398%
44
BtcTurk PRO
MKR-USDT$641.61
0.3542431 Eth
$58,779.00
91.612 MKR
0.3158%
45
EXMO
MKR-BTC$647.21
0.3572305 Eth
$56,656.00
87.539 MKR
0.3018%
46
FameEX
MKR-USDT$647.15
0.3572412 Eth
$53,456.00
80.863 MKR
0.2788%
47
BitMart
MKR-BTC$644.69
0.3558832 Eth
$52,541.00
81.498 MKR
0.2810%
48
Crypto.com Exchange
MKR-USDT$647.42
0.3574522 Eth
$52,203.00
80.633 MKR
0.2780%
49
Binance US
MKR-USD$644.00
0.3555963 Eth
$41,084.00
63.794 MKR
0.2199%
50
Binance
MKR-BTC$646.61
0.3572356 Eth
$40,101.00
62.017 MKR
0.2138%
51
XT.COM
MKR-BTC$646.96
0.3572327 Eth
$37,819.00
57.971 MKR
0.1998%
52
QMall
MKR-USDT$645.68
0.3567206 Eth
$37,046.00
56.132 MKR
0.1935%
53
HitBTC
MKR-BTC$647.40
0.3571766 Eth
$36,832.00
56.387 MKR
0.1944%
54
FMFW.io
MKR-BTC$646.45
0.3569483 Eth
$36,455.00
56.393 MKR
0.1944%
55
OKX
MKR-BTC$646.57
0.3569213 Eth
$36,043.00
54.426 MKR
0.1876%
56
Gate.io
MKR-USDT$646.60
0.3572271 Eth
$30,156.00
45.429 MKR
0.1566%
57
WOO X
MKR-USDT$647.66
0.3575846 Eth
$26,196.00
40.447 MKR
0.1394%
58
Uniswap V2 (Ethereum)
0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$648.66
0.3580771 Eth
$24,144.00
36.917 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2
0.1273%
59
Bitstamp
MKR-EUR$644.77
0.3559424 Eth
$24,112.00
37.396 MKR
0.1289%
60
MEXC Global
MKR-USDT$643.45
0.3552900 Eth
$22,421.00
34.846 MKR
0.1201%
61
Binance US
MKR-USDT$642.15
0.3545731 Eth
$21,238.00
33.073 MKR
0.1140%
62
Gemini
MKR-USD$649.30
0.3583857 Eth
$19,339.70
29.785 MKR
0.1027%
63
Cryptology
MKR-USDT$647.71
0.3576121 Eth
$18,514.60
28.585 MKR
0.0985%
64
Pionex
MKR-USDT$646.67
0.3572711 Eth
$17,419.85
26.354 MKR
0.0909%
65
Crypto.com Exchange
MKR-USD$648.85
0.3581799 Eth
$16,633.20
25.635 MKR
0.0884%
66
Azbit
MKR-BTC$647.09
0.3572057 Eth
$15,702.90
24.014 MKR
0.0828%
67
LATOKEN
MKR-USDT$647.66
0.3578161 Eth
$12,576.78
19.419 MKR
0.0669%
68
Coinbase Exchange
MKR-BTC$647.10
0.3571696 Eth
$12,494.49
19.309 MKR
0.0666%
69
CoinEx
MKR-USDT$645.75
0.3564279 Eth
$9,005.83
13.522 MKR
0.0466%
70
CoinEx
MKR-USDC$647.61
0.3574511 Eth
$7,030.71
10.500 MKR
0.0362%
71
CoinEx
MKR-BTC$644.81
0.3559098 Eth
$6,866.45
10.508 MKR
0.0362%
72
Nominex
MKR-USDT$648.16
0.3578603 Eth
$6,673.49
10.296 MKR
0.0355%
73
Bitso
MKR-USD$643.82
0.3554969 Eth
$5,886.42
9.143 MKR
0.0315%
74
Bitlo
MKR-TRY$657.19
0.3627834 Eth
$5,651.53
8.377 MKR
0.0289%
75
Bitstamp
MKR-USD$645.59
0.3563970 Eth
$5,241.19
8.118 MKR
0.0280%
76
Kanga
MKR-USDT$646.85
0.3570760 Eth
$4,642.52
0.000 MKR
0.0000%
77
OKX
MKR-USDC$644.58
0.3557779 Eth
$4,084.37
6.144 MKR
0.0212%
78
ProBit Global
MKR-BTC$646.96
0.3572327 Eth
$4,032.76
6.233 MKR
0.0215%
79
Upbit
MKR-BTC$652.77
0.3602987 Eth
$3,894.73
5.967 MKR
0.0206%
80
Gate.io
MKR-ETH$646.48
0.3571623 Eth
$3,789.01
5.775 MKR
0.0199%
81
Balancer V2
0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-ETH$651.95
0.3599845 Eth
$3,612.56
5.541 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2
0.0191%
82
Bitfinex
MKR-USDT$644.31
0.3556295 Eth
$3,544.92
5.502 MKR
0.0190%
83
LCX Exchange
MKR-USDC$654.68
0.3614621 Eth
$3,274.69
5.002 MKR
0.0172%
84
KuCoin
MKR-BTC$647.75
0.3576379 Eth
$3,222.12
4.974 MKR
0.0171%
85
Bitazza
MKR-THB$649.10
0.3583188 Eth
$3,103.82
4.719 MKR
0.0163%
86
Sushiswap
0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$647.42
0.3576184 Eth
$2,565.79
3.926 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2
0.0135%
87
Gate.io
MKR-TRY$657.30
0.3629425 Eth
$2,290.45
3.349 MKR
0.0115%
88
Coins.ph
MKR-PHP$648.66
0.3580736 Eth
$2,252.29
3.338 MKR
0.0115%
89
Tarmex
MKR-USDT$645.93
0.3568599 Eth
$2,137.32
3.192 MKR
0.0110%
90
Pionex
MKR-BTC$647.02
0.3574632 Eth
$2,060.77
3.155 MKR
0.0109%
91
LCX Exchange
MKR-LCX$651.91
0.3599346 Eth
$2,033.11
3.119 MKR
0.0108%
92
P2B
MKR-BTC$644.29
0.3559557 Eth
$1,218.49
1.891 MKR
0.0065%
93
Bancor (V2)
MKR-BNT$642.49
0.3549568 Eth
$682.72
1.063 MKR
0.0037%
94
KuCoin
MKR-ETH$643.41
0.3552377 Eth
$484.23
0.753 MKR
0.0026%
95
Uniswap V3 (Polygon)
0X6F7C932E7684666C9FD1D44527765433E01FF61D-0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270$655.55
0.3618796 Eth
$438.20
0.691 0X6F7C932E7684666C9FD1D44527765433E01FF61D
0.0024%
96
Coinlist
MKR-USDT$643.45
0.3552912 Eth
$105.91
0.165 MKR
0.0006%
97
TokoCrypto
MKR-USDT$645.89
0.3571248 Eth
$88.56
0.137 MKR
0.0005%
98
Nominex
MKR-BUSD$648.20
0.3578817 Eth
$13.03
0.020 MKR
0.0001%
99
Coinmetro
MKR-USD$650.10
0.3588277 Eth
$0.00
0.000 MKR
0.0000%
100
Coinmetro
MKR-EUR$650.18
0.3588734 Eth
$0.00
0.000 MKR
0.0000%

Contract Source Code Verified (Exact Match)

Contract Name:
DSToken

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2017-11-25
*/

// MKR Token

// hevm: flattened sources of src/mkr-499.sol
pragma solidity ^0.4.15;

////// lib/ds-roles/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-thing/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-thing/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-thing/src/thing.sol
// thing.sol - `auth` with handy mixins. your things should be DSThings

// 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'; */
/* import 'ds-math/math.sol'; */

contract DSThing is DSAuth, DSNote, DSMath {
}

////// lib/ds-token/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/ds-token/lib/erc20/src/erc20.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.8; */

// Token standard API
// https://github.com/ethereum/EIPs/issues/20

contract ERC20 {
    function totalSupply() public view returns (uint supply);
    function balanceOf( address who ) public view returns (uint value);
    function allowance( address owner, address spender ) public view returns (uint _allowance);

    function transfer( address to, uint value) public returns (bool ok);
    function transferFrom( address from, address to, uint value) public returns (bool ok);
    function approve( address spender, uint value ) public returns (bool ok);

    event Transfer( address indexed from, address indexed to, uint value);
    event Approval( address indexed owner, address indexed spender, uint value);
}

////// lib/ds-token/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;
    }
}

////// lib/ds-token/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 Security Audit

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":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

Contract Creation Code

606060405260126006556000600755341561001957600080fd5b604051602080610dd283398101604052808051600160a060020a03331660008181526001602052604080822082905590805560048054600160a060020a0319168317905591935091507fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94905160405180910390a2600555610d338061009f6000396000f3006060604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461014d57806307da68f514610172578063095ea7b31461018757806313af4035146101bd57806318160ddd146101dc57806323b872dd146101ef578063313ce5671461021757806340c10f191461022a57806342966c681461024c5780635ac801fe1461026257806370a082311461027857806375f12b21146102975780637a9e5e4b146102aa5780638da5cb5b146102c957806395d89b41146102f85780639dc29fac1461030b578063a0712d681461032d578063a9059cbb14610343578063b753a98c14610365578063bb35783b14610387578063be9a6555146103af578063bf7e214f146103c2578063daea85c5146103d5578063dd62ed3e146103f4578063f2d5d56b14610419575b600080fd5b341561015857600080fd5b61016061043b565b60405190815260200160405180910390f35b341561017d57600080fd5b610185610441565b005b341561019257600080fd5b6101a9600160a060020a03600435166024356104e0565b604051901515815260200160405180910390f35b34156101c857600080fd5b610185600160a060020a036004351661050d565b34156101e757600080fd5b61016061058c565b34156101fa57600080fd5b6101a9600160a060020a0360043581169060243516604435610592565b341561022257600080fd5b610160610707565b341561023557600080fd5b610185600160a060020a036004351660243561070d565b341561025757600080fd5b6101856004356107d3565b341561026d57600080fd5b6101856004356107e0565b341561028357600080fd5b610160600160a060020a0360043516610806565b34156102a257600080fd5b6101a9610821565b34156102b557600080fd5b610185600160a060020a0360043516610831565b34156102d457600080fd5b6102dc6108b0565b604051600160a060020a03909116815260200160405180910390f35b341561030357600080fd5b6101606108bf565b341561031657600080fd5b610185600160a060020a03600435166024356108c5565b341561033857600080fd5b610185600435610a33565b341561034e57600080fd5b6101a9600160a060020a0360043516602435610a3d565b341561037057600080fd5b610185600160a060020a0360043516602435610a4a565b341561039257600080fd5b610185600160a060020a0360043581169060243516604435610a5a565b34156103ba57600080fd5b610185610a6b565b34156103cd57600080fd5b6102dc610b04565b34156103e057600080fd5b6101a9600160a060020a0360043516610b13565b34156103ff57600080fd5b610160600160a060020a0360043581169060243516610b39565b341561042457600080fd5b610185600160a060020a0360043516602435610b64565b60075481565b61045733600035600160e060020a031916610b6f565b151561046257600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff0000000000000000000000000000000000000000191660a060020a179055565b60045460009060a060020a900460ff16156104fa57600080fd5b6105048383610c7b565b90505b92915050565b61052333600035600160e060020a031916610b6f565b151561052e57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60005490565b60045460009060a060020a900460ff16156105ac57600080fd5b33600160a060020a031684600160a060020a0316141580156105f65750600160a060020a038085166000908152600260209081526040808320339094168352929052205460001914155b1561065457600160a060020a038085166000908152600260209081526040808320339094168352929052205461062c9083610ce7565b600160a060020a03808616600090815260026020908152604080832033909416835292905220555b600160a060020a0384166000908152600160205260409020546106779083610ce7565b600160a060020a0380861660009081526001602052604080822093909355908516815220546106a69083610cf7565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60065481565b61072333600035600160e060020a031916610b6f565b151561072e57600080fd5b60045460a060020a900460ff161561074557600080fd5b600160a060020a0382166000908152600160205260409020546107689082610cf7565b600160a060020a0383166000908152600160205260408120919091555461078f9082610cf7565b600055600160a060020a0382167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a25050565b6107dd33826108c5565b50565b6107f633600035600160e060020a031916610b6f565b151561080157600080fd5b600755565b600160a060020a031660009081526001602052604090205490565b60045460a060020a900460ff1681565b61084733600035600160e060020a031916610b6f565b151561085257600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600454600160a060020a031681565b60055481565b6108db33600035600160e060020a031916610b6f565b15156108e657600080fd5b60045460a060020a900460ff16156108fd57600080fd5b33600160a060020a031682600160a060020a0316141580156109475750600160a060020a038083166000908152600260209081526040808320339094168352929052205460001914155b156109a557600160a060020a038083166000908152600260209081526040808320339094168352929052205461097d9082610ce7565b600160a060020a03808416600090815260026020908152604080832033909416835292905220555b600160a060020a0382166000908152600160205260409020546109c89082610ce7565b600160a060020a038316600090815260016020526040812091909155546109ef9082610ce7565b600055600160a060020a0382167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25050565b6107dd338261070d565b6000610504338484610592565b610a55338383610592565b505050565b610a65838383610592565b50505050565b610a8133600035600160e060020a031916610b6f565b1515610a8c57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff000000000000000000000000000000000000000019169055565b600354600160a060020a031681565b60045460009060a060020a900460ff1615610b2d57600080fd5b61050782600019610c7b565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b610a55823383610592565b600030600160a060020a031683600160a060020a03161415610b9357506001610507565b600454600160a060020a0384811691161415610bb157506001610507565b600354600160a060020a03161515610bcb57506000610507565b600354600160a060020a031663b70096138430856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b1515610c5957600080fd5b6102c65a03f11515610c6a57600080fd5b505050604051805190509050610507565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b8082038281111561050757600080fd5b8082018281101561050757600080fd00a165627a7a72305820c3b70a68c1ccfc4b88f478523cfc01b3108a40e2c6d0132d5b736b0c3034972800294d4b520000000000000000000000000000000000000000000000000000000000

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

4d4b520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : symbol_ (bytes32): 0x4d4b520000000000000000000000000000000000000000000000000000000000

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


Swarm Source

bzzr://c3b70a68c1ccfc4b88f478523cfc01b3108a40e2c6d0132d5b736b0c30349728
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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