Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 35 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Upgrade_still | 22418004 | 184 days ago | IN | 0 ETH | 0.00024573 | ||||
| Upgrade_animatio... | 22400173 | 187 days ago | IN | 0 ETH | 0.00022086 | ||||
| Upgrade_still | 22374709 | 190 days ago | IN | 0 ETH | 0.00034481 | ||||
| Upgrade_still | 22347331 | 194 days ago | IN | 0 ETH | 0.00048257 | ||||
| Upgrade_animatio... | 22341959 | 195 days ago | IN | 0 ETH | 0.00028869 | ||||
| Upgrade_animatio... | 22339794 | 195 days ago | IN | 0 ETH | 0.00074545 | ||||
| Upgrade_animatio... | 22332705 | 196 days ago | IN | 0 ETH | 0.0004212 | ||||
| Upgrade_animatio... | 22328994 | 197 days ago | IN | 0 ETH | 0.00030123 | ||||
| Upgrade_animatio... | 22328728 | 197 days ago | IN | 0 ETH | 0.00031827 | ||||
| Upgrade_still | 22312153 | 199 days ago | IN | 0 ETH | 0.00025594 | ||||
| Upgrade_animatio... | 22309542 | 199 days ago | IN | 0 ETH | 0.00026783 | ||||
| Upgrade_animatio... | 22296531 | 201 days ago | IN | 0 ETH | 0.00023201 | ||||
| Upgrade_still | 22294443 | 201 days ago | IN | 0 ETH | 0.00025633 | ||||
| Upgrade_animatio... | 22294377 | 201 days ago | IN | 0 ETH | 0.00002775 | ||||
| Upgrade_animatio... | 22293766 | 202 days ago | IN | 0 ETH | 0.00020493 | ||||
| Upgrade_animatio... | 22290071 | 202 days ago | IN | 0 ETH | 0.0004676 | ||||
| Upgrade_still | 22284270 | 203 days ago | IN | 0 ETH | 0.00007742 | ||||
| Upgrade_animatio... | 22284249 | 203 days ago | IN | 0 ETH | 0.00003665 | ||||
| Upgrade_animatio... | 22283088 | 203 days ago | IN | 0 ETH | 0.00020951 | ||||
| Upgrade_still | 22282443 | 203 days ago | IN | 0 ETH | 0.00029364 | ||||
| Upgrade_still | 22279581 | 203 days ago | IN | 0 ETH | 0.00025734 | ||||
| Upgrade_animatio... | 22277641 | 204 days ago | IN | 0 ETH | 0.00025449 | ||||
| Upgrade_animatio... | 22277240 | 204 days ago | IN | 0 ETH | 0.00028376 | ||||
| Upgrade_animatio... | 22277228 | 204 days ago | IN | 0 ETH | 0.00029149 | ||||
| Upgrade_still | 22276795 | 204 days ago | IN | 0 ETH | 0.0000628 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ZEN_BLOCKS_S2
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
/// @creator: mhx.eth
/// @author: seesharp.eth
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/// __/\\\\\\\\\\\\\\\_________________________________________/\\\\\\\\\\\\\____/\\\\\\___________________________________________________________
/// _\////////////\\\_________________________________________\/\\\/////////\\\_\////\\\_________________________________/\\\______________________
/// ___________/\\\/__________________________________________\/\\\_______\/\\\____\/\\\________________________________\/\\\______________________
/// _________/\\\/_________/\\\\\\\\___/\\/\\\\\\_____________\/\\\\\\\\\\\\\\_____\/\\\________/\\\\\________/\\\\\\\\_\/\\\\\\\\_____/\\\\\\\\\\_
/// _______/\\\/_________/\\\/////\\\_\/\\\////\\\____________\/\\\/////////\\\____\/\\\______/\\\///\\\____/\\\//////__\/\\\////\\\__\/\\\//////__
/// _____/\\\/__________/\\\\\\\\\\\__\/\\\__\//\\\___________\/\\\_______\/\\\____\/\\\_____/\\\__\//\\\__/\\\_________\/\\\\\\\\/___\/\\\\\\\\\\_
/// ___/\\\/___________\//\\///////___\/\\\___\/\\\___________\/\\\_______\/\\\____\/\\\____\//\\\__/\\\__\//\\\________\/\\\///\\\___\////////\\\_
/// __/\\\\\\\\\\\\\\\__\//\\\\\\\\\\_\/\\\___\/\\\___________\/\\\\\\\\\\\\\/___/\\\\\\\\\__\///\\\\\/____\///\\\\\\\\_\/\\\_\///\\\__/\\\\\\\\\\_
/// _\///////////////____\//////////__\///____\///____________\/////////////____\/////////_____\/////________\////////__\///____\///__\//////////__
interface ZEN_BLOCKS {
function upgrade(uint256 _tokenId) external;
function ownerOf(uint256 tokenId) external view returns (address);
}
contract ZEN_BLOCKS_S2 is Ownable {
IERC1155 public dataBlocksContract;
ZEN_BLOCKS public zenBlocksContract;
uint256 public upgradeZenBlockActiveTs = 0;
event Upgrade(uint256 indexed upgrade_type, uint256 indexed tokenId);
event UpgradeZenBlockWillActivateOn(uint256 timestamp);
event UpgradeZenBlockDeactivated();
constructor(address _dataBlocksContract, address _zenBlocksContract) Ownable(msg.sender) {
dataBlocksContract = IERC1155(_dataBlocksContract);
zenBlocksContract = ZEN_BLOCKS(_zenBlocksContract);
}
/**
* BURN MECHANICS
*/
function upgrade_still(uint256 _zenBlockTokenId) external {
require(upgradeZenBlockActiveTs != 0, "upgrade zen block time is not set");
require(block.timestamp >= upgradeZenBlockActiveTs, "wait for upgrade zen block time");
uint256 userDataBlockCount = dataBlocksContract.balanceOf(msg.sender, 1); // token id 1 is data block
require(userDataBlockCount >= 1, "Not enough data block");
require(zenBlocksContract.ownerOf(_zenBlockTokenId) == msg.sender, "Not your token");
dataBlocksContract.safeTransferFrom(msg.sender, address(0xdead), 1, 1, ""); // burn 1 data block
zenBlocksContract.upgrade(_zenBlockTokenId);
emit Upgrade(0, _zenBlockTokenId);
}
function upgrade_animation(uint256 _zenBlockTokenId) external {
require(upgradeZenBlockActiveTs != 0, "upgrade zen block time is not set");
require(block.timestamp >= upgradeZenBlockActiveTs, "wait for upgrade zen block time");
uint256 userDataBlockCount = dataBlocksContract.balanceOf(msg.sender, 1); // token id 1 is data block
require(userDataBlockCount >= 2, "Not enough data block");
require(zenBlocksContract.ownerOf(_zenBlockTokenId) == msg.sender, "Not your token");
dataBlocksContract.safeTransferFrom(msg.sender, address(0xdead), 1, 2, ""); // burn 2 data blocks
zenBlocksContract.upgrade(_zenBlockTokenId);
emit Upgrade(1, _zenBlockTokenId);
}
/**
* ADMIN FUNCTIONS
*/
function activateZenBlockUpgrade(uint256 _upgradeZenBlockActiveTs) external onlyOwner {
require(upgradeZenBlockActiveTs == 0, "Already activated");
upgradeZenBlockActiveTs = _upgradeZenBlockActiveTs;
emit UpgradeZenBlockWillActivateOn(upgradeZenBlockActiveTs);
}
function deactivateZenBlockUpgrade() external onlyOwner {
upgradeZenBlockActiveTs = 0;
emit UpgradeZenBlockDeactivated();
}
function setZenBlocksContractAddress(address _zenBlocksContract) external onlyOwner {
zenBlocksContract = ZEN_BLOCKS(_zenBlocksContract);
}
function setDataBlocksContractAddress(address _dataBlocksContract) external onlyOwner {
dataBlocksContract = IERC1155(_dataBlocksContract);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC-1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[ERC].
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the value of tokens of token type `id` owned by `account`.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(
address[] calldata accounts,
uint256[] calldata ids
) external view returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the zero address.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
*
* WARNING: This function can potentially allow a reentrancy attack when transferring tokens
* to an untrusted contract, when invoking {onERC1155Received} on the receiver.
* Ensure to follow the checks-effects-interactions pattern and consider employing
* reentrancy guards when interacting with untrusted contracts.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `value` amount.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* WARNING: This function can potentially allow a reentrancy attack when transferring tokens
* to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
* Ensure to follow the checks-effects-interactions pattern and consider employing
* reentrancy guards when interacting with untrusted contracts.
*
* Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
*
* Requirements:
*
* - `ids` and `values` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_dataBlocksContract","type":"address"},{"internalType":"address","name":"_zenBlocksContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"upgrade_type","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[],"name":"UpgradeZenBlockDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpgradeZenBlockWillActivateOn","type":"event"},{"inputs":[{"internalType":"uint256","name":"_upgradeZenBlockActiveTs","type":"uint256"}],"name":"activateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dataBlocksContract","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dataBlocksContract","type":"address"}],"name":"setDataBlocksContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_zenBlocksContract","type":"address"}],"name":"setZenBlocksContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeZenBlockActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zenBlockTokenId","type":"uint256"}],"name":"upgrade_animation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zenBlockTokenId","type":"uint256"}],"name":"upgrade_still","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zenBlocksContract","outputs":[{"internalType":"contract ZEN_BLOCKS","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040525f60035534801562000014575f80fd5b506040516200165a3803806200165a83398181016040528101906200003a91906200026e565b335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ae575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a59190620002c4565b60405180910390fd5b620000bf816200014860201b60201c565b508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002df565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000238826200020d565b9050919050565b6200024a816200022c565b811462000255575f80fd5b50565b5f8151905062000268816200023f565b92915050565b5f806040838503121562000287576200028662000209565b5b5f620002968582860162000258565b9250506020620002a98582860162000258565b9150509250929050565b620002be816200022c565b82525050565b5f602082019050620002d95f830184620002b3565b92915050565b61136d80620002ed5f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c806383ee32541161006f57806383ee32541461013c5780638da5cb5b146101585780638e9917aa14610176578063cbafb33d14610194578063d9720750146101b0578063f2fde38b146101ce576100b2565b80630dfa2bed146100b65780631fd8c384146100d45780632ef74ef7146100de578063403c9921146100fa578063691e807c14610116578063715018a614610132575b5f80fd5b6100be6101ea565b6040516100cb9190610d99565b60405180910390f35b6100dc61020f565b005b6100f860048036038101906100f39190610df1565b61024c565b005b610114600480360381019061010f9190610e4f565b610297565b005b610130600480360381019061012b9190610df1565b610651565b005b61013a61069c565b005b61015660048036038101906101519190610e4f565b6106af565b005b610160610a6b565b60405161016d9190610e89565b60405180910390f35b61017e610a92565b60405161018b9190610ec2565b60405180910390f35b6101ae60048036038101906101a99190610e4f565b610ab7565b005b6101b8610b46565b6040516101c59190610eea565b60405180910390f35b6101e860048036038101906101e39190610df1565b610b4c565b005b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610217610bd0565b5f6003819055507fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff60405160405180910390a1565b610254610bd0565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f600354036102db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d290610f83565b60405180910390fd5b600354421015610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b815260040161037d929190611042565b602060405180830381865afa158015610398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bc919061107d565b90506001811015610402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f9906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016104739190610eea565b602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b29190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ff90611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001806040518563ffffffff1660e01b815260040161056b94939291906111ea565b5f604051808303815f87803b158015610582575f80fd5b505af1158015610594573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b81526004016105f29190610eea565b5f604051808303815f87803b158015610609575f80fd5b505af115801561061b573d5f803e3d5ffd5b50505050815f7feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b610659610bd0565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106a4610bd0565b6106ad5f610c57565b565b5f600354036106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90610f83565b60405180910390fd5b600354421015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610795929190611042565b602060405180830381865afa1580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061107d565b9050600281101561081a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610811906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161088b9190610eea565b602060405180830381865afa1580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091790611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead600160026040518563ffffffff1660e01b81526004016109849493929190611279565b5f604051808303815f87803b15801561099b575f80fd5b505af11580156109ad573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b8152600401610a0b9190610eea565b5f604051808303815f87803b158015610a22575f80fd5b505af1158015610a34573d5f803e3d5ffd5b505050508160017feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abf610bd0565b5f60035414610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90611319565b60405180910390fd5b806003819055507f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f600354604051610b3b9190610eea565b60405180910390a150565b60035481565b610b54610bd0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bc4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bbb9190610e89565b60405180910390fd5b610bcd81610c57565b50565b610bd8610d18565b73ffffffffffffffffffffffffffffffffffffffff16610bf6610a6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5557610c19610d18565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4c9190610e89565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610d61610d5c610d5784610d1f565b610d3e565b610d1f565b9050919050565b5f610d7282610d47565b9050919050565b5f610d8382610d68565b9050919050565b610d9381610d79565b82525050565b5f602082019050610dac5f830184610d8a565b92915050565b5f80fd5b5f610dc082610d1f565b9050919050565b610dd081610db6565b8114610dda575f80fd5b50565b5f81359050610deb81610dc7565b92915050565b5f60208284031215610e0657610e05610db2565b5b5f610e1384828501610ddd565b91505092915050565b5f819050919050565b610e2e81610e1c565b8114610e38575f80fd5b50565b5f81359050610e4981610e25565b92915050565b5f60208284031215610e6457610e63610db2565b5b5f610e7184828501610e3b565b91505092915050565b610e8381610db6565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f610eac82610d68565b9050919050565b610ebc81610ea2565b82525050565b5f602082019050610ed55f830184610eb3565b92915050565b610ee481610e1c565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f82825260208201905092915050565b7f75706772616465207a656e20626c6f636b2074696d65206973206e6f742073655f8201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b5f610f6d602183610f03565b9150610f7882610f13565b604082019050919050565b5f6020820190508181035f830152610f9a81610f61565b9050919050565b7f7761697420666f722075706772616465207a656e20626c6f636b2074696d65005f82015250565b5f610fd5601f83610f03565b9150610fe082610fa1565b602082019050919050565b5f6020820190508181035f83015261100281610fc9565b9050919050565b5f819050919050565b5f61102c61102761102284611009565b610d3e565b610e1c565b9050919050565b61103c81611012565b82525050565b5f6040820190506110555f830185610e7a565b6110626020830184611033565b9392505050565b5f8151905061107781610e25565b92915050565b5f6020828403121561109257611091610db2565b5b5f61109f84828501611069565b91505092915050565b7f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000005f82015250565b5f6110dc601583610f03565b91506110e7826110a8565b602082019050919050565b5f6020820190508181035f830152611109816110d0565b9050919050565b5f8151905061111e81610dc7565b92915050565b5f6020828403121561113957611138610db2565b5b5f61114684828501611110565b91505092915050565b7f4e6f7420796f757220746f6b656e0000000000000000000000000000000000005f82015250565b5f611183600e83610f03565b915061118e8261114f565b602082019050919050565b5f6020820190508181035f8301526111b081611177565b9050919050565b5f82825260208201905092915050565b50565b5f6111d55f836111b7565b91506111e0826111c7565b5f82019050919050565b5f60a0820190506111fd5f830187610e7a565b61120a6020830186610e7a565b6112176040830185611033565b6112246060830184611033565b8181036080830152611235816111ca565b905095945050505050565b5f819050919050565b5f61126361125e61125984611240565b610d3e565b610e1c565b9050919050565b61127381611249565b82525050565b5f60a08201905061128c5f830187610e7a565b6112996020830186610e7a565b6112a66040830185611033565b6112b3606083018461126a565b81810360808301526112c4816111ca565b905095945050505050565b7f416c7265616479206163746976617465640000000000000000000000000000005f82015250565b5f611303601183610f03565b915061130e826112cf565b602082019050919050565b5f6020820190508181035f830152611330816112f7565b905091905056fea2646970667358221220959ed357623f1d8a8a46c8eaf17e6e4acd15cf65b1ead8f965aea5265cacfc6264736f6c63430008140033000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf370000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100b2575f3560e01c806383ee32541161006f57806383ee32541461013c5780638da5cb5b146101585780638e9917aa14610176578063cbafb33d14610194578063d9720750146101b0578063f2fde38b146101ce576100b2565b80630dfa2bed146100b65780631fd8c384146100d45780632ef74ef7146100de578063403c9921146100fa578063691e807c14610116578063715018a614610132575b5f80fd5b6100be6101ea565b6040516100cb9190610d99565b60405180910390f35b6100dc61020f565b005b6100f860048036038101906100f39190610df1565b61024c565b005b610114600480360381019061010f9190610e4f565b610297565b005b610130600480360381019061012b9190610df1565b610651565b005b61013a61069c565b005b61015660048036038101906101519190610e4f565b6106af565b005b610160610a6b565b60405161016d9190610e89565b60405180910390f35b61017e610a92565b60405161018b9190610ec2565b60405180910390f35b6101ae60048036038101906101a99190610e4f565b610ab7565b005b6101b8610b46565b6040516101c59190610eea565b60405180910390f35b6101e860048036038101906101e39190610df1565b610b4c565b005b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610217610bd0565b5f6003819055507fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff60405160405180910390a1565b610254610bd0565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f600354036102db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d290610f83565b60405180910390fd5b600354421015610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b815260040161037d929190611042565b602060405180830381865afa158015610398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bc919061107d565b90506001811015610402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f9906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016104739190610eea565b602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b29190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ff90611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001806040518563ffffffff1660e01b815260040161056b94939291906111ea565b5f604051808303815f87803b158015610582575f80fd5b505af1158015610594573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b81526004016105f29190610eea565b5f604051808303815f87803b158015610609575f80fd5b505af115801561061b573d5f803e3d5ffd5b50505050815f7feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b610659610bd0565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106a4610bd0565b6106ad5f610c57565b565b5f600354036106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90610f83565b60405180910390fd5b600354421015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610795929190611042565b602060405180830381865afa1580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061107d565b9050600281101561081a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610811906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161088b9190610eea565b602060405180830381865afa1580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091790611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead600160026040518563ffffffff1660e01b81526004016109849493929190611279565b5f604051808303815f87803b15801561099b575f80fd5b505af11580156109ad573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b8152600401610a0b9190610eea565b5f604051808303815f87803b158015610a22575f80fd5b505af1158015610a34573d5f803e3d5ffd5b505050508160017feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abf610bd0565b5f60035414610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90611319565b60405180910390fd5b806003819055507f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f600354604051610b3b9190610eea565b60405180910390a150565b60035481565b610b54610bd0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bc4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bbb9190610e89565b60405180910390fd5b610bcd81610c57565b50565b610bd8610d18565b73ffffffffffffffffffffffffffffffffffffffff16610bf6610a6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5557610c19610d18565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4c9190610e89565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610d61610d5c610d5784610d1f565b610d3e565b610d1f565b9050919050565b5f610d7282610d47565b9050919050565b5f610d8382610d68565b9050919050565b610d9381610d79565b82525050565b5f602082019050610dac5f830184610d8a565b92915050565b5f80fd5b5f610dc082610d1f565b9050919050565b610dd081610db6565b8114610dda575f80fd5b50565b5f81359050610deb81610dc7565b92915050565b5f60208284031215610e0657610e05610db2565b5b5f610e1384828501610ddd565b91505092915050565b5f819050919050565b610e2e81610e1c565b8114610e38575f80fd5b50565b5f81359050610e4981610e25565b92915050565b5f60208284031215610e6457610e63610db2565b5b5f610e7184828501610e3b565b91505092915050565b610e8381610db6565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f610eac82610d68565b9050919050565b610ebc81610ea2565b82525050565b5f602082019050610ed55f830184610eb3565b92915050565b610ee481610e1c565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f82825260208201905092915050565b7f75706772616465207a656e20626c6f636b2074696d65206973206e6f742073655f8201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b5f610f6d602183610f03565b9150610f7882610f13565b604082019050919050565b5f6020820190508181035f830152610f9a81610f61565b9050919050565b7f7761697420666f722075706772616465207a656e20626c6f636b2074696d65005f82015250565b5f610fd5601f83610f03565b9150610fe082610fa1565b602082019050919050565b5f6020820190508181035f83015261100281610fc9565b9050919050565b5f819050919050565b5f61102c61102761102284611009565b610d3e565b610e1c565b9050919050565b61103c81611012565b82525050565b5f6040820190506110555f830185610e7a565b6110626020830184611033565b9392505050565b5f8151905061107781610e25565b92915050565b5f6020828403121561109257611091610db2565b5b5f61109f84828501611069565b91505092915050565b7f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000005f82015250565b5f6110dc601583610f03565b91506110e7826110a8565b602082019050919050565b5f6020820190508181035f830152611109816110d0565b9050919050565b5f8151905061111e81610dc7565b92915050565b5f6020828403121561113957611138610db2565b5b5f61114684828501611110565b91505092915050565b7f4e6f7420796f757220746f6b656e0000000000000000000000000000000000005f82015250565b5f611183600e83610f03565b915061118e8261114f565b602082019050919050565b5f6020820190508181035f8301526111b081611177565b9050919050565b5f82825260208201905092915050565b50565b5f6111d55f836111b7565b91506111e0826111c7565b5f82019050919050565b5f60a0820190506111fd5f830187610e7a565b61120a6020830186610e7a565b6112176040830185611033565b6112246060830184611033565b8181036080830152611235816111ca565b905095945050505050565b5f819050919050565b5f61126361125e61125984611240565b610d3e565b610e1c565b9050919050565b61127381611249565b82525050565b5f60a08201905061128c5f830187610e7a565b6112996020830186610e7a565b6112a66040830185611033565b6112b3606083018461126a565b81810360808301526112c4816111ca565b905095945050505050565b7f416c7265616479206163746976617465640000000000000000000000000000005f82015250565b5f611303601183610f03565b915061130e826112cf565b602082019050919050565b5f6020820190508181035f830152611330816112f7565b905091905056fea2646970667358221220959ed357623f1d8a8a46c8eaf17e6e4acd15cf65b1ead8f965aea5265cacfc6264736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf370000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47
-----Decoded View---------------
Arg [0] : _dataBlocksContract (address): 0x825b8d4e1432CCbC5AB2bC24C9E65F0434dCaF37
Arg [1] : _zenBlocksContract (address): 0x9bf95e31C5b4cceeE9d4A9917F4f8704fD730d47
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf37
Arg [1] : 0000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.