Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
NFT
Overview
Max Total Supply
21,000 MNT
Holders
748 (0.00%)
Market
Price
$99.86 @ 0.042307 ETH
Onchain Market Cap
$2,096,996.27
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.098 MNTValue
$9.79 ( ~0.00414782887658926 Eth) [0.0005%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MonetToken
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-04 */ pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); } pragma solidity =0.5.16; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, 'ds-math-add-overflow'); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, 'ds-math-sub-underflow'); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow'); } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); return a / b; } } pragma solidity =0.5.16; contract MonetTokenERC20 is IERC20 { using SafeMath for uint; uint public totalSupply; mapping(address => uint) public balanceOf; mapping(address => mapping(address => uint)) public allowance; event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function _mint(address to, uint value) internal { totalSupply = totalSupply.add(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(address(0), to, value); } function _burn(address from, uint256 value) internal { balanceOf[from] = balanceOf[from].sub(value); totalSupply = totalSupply.sub(value); emit Transfer(from, address(0), value); } function _approve(address owner, address spender, uint value) private { allowance[owner][spender] = value; emit Approval(owner, spender, value); } function _transfer(address from, address to, uint value) private { balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function approve(address spender, uint value) external returns (bool) { _approve(msg.sender, spender, value); return true; } function transfer(address to, uint value) external returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint value) external returns (bool) { if (allowance[from][msg.sender] != uint(-1)) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); } _transfer(from, to, value); return true; } } pragma solidity =0.5.16; contract MonetToken is MonetTokenERC20 { string public constant name = "Monet"; string public constant symbol = "MNT"; uint8 public constant decimals = 18; constructor() public { _mint(msg.sender,21000e18); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061002e33690472698b413b432000006001600160e01b0361003316565b610133565b61004c816000546100d560201b6104ef1790919060201c565b60009081556001600160a01b03831681526001602090815260409091205461007d9183906104ef6100d5821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b8082018281101561012d576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b92915050565b610573806101426000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b03813516906020013561026c565b604080519115158252519081900360200190f35b61015d610283565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b03813581169160208101359091169060400135610289565b6101ad610323565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610328565b6100a061033a565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610359565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610366565b60405180604001604052806005815260200164135bdb995d60da1b81525081565b6000610279338484610383565b5060015b92915050565b60005481565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000191461030e576001600160a01b03841660009081526002602090815260408083203384529091529020546102e9908363ffffffff6103e516565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b610319848484610435565b5060019392505050565b601281565b60016020526000908152604090205481565b6040518060400160405280600381526020016213539560ea1b81525081565b6000610279338484610435565b600260209081526000928352604080842090915290825290205481565b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082038281111561027d576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6001600160a01b03831660009081526001602052604090205461045e908263ffffffff6103e516565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610493908263ffffffff6104ef16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b8082018281101561027d576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea265627a7a7231582087db67441193767566228fd155013703f60a9e3756f2ba505778b3b11f4fccb064736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b03813516906020013561026c565b604080519115158252519081900360200190f35b61015d610283565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b03813581169160208101359091169060400135610289565b6101ad610323565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610328565b6100a061033a565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610359565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610366565b60405180604001604052806005815260200164135bdb995d60da1b81525081565b6000610279338484610383565b5060015b92915050565b60005481565b6001600160a01b03831660009081526002602090815260408083203384529091528120546000191461030e576001600160a01b03841660009081526002602090815260408083203384529091529020546102e9908363ffffffff6103e516565b6001600160a01b03851660009081526002602090815260408083203384529091529020555b610319848484610435565b5060019392505050565b601281565b60016020526000908152604090205481565b6040518060400160405280600381526020016213539560ea1b81525081565b6000610279338484610435565b600260209081526000928352604080842090915290825290205481565b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8082038281111561027d576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6001600160a01b03831660009081526001602052604090205461045e908263ffffffff6103e516565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610493908263ffffffff6104ef16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b8082018281101561027d576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea265627a7a7231582087db67441193767566228fd155013703f60a9e3756f2ba505778b3b11f4fccb064736f6c63430005100032
Deployed Bytecode Sourcemap
3441:253:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3441:253:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3493:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;3493:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2803:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2803:147:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1661:23;;;:::i;:::-;;;;;;;;;;;;;;;;3105:301;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3105:301:0;;;;;;;;;;;;;;;;;:::i;3581:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1691:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1691:41:0;-1:-1:-1;;;;;1691:41:0;;:::i;3537:37::-;;;:::i;2958:139::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2958:139:0;;;;;;;;:::i;1739:61::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1739:61:0;;;;;;;;;;:::i;3493:37::-;;;;;;;;;;;;;;-1:-1:-1;;;3493:37:0;;;;:::o;2803:147::-;2867:4;2884:36;2893:10;2905:7;2914:5;2884:8;:36::i;:::-;-1:-1:-1;2938:4:0;2803:147;;;;;:::o;1661:23::-;;;;:::o;3105:301::-;-1:-1:-1;;;;;3204:15:0;;3183:4;3204:15;;;:9;:15;;;;;;;;3220:10;3204:27;;;;;;;;-1:-1:-1;;3204:39:0;3200:140;;-1:-1:-1;;;;;3290:15:0;;;;;;:9;:15;;;;;;;;3306:10;3290:27;;;;;;;;:38;;3322:5;3290:38;:31;:38;:::i;:::-;-1:-1:-1;;;;;3260:15:0;;;;;;:9;:15;;;;;;;;3276:10;3260:27;;;;;;;:68;3200:140;3350:26;3360:4;3366:2;3370:5;3350:9;:26::i;:::-;-1:-1:-1;3394:4:0;3105:301;;;;;:::o;3581:35::-;3614:2;3581:35;:::o;1691:41::-;;;;;;;;;;;;;:::o;3537:37::-;;;;;;;;;;;;;;-1:-1:-1;;;3537:37:0;;;;:::o;2958:139::-;3018:4;3035:32;3045:10;3057:2;3061:5;3035:9;:32::i;1739:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;2398:169::-;-1:-1:-1;;;;;2479:16:0;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;2528:31;;;;;;;;;;;;;;;;;2398:169;;;:::o;1138:129::-;1222:5;;;1217:16;;;;1209:50;;;;;-1:-1:-1;;;1209:50:0;;;;;;;;;;;;-1:-1:-1;;;1209:50:0;;;;;;;;;;;;;;2575:220;-1:-1:-1;;;;;2669:15:0;;;;;;:9;:15;;;;;;:26;;2689:5;2669:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;2651:15:0;;;;;;;:9;:15;;;;;;:44;;;;2722:13;;;;;;;:24;;2740:5;2722:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;2706:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;2762:25;;;;;;;2706:13;;2762:25;;;;;;;;;;;;;2575:220;;;:::o;1002:128::-;1086:5;;;1081:16;;;;1073:49;;;;;-1:-1:-1;;;1073:49:0;;;;;;;;;;;;-1:-1:-1;;;1073:49:0;;;;;;;;;;;;;
Swarm Source
bzzr://87db67441193767566228fd155013703f60a9e3756f2ba505778b3b11f4fccb0
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.