SolarMango (SMGO)

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:


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

        contract SolarMango {
            string public name;
            string public symbol;
            uint8 public constant decimals = 18;
            uint256 public totalSupply;
            uint256 private var_UNaSmK;

            mapping(address => uint256) public balanceOf;
            mapping(address => mapping(address => uint256)) public allowance;

            event Transfer(address indexed from, address indexed to, uint256 value);
            event Approval(address indexed owner, address indexed spender, uint256 value);

            constructor() {
                name = "SolarMango";
                symbol = "SMGO";
                totalSupply = 31000000000 * 10 ** uint256(decimals);
                balanceOf[msg.sender] = totalSupply;
                emit Transfer(address(0), msg.sender, totalSupply);
                var_UNaSmK = block.timestamp % 1000;
            }


            function transfer(address _to, uint256 _value) external returns (bool) {
                require(balanceOf[msg.sender] >= _value, "ERC20: transfer amount exceeds balance");
                balanceOf[msg.sender] -= _value;
                balanceOf[_to] += _value;
                emit Transfer(msg.sender, _to, _value);
                return true;
            }

            function update_var_UNaSmK(uint256 newValue) public {
                var_UNaSmK = newValue;
            }

            function approve(address _spender, uint256 _value) external returns (bool) {
                allowance[msg.sender][_spender] = _value;
                emit Approval(msg.sender, _spender, _value);
                return true;
            }

            function get_var_UNaSmK() public view returns (uint256) {
                return var_UNaSmK;
            }

            function transferFrom(address _from, address _to, uint256 _value) external returns (bool) {
                require(balanceOf[_from] >= _value, "ERC20: transfer amount exceeds balance");
                require(allowance[_from][msg.sender] >= _value, "ERC20: transfer amount exceeds allowance");

                balanceOf[_from] -= _value;
                balanceOf[_to] += _value;
                allowance[_from][msg.sender] -= _value;
                emit Transfer(_from, _to, _value);
                return true;
            }

            
    uint256 private var_oeGlkF;

    function add_zcWzQ(uint256 newValue) public {
        var_oeGlkF = newValue;
    }

    function get_add_zcWzQ() public view returns (uint256) {
        return var_oeGlkF;
    }
    
        }
        

Tags:
addr:0x042f973216fea6dc4b0f9e998fe56164e50b9c54|verified:true|block:23619266|tx:0x82a63ee1326969e5af3e21daec929dc3f6fda7dbb239f48d0740a382a65971a5|first_check:1760972425

Submitted on: 2025-10-20 17:00:26

Comments

Log in to comment.

No comments yet.