ETH Price: $3,334.51 (-1.98%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer184807072023-11-02 0:02:47426 days ago1698883367IN
0x7d11039D...D15EF976E
0 ETH0.002054843.37587453
Transfer173319532023-05-24 22:17:11587 days ago1684966631IN
0x7d11039D...D15EF976E
0.15 ETH0.0007254834.54673504
Transfer173319162023-05-24 22:09:47587 days ago1684966187IN
0x7d11039D...D15EF976E
0 ETH0.0012893636.76346853
Transfer173318682023-05-24 21:59:47587 days ago1684965587IN
0x7d11039D...D15EF976E
0 ETH0.0012391135.33073456
Transfer173318552023-05-24 21:57:11587 days ago1684965431IN
0x7d11039D...D15EF976E
0 ETH0.0011072331.58114737
Transfer173318192023-05-24 21:49:59587 days ago1684964999IN
0x7d11039D...D15EF976E
0 ETH0.0017342333.2482771

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
POOLL

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : POOLL.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract POOLL {
    string public name;
    string public symbol;
    uint256 public totalSupply;
    address public admin;
    mapping(address => uint256) public balanceOf;

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

    modifier onlyAdmin() {
        require(msg.sender == admin, "Only admin can perform this action");
        _;
    }

    constructor() {
        name = "POOLL";
        symbol = "PL";
        totalSupply = 25020;
        admin = msg.sender;
        balanceOf[admin] = totalSupply;
    }

    function transfer(address _to, uint256 _amount) public {
        require(balanceOf[msg.sender] >= _amount, "Insufficient balance");
        require(msg.sender != _to, "Invalid transfer");

        balanceOf[msg.sender] -= _amount;
        balanceOf[_to] += _amount;

        emit Transfer(msg.sender, _to, _amount);
    }

    function mint(address _to, uint256 _amount) public onlyAdmin {
        require(_to != address(0), "Invalid address");

        balanceOf[_to] += _amount;
        totalSupply += _amount;

        emit Mint(_to, _amount);
        emit Transfer(address(0), _to, _amount);
    }

    function burn(uint256 _amount) public {
        require(balanceOf[msg.sender] >= _amount, "Insufficient balance");

        balanceOf[msg.sender] -= _amount;
        totalSupply -= _amount;

        emit Burn(msg.sender, _amount);
        emit Transfer(msg.sender, address(0), _amount);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600581526020017f504f4f4c4c00000000000000000000000000000000000000000000000000000081525060009081620000589190620003d2565b506040518060400160405280600281526020017f504c000000000000000000000000000000000000000000000000000000000000815250600190816200009f9190620003d2565b506161bc60028190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060025460046000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620004b9565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620001da57607f821691505b602082108103620001f057620001ef62000192565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200025a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200021b565b6200026686836200021b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002b3620002ad620002a7846200027e565b62000288565b6200027e565b9050919050565b6000819050919050565b620002cf8362000292565b620002e7620002de82620002ba565b84845462000228565b825550505050565b600090565b620002fe620002ef565b6200030b818484620002c4565b505050565b5b81811015620003335762000327600082620002f4565b60018101905062000311565b5050565b601f82111562000382576200034c81620001f6565b62000357846200020b565b8101602085101562000367578190505b6200037f62000376856200020b565b83018262000310565b50505b505050565b600082821c905092915050565b6000620003a76000198460080262000387565b1980831691505092915050565b6000620003c2838362000394565b9150826002028217905092915050565b620003dd8262000158565b67ffffffffffffffff811115620003f957620003f862000163565b5b620004058254620001c1565b6200041282828562000337565b600060209050601f8311600181146200044a576000841562000435578287015190505b620004418582620003b4565b865550620004b1565b601f1984166200045a86620001f6565b60005b8281101562000484578489015182556001820191506020850194506020810190506200045d565b86831015620004a45784890151620004a0601f89168262000394565b8355505b6001600288020188555050505b505050505050565b610df880620004c96000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806370a082311161005b57806370a082311461010157806395d89b4114610131578063a9059cbb1461014f578063f851a4401461016b57610088565b806306fdde031461008d57806318160ddd146100ab57806340c10f19146100c957806342966c68146100e5575b600080fd5b610095610189565b6040516100a2919061094c565b60405180910390f35b6100b3610217565b6040516100c09190610987565b60405180910390f35b6100e360048036038101906100de9190610a31565b61021d565b005b6100ff60048036038101906100fa9190610a71565b610443565b005b61011b60048036038101906101169190610a9e565b6105eb565b6040516101289190610987565b60405180910390f35b610139610603565b604051610146919061094c565b60405180910390f35b61016960048036038101906101649190610a31565b610691565b005b610173610896565b6040516101809190610ada565b60405180910390f35b6000805461019690610b24565b80601f01602080910402602001604051908101604052809291908181526020018280546101c290610b24565b801561020f5780601f106101e45761010080835404028352916020019161020f565b820191906000526020600020905b8154815290600101906020018083116101f257829003601f168201915b505050505081565b60025481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a490610bc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361031c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031390610c33565b60405180910390fd5b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461036b9190610c82565b9250508190555080600260008282546103849190610c82565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516103d19190610987565b60405180910390a28173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104379190610987565b60405180910390a35050565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156104c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bc90610d02565b60405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546105149190610d22565b92505081905550806002600082825461052d9190610d22565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161057a9190610987565b60405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105e09190610987565b60405180910390a350565b60046020528060005260406000206000915090505481565b6001805461061090610b24565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90610b24565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b505050505081565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070a90610d02565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077890610da2565b60405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107d09190610d22565b9250508190555080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108269190610c82565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161088a9190610987565b60405180910390a35050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081519050919050565b600082825260208201905092915050565b60005b838110156108f65780820151818401526020810190506108db565b60008484015250505050565b6000601f19601f8301169050919050565b600061091e826108bc565b61092881856108c7565b93506109388185602086016108d8565b61094181610902565b840191505092915050565b600060208201905081810360008301526109668184610913565b905092915050565b6000819050919050565b6109818161096e565b82525050565b600060208201905061099c6000830184610978565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109d2826109a7565b9050919050565b6109e2816109c7565b81146109ed57600080fd5b50565b6000813590506109ff816109d9565b92915050565b610a0e8161096e565b8114610a1957600080fd5b50565b600081359050610a2b81610a05565b92915050565b60008060408385031215610a4857610a476109a2565b5b6000610a56858286016109f0565b9250506020610a6785828601610a1c565b9150509250929050565b600060208284031215610a8757610a866109a2565b5b6000610a9584828501610a1c565b91505092915050565b600060208284031215610ab457610ab36109a2565b5b6000610ac2848285016109f0565b91505092915050565b610ad4816109c7565b82525050565b6000602082019050610aef6000830184610acb565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610b3c57607f821691505b602082108103610b4f57610b4e610af5565b5b50919050565b7f4f6e6c792061646d696e2063616e20706572666f726d2074686973206163746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b6000610bb16022836108c7565b9150610bbc82610b55565b604082019050919050565b60006020820190508181036000830152610be081610ba4565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000610c1d600f836108c7565b9150610c2882610be7565b602082019050919050565b60006020820190508181036000830152610c4c81610c10565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c8d8261096e565b9150610c988361096e565b9250828201905080821115610cb057610caf610c53565b5b92915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610cec6014836108c7565b9150610cf782610cb6565b602082019050919050565b60006020820190508181036000830152610d1b81610cdf565b9050919050565b6000610d2d8261096e565b9150610d388361096e565b9250828203905081811115610d5057610d4f610c53565b5b92915050565b7f496e76616c6964207472616e7366657200000000000000000000000000000000600082015250565b6000610d8c6010836108c7565b9150610d9782610d56565b602082019050919050565b60006020820190508181036000830152610dbb81610d7f565b905091905056fea264697066735822122081a9c739cf482e09d35c8ad8013e8cf016a1265ca3df2193a288d3075646142a64736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c806370a082311161005b57806370a082311461010157806395d89b4114610131578063a9059cbb1461014f578063f851a4401461016b57610088565b806306fdde031461008d57806318160ddd146100ab57806340c10f19146100c957806342966c68146100e5575b600080fd5b610095610189565b6040516100a2919061094c565b60405180910390f35b6100b3610217565b6040516100c09190610987565b60405180910390f35b6100e360048036038101906100de9190610a31565b61021d565b005b6100ff60048036038101906100fa9190610a71565b610443565b005b61011b60048036038101906101169190610a9e565b6105eb565b6040516101289190610987565b60405180910390f35b610139610603565b604051610146919061094c565b60405180910390f35b61016960048036038101906101649190610a31565b610691565b005b610173610896565b6040516101809190610ada565b60405180910390f35b6000805461019690610b24565b80601f01602080910402602001604051908101604052809291908181526020018280546101c290610b24565b801561020f5780601f106101e45761010080835404028352916020019161020f565b820191906000526020600020905b8154815290600101906020018083116101f257829003601f168201915b505050505081565b60025481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a490610bc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361031c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031390610c33565b60405180910390fd5b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461036b9190610c82565b9250508190555080600260008282546103849190610c82565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885826040516103d19190610987565b60405180910390a28173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104379190610987565b60405180910390a35050565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156104c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bc90610d02565b60405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546105149190610d22565b92505081905550806002600082825461052d9190610d22565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161057a9190610987565b60405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105e09190610987565b60405180910390a350565b60046020528060005260406000206000915090505481565b6001805461061090610b24565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90610b24565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b505050505081565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070a90610d02565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077890610da2565b60405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546107d09190610d22565b9250508190555080600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546108269190610c82565b925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161088a9190610987565b60405180910390a35050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600081519050919050565b600082825260208201905092915050565b60005b838110156108f65780820151818401526020810190506108db565b60008484015250505050565b6000601f19601f8301169050919050565b600061091e826108bc565b61092881856108c7565b93506109388185602086016108d8565b61094181610902565b840191505092915050565b600060208201905081810360008301526109668184610913565b905092915050565b6000819050919050565b6109818161096e565b82525050565b600060208201905061099c6000830184610978565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109d2826109a7565b9050919050565b6109e2816109c7565b81146109ed57600080fd5b50565b6000813590506109ff816109d9565b92915050565b610a0e8161096e565b8114610a1957600080fd5b50565b600081359050610a2b81610a05565b92915050565b60008060408385031215610a4857610a476109a2565b5b6000610a56858286016109f0565b9250506020610a6785828601610a1c565b9150509250929050565b600060208284031215610a8757610a866109a2565b5b6000610a9584828501610a1c565b91505092915050565b600060208284031215610ab457610ab36109a2565b5b6000610ac2848285016109f0565b91505092915050565b610ad4816109c7565b82525050565b6000602082019050610aef6000830184610acb565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610b3c57607f821691505b602082108103610b4f57610b4e610af5565b5b50919050565b7f4f6e6c792061646d696e2063616e20706572666f726d2074686973206163746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b6000610bb16022836108c7565b9150610bbc82610b55565b604082019050919050565b60006020820190508181036000830152610be081610ba4565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000610c1d600f836108c7565b9150610c2882610be7565b602082019050919050565b60006020820190508181036000830152610c4c81610c10565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610c8d8261096e565b9150610c988361096e565b9250828201905080821115610cb057610caf610c53565b5b92915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000610cec6014836108c7565b9150610cf782610cb6565b602082019050919050565b60006020820190508181036000830152610d1b81610cdf565b9050919050565b6000610d2d8261096e565b9150610d388361096e565b9250828203905081811115610d5057610d4f610c53565b5b92915050565b7f496e76616c6964207472616e7366657200000000000000000000000000000000600082015250565b6000610d8c6010836108c7565b9150610d9782610d56565b602082019050919050565b60006020820190508181036000830152610dbb81610d7f565b905091905056fea264697066735822122081a9c739cf482e09d35c8ad8013e8cf016a1265ca3df2193a288d3075646142a64736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.