pragma solidity ^0.5.0; import './vip-180.sol'; contract MVG is VIP180 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor () public { _name = "MVG"; _symbol = "MVG"; _decimals = 18; // 100b total supply _mint(msg.sender, 1 * 10 ** 11 * 10 ** 18); } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IVIP180-balanceOf} and {IVIP180-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } }