More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,707 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Burn Tp | 18773313 | 350 days ago | IN | 0 ETH | 0.00269437 | ||||
Burn Tp | 18773229 | 350 days ago | IN | 0 ETH | 0.00369107 | ||||
Burn Tp | 18772873 | 350 days ago | IN | 0 ETH | 0.00389319 | ||||
Burn Tp | 18772687 | 350 days ago | IN | 0 ETH | 0.00297471 | ||||
Burn Tp | 18772652 | 350 days ago | IN | 0 ETH | 0.00402841 | ||||
Burn Tp | 18772650 | 350 days ago | IN | 0 ETH | 0.00314155 | ||||
Burn Tp | 18772327 | 350 days ago | IN | 0 ETH | 0.00399168 | ||||
Burn Tp | 18772324 | 350 days ago | IN | 0 ETH | 0.00381216 | ||||
Burn Tp | 18772197 | 350 days ago | IN | 0 ETH | 0.00380563 | ||||
Burn Tp | 18772121 | 350 days ago | IN | 0 ETH | 0.00239931 | ||||
Burn Tp | 18772078 | 350 days ago | IN | 0 ETH | 0.00535137 | ||||
Burn Tp | 18772021 | 350 days ago | IN | 0 ETH | 0.00226407 | ||||
Burn Tp | 18772019 | 350 days ago | IN | 0 ETH | 0.00241496 | ||||
Burn Tp | 18771849 | 350 days ago | IN | 0 ETH | 0.00376364 | ||||
Burn Tp | 18771700 | 350 days ago | IN | 0 ETH | 0.00421551 | ||||
Burn Tp | 18771592 | 350 days ago | IN | 0 ETH | 0.00404393 | ||||
Burn Tp | 18771531 | 350 days ago | IN | 0 ETH | 0.00338218 | ||||
Burn Tp | 18771312 | 350 days ago | IN | 0 ETH | 0.00403563 | ||||
Burn Tp | 18770432 | 351 days ago | IN | 0 ETH | 0.00419701 | ||||
Burn Tp | 18769895 | 351 days ago | IN | 0 ETH | 0.00216247 | ||||
Burn Tp | 18769451 | 351 days ago | IN | 0 ETH | 0.00215083 | ||||
Burn Tp | 18769275 | 351 days ago | IN | 0 ETH | 0.00154453 | ||||
Burn Tp | 18769236 | 351 days ago | IN | 0 ETH | 0.00187599 | ||||
Burn Tp | 18768978 | 351 days ago | IN | 0 ETH | 0.00208473 | ||||
Burn Tp | 18768885 | 351 days ago | IN | 0 ETH | 0.00196799 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TPBurner
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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; } }
// 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; }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.