Overview
Max Total Supply
907,365.355098796626411814 MKR
Holders
100,564 ( -0.012%)
Market
Price
$927.26 @ 0.339131 ETH (+3.32%)
Onchain Market Cap
$841,363,599.17
Circulating Supply Market Cap
$818,862,322.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | MKR-USDT | $941.65 0.3375822 Eth | $42,301,262.00 46,675.403 MKR | 47.6443% |
2 | ![]() | MKR-USDT | $929.44 0.3386129 Eth | $6,293,694.00 6,953.145 MKR | 7.0975% |
3 | ![]() | MKR-USDT | $932.16 0.3375167 Eth | $6,103,926.00 6,735.145 MKR | 6.8750% |
4 | ![]() | MKR-USDT | $924.19 0.3366998 Eth | $6,062,673.00 6,666.423 MKR | 6.8048% |
5 | ![]() | MKR-USDT | $925.62 0.3380625 Eth | $3,936,765.00 4,338.102 MKR | 4.4282% |
6 | ![]() | MKR-USDT | $922.77 0.3377417 Eth | $3,154,040.00 3,500.954 MKR | 3.5736% |
7 | ![]() | MKR-USDT | $932.30 0.3374832 Eth | $1,899,074.00 0.000 MKR | 0.0000% |
8 | ![]() | MKR-USD | $926.21 0.3374358 Eth | $1,703,959.00 1,839.711 MKR | 1.8779% |
9 | ![]() | MKR-USDT | $929.13 0.3370163 Eth | $1,309,327.00 1,409.190 MKR | 1.4384% |
10 | ![]() | MKR-USDT | $928.90 0.3390558 Eth | $1,245,653.00 1,341.000 MKR | 1.3688% |
11 | ![]() | MKR-USDT | $926.36 0.3365950 Eth | $1,226,594.00 1,354.022 MKR | 1.3821% |
12 | ![]() | MKR-USDT | $923.00 0.3375648 Eth | $1,182,102.00 1,308.131 MKR | 1.3353% |
13 | ![]() | MKR-USDT | $929.11 0.3366116 Eth | $1,161,852.00 1,250.502 MKR | 1.2765% |
14 | ![]() | MKR-USDT | $933.48 0.3341724 Eth | $1,120,054.00 1,199.875 MKR | 1.2248% |
15 | ![]() | MKR-USDT | $925.40 0.3379821 Eth | $846,347.00 932.663 MKR | 0.9520% |
16 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $932.42 0.3402118 Eth | $811,305.00 885.004 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.9034% |
17 | ![]() | MKR-USDT | $934.23 0.3383370 Eth | $768,974.00 848.915 MKR | 0.8665% |
18 | ![]() | MKR-USDT | $930.14 0.3379695 Eth | $571,951.00 633.005 MKR | 0.6461% |
19 | ![]() | MKR-USDT | $929.63 0.3389077 Eth | $552,434.00 594.252 MKR | 0.6066% |
20 | ![]() | MKR-USDT | $924.50 0.3381131 Eth | $542,887.00 587.222 MKR | 0.5994% |
21 | ![]() | MKR-USDT | $922.65 0.3376978 Eth | $485,371.00 526.064 MKR | 0.5370% |
22 | ![]() | MKR-USDT | $930.18 0.3370922 Eth | $481,336.00 516.909 MKR | 0.5276% |
23 | ![]() | MKR-USD | $924.30 0.3380395 Eth | $469,628.00 508.090 MKR | 0.5186% |
24 | ![]() | MKR-USDT | $932.46 0.3399414 Eth | $456,762.00 504.883 MKR | 0.5154% |
25 | ![]() | MKR-USDT | $926.17 0.3382657 Eth | $419,362.00 452.790 MKR | 0.4622% |
26 | ![]() | MKR-BTC | $925.20 0.3379104 Eth | $342,530.00 373.836 MKR | 0.3816% |
27 | ![]() | MKR-USDT | $927.46 0.3381177 Eth | $332,888.00 367.612 MKR | 0.3752% |
28 | ![]() | MKR-USDT | $939.27 0.3363794 Eth | $322,936.00 343.817 MKR | 0.3510% |
29 | ![]() | MKR-USDT | $925.59 0.3385104 Eth | $312,015.00 344.954 MKR | 0.3521% |
30 | ![]() | MKR-USDT | $923.39 0.3365061 Eth | $270,242.00 299.002 MKR | 0.3052% |
31 | ![]() | MKR-BTC | $928.48 0.3383625 Eth | $253,049.00 275.311 MKR | 0.2810% |
32 | ![]() | MKR-USDT | $922.97 0.3378148 Eth | $248,862.00 269.633 MKR | 0.2752% |
33 | ![]() | MKR-SGD | $926.35 0.3381245 Eth | $221,873.00 239.513 MKR | 0.2445% |
34 | ![]() | MKR-USDT | $939.42 0.3359231 Eth | $184,391.00 196.283 MKR | 0.2004% |
35 | ![]() | MKR-BTC | $927.53 0.3384849 Eth | $178,441.00 192.382 MKR | 0.1964% |
36 | ![]() | MKR-USDT | $923.20 0.3376379 Eth | $178,053.00 192.865 MKR | 0.1969% |
37 | ![]() | MKR-USDT | $929.45 0.3376729 Eth | $177,705.00 196.327 MKR | 0.2004% |
38 | ![]() | MKR-USDT | $936.65 0.3349341 Eth | $162,717.00 173.722 MKR | 0.1773% |
39 | ![]() | MKR-USDT | $933.23 0.3384926 Eth | $141,853.00 152.002 MKR | 0.1552% |
40 | ![]() | MKR-USDT | $923.73 0.3373717 Eth | $141,776.00 156.509 MKR | 0.1598% |
41 | ![]() | MKR-EUR | $936.13 0.3401472 Eth | $136,607.00 145.927 MKR | 0.1490% |
42 | ![]() | MKR-USDT | $922.76 0.3377380 Eth | $125,477.00 138.929 MKR | 0.1418% |
43 | ![]() | MKR-USDC | $924.27 0.3380281 Eth | $125,166.00 135.422 MKR | 0.1382% |
44 | ![]() | MKR-USDT | $922.97 0.3378148 Eth | $122,987.00 135.128 MKR | 0.1379% |
45 | ![]() | MKR-USDT | $931.23 0.3372502 Eth | $111,821.00 123.436 MKR | 0.1260% |
46 | ![]() | MKR-BTC | $927.48 0.3385388 Eth | $110,629.00 119.278 MKR | 0.1218% |
47 | ![]() | MKR-USDT | $922.84 0.3377672 Eth | $100,946.00 111.642 MKR | 0.1140% |
48 | ![]() | MKR-USDT | $923.73 0.3378326 Eth | $89,972.00 97.400 MKR | 0.0994% |
49 | ![]() | MKR-TRY | $933.36 0.3380637 Eth | $84,013.00 93.420 MKR | 0.0954% |
50 | ![]() | MKR-EUR | $931.05 0.3405092 Eth | $82,561.00 88.675 MKR | 0.0905% |
51 | ![]() | MKR-USDT | $923.39 0.3365061 Eth | $79,831.00 88.063 MKR | 0.0899% |
52 | ![]() | MKR-EUR | $931.05 0.3398421 Eth | $79,437.00 87.150 MKR | 0.0890% |
53 | ![]() | MKR-USDT | $931.96 0.3375298 Eth | $78,876.00 84.635 MKR | 0.0864% |
54 | ![]() | MKR-USDT | $928.79 0.3380727 Eth | $78,722.00 84.758 MKR | 0.0865% |
55 | ![]() | MKR-USDT | $921.25 0.3352540 Eth | $75,592.00 83.747 MKR | 0.0855% |
56 | ![]() | MKR-USDT | $924.15 0.3357937 Eth | $70,687.00 78.075 MKR | 0.0797% |
57 | ![]() | MKR-USDT | $930.70 0.3396399 Eth | $70,275.00 78.044 MKR | 0.0797% |
58 | ![]() | MKR-USDT | $929.78 0.3369473 Eth | $66,584.00 73.701 MKR | 0.0752% |
59 | ![]() | MKR-USDT | $930.08 0.3369631 Eth | $50,926.00 56.679 MKR | 0.0579% |
60 | ![]() | MKR-USDT | $927.46 0.3394609 Eth | $50,743.00 56.006 MKR | 0.0572% |
61 | ![]() | MKR-USD | $926.21 0.3390018 Eth | $50,383.00 54.397 MKR | 0.0555% |
62 | ![]() | MKR-USDT | $926.63 0.3378133 Eth | $48,849.00 53.737 MKR | 0.0549% |
63 | ![]() | MKR-TRY | $922.40 0.3368886 Eth | $41,129.00 44.386 MKR | 0.0453% |
64 | ![]() | MKR-USDC | $924.03 0.3371534 Eth | $40,787.00 44.939 MKR | 0.0459% |
65 | ![]() | MKR-USD | $934.18 0.3419189 Eth | $40,716.00 43.584 MKR | 0.0445% |
66 | ![]() | MKR-MYR | $937.61 0.3415900 Eth | $39,546.00 42.177 MKR | 0.0431% |
67 | ![]() | MKR-USDT | $927.65 0.3381048 Eth | $39,440.00 43.545 MKR | 0.0444% |
68 | ![]() | MKR-BTC | $941.63 0.3384292 Eth | $35,018.00 37.380 MKR | 0.0382% |
69 | ![]() | MKR-THB | $928.74 0.3385009 Eth | $28,117.00 30.274 MKR | 0.0309% |
70 | ![]() | MKR-USDT | $925.42 0.3376602 Eth | $22,892.00 25.275 MKR | 0.0258% |
71 | ![]() | MKR-JPY | $940.81 0.3409434 Eth | $21,870.00 23.246 MKR | 0.0237% |
72 | ![]() | MKR-BRL | $942.39 0.3415176 Eth | $18,808.10 20.621 MKR | 0.0210% |
73 | ![]() | MKR-BTC | $938.34 0.3360226 Eth | $17,246.10 18.379 MKR | 0.0188% |
74 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $916.60 0.3352224 Eth | $17,154.11 19.009 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.0194% |
75 | ![]() | MKR-BTC | $925.66 0.3378021 Eth | $16,505.75 18.014 MKR | 0.0184% |
76 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $937.17 0.3392448 Eth | $15,682.42 17.268 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.0176% |
77 | ![]() | MKR-USDT | $926.85 0.3392370 Eth | $15,125.18 16.319 MKR | 0.0167% |
78 | ![]() | MKR-USDT | $934.64 0.3383312 Eth | $15,000.80 16.566 MKR | 0.0169% |
79 | ![]() | MKR-BTC | $924.72 0.3384555 Eth | $14,001.55 15.141 MKR | 0.0155% |
80 | ![]() | MKR-USD | $925.70 0.3374753 Eth | $13,166.14 14.467 MKR | 0.0148% |
81 | ![]() | MKR-USD | $923.24 0.3376518 Eth | $10,476.39 11.347 MKR | 0.0116% |
82 | ![]() | MKR-USDT | $934.51 0.3346745 Eth | $10,202.67 10.918 MKR | 0.0111% |
83 | ![]() | MKR-BRL | $944.57 0.3457208 Eth | $9,414.84 9.967 MKR | 0.0102% |
84 | ![]() | MKR-BTC | $924.57 0.3370622 Eth | $8,331.31 9.080 MKR | 0.0093% |
85 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $924.44 0.3373027 Eth | $6,489.45 7.076 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.0072% |
86 | ![]() | 0X6F7C932E7684666C9FD1D44527765433E01FF61D-0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270 | $935.61 0.3389675 Eth | $5,924.46 6.301 0X6F7C932E7684666C9FD1D44527765433E01FF61D | 0.0064% |
87 | ![]() | MKR-BTC | $928.21 0.3383909 Eth | $3,741.24 4.072 MKR | 0.0042% |
88 | ![]() | MKR-USD | $925.88 0.3381581 Eth | $3,643.83 3.936 MKR | 0.0040% |
89 | ![]() | MKR-XBT | $922.11 0.3372376 Eth | $2,831.30 3.070 MKR | 0.0031% |
90 | ![]() | 0X6F7C932E7684666C9FD1D44527765433E01FF61D-0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619 | $935.07 0.3413083 Eth | $2,744.60 2.972 0X6F7C932E7684666C9FD1D44527765433E01FF61D | 0.0030% |
91 | ![]() | MKR-USDC | $933.43 0.3413791 Eth | $1,313.32 1.461 MKR | 0.0015% |
92 | ![]() | MKR-IDR | $935.53 0.3389393 Eth | $819.85 0.901 MKR | 0.0009% |
93 | ![]() | MKR-USDT | $921.97 0.3374492 Eth | $456.18 0.495 MKR | 0.0005% |
94 | ![]() | MKR-USDT | $934.50 0.3382800 Eth | $269.41 0.288 MKR | 0.0003% |
95 | ![]() | MKR-USDT | $922.50 0.3373820 Eth | $227.43 0.251 MKR | 0.0003% |
96 | ![]() | MKR-USD | $925.90 0.3386246 Eth | $65.13 0.071 MKR | 0.0001% |
97 | ![]() | MKR-USDC | $930.53 0.3395252 Eth | $47.41 0.052 MKR | 0.0001% |
98 | ![]() | MKR-EUR | $928.98 0.3397503 Eth | $44.40 0.049 MKR | 0.0001% |
99 | ![]() | MKR-USDT | $926.64 0.3381056 Eth | $16.52 0.018 MKR | 0.0000% |
100 | ![]() | MKR-USDT | $927.91 0.3386213 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
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
Deployed Bytecode
0x6060604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461014d57806307da68f514610172578063095ea7b31461018757806313af4035146101bd57806318160ddd146101dc57806323b872dd146101ef578063313ce5671461021757806340c10f191461022a57806342966c681461024c5780635ac801fe1461026257806370a082311461027857806375f12b21146102975780637a9e5e4b146102aa5780638da5cb5b146102c957806395d89b41146102f85780639dc29fac1461030b578063a0712d681461032d578063a9059cbb14610343578063b753a98c14610365578063bb35783b14610387578063be9a6555146103af578063bf7e214f146103c2578063daea85c5146103d5578063dd62ed3e146103f4578063f2d5d56b14610419575b600080fd5b341561015857600080fd5b61016061043b565b60405190815260200160405180910390f35b341561017d57600080fd5b610185610441565b005b341561019257600080fd5b6101a9600160a060020a03600435166024356104e0565b604051901515815260200160405180910390f35b34156101c857600080fd5b610185600160a060020a036004351661050d565b34156101e757600080fd5b61016061058c565b34156101fa57600080fd5b6101a9600160a060020a0360043581169060243516604435610592565b341561022257600080fd5b610160610707565b341561023557600080fd5b610185600160a060020a036004351660243561070d565b341561025757600080fd5b6101856004356107d3565b341561026d57600080fd5b6101856004356107e0565b341561028357600080fd5b610160600160a060020a0360043516610806565b34156102a257600080fd5b6101a9610821565b34156102b557600080fd5b610185600160a060020a0360043516610831565b34156102d457600080fd5b6102dc6108b0565b604051600160a060020a03909116815260200160405180910390f35b341561030357600080fd5b6101606108bf565b341561031657600080fd5b610185600160a060020a03600435166024356108c5565b341561033857600080fd5b610185600435610a33565b341561034e57600080fd5b6101a9600160a060020a0360043516602435610a3d565b341561037057600080fd5b610185600160a060020a0360043516602435610a4a565b341561039257600080fd5b610185600160a060020a0360043581169060243516604435610a5a565b34156103ba57600080fd5b610185610a6b565b34156103cd57600080fd5b6102dc610b04565b34156103e057600080fd5b6101a9600160a060020a0360043516610b13565b34156103ff57600080fd5b610160600160a060020a0360043581169060243516610b39565b341561042457600080fd5b610185600160a060020a0360043516602435610b64565b60075481565b61045733600035600160e060020a031916610b6f565b151561046257600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff0000000000000000000000000000000000000000191660a060020a179055565b60045460009060a060020a900460ff16156104fa57600080fd5b6105048383610c7b565b90505b92915050565b61052333600035600160e060020a031916610b6f565b151561052e57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60005490565b60045460009060a060020a900460ff16156105ac57600080fd5b33600160a060020a031684600160a060020a0316141580156105f65750600160a060020a038085166000908152600260209081526040808320339094168352929052205460001914155b1561065457600160a060020a038085166000908152600260209081526040808320339094168352929052205461062c9083610ce7565b600160a060020a03808616600090815260026020908152604080832033909416835292905220555b600160a060020a0384166000908152600160205260409020546106779083610ce7565b600160a060020a0380861660009081526001602052604080822093909355908516815220546106a69083610cf7565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60065481565b61072333600035600160e060020a031916610b6f565b151561072e57600080fd5b60045460a060020a900460ff161561074557600080fd5b600160a060020a0382166000908152600160205260409020546107689082610cf7565b600160a060020a0383166000908152600160205260408120919091555461078f9082610cf7565b600055600160a060020a0382167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405190815260200160405180910390a25050565b6107dd33826108c5565b50565b6107f633600035600160e060020a031916610b6f565b151561080157600080fd5b600755565b600160a060020a031660009081526001602052604090205490565b60045460a060020a900460ff1681565b61084733600035600160e060020a031916610b6f565b151561085257600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600454600160a060020a031681565b60055481565b6108db33600035600160e060020a031916610b6f565b15156108e657600080fd5b60045460a060020a900460ff16156108fd57600080fd5b33600160a060020a031682600160a060020a0316141580156109475750600160a060020a038083166000908152600260209081526040808320339094168352929052205460001914155b156109a557600160a060020a038083166000908152600260209081526040808320339094168352929052205461097d9082610ce7565b600160a060020a03808416600090815260026020908152604080832033909416835292905220555b600160a060020a0382166000908152600160205260409020546109c89082610ce7565b600160a060020a038316600090815260016020526040812091909155546109ef9082610ce7565b600055600160a060020a0382167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25050565b6107dd338261070d565b6000610504338484610592565b610a55338383610592565b505050565b610a65838383610592565b50505050565b610a8133600035600160e060020a031916610b6f565b1515610a8c57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506004805474ff000000000000000000000000000000000000000019169055565b600354600160a060020a031681565b60045460009060a060020a900460ff1615610b2d57600080fd5b61050782600019610c7b565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b610a55823383610592565b600030600160a060020a031683600160a060020a03161415610b9357506001610507565b600454600160a060020a0384811691161415610bb157506001610507565b600354600160a060020a03161515610bcb57506000610507565b600354600160a060020a031663b70096138430856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b1515610c5957600080fd5b6102c65a03f11515610c6a57600080fd5b505050604051805190509050610507565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b8082038281111561050757600080fd5b8082018281101561050757600080fd00a165627a7a72305820c3b70a68c1ccfc4b88f478523cfc01b3108a40e2c6d0132d5b736b0c303497280029
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
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.