ETH Price: $3,496.25 (+4.50%)

Contract

0x5d576377056c989951a048f0fFb5312d932a867e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Burn Tp187733132023-12-12 23:14:59350 days ago1702422899IN
0x5d576377...d932a867e
0 ETH0.0026943743.54614021
Burn Tp187732292023-12-12 22:58:11350 days ago1702421891IN
0x5d576377...d932a867e
0 ETH0.0036910749.93132073
Burn Tp187728732023-12-12 21:46:23350 days ago1702417583IN
0x5d576377...d932a867e
0 ETH0.0038931962.92129623
Burn Tp187726872023-12-12 21:09:11350 days ago1702415351IN
0x5d576377...d932a867e
0 ETH0.0029747152.12025561
Burn Tp187726522023-12-12 21:02:11350 days ago1702414931IN
0x5d576377...d932a867e
0 ETH0.0040284154.50365025
Burn Tp187726502023-12-12 21:01:47350 days ago1702414907IN
0x5d576377...d932a867e
0 ETH0.0031415550.77340419
Burn Tp187723272023-12-12 19:56:47350 days ago1702411007IN
0x5d576377...d932a867e
0 ETH0.0039916853.99781063
Burn Tp187723242023-12-12 19:56:11350 days ago1702410971IN
0x5d576377...d932a867e
0 ETH0.0038121648.42510953
Burn Tp187721972023-12-12 19:30:47350 days ago1702409447IN
0x5d576377...d932a867e
0 ETH0.0038056351.48110109
Burn Tp187721212023-12-12 19:15:23350 days ago1702408523IN
0x5d576377...d932a867e
0 ETH0.0023993138.77742497
Burn Tp187720782023-12-12 19:06:47350 days ago1702408007IN
0x5d576377...d932a867e
0 ETH0.0053513748.46337761
Burn Tp187720212023-12-12 18:54:47350 days ago1702407287IN
0x5d576377...d932a867e
0 ETH0.0022640736.59167655
Burn Tp187720192023-12-12 18:54:23350 days ago1702407263IN
0x5d576377...d932a867e
0 ETH0.0024149639.03044597
Burn Tp187718492023-12-12 18:20:11350 days ago1702405211IN
0x5d576377...d932a867e
0 ETH0.0037636447.80874165
Burn Tp187717002023-12-12 17:49:59350 days ago1702403399IN
0x5d576377...d932a867e
0 ETH0.0042155153.54870985
Burn Tp187715922023-12-12 17:28:11350 days ago1702402091IN
0x5d576377...d932a867e
0 ETH0.0040439354.70463858
Burn Tp187715312023-12-12 17:15:59350 days ago1702401359IN
0x5d576377...d932a867e
0 ETH0.0033821859.25968699
Burn Tp187713122023-12-12 16:31:35350 days ago1702398695IN
0x5d576377...d932a867e
0 ETH0.0040356351.2637013
Burn Tp187704322023-12-12 13:34:23351 days ago1702388063IN
0x5d576377...d932a867e
0 ETH0.0041970153.31367272
Burn Tp187698952023-12-12 11:46:23351 days ago1702381583IN
0x5d576377...d932a867e
0 ETH0.0021624727.46947008
Burn Tp187694512023-12-12 10:16:11351 days ago1702376171IN
0x5d576377...d932a867e
0 ETH0.0021508329.09561366
Burn Tp187692752023-12-12 9:40:59351 days ago1702374059IN
0x5d576377...d932a867e
0 ETH0.0015445327.0619508
Burn Tp187692362023-12-12 9:32:59351 days ago1702373579IN
0x5d576377...d932a867e
0 ETH0.0018759930.31963765
Burn Tp187689782023-12-12 8:41:11351 days ago1702370471IN
0x5d576377...d932a867e
0 ETH0.0020847328.20148032
Burn Tp187688852023-12-12 8:22:35351 days ago1702369355IN
0x5d576377...d932a867e
0 ETH0.0019679931.80648639
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TPBurner

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : TPBurner.sol
// SPDX-License-Identifier: MIT
// Creator: Artur Chmaro for transparentworld.pl

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';

contract TPBurner {
  address public tpContractAddr;

  uint public burnCount = 0;

  constructor(address _tpAddr) {
    tpContractAddr = _tpAddr;
  }

  function burnTp(uint [] calldata _tokenIds) public {
      for(uint i = 0; i < _tokenIds.length; i++) {
        IERC721(tpContractAddr).transferFrom(msg.sender, address(this), _tokenIds[i]);
      }

      burnCount += _tokenIds.length;
  }
}

File 2 of 3 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 3 of 3 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tpAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"burnCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"burnTp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tpContractAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600060015534801561001557600080fd5b5060405161030638038061030683398101604081905261003491610059565b600080546001600160a01b0319166001600160a01b0392909216919091179055610087565b60006020828403121561006a578081fd5b81516001600160a01b0381168114610080578182fd5b9392505050565b610270806100966000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634c84315314610046578063524773ce146100765780636373293d1461008d575b600080fd5b600054610059906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61007f60015481565b60405190815260200161006d565b6100a061009b366004610181565b6100a2565b005b60005b81811015610162576000546001600160a01b03166323b872dd33308686868181106100e057634e487b7160e01b600052603260045260246000fd5b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561013757600080fd5b505af115801561014b573d6000803e3d6000fd5b50505050808061015a90610209565b9150506100a5565b50818190506001600082825461017891906101f1565b90915550505050565b60008060208385031215610193578182fd5b823567ffffffffffffffff808211156101aa578384fd5b818501915085601f8301126101bd578384fd5b8135818111156101cb578485fd5b8660208260051b85010111156101df578485fd5b60209290920196919550909350505050565b6000821982111561020457610204610224565b500190565b600060001982141561021d5761021d610224565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206599c43b93af5a26462170d904e9e0a6c5e73c201cdff33f2c0959468710e37364736f6c63430008040033000000000000000000000000ecdeb3fec697649e08b63d93cab0bb168c35eec5

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634c84315314610046578063524773ce146100765780636373293d1461008d575b600080fd5b600054610059906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61007f60015481565b60405190815260200161006d565b6100a061009b366004610181565b6100a2565b005b60005b81811015610162576000546001600160a01b03166323b872dd33308686868181106100e057634e487b7160e01b600052603260045260246000fd5b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561013757600080fd5b505af115801561014b573d6000803e3d6000fd5b50505050808061015a90610209565b9150506100a5565b50818190506001600082825461017891906101f1565b90915550505050565b60008060208385031215610193578182fd5b823567ffffffffffffffff808211156101aa578384fd5b818501915085601f8301126101bd578384fd5b8135818111156101cb578485fd5b8660208260051b85010111156101df578485fd5b60209290920196919550909350505050565b6000821982111561020457610204610224565b500190565b600060001982141561021d5761021d610224565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206599c43b93af5a26462170d904e9e0a6c5e73c201cdff33f2c0959468710e37364736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ecdeb3fec697649e08b63d93cab0bb168c35eec5

-----Decoded View---------------
Arg [0] : _tpAddr (address): 0xECdEb3fec697649e08b63d93cAB0Bb168c35eec5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ecdeb3fec697649e08b63d93cab0bb168c35eec5


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.