Skip to content
Verified contractPartial

Seminolium

Address0x406104f45b2ff5cb4280897ffb2e2bbd3e4f7454
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.4.18

 

Same code

1 more contract

 

Details

Compiler
solc 0.4.18+commit.9cf6e910
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
4,664,676
Creation transaction
0xc1e8e00e99…2536390c63
Main copy (most transactions)
0x11a7a1af…b75df6e8

Seminolium.sol

pragma solidity ^0.4.18;

contract Seminolium {
    string public name = "Seminolium";
    string public symbol = "SMNL";
    uint8 public decimals = 18;
    uint256 public initialSupply = 2000000000000;
    uint256 public totalSupply;
    
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;
    
    event Transfer(address indexed from, address indexed to, uint256 value);
 
    function Seminolium() public {
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[msg.sender] = totalSupply;
    }

    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.