Skip to content
Verified contractExactMIT

QRNGToken

Address0xee87b17018d7feba45cb6abcca602bd8efe9e509
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.30

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.30+commit.73712a01
Language
solidity
Optimization
No
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
23,690,759
Creation transaction
0xa17e2ddf18…8e0cd61640

QRNGToken.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract QRNGToken {
    string public name = "Quantum RNG Token";
    string public symbol = "QRNG";
    uint8 public decimals = 18;
    uint256 public totalSupply;
    mapping(address => uint256) public balanceOf;
    address public owner;

    constructor() {
        owner = msg.sender;
    }

    function mint(address to, uint256 amount) public {
        require(msg.sender == owner, "Only owner can mint");
        balanceOf[to] += amount;
        totalSupply += amount;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.