Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
200,000,000 MRN
Holders
2,170
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MRNToken
Compiler Version
v0.4.24+commit.e67f0147
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-04-30 */ pragma solidity ^0.4.24; library SafeMath { function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { if (_a == 0) { return 0; } uint256 c = _a * _b; assert(c / _a == _b); return c; } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { require(_b > 0); uint256 c = _a / _b; return c; } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { assert(_b <= _a); uint256 c = _a - _b; return c; } function add(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a + _b; assert(c >= _a); return c; } } contract ERC20 { function totalSupply() public view returns (uint256); function balanceOf(address _who) public view returns (uint256); function allowance(address _owner, address _spender) public view returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); function approve(address _spender, uint256 _value) public returns (bool); function transferFrom(address _from, address _to, uint256 _value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract StandardToken is ERC20 { using SafeMath for uint256; mapping(address => uint256) balances; mapping (address => mapping (address => uint256)) internal allowed; uint256 totalSupply_; function totalSupply() public view returns (uint256) { return totalSupply_; } function balanceOf(address _owner) public view returns (uint256) { return balances[_owner]; } function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } function transfer(address _to, uint256 _value) public returns (bool) { require(_value <= balances[msg.sender]); require(_to != address(0)); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } } contract MRNToken is StandardToken{ using SafeMath for uint256; string public name="MRNToken"; string public symbol="MRN"; uint256 public decimals=18; address owner; event Burn(uint256 amount); modifier onlyOwner() { require(msg.sender == owner); _; } constructor(uint256 initialSupply) public { totalSupply_ = initialSupply * (10 ** decimals); balances[msg.sender]=totalSupply_; owner=msg.sender; } function burn(uint256 _amount) onlyOwner public returns (bool) { require(0 < _amount && _amount <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_amount); totalSupply_ = totalSupply_.sub(_amount); emit Burn(_amount); return true; } function transferOwnership(address newOwner) onlyOwner public { _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal { owner = newOwner; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"burn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"Burn","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
60c0604052600860808190527f4d524e546f6b656e00000000000000000000000000000000000000000000000060a090815261003e91600391906100de565b506040805180820190915260038082527f4d524e00000000000000000000000000000000000000000000000000000000006020909201918252610083916004916100de565b50601260055534801561009557600080fd5b5060405160208061092e8339810160409081529051600554600a0a0260028190553360008181526020819052929092205560068054600160a060020a0319169091179055610179565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011f57805160ff191683800117855561014c565b8280016001018555821561014c579182015b8281111561014c578251825591602001919060010190610131565b5061015892915061015c565b5090565b61017691905b808211156101585760008155600101610162565b90565b6107a6806101886000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806342966c68146101db57806370a08231146101f357806395d89b4114610214578063a9059cbb14610229578063dd62ed3e1461024d578063f2fde38b14610274575b600080fd5b3480156100bf57600080fd5b506100c8610297565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a0360043516602435610325565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a61038b565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a0360043581169060243516604435610391565b3480156101d257600080fd5b5061018a6104b3565b3480156101e757600080fd5b506101616004356104b9565b3480156101ff57600080fd5b5061018a600160a060020a036004351661057e565b34801561022057600080fd5b506100c8610599565b34801561023557600080fd5b50610161600160a060020a03600435166024356105f4565b34801561025957600080fd5b5061018a600160a060020a03600435811690602435166106d3565b34801561028057600080fd5b50610295600160a060020a03600435166106fe565b005b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561031d5780601f106102f25761010080835404028352916020019161031d565b820191906000526020600020905b81548152906001019060200180831161030057829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103a857600080fd5b600160a060020a0384166000908152602081905260409020546103d1908363ffffffff61072116565b600160a060020a038086166000908152602081905260408082209390935590851681522054610406908363ffffffff61073516565b600160a060020a03808516600090815260208181526040808320949094559187168152600182528281203382529091522054610448908363ffffffff61072116565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60055481565b600654600090600160a060020a031633146104d357600080fd5b8160001080156104f25750336000908152602081905260409020548211155b15156104fd57600080fd5b3360009081526020819052604090205461051d908363ffffffff61072116565b33600090815260208190526040902055600254610540908363ffffffff61072116565b6002556040805183815290517fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9181900360200190a1506001919050565b600160a060020a031660009081526020819052604090205490565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561031d5780601f106102f25761010080835404028352916020019161031d565b3360009081526020819052604081205482111561061057600080fd5b600160a060020a038316151561062557600080fd5b33600090815260208190526040902054610645908363ffffffff61072116565b3360009081526020819052604080822092909255600160a060020a03851681522054610677908363ffffffff61073516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600654600160a060020a0316331461071557600080fd5b61071e8161074b565b50565b6000808383111561072e57fe5b5050900390565b60008282018381101561074457fe5b9392505050565b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820e562b56d7d90fa2e71cbfd2bdbad4a4d22c794504cec29545328d2fe7739d9a70029000000000000000000000000000000000000000000000000000000000bebc200
Deployed Bytecode
0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806342966c68146101db57806370a08231146101f357806395d89b4114610214578063a9059cbb14610229578063dd62ed3e1461024d578063f2fde38b14610274575b600080fd5b3480156100bf57600080fd5b506100c8610297565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a0360043516602435610325565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a61038b565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a0360043581169060243516604435610391565b3480156101d257600080fd5b5061018a6104b3565b3480156101e757600080fd5b506101616004356104b9565b3480156101ff57600080fd5b5061018a600160a060020a036004351661057e565b34801561022057600080fd5b506100c8610599565b34801561023557600080fd5b50610161600160a060020a03600435166024356105f4565b34801561025957600080fd5b5061018a600160a060020a03600435811690602435166106d3565b34801561028057600080fd5b50610295600160a060020a03600435166106fe565b005b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561031d5780601f106102f25761010080835404028352916020019161031d565b820191906000526020600020905b81548152906001019060200180831161030057829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103a857600080fd5b600160a060020a0384166000908152602081905260409020546103d1908363ffffffff61072116565b600160a060020a038086166000908152602081905260408082209390935590851681522054610406908363ffffffff61073516565b600160a060020a03808516600090815260208181526040808320949094559187168152600182528281203382529091522054610448908363ffffffff61072116565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60055481565b600654600090600160a060020a031633146104d357600080fd5b8160001080156104f25750336000908152602081905260409020548211155b15156104fd57600080fd5b3360009081526020819052604090205461051d908363ffffffff61072116565b33600090815260208190526040902055600254610540908363ffffffff61072116565b6002556040805183815290517fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9181900360200190a1506001919050565b600160a060020a031660009081526020819052604090205490565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561031d5780601f106102f25761010080835404028352916020019161031d565b3360009081526020819052604081205482111561061057600080fd5b600160a060020a038316151561062557600080fd5b33600090815260208190526040902054610645908363ffffffff61072116565b3360009081526020819052604080822092909255600160a060020a03851681522054610677908363ffffffff61073516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600654600160a060020a0316331461071557600080fd5b61071e8161074b565b50565b6000808383111561072e57fe5b5050900390565b60008282018381101561074457fe5b9392505050565b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820e562b56d7d90fa2e71cbfd2bdbad4a4d22c794504cec29545328d2fe7739d9a70029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000bebc200
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 200000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000bebc200
Deployed Bytecode Sourcemap
2789:1054:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2869:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2869:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2869:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2223:192;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2223:192:0;-1:-1:-1;;;;;2223:192:0;;;;;;;;;;;;;;;;;;;;;;;;;1556:85;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1556:85:0;;;;;;;;;;;;;;;;;;;;2421:361;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2421:361:0;-1:-1:-1;;;;;2421:361:0;;;;;;;;;;;;2938:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2938:26:0;;;;3311:306;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3311:306:0;;;;;1647:101;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1647:101:0;-1:-1:-1;;;;;1647:101:0;;;;;2905:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2905:26:0;;;;1888:329;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1888:329:0;-1:-1:-1;;;;;1888:329:0;;;;;;;1754:128;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1754:128:0;-1:-1:-1;;;;;1754:128:0;;;;;;;;;;3629:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3629:109:0;-1:-1:-1;;;;;3629:109:0;;;;;;;2869:29;;;;;;;;;;;;;;;-1:-1:-1;;2869:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2223:192::-;2311:10;2290:4;2303:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2303:29:0;;;;;;;;;;;:38;;;2353;;;;;;;2290:4;;2303:29;;2311:10;;2353:38;;;;;;;;-1:-1:-1;2405:4:0;2223:192;;;;:::o;1556:85::-;1623:12;;1556:85;:::o;2421:361::-;2503:4;-1:-1:-1;;;;;2524:17:0;;;;2516:26;;;;;;-1:-1:-1;;;;;2569:15:0;;:8;:15;;;;;;;;;;;:27;;2589:6;2569:27;:19;:27;:::i;:::-;-1:-1:-1;;;;;2551:15:0;;;:8;:15;;;;;;;;;;;:45;;;;2619:13;;;;;;;:25;;2637:6;2619:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;2603:13:0;;;:8;:13;;;;;;;;;;;:41;;;;2680:14;;;;;:7;:14;;;;;2695:10;2680:26;;;;;;;:38;;2711:6;2680:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;2651:14:0;;;;;;;:7;:14;;;;;;;;2666:10;2651:26;;;;;;;;:67;;;;2730:28;;;;;;;;;;;2651:14;;2730:28;;;;;;;;;;;-1:-1:-1;2772:4:0;2421:361;;;;;:::o;2938:26::-;;;;:::o;3311:306::-;3086:5;;3368:4;;-1:-1:-1;;;;;3086:5:0;3072:10;:19;3064:28;;;;;;3397:7;3393:1;:11;:46;;;;-1:-1:-1;3428:10:0;3419:8;:20;;;;;;;;;;;3408:31;;;3393:46;3385:55;;;;;;;;3483:10;3474:8;:20;;;;;;;;;;;:33;;3499:7;3474:33;:24;:33;:::i;:::-;3460:10;3451:8;:20;;;;;;;;;;:56;3533:12;;:25;;3550:7;3533:25;:16;:25;:::i;:::-;3518:12;:40;3574:13;;;;;;;;;;;;;;;;;-1:-1:-1;3605:4:0;3311:306;;;:::o;1647:101::-;-1:-1:-1;;;;;1726:16:0;1703:7;1726:16;;;;;;;;;;;;1647:101::o;2905:26::-;;;;;;;;;;;;;;;-1:-1:-1;;2905:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1888:329;1991:10;1951:4;1982:20;;;;;;;;;;;1972:30;;;1964:39;;;;;;-1:-1:-1;;;;;2018:17:0;;;;2010:26;;;;;;2077:10;2068:8;:20;;;;;;;;;;;:32;;2093:6;2068:32;:24;:32;:::i;:::-;2054:10;2045:8;:20;;;;;;;;;;;:55;;;;-1:-1:-1;;;;;2123:13:0;;;;;;:25;;2141:6;2123:25;:17;:25;:::i;:::-;-1:-1:-1;;;;;2107:13:0;;:8;:13;;;;;;;;;;;;:41;;;;2160:33;;;;;;;2107:13;;2169:10;;2160:33;;;;;;;;;;-1:-1:-1;2207:4:0;1888:329;;;;:::o;1754:128::-;-1:-1:-1;;;;;1851:15:0;;;1828:7;1851:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;1754:128::o;3629:109::-;3086:5;;-1:-1:-1;;;;;3086:5:0;3072:10;:19;3064:28;;;;;;3702;3721:8;3702:18;:28::i;:::-;3629:109;:::o;411:145::-;471:7;;496:8;;;;489:16;;;;-1:-1:-1;;526:7:0;;;411:145::o;562:144::-;622:7;652;;;675;;;;668:15;;;;699:1;562:144;-1:-1:-1;;;562:144:0:o;3750:90::-;3816:5;:16;;-1:-1:-1;;3816:16:0;-1:-1:-1;;;;;3816:16:0;;;;;;;;;;3750:90::o
Swarm Source
bzzr://e562b56d7d90fa2e71cbfd2bdbad4a4d22c794504cec29545328d2fe7739d9a7
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.