Overview
Max Total Supply
907,617.663894135959053023 MKR
Holders
100,547 ( 0.003%)
Market
Price
$889.03 @ 0.348000 ETH (-3.96%)
Onchain Market Cap
$806,899,331.73
Circulating Supply Market Cap
$783,530,501.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.001122167610223665 MKRValue
$1.00 ( ~0.000391437907970622 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | MKR-USDT | $882.24 0.3400107 Eth | $50,400,662.00 55,408.712 MKR | 48.3153% |
2 | ![]() | MKR-USDT | $883.33 0.3396089 Eth | $10,415,292.00 11,482.386 MKR | 10.0124% |
3 | ![]() | MKR-USDT | $892.21 0.3391836 Eth | $8,084,628.00 8,907.106 MKR | 7.7668% |
4 | ![]() | MKR-USD | $882.92 0.3401100 Eth | $4,875,579.00 5,522.108 MKR | 4.8152% |
5 | ![]() | MKR-USDT | $884.14 0.3407432 Eth | $3,260,736.00 0.000 MKR | 0.0000% |
6 | ![]() | MKR-USDT | $883.23 0.3416306 Eth | $2,823,300.00 3,106.908 MKR | 2.7092% |
7 | ![]() | MKR-USDT | $879.79 0.3402998 Eth | $2,534,629.00 2,799.133 MKR | 2.4408% |
8 | ![]() | MKR-USDT | $881.28 0.3419728 Eth | $2,172,416.00 2,400.416 MKR | 2.0931% |
9 | ![]() | MKR-USDT | $882.13 0.3403457 Eth | $1,589,754.00 1,752.396 MKR | 1.5281% |
10 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $884.39 0.3431814 Eth | $1,419,458.00 1,607.824 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 1.4020% |
11 | ![]() | MKR-USDT | $884.40 0.3399480 Eth | $1,246,062.00 1,374.049 MKR | 1.1981% |
12 | ![]() | MKR-USDT | $881.38 0.3420116 Eth | $1,172,232.00 1,330.000 MKR | 1.1597% |
13 | ![]() | MKR-USDT | $884.23 0.3406161 Eth | $1,104,631.00 1,249.252 MKR | 1.0893% |
14 | ![]() | MKR-USDT | $895.05 0.3385794 Eth | $996,399.00 1,096.840 MKR | 0.9564% |
15 | ![]() | MKR-USDT | $881.03 0.3393805 Eth | $994,705.00 1,129.031 MKR | 0.9845% |
16 | ![]() | MKR-USDT | $879.39 0.3417024 Eth | $796,381.00 905.609 MKR | 0.7897% |
17 | ![]() | MKR-BTC | $884.29 0.3399785 Eth | $792,083.00 884.819 MKR | 0.7715% |
18 | ![]() | MKR-USDT | $883.18 0.3402615 Eth | $769,820.00 870.665 MKR | 0.7592% |
19 | ![]() | MKR-USDT | $883.27 0.3416460 Eth | $652,233.00 738.432 MKR | 0.6439% |
20 | ![]() | MKR-USDT | $884.91 0.3395443 Eth | $604,257.00 669.083 MKR | 0.5834% |
21 | ![]() | MKR-USDT | $885.16 0.3410245 Eth | $586,312.00 662.383 MKR | 0.5776% |
22 | ![]() | MKR-USDT | $886.23 0.3413867 Eth | $569,467.00 642.569 MKR | 0.5603% |
23 | ![]() | MKR-USDT | $890.95 0.3389076 Eth | $558,109.00 626.419 MKR | 0.5462% |
24 | ![]() | MKR-USDT | $884.17 0.3400123 Eth | $496,392.00 546.816 MKR | 0.4768% |
25 | ![]() | MKR-USDT | $884.22 0.3420136 Eth | $464,887.00 512.794 MKR | 0.4471% |
26 | ![]() | MKR-USDT | $880.87 0.3418138 Eth | $408,937.00 464.243 MKR | 0.4048% |
27 | ![]() | MKR-USDT | $883.43 0.3403074 Eth | $404,382.00 446.321 MKR | 0.3892% |
28 | ![]() | MKR-USDT | $890.24 0.3391296 Eth | $400,763.00 450.172 MKR | 0.3925% |
29 | ![]() | MKR-USDT | $884.17 0.3393858 Eth | $393,945.00 445.552 MKR | 0.3885% |
30 | ![]() | MKR-USDT | $881.17 0.3388584 Eth | $282,056.00 310.839 MKR | 0.2710% |
31 | ![]() | MKR-BTC | $884.88 0.3409166 Eth | $278,150.00 310.862 MKR | 0.2711% |
32 | ![]() | MKR-USDT | $886.88 0.3402999 Eth | $269,393.00 297.216 MKR | 0.2592% |
33 | ![]() | MKR-USD | $881.50 0.3409622 Eth | $262,334.00 297.599 MKR | 0.2595% |
34 | ![]() | MKR-USDT | $880.59 0.3406087 Eth | $246,463.00 270.540 MKR | 0.2359% |
35 | ![]() | MKR-BTC | $881.43 0.3409366 Eth | $245,929.00 279.011 MKR | 0.2433% |
36 | ![]() | MKR-USD | $882.46 0.3428965 Eth | $237,512.00 269.148 MKR | 0.2347% |
37 | ![]() | MKR-BTC | $882.23 0.3400073 Eth | $234,750.00 266.088 MKR | 0.2320% |
38 | ![]() | MKR-JPY | $885.57 0.3436374 Eth | $192,111.00 216.936 MKR | 0.1892% |
39 | ![]() | MKR-USDT | $884.89 0.3433727 Eth | $190,115.00 209.312 MKR | 0.1825% |
40 | ![]() | MKR-USDT | $880.30 0.3420556 Eth | $184,601.00 209.703 MKR | 0.1829% |
41 | ![]() | MKR-USDT | $882.90 0.3415029 Eth | $175,611.00 193.498 MKR | 0.1687% |
42 | ![]() | MKR-USDT | $886.52 0.3412850 Eth | $169,193.00 187.179 MKR | 0.1632% |
43 | ![]() | MKR-TRY | $891.81 0.3423152 Eth | $157,978.00 173.059 MKR | 0.1509% |
44 | ![]() | MKR-USDC | $878.24 0.3412572 Eth | $157,457.00 179.287 MKR | 0.1563% |
45 | ![]() | MKR-USDT | $885.31 0.3440057 Eth | $155,387.00 175.516 MKR | 0.1530% |
46 | ![]() | MKR-USDT | $883.10 0.3403443 Eth | $151,809.00 166.981 MKR | 0.1456% |
47 | ![]() | MKR-USDT | $883.08 0.3396826 Eth | $138,157.00 152.359 MKR | 0.1329% |
48 | ![]() | MKR-USDT | $884.18 0.3406468 Eth | $137,252.00 151.202 MKR | 0.1318% |
49 | ![]() | MKR-USDT | $882.22 0.3412398 Eth | $131,946.00 145.472 MKR | 0.1268% |
50 | ![]() | MKR-USDT | $880.38 0.3416238 Eth | $129,630.00 147.244 MKR | 0.1284% |
51 | ![]() | MKR-TRY | $893.18 0.3402493 Eth | $117,786.00 129.580 MKR | 0.1130% |
52 | ![]() | MKR-USDT | $881.24 0.3396252 Eth | $117,232.00 133.031 MKR | 0.1160% |
53 | ![]() | MKR-USDT | $885.74 0.3399362 Eth | $111,778.00 123.323 MKR | 0.1075% |
54 | ![]() | MKR-USD | $884.08 0.3430602 Eth | $111,391.00 125.996 MKR | 0.1099% |
55 | ![]() | MKR-USDT | $882.33 0.3423811 Eth | $106,714.00 120.946 MKR | 0.1055% |
56 | ![]() | MKR-EUR | $883.92 0.3391639 Eth | $106,033.00 116.927 MKR | 0.1020% |
57 | ![]() | MKR-EUR | $883.07 0.3415689 Eth | $105,361.00 119.313 MKR | 0.1040% |
58 | ![]() | MKR-EUR | $885.41 0.3404920 Eth | $98,442.00 111.182 MKR | 0.0969% |
59 | ![]() | MKR-USDT | $884.23 0.3406161 Eth | $97,214.00 107.042 MKR | 0.0933% |
60 | ![]() | MKR-USDT | $896.98 0.3399050 Eth | $77,466.00 86.363 MKR | 0.0753% |
61 | ![]() | MKR-USDT | $885.48 0.3397640 Eth | $72,647.00 79.990 MKR | 0.0697% |
62 | ![]() | MKR-USDT | $883.88 0.3392744 Eth | $72,428.00 81.943 MKR | 0.0715% |
63 | ![]() | MKR-USDT | $883.47 0.3401077 Eth | $58,749.00 64.724 MKR | 0.0564% |
64 | ![]() | MKR-MYR | $897.42 0.3482372 Eth | $49,449.00 55.101 MKR | 0.0480% |
65 | ![]() | MKR-THB | $887.52 0.3443941 Eth | $41,845.00 47.148 MKR | 0.0411% |
66 | ![]() | MKR-USDT | $882.47 0.3397229 Eth | $41,536.00 45.814 MKR | 0.0399% |
67 | ![]() | MKR-BTC | $884.51 0.3395137 Eth | $38,050.00 42.574 MKR | 0.0371% |
68 | ![]() | MKR-USDT | $883.19 0.3395570 Eth | $34,806.00 38.344 MKR | 0.0334% |
69 | ![]() | MKR-BTC | $883.09 0.3403381 Eth | $34,762.00 38.897 MKR | 0.0339% |
70 | ![]() | MKR-BTC | $886.67 0.3382144 Eth | $34,019.00 38.368 MKR | 0.0335% |
71 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $881.43 0.3395362 Eth | $33,104.00 37.389 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.0326% |
72 | ![]() | MKR-USDC | $883.34 0.3402712 Eth | $26,258.00 28.959 MKR | 0.0253% |
73 | ![]() | MKR-USD | $886.80 0.3430123 Eth | $22,817.00 25.013 MKR | 0.0218% |
74 | ![]() | MKR-USDC | $885.74 0.3417363 Eth | $20,632.00 22.608 MKR | 0.0197% |
75 | ![]() | MKR-USDC | $885.08 0.3402096 Eth | $20,204.00 22.156 MKR | 0.0193% |
76 | ![]() | MKR-BTC | $884.17 0.3400126 Eth | $20,047.00 22.673 MKR | 0.0198% |
77 | ![]() | MKR-USDT | $894.20 0.3380549 Eth | $19,696.56 22.027 MKR | 0.0192% |
78 | ![]() | MKR-BTC | $884.26 0.3400493 Eth | $15,886.47 17.760 MKR | 0.0155% |
79 | ![]() | MKR-XBT | $883.34 0.3416730 Eth | $15,119.92 17.117 MKR | 0.0149% |
80 | ![]() | MKR-USDT | $880.98 0.3380355 Eth | $13,593.09 15.057 MKR | 0.0131% |
81 | ![]() | MKR-USD | $881.73 0.3410512 Eth | $13,222.66 14.996 MKR | 0.0131% |
82 | ![]() | MKR-USD | $885.33 0.3435452 Eth | $11,953.13 13.501 MKR | 0.0118% |
83 | ![]() | MKR-USD | $886.00 0.3427028 Eth | $10,809.04 11.909 MKR | 0.0104% |
84 | ![]() | MKR-BTC | $884.59 0.3408064 Eth | $10,091.49 11.286 MKR | 0.0098% |
85 | ![]() | MKR-BTC | $885.36 0.3411033 Eth | $9,462.43 10.521 MKR | 0.0092% |
86 | ![]() | 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $883.01 0.3403090 Eth | $7,683.35 8.497 0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2 | 0.0074% |
87 | ![]() | MKR-USDT | $884.17 0.3384158 Eth | $6,203.19 7.016 MKR | 0.0061% |
88 | ![]() | MKR-USDT | $888.15 0.3382029 Eth | $6,126.84 6.766 MKR | 0.0059% |
89 | ![]() | MKR-ETH | $887.25 0.3442911 Eth | $5,717.10 6.444 MKR | 0.0056% |
90 | ![]() | MKR-EUR | $883.58 0.3409059 Eth | $4,056.38 4.488 MKR | 0.0039% |
91 | ![]() | MKR-USDT | $883.33 0.3396089 Eth | $3,602.12 4.078 MKR | 0.0036% |
92 | ![]() | 0X6F7C932E7684666C9FD1D44527765433E01FF61D-0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619 | $887.15 0.3405266 Eth | $1,750.42 1.955 0X6F7C932E7684666C9FD1D44527765433E01FF61D | 0.0017% |
93 | ![]() | 0X6F7C932E7684666C9FD1D44527765433E01FF61D-0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270 | $888.37 0.3419975 Eth | $1,148.77 1.314 0X6F7C932E7684666C9FD1D44527765433E01FF61D | 0.0011% |
94 | ![]() | MKR-USDT | $892.78 0.3386963 Eth | $197.11 0.217 MKR | 0.0002% |
95 | ![]() | MKR-USDT | $883.22 0.3402270 Eth | $36.67 0.040 MKR | 0.0000% |
96 | ![]() | MKR-EUR | $884.23 0.3431195 Eth | $19.36 0.021 MKR | 0.0000% |
97 | ![]() | MKR-USD | $892.70 0.3392726 Eth | $16.21 0.018 MKR | 0.0000% |
98 | ![]() | MKR-USDC | $888.15 0.3399387 Eth | $16.20 0.018 MKR | 0.0000% |
99 | ![]() | MKR-BTC | $893.53 0.3396372 Eth | $12.43 0.014 MKR | 0.0000% |
100 | ![]() | MKR-USDT | $883.91 0.3400006 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.