Feature Tip: Add private address tag to any address under My Name Tag !
This token is reported to have been spammed to a large number of addresses. Please treat it with caution.
ERC-1155
Overview
Max Total Supply
1,033
Holders
603
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DATA_BLOCKS
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 2222 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @creator: mhxalt.eth /// @author: seesharp.eth import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// __/\\\\\\\\\\\\___________________________________________________________/\\\\\\\\\\\\\____/\\\\\\___________________________________________________________ /// _\/\\\////////\\\________________________________________________________\/\\\/////////\\\_\////\\\_________________________________/\\\______________________ /// _\/\\\______\//\\\____________________/\\\_______________________________\/\\\_______\/\\\____\/\\\________________________________\/\\\______________________ /// _\/\\\_______\/\\\__/\\\\\\\\\_____/\\\\\\\\\\\__/\\\\\\\\\______________\/\\\\\\\\\\\\\\_____\/\\\________/\\\\\________/\\\\\\\\_\/\\\\\\\\_____/\\\\\\\\\\_ /// _\/\\\_______\/\\\_\////////\\\___\////\\\////__\////////\\\_____________\/\\\/////////\\\____\/\\\______/\\\///\\\____/\\\//////__\/\\\////\\\__\/\\\//////__ /// _\/\\\_______\/\\\___/\\\\\\\\\\_____\/\\\________/\\\\\\\\\\____________\/\\\_______\/\\\____\/\\\_____/\\\__\//\\\__/\\\_________\/\\\\\\\\/___\/\\\\\\\\\\_ /// _\/\\\_______/\\\___/\\\/////\\\_____\/\\\_/\\___/\\\/////\\\____________\/\\\_______\/\\\____\/\\\____\//\\\__/\\\__\//\\\________\/\\\///\\\___\////////\\\_ /// _\/\\\\\\\\\\\\/___\//\\\\\\\\/\\____\//\\\\\___\//\\\\\\\\/\\___________\/\\\\\\\\\\\\\/___/\\\\\\\\\__\///\\\\\/____\///\\\\\\\\_\/\\\_\///\\\__/\\\\\\\\\\_ /// _\////////////______\////////\//______\/////_____\////////\//____________\/////////////____\/////////_____\/////________\////////__\///____\///__\//////////__ interface ZEN_BLOCKS { function mint(address _addr, uint256 _amount) external; function upgrade(uint256 _tokenId) external; function ownerOf(uint256 tokenId) external view returns (address); } contract DATA_BLOCKS is ERC1155, Ownable { uint256 constant public maxSupply = 2222; uint256 public mintedSupply = 0; uint256 public burnedSupply = 0; uint256 public remainingAirDropSupply = 120; uint256 public mintActiveTs = 0; uint256 public mintPublicActiveTs = 0; uint256 public mintZenBlockActiveTs = 0; uint256 public upgradeZenBlockActiveTs = 0; address public ashContract; address public zenBlocksContract; address private validatorAddress; uint256 constant private _tokenId = 1; uint256 constant public priceInASH = 8000000000000000000; // 8 ASH uint256 constant private _mintPerAddressLimit = 2; // per wallet mint limit (public sale and allow list are counted separately) mapping(address => uint256) private _allowlistMintCntPerAddress; mapping(address => uint256) private _mintPublicCntPerAddress; bool private _transferLock = true; uint256 private _royaltyBps; address payable private _royaltyRecipient; bytes4 constant private _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6; bytes4 constant private _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a; bytes4 constant private _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584; string constant private _eip191prefixAL = "\x19Ethereum Signed Message:\n34AL_DATA_BLOCKS"; string constant private _eip191prefixPS = "\x19Ethereum Signed Message:\n130PS_DATA_BLOCKS"; event MintWillActivateOn(uint256 timestamp); event MintDeactivated(); event MintPublicWillActivateOn(uint256 timestamp); event MintPublicDeactivated(); event MintZenBlockWillActivateOn(uint256 timestamp); event MintZenBlockDeactivated(); event UpgradeZenBlockWillActivateOn(uint256 timestamp); event UpgradeZenBlockDeactivated(); constructor(address _ashContract, address _validatorAddress, string memory uri) ERC1155(uri) { ashContract = _ashContract; validatorAddress = _validatorAddress; } /** * MINT FUNCTIONS * NOTE: first 8 bits of nonce is always 0 */ function mintPublicWithASH(uint256 _mintAmount, uint256 _timestamp, uint256 _nonce, uint8 v, bytes32 r, bytes32 s) public { require(mintPublicActiveTs != 0, "public mint date is not set"); require(block.timestamp >= mintPublicActiveTs, "wait for public mint time"); require(block.timestamp <= _timestamp, "timeout"); require(_mintAmount > 0, "need to mint at least 1 NFT"); require((mintedSupply + remainingAirDropSupply + _mintAmount) <= maxSupply, "max NFT limit exceeded"); uint256 addressPublicMintedCount = (_mintPublicCntPerAddress[msg.sender] & 0xFF); // last byte is mint count, other bytes are last used nonce require(addressPublicMintedCount + _mintAmount <= _mintPerAddressLimit, "max NFT per address exceeded"); uint256 old_nonce = (_mintPublicCntPerAddress[msg.sender] >> 8); // to prevent reuse of single mint signature require(old_nonce != _nonce, "this signature has already been used"); require(validatorAddress != address(0x0), "validator not set"); bytes32 hash = keccak256(abi.encodePacked(_eip191prefixPS, msg.sender, _mintAmount, _timestamp, _nonce)); require(validatorAddress == ecrecover(hash, v, r, s), "signature is wrong!!"); bool success = IERC20(ashContract).transferFrom(msg.sender, address(this), priceInASH * _mintAmount); require(success, "approve contract for ASH"); _mintPublicCntPerAddress[msg.sender] = (addressPublicMintedCount + _mintAmount) | (_nonce << 8); mintedSupply += _mintAmount; _mint(msg.sender, _tokenId, _mintAmount, ""); if ((mintedSupply + remainingAirDropSupply) == maxSupply) { _transferLock = false; // unlock NFT's when mint ends } } function mintAllowlistedWithASH(uint256 _mintAmount, uint8 v, bytes32 r, bytes32 s) public { require(mintActiveTs != 0, "mint date is not set"); require(block.timestamp >= mintActiveTs, "wait for mint time"); require(_mintAmount > 0, "need to mint at least 1 NFT"); require((mintedSupply + remainingAirDropSupply + _mintAmount) <= maxSupply, "max NFT limit exceeded"); uint256 addressMintedCount = _allowlistMintCntPerAddress[msg.sender]; require(addressMintedCount + _mintAmount <= _mintPerAddressLimit, "max NFT per address exceeded"); require(validatorAddress != address(0x0), "validator not set"); bytes32 hash = keccak256(abi.encodePacked(_eip191prefixAL, msg.sender)); require(validatorAddress == ecrecover(hash, v, r, s), "signature is wrong!!"); bool success = IERC20(ashContract).transferFrom(msg.sender, address(this), priceInASH * _mintAmount); require(success, "approve contract for ASH"); _allowlistMintCntPerAddress[msg.sender] = addressMintedCount + _mintAmount; mintedSupply += _mintAmount; _mint(msg.sender, _tokenId, _mintAmount, ""); if ((mintedSupply + remainingAirDropSupply) == maxSupply) { _transferLock = false; // unlock NFT's when mint ends } } /** * BURN MECHANICS */ function burnToMintZenBlock(uint256 _burnAmount) public { require(mintZenBlockActiveTs != 0, "mint zen block time is not set"); require(block.timestamp >= mintZenBlockActiveTs, "wait for mint zen block time"); uint256 userDataBlockCount = balanceOf(msg.sender, _tokenId); require(userDataBlockCount >= _burnAmount, "Not enough data block"); burnedSupply += _burnAmount; _burn(msg.sender, _tokenId, _burnAmount); ZEN_BLOCKS(zenBlocksContract).mint(msg.sender, _burnAmount); } function burnToUpgradeZenBlock(uint256 _zenBlockTokenId) public { require(upgradeZenBlockActiveTs != 0, "upgrade zen block time is not set"); require(block.timestamp >= upgradeZenBlockActiveTs, "wait for upgrade zen block time"); uint256 userDataBlockCount = balanceOf(msg.sender, _tokenId); require(userDataBlockCount >= 1, "Not enough data block"); require(ZEN_BLOCKS(zenBlocksContract).ownerOf(_zenBlockTokenId) == msg.sender, "Not your token"); burnedSupply += 1; _burn(msg.sender, _tokenId, 1); ZEN_BLOCKS(zenBlocksContract).upgrade(_zenBlockTokenId); } /** * PUBLIC FUNCTIONS */ function allowlistMintedAmount(address addr) public view returns (uint256) { return _allowlistMintCntPerAddress[addr]; } function publicMintedAmount(address addr) public view returns (uint256) { return _mintPublicCntPerAddress[addr] & 0xFF; } function remainingMintableAmount() public view returns (uint256) { return maxSupply - mintedSupply - remainingAirDropSupply; } /** * TRANSFER LOCK */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { if (from != address(0x0)){ // minting is allowed require(!_transferLock, "ERC1155: transfer not permitted"); } super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function setApprovalForAll(address operator, bool approved) public virtual override { require(!_transferLock, "ERC1155: approval not permitted"); _setApprovalForAll(_msgSender(), operator, approved); } /** * ADMIN FUNCTIONS */ function airDrop(address[] memory _targets, uint256[] memory _mintAmounts) external onlyOwner { require((_targets.length) == (_mintAmounts.length), "array lengths should match"); uint256 txMintedAmount = 0; for (uint256 i = 0; i < _targets.length; i++) { _mint(_targets[i], _tokenId, _mintAmounts[i], ""); txMintedAmount += _mintAmounts[i]; } require(txMintedAmount <= remainingAirDropSupply, "max NFT limit exceeded"); remainingAirDropSupply -= txMintedAmount; mintedSupply += txMintedAmount; } function activateMint(uint256 _mintActiveTs) external onlyOwner { require(mintActiveTs == 0, "Already activated"); mintActiveTs = _mintActiveTs; emit MintWillActivateOn(mintActiveTs); } function deactivateMint() external onlyOwner { mintActiveTs = 0; emit MintDeactivated(); } function activatePublicMint(uint256 _mintPublicActiveTs) external onlyOwner { require(mintPublicActiveTs == 0, "Already activated"); mintPublicActiveTs = _mintPublicActiveTs; emit MintPublicWillActivateOn(mintPublicActiveTs); } function deactivatPubliceMint() external onlyOwner { mintPublicActiveTs = 0; emit MintPublicDeactivated(); } function activateZenBlockMint(uint256 _mintZenBlockActiveTs) external onlyOwner { require(mintZenBlockActiveTs == 0, "Already activated"); mintZenBlockActiveTs = _mintZenBlockActiveTs; emit MintZenBlockWillActivateOn(mintZenBlockActiveTs); } function deactivateZenBlockMint() external onlyOwner { mintZenBlockActiveTs = 0; emit MintZenBlockDeactivated(); } 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 setASHContractAddress(address _ashContract) external onlyOwner { ashContract = _ashContract; } function setZenBlocksContractAddress(address _zenBlocksContract) external onlyOwner { zenBlocksContract = _zenBlocksContract; } function setValidatorAddress(address _validatorAddress) external onlyOwner { validatorAddress = _validatorAddress; } function setURI(string memory newuri) external onlyOwner { _setURI(newuri); } function removeTransferLock() external onlyOwner { require(_transferLock, "Transfer lock already removed"); _transferLock = false; } function withdraw() external onlyOwner { require(_royaltyRecipient != address(0x0), "Must set royalty recipient"); (bool os, ) = _royaltyRecipient.call{value: address(this).balance}(""); require(os); } function withdrawERC20(address erc20_addr) external onlyOwner { require(_royaltyRecipient != address(0x0), "Must set royalty recipient"); IERC20 erc20_int = IERC20(erc20_addr); uint256 balance = erc20_int.balanceOf(address(this)); bool os = erc20_int.transfer(_royaltyRecipient, balance); require(os); } /** * ROYALTY FUNCTIONS */ function updateRoyalties(address payable recipient, uint256 bps) external onlyOwner { _royaltyRecipient = recipient; _royaltyBps = bps; } function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps) { if (_royaltyRecipient != address(0x0)) { recipients = new address payable[](1); recipients[0] = _royaltyRecipient; bps = new uint256[](1); bps[0] = _royaltyBps; } return (recipients, bps); } function getFeeRecipients(uint256) external view returns (address payable[] memory recipients) { if (_royaltyRecipient != address(0x0)) { recipients = new address payable[](1); recipients[0] = _royaltyRecipient; } return recipients; } function getFeeBps(uint256) external view returns (uint[] memory bps) { if (_royaltyRecipient != address(0x0)) { bps = new uint256[](1); bps[0] = _royaltyBps; } return bps; } function royaltyInfo(uint256, uint256 value) external view returns (address, uint256) { return (_royaltyRecipient, value*_royaltyBps/10000); } receive() external payable { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155) returns (bool) { return ERC1155.supportsInterface(interfaceId) || interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE || interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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 v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `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 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - 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[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token 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 amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ 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 caller. */ 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 `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `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 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` 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 amounts, 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": 2222 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_ashContract","type":"address"},{"internalType":"address","name":"_validatorAddress","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[],"name":"MintDeactivated","type":"event"},{"anonymous":false,"inputs":[],"name":"MintPublicDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MintPublicWillActivateOn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MintWillActivateOn","type":"event"},{"anonymous":false,"inputs":[],"name":"MintZenBlockDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MintZenBlockWillActivateOn","type":"event"},{"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":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","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":"_mintActiveTs","type":"uint256"}],"name":"activateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPublicActiveTs","type":"uint256"}],"name":"activatePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintZenBlockActiveTs","type":"uint256"}],"name":"activateZenBlockMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_upgradeZenBlockActiveTs","type":"uint256"}],"name":"activateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_targets","type":"address[]"},{"internalType":"uint256[]","name":"_mintAmounts","type":"uint256[]"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"allowlistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ashContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnAmount","type":"uint256"}],"name":"burnToMintZenBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zenBlockTokenId","type":"uint256"}],"name":"burnToUpgradeZenBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivatPubliceMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivateZenBlockMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintAllowlistedWithASH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublicActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mintPublicWithASH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintZenBlockActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceInASH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"publicMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingAirDropSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingMintableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeTransferLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ashContract","type":"address"}],"name":"setASHContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_validatorAddress","type":"address"}],"name":"setValidatorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_zenBlocksContract","type":"address"}],"name":"setZenBlocksContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeZenBlockActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20_addr","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zenBlocksContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600481905560058190556078600655600781905560088190556009819055600a556010805460ff191660011790553480156200004157600080fd5b50604051620048f5380380620048f58339810160408190526200006491620001f3565b806200007081620000af565b506200007c33620000c8565b50600b80546001600160a01b039384166001600160a01b031991821617909155600d805492909316911617905562000333565b8051620000c49060029060208401906200011a565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012890620002f7565b90600052602060002090601f0160209004810192826200014c576000855562000197565b82601f106200016757805160ff191683800117855562000197565b8280016001018555821562000197579182015b82811115620001975782518255916020019190600101906200017a565b50620001a5929150620001a9565b5090565b5b80821115620001a55760008155600101620001aa565b80516001600160a01b0381168114620001d857600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200020957600080fd5b6200021484620001c0565b9250602062000225818601620001c0565b60408601519093506001600160401b03808211156200024357600080fd5b818701915087601f8301126200025857600080fd5b8151818111156200026d576200026d620001dd565b604051601f8201601f19908116603f01168101908382118183101715620002985762000298620001dd565b816040528281528a86848701011115620002b157600080fd5b600093505b82841015620002d55784840186015181850187015292850192620002b6565b82841115620002e75760008684830101525b8096505050505050509250925092565b600181811c908216806200030c57607f821691505b6020821081036200032d57634e487b7160e01b600052602260045260246000fd5b50919050565b6145b280620003436000396000f3fe60806040526004361061032c5760003560e01c80638da5cb5b116101a5578063d5abeb01116100ec578063f2322fc411610095578063f4f3b2001161006f578063f4f3b2001461093e578063f5308c7d1461095e578063fa3cd95d14610973578063fde1e4631461099357600080fd5b8063f2322fc4146108e8578063f242432a146108fe578063f2fde38b1461091e57600080fd5b8063e8144cd0116100c6578063e8144cd014610846578063e985e9c514610866578063ead29d4e146108af57600080fd5b8063d5abeb01146107fe578063d972075014610814578063db2c00f21461082a57600080fd5b8063b6246cce1161014e578063bbc1102111610128578063bbc11021146107a8578063c1bd8cf9146107c8578063cbafb33d146107de57600080fd5b8063b6246cce14610737578063b9c4d9fb1461074d578063bb3bafd61461077a57600080fd5b8063a420ed3e1161017f578063a420ed3e146106e1578063a9bcfed414610701578063ad08454d1461072157600080fd5b80638da5cb5b146106835780639f8c2440146106a1578063a22cb465146106c157600080fd5b80632eb2c2d61161027457806355d0a1d01161021d5780636c2f5acd116101f75780636c2f5acd1461060e578063715018a61461062e578063730cce19146106435780638a80effd1461066357600080fd5b806355d0a1d0146105c357806365216a41146105d957806368ce2fd3146105f957600080fd5b80633ccfd60b1161024e5780633ccfd60b146105785780633f92e7601461058d5780634e1273f4146105a357600080fd5b80632eb2c2d6146105185780632ef74ef71461053857806336ad5fac1461055857600080fd5b80630ebd4c7f116102d65780632a55205a116102b05780632a55205a146104af5780632cbe37cc146104ee5780632e56f71e1461050357600080fd5b80630ebd4c7f146104375780631fd8c3841461046457806327247fd71461047957600080fd5b80630d715a93116103075780630d715a93146103bd5780630dfa2bed146103d25780630e89341c1461040a57600080fd5b8062fdd58e1461033857806301ffc9a71461036b57806302fe53051461039b57600080fd5b3661033357005b600080fd5b34801561034457600080fd5b50610358610353366004613b3e565b6109b3565b6040519081526020015b60405180910390f35b34801561037757600080fd5b5061038b610386366004613b80565b610a5c565b6040519015158152602001610362565b3480156103a757600080fd5b506103bb6103b6366004613c45565b610b09565b005b3480156103c957600080fd5b506103bb610b6f565b3480156103de57600080fd5b50600c546103f2906001600160a01b031681565b6040516001600160a01b039091168152602001610362565b34801561041657600080fd5b5061042a610425366004613c96565b610bf9565b6040516103629190613d07565b34801561044357600080fd5b50610457610452366004613c96565b610c8d565b6040516103629190613d55565b34801561047057600080fd5b506103bb610ce9565b34801561048557600080fd5b50610358610494366004613d68565b6001600160a01b03166000908152600e602052604090205490565b3480156104bb57600080fd5b506104cf6104ca366004613d85565b610d73565b604080516001600160a01b039093168352602083019190915201610362565b3480156104fa57600080fd5b50610358610dad565b34801561050f57600080fd5b506103bb610dd1565b34801561052457600080fd5b506103bb610533366004613e5c565b610e5b565b34801561054457600080fd5b506103bb610553366004613d68565b610efd565b34801561056457600080fd5b506103bb610573366004613c96565b610f86565b34801561058457600080fd5b506103bb61122d565b34801561059957600080fd5b5061035860085481565b3480156105af57600080fd5b506104576105be366004613f0a565b61133f565b3480156105cf57600080fd5b5061035860055481565b3480156105e557600080fd5b506103bb6105f4366004613f0a565b61147d565b34801561060557600080fd5b506103bb611644565b34801561061a57600080fd5b506103bb610629366004613b3e565b6116ce565b34801561063a57600080fd5b506103bb61175b565b34801561064f57600080fd5b506103bb61065e366004613c96565b6117c1565b34801561066f57600080fd5b506103bb61067e366004613c96565b611938565b34801561068f57600080fd5b506003546001600160a01b03166103f2565b3480156106ad57600080fd5b506103bb6106bc366004613d68565b611a1e565b3480156106cd57600080fd5b506103bb6106dc366004613fe5565b611aa7565b3480156106ed57600080fd5b50600b546103f2906001600160a01b031681565b34801561070d57600080fd5b506103bb61071c366004613c96565b611b09565b34801561072d57600080fd5b5061035860065481565b34801561074357600080fd5b5061035860075481565b34801561075957600080fd5b5061076d610768366004613c96565b611be8565b6040516103629190614057565b34801561078657600080fd5b5061079a610795366004613c96565b611c61565b60405161036292919061406a565b3480156107b457600080fd5b506103bb6107c33660046140a9565b611d15565b3480156107d457600080fd5b5061035860045481565b3480156107ea57600080fd5b506103bb6107f9366004613c96565b6121a2565b34801561080a57600080fd5b506103586108ae81565b34801561082057600080fd5b50610358600a5481565b34801561083657600080fd5b50610358676f05b59d3b20000081565b34801561085257600080fd5b506103bb610861366004613d68565b612281565b34801561087257600080fd5b5061038b6108813660046140e4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156108bb57600080fd5b506103586108ca366004613d68565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156108f457600080fd5b5061035860095481565b34801561090a57600080fd5b506103bb610919366004614112565b61230a565b34801561092a57600080fd5b506103bb610939366004613d68565b6123a5565b34801561094a57600080fd5b506103bb610959366004613d68565b612484565b34801561096a57600080fd5b506103bb612664565b34801561097f57600080fd5b506103bb61098e36600461417b565b61271c565b34801561099f57600080fd5b506103bb6109ae366004613c96565b612c93565b60006001600160a01b038316610a365760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b6000610a6782612d72565b80610a9b57506001600160e01b031982167fbb3bafd600000000000000000000000000000000000000000000000000000000145b80610acf57506001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b80610b0357506001600160e01b031982167fb779958400000000000000000000000000000000000000000000000000000000145b92915050565b6003546001600160a01b03163314610b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b610b6c81612e0d565b50565b6003546001600160a01b03163314610bc95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060098190556040517f650e67e4b68edd23d3a7c2acb10384975e67b41fce71cba2b1f87122a0d25c119190a1565b606060028054610c08906141cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c34906141cc565b8015610c815780601f10610c5657610100808354040283529160200191610c81565b820191906000526020600020905b815481529060010190602001808311610c6457829003601f168201915b50505050509050919050565b6012546060906001600160a01b031615610ce457604080516001808252818301909252906020808301908036833701905050905060115481600081518110610cd757610cd7614206565b6020026020010181815250505b919050565b6003546001600160a01b03163314610d435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6000600a8190556040517fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff9190a1565b60125460115460009182916001600160a01b039091169061271090610d989086614232565b610da29190614251565b915091509250929050565b60006006546004546108ae610dc29190614273565b610dcc9190614273565b905090565b6003546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060078190556040517fca38b86f61ac296e9d9eafa5f597d89b67d717db5bd7dd382946eb74fdec6bc79190a1565b6001600160a01b038516331480610e775750610e778533610881565b610ee95760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610a2d565b610ef68585858585612e20565b5050505050565b6003546001600160a01b03163314610f575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600a54600003610ffe5760405162461bcd60e51b815260206004820152602160248201527f75706772616465207a656e20626c6f636b2074696d65206973206e6f7420736560448201527f74000000000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b600a544210156110505760405162461bcd60e51b815260206004820152601f60248201527f7761697420666f722075706772616465207a656e20626c6f636b2074696d65006044820152606401610a2d565b600061105d3360016109b3565b905060018110156110b05760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000006044820152606401610a2d565b600c546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905233916001600160a01b031690636352211e90602401602060405180830381865afa158015611112573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611136919061428a565b6001600160a01b03161461118c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420796f757220746f6b656e0000000000000000000000000000000000006044820152606401610a2d565b60016005600082825461119f91906142a7565b909155506111b19050336001806130c4565b600c546040517f45977d03000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906345977d03906024015b600060405180830381600087803b15801561121157600080fd5b505af1158015611225573d6000803e3d6000fd5b505050505050565b6003546001600160a01b031633146112875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012546001600160a01b03166112df5760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073657420726f79616c747920726563697069656e740000000000006044820152606401610a2d565b6012546040516000916001600160a01b03169047908381818185875af1925050503d806000811461132c576040519150601f19603f3d011682016040523d82523d6000602084013e611331565b606091505b5050905080610b6c57600080fd5b606081518351146113b85760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a2d565b6000835167ffffffffffffffff8111156113d4576113d4613ba4565b6040519080825280602002602001820160405280156113fd578160200160208202803683370190505b50905060005b84518110156114755761144885828151811061142157611421614206565b602002602001015185838151811061143b5761143b614206565b60200260200101516109b3565b82828151811061145a5761145a614206565b602090810291909101015261146e816142bf565b9050611403565b509392505050565b6003546001600160a01b031633146114d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b80518251146115285760405162461bcd60e51b815260206004820152601a60248201527f6172726179206c656e677468732073686f756c64206d617463680000000000006044820152606401610a2d565b6000805b83518110156115bc5761158384828151811061154a5761154a614206565b6020026020010151600185848151811061156657611566614206565b602002602001015160405180602001604052806000815250613270565b82818151811061159557611595614206565b6020026020010151826115a891906142a7565b9150806115b4816142bf565b91505061152c565b5060065481111561160f5760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b80600660008282546116219190614273565b92505081905550806004600082825461163a91906142a7565b9091555050505050565b6003546001600160a01b0316331461169e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060088190556040517f4ac52d89943727df5b4214e27ea5a27f57fe2435e8944254d7b855e0e303b5189190a1565b6003546001600160a01b031633146117285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039390931692909217909155601155565b6003546001600160a01b031633146117b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6117bf600061339c565b565b6009546000036118135760405162461bcd60e51b815260206004820152601e60248201527f6d696e74207a656e20626c6f636b2074696d65206973206e6f742073657400006044820152606401610a2d565b6009544210156118655760405162461bcd60e51b815260206004820152601c60248201527f7761697420666f72206d696e74207a656e20626c6f636b2074696d65000000006044820152606401610a2d565b60006118723360016109b3565b9050818110156118c45760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000006044820152606401610a2d565b81600560008282546118d691906142a7565b909155506118e89050336001846130c4565b600c546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b03909116906340c10f19906044016111f7565b6003546001600160a01b031633146119925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600854156119e25760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60088190556040518181527f512ff84f446ce71362389ac279897929f45b76b29976ee3b154340368e70e198906020015b60405180910390a150565b6003546001600160a01b03163314611a785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60105460ff1615611afa5760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a20617070726f76616c206e6f74207065726d6974746564006044820152606401610a2d565b611b053383836133fb565b5050565b6003546001600160a01b03163314611b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60075415611bb35760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60078190556040518181527fb2add4fbcfb7fb1c5bbce079166356a77f9f939976531ffa3abbf84f318fc96290602001611a13565b6012546060906001600160a01b031615610ce4576040805160018082528183019092529060208083019080368337505060125482519293506001600160a01b031691839150600090611c3c57611c3c614206565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60125460609081906001600160a01b031615611d10576040805160018082528183019092529060208083019080368337505060125482519294506001600160a01b031691849150600090611cb757611cb7614206565b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050905060115481600081518110611d0357611d03614206565b6020026020010181815250505b915091565b600754600003611d675760405162461bcd60e51b815260206004820152601460248201527f6d696e742064617465206973206e6f74207365740000000000000000000000006044820152606401610a2d565b600754421015611db95760405162461bcd60e51b815260206004820152601260248201527f7761697420666f72206d696e742074696d6500000000000000000000000000006044820152606401610a2d565b60008411611e095760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610a2d565b6108ae84600654600454611e1d91906142a7565b611e2791906142a7565b1115611e755760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b336000908152600e60205260409020546002611e9186836142a7565b1115611edf5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610a2d565b600d546001600160a01b0316611f375760405162461bcd60e51b815260206004820152601160248201527f76616c696461746f72206e6f74207365740000000000000000000000000000006044820152606401610a2d565b60006040518060600160405280602a8152602001614528602a913933604051602001611f649291906142d9565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8816918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa158015611fcc573d6000803e3d6000fd5b5050604051601f190151600d546001600160a01b0390811691161490506120355760405162461bcd60e51b815260206004820152601460248201527f7369676e61747572652069732077726f6e6721210000000000000000000000006044820152606401610a2d565b600b546000906001600160a01b03166323b872dd333061205d8b676f05b59d3b200000614232565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156120b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d59190614310565b9050806121245760405162461bcd60e51b815260206004820152601860248201527f617070726f766520636f6e747261637420666f722041534800000000000000006044820152606401610a2d565b61212e87846142a7565b336000908152600e6020526040812091909155600480548992906121539084906142a7565b925050819055506121763360018960405180602001604052806000815250613270565b6108ae60065460045461218991906142a7565b03612199576010805460ff191690555b50505050505050565b6003546001600160a01b031633146121fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600a541561224c5760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b600a8190556040518181527f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f90602001611a13565b6003546001600160a01b031633146122db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b03851633148061232657506123268533610881565b6123985760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610a2d565b610ef685858585856134ef565b6003546001600160a01b031633146123ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6001600160a01b03811661247b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a2d565b610b6c8161339c565b6003546001600160a01b031633146124de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012546001600160a01b03166125365760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073657420726f79616c747920726563697069656e740000000000006044820152606401610a2d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015612598573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bc919061432d565b6012546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018390529192506000919084169063a9059cbb906044016020604051808303816000875af115801561262e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126529190614310565b90508061265e57600080fd5b50505050565b6003546001600160a01b031633146126be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60105460ff166127105760405162461bcd60e51b815260206004820152601d60248201527f5472616e73666572206c6f636b20616c72656164792072656d6f7665640000006044820152606401610a2d565b6010805460ff19169055565b60085460000361276e5760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e742064617465206973206e6f742073657400000000006044820152606401610a2d565b6008544210156127c05760405162461bcd60e51b815260206004820152601960248201527f7761697420666f72207075626c6963206d696e742074696d65000000000000006044820152606401610a2d565b844211156128105760405162461bcd60e51b815260206004820152600760248201527f74696d656f7574000000000000000000000000000000000000000000000000006044820152606401610a2d565b600086116128605760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610a2d565b6108ae8660065460045461287491906142a7565b61287e91906142a7565b11156128cc5760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b336000908152600f602052604090205460ff1660026128eb88836142a7565b11156129395760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610a2d565b336000908152600f602052604090205460081c8581036129c05760405162461bcd60e51b8152602060048201526024808201527f74686973207369676e61747572652068617320616c7265616479206265656e2060448201527f75736564000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b600d546001600160a01b0316612a185760405162461bcd60e51b815260206004820152601160248201527f76616c696461746f72206e6f74207365740000000000000000000000000000006044820152606401610a2d565b60006040518060600160405280602b8152602001614552602b9139338a8a8a604051602001612a4b959493929190614346565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8916918301919091526060820187905260808201869052915060019060a0016020604051602081039080840390855afa158015612ab3573d6000803e3d6000fd5b5050604051601f190151600d546001600160a01b039081169116149050612b1c5760405162461bcd60e51b815260206004820152601460248201527f7369676e61747572652069732077726f6e6721210000000000000000000000006044820152606401610a2d565b600b546000906001600160a01b03166323b872dd3330612b448e676f05b59d3b200000614232565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc9190614310565b905080612c0b5760405162461bcd60e51b815260206004820152601860248201527f617070726f766520636f6e747261637420666f722041534800000000000000006044820152606401610a2d565b600888901b612c1a8b866142a7565b336000908152600f60205260408120919092179055600480548c9290612c419084906142a7565b92505081905550612c643360018c60405180602001604052806000815250613270565b6108ae600654600454612c7791906142a7565b03612c87576010805460ff191690555b50505050505050505050565b6003546001600160a01b03163314612ced5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60095415612d3d5760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60098190556040518181527fa3dc0ef23404670d9a026f9930e784a97fa83ab99d3b1e4d64bc67ac73b2346790602001611a13565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480612dd557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610b0357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b03565b8051611b05906002906020840190613a90565b8151835114612e975760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a2d565b6001600160a01b038416612f135760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a2d565b33612f228187878787876136af565b60005b845181101561305e576000858281518110612f4257612f42614206565b602002602001015190506000858381518110612f6057612f60614206565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156130065760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a2d565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906130439084906142a7565b9250508190555050505080613057906142bf565b9050612f25565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516130ae929190614392565b60405180910390a4611225818787878787613716565b6001600160a01b0383166131405760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361316f8185600061315187613902565b61315a87613902565b604051806020016040528060008152506136af565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156132055760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b0384166132ec5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361330c816000876132fd88613902565b61330688613902565b876136af565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061333c9084906142a7565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ef68160008787878761394d565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036134825760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a2d565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661356b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361357b8187876132fd88613902565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156136125760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a2d565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061364f9084906142a7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461219982888888888861394d565b6001600160a01b038516156137115760105460ff16156137115760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a207472616e73666572206e6f74207065726d6974746564006044820152606401610a2d565b611225565b6001600160a01b0384163b15611225576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c819061377390899089908890889088906004016143a5565b6020604051808303816000875af19250505080156137ae575060408051601f3d908101601f191682019092526137ab91810190614403565b60015b613863576137ba614420565b806308c379a0036137f357506137ce61443c565b806137d957506137f5565b8060405162461bcd60e51b8152600401610a2d9190613d07565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a2d565b6001600160e01b031981167fbc197c8100000000000000000000000000000000000000000000000000000000146121995760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a2d565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061393c5761393c614206565b602090810291909101015292915050565b6001600160a01b0384163b15611225576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906139aa90899089908890889088906004016144e4565b6020604051808303816000875af19250505080156139e5575060408051601f3d908101601f191682019092526139e291810190614403565b60015b6139f1576137ba614420565b6001600160e01b031981167ff23a6e6100000000000000000000000000000000000000000000000000000000146121995760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a2d565b828054613a9c906141cc565b90600052602060002090601f016020900481019282613abe5760008555613b04565b82601f10613ad757805160ff1916838001178555613b04565b82800160010185558215613b04579182015b82811115613b04578251825591602001919060010190613ae9565b50613b10929150613b14565b5090565b5b80821115613b105760008155600101613b15565b6001600160a01b0381168114610b6c57600080fd5b60008060408385031215613b5157600080fd5b8235613b5c81613b29565b946020939093013593505050565b6001600160e01b031981168114610b6c57600080fd5b600060208284031215613b9257600080fd5b8135613b9d81613b6a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715613be057613be0613ba4565b6040525050565b600067ffffffffffffffff831115613c0157613c01613ba4565b604051613c186020601f19601f8701160182613bba565b809150838152848484011115613c2d57600080fd5b83836020830137600060208583010152509392505050565b600060208284031215613c5757600080fd5b813567ffffffffffffffff811115613c6e57600080fd5b8201601f81018413613c7f57600080fd5b613c8e84823560208401613be7565b949350505050565b600060208284031215613ca857600080fd5b5035919050565b60005b83811015613cca578181015183820152602001613cb2565b8381111561265e5750506000910152565b60008151808452613cf3816020860160208601613caf565b601f01601f19169290920160200192915050565b602081526000613b9d6020830184613cdb565b600081518084526020808501945080840160005b83811015613d4a57815187529582019590820190600101613d2e565b509495945050505050565b602081526000613b9d6020830184613d1a565b600060208284031215613d7a57600080fd5b8135613b9d81613b29565b60008060408385031215613d9857600080fd5b50508035926020909101359150565b600067ffffffffffffffff821115613dc157613dc1613ba4565b5060051b60200190565b600082601f830112613ddc57600080fd5b81356020613de982613da7565b604051613df68282613bba565b83815260059390931b8501820192828101915086841115613e1657600080fd5b8286015b84811015613e315780358352918301918301613e1a565b509695505050505050565b600082601f830112613e4d57600080fd5b613b9d83833560208501613be7565b600080600080600060a08688031215613e7457600080fd5b8535613e7f81613b29565b94506020860135613e8f81613b29565b9350604086013567ffffffffffffffff80821115613eac57600080fd5b613eb889838a01613dcb565b94506060880135915080821115613ece57600080fd5b613eda89838a01613dcb565b93506080880135915080821115613ef057600080fd5b50613efd88828901613e3c565b9150509295509295909350565b60008060408385031215613f1d57600080fd5b823567ffffffffffffffff80821115613f3557600080fd5b818501915085601f830112613f4957600080fd5b81356020613f5682613da7565b604051613f638282613bba565b83815260059390931b8501820192828101915089841115613f8357600080fd5b948201945b83861015613faa578535613f9b81613b29565b82529482019490820190613f88565b96505086013592505080821115613fc057600080fd5b50613fcd85828601613dcb565b9150509250929050565b8015158114610b6c57600080fd5b60008060408385031215613ff857600080fd5b823561400381613b29565b9150602083013561401381613fd7565b809150509250929050565b600081518084526020808501945080840160005b83811015613d4a5781516001600160a01b031687529582019590820190600101614032565b602081526000613b9d602083018461401e565b60408152600061407d604083018561401e565b828103602084015261408f8185613d1a565b95945050505050565b803560ff81168114610ce457600080fd5b600080600080608085870312156140bf57600080fd5b843593506140cf60208601614098565b93969395505050506040820135916060013590565b600080604083850312156140f757600080fd5b823561410281613b29565b9150602083013561401381613b29565b600080600080600060a0868803121561412a57600080fd5b853561413581613b29565b9450602086013561414581613b29565b93506040860135925060608601359150608086013567ffffffffffffffff81111561416f57600080fd5b613efd88828901613e3c565b60008060008060008060c0878903121561419457600080fd5b8635955060208701359450604087013593506141b260608801614098565b92506080870135915060a087013590509295509295509295565b600181811c908216806141e057607f821691505b60208210810361420057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561424c5761424c61421c565b500290565b60008261426e57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156142855761428561421c565b500390565b60006020828403121561429c57600080fd5b8151613b9d81613b29565b600082198211156142ba576142ba61421c565b500190565b600060001982036142d2576142d261421c565b5060010190565b600083516142eb818460208801613caf565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60006020828403121561432257600080fd5b8151613b9d81613fd7565b60006020828403121561433f57600080fd5b5051919050565b60008651614358818460208b01613caf565b60609690961b6bffffffffffffffffffffffff19169190950190815260148101939093526034830191909152605482015260740192915050565b60408152600061407d6040830185613d1a565b60006001600160a01b03808816835280871660208401525060a060408301526143d160a0830186613d1a565b82810360608401526143e38186613d1a565b905082810360808401526143f78185613cdb565b98975050505050505050565b60006020828403121561441557600080fd5b8151613b9d81613b6a565b600060033d11156144395760046000803e5060005160e01c5b90565b600060443d101561444a5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561449857505050505090565b82850191508151818111156144b05750505050505090565b843d87010160208285010111156144ca5750505050505090565b6144d960208286010187613bba565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261451c60a0830184613cdb565b97965050505050505056fe19457468657265756d205369676e6564204d6573736167653a0a3334414c5f444154415f424c4f434b5319457468657265756d205369676e6564204d6573736167653a0a31333050535f444154415f424c4f434b53a264697066735822122047ab885b513d2de70cf0cfd4b91e20e971d186feeaf28110267a46bd8783076364736f6c634300080d003300000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000fb7208607746ff13c166d1009996531393edca490000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6d642e7a656e626c6f636b732e636f2f6462322e6a736f6e
Deployed Bytecode
0x60806040526004361061032c5760003560e01c80638da5cb5b116101a5578063d5abeb01116100ec578063f2322fc411610095578063f4f3b2001161006f578063f4f3b2001461093e578063f5308c7d1461095e578063fa3cd95d14610973578063fde1e4631461099357600080fd5b8063f2322fc4146108e8578063f242432a146108fe578063f2fde38b1461091e57600080fd5b8063e8144cd0116100c6578063e8144cd014610846578063e985e9c514610866578063ead29d4e146108af57600080fd5b8063d5abeb01146107fe578063d972075014610814578063db2c00f21461082a57600080fd5b8063b6246cce1161014e578063bbc1102111610128578063bbc11021146107a8578063c1bd8cf9146107c8578063cbafb33d146107de57600080fd5b8063b6246cce14610737578063b9c4d9fb1461074d578063bb3bafd61461077a57600080fd5b8063a420ed3e1161017f578063a420ed3e146106e1578063a9bcfed414610701578063ad08454d1461072157600080fd5b80638da5cb5b146106835780639f8c2440146106a1578063a22cb465146106c157600080fd5b80632eb2c2d61161027457806355d0a1d01161021d5780636c2f5acd116101f75780636c2f5acd1461060e578063715018a61461062e578063730cce19146106435780638a80effd1461066357600080fd5b806355d0a1d0146105c357806365216a41146105d957806368ce2fd3146105f957600080fd5b80633ccfd60b1161024e5780633ccfd60b146105785780633f92e7601461058d5780634e1273f4146105a357600080fd5b80632eb2c2d6146105185780632ef74ef71461053857806336ad5fac1461055857600080fd5b80630ebd4c7f116102d65780632a55205a116102b05780632a55205a146104af5780632cbe37cc146104ee5780632e56f71e1461050357600080fd5b80630ebd4c7f146104375780631fd8c3841461046457806327247fd71461047957600080fd5b80630d715a93116103075780630d715a93146103bd5780630dfa2bed146103d25780630e89341c1461040a57600080fd5b8062fdd58e1461033857806301ffc9a71461036b57806302fe53051461039b57600080fd5b3661033357005b600080fd5b34801561034457600080fd5b50610358610353366004613b3e565b6109b3565b6040519081526020015b60405180910390f35b34801561037757600080fd5b5061038b610386366004613b80565b610a5c565b6040519015158152602001610362565b3480156103a757600080fd5b506103bb6103b6366004613c45565b610b09565b005b3480156103c957600080fd5b506103bb610b6f565b3480156103de57600080fd5b50600c546103f2906001600160a01b031681565b6040516001600160a01b039091168152602001610362565b34801561041657600080fd5b5061042a610425366004613c96565b610bf9565b6040516103629190613d07565b34801561044357600080fd5b50610457610452366004613c96565b610c8d565b6040516103629190613d55565b34801561047057600080fd5b506103bb610ce9565b34801561048557600080fd5b50610358610494366004613d68565b6001600160a01b03166000908152600e602052604090205490565b3480156104bb57600080fd5b506104cf6104ca366004613d85565b610d73565b604080516001600160a01b039093168352602083019190915201610362565b3480156104fa57600080fd5b50610358610dad565b34801561050f57600080fd5b506103bb610dd1565b34801561052457600080fd5b506103bb610533366004613e5c565b610e5b565b34801561054457600080fd5b506103bb610553366004613d68565b610efd565b34801561056457600080fd5b506103bb610573366004613c96565b610f86565b34801561058457600080fd5b506103bb61122d565b34801561059957600080fd5b5061035860085481565b3480156105af57600080fd5b506104576105be366004613f0a565b61133f565b3480156105cf57600080fd5b5061035860055481565b3480156105e557600080fd5b506103bb6105f4366004613f0a565b61147d565b34801561060557600080fd5b506103bb611644565b34801561061a57600080fd5b506103bb610629366004613b3e565b6116ce565b34801561063a57600080fd5b506103bb61175b565b34801561064f57600080fd5b506103bb61065e366004613c96565b6117c1565b34801561066f57600080fd5b506103bb61067e366004613c96565b611938565b34801561068f57600080fd5b506003546001600160a01b03166103f2565b3480156106ad57600080fd5b506103bb6106bc366004613d68565b611a1e565b3480156106cd57600080fd5b506103bb6106dc366004613fe5565b611aa7565b3480156106ed57600080fd5b50600b546103f2906001600160a01b031681565b34801561070d57600080fd5b506103bb61071c366004613c96565b611b09565b34801561072d57600080fd5b5061035860065481565b34801561074357600080fd5b5061035860075481565b34801561075957600080fd5b5061076d610768366004613c96565b611be8565b6040516103629190614057565b34801561078657600080fd5b5061079a610795366004613c96565b611c61565b60405161036292919061406a565b3480156107b457600080fd5b506103bb6107c33660046140a9565b611d15565b3480156107d457600080fd5b5061035860045481565b3480156107ea57600080fd5b506103bb6107f9366004613c96565b6121a2565b34801561080a57600080fd5b506103586108ae81565b34801561082057600080fd5b50610358600a5481565b34801561083657600080fd5b50610358676f05b59d3b20000081565b34801561085257600080fd5b506103bb610861366004613d68565b612281565b34801561087257600080fd5b5061038b6108813660046140e4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156108bb57600080fd5b506103586108ca366004613d68565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156108f457600080fd5b5061035860095481565b34801561090a57600080fd5b506103bb610919366004614112565b61230a565b34801561092a57600080fd5b506103bb610939366004613d68565b6123a5565b34801561094a57600080fd5b506103bb610959366004613d68565b612484565b34801561096a57600080fd5b506103bb612664565b34801561097f57600080fd5b506103bb61098e36600461417b565b61271c565b34801561099f57600080fd5b506103bb6109ae366004613c96565b612c93565b60006001600160a01b038316610a365760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b6000610a6782612d72565b80610a9b57506001600160e01b031982167fbb3bafd600000000000000000000000000000000000000000000000000000000145b80610acf57506001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000145b80610b0357506001600160e01b031982167fb779958400000000000000000000000000000000000000000000000000000000145b92915050565b6003546001600160a01b03163314610b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b610b6c81612e0d565b50565b6003546001600160a01b03163314610bc95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060098190556040517f650e67e4b68edd23d3a7c2acb10384975e67b41fce71cba2b1f87122a0d25c119190a1565b606060028054610c08906141cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c34906141cc565b8015610c815780601f10610c5657610100808354040283529160200191610c81565b820191906000526020600020905b815481529060010190602001808311610c6457829003601f168201915b50505050509050919050565b6012546060906001600160a01b031615610ce457604080516001808252818301909252906020808301908036833701905050905060115481600081518110610cd757610cd7614206565b6020026020010181815250505b919050565b6003546001600160a01b03163314610d435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6000600a8190556040517fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff9190a1565b60125460115460009182916001600160a01b039091169061271090610d989086614232565b610da29190614251565b915091509250929050565b60006006546004546108ae610dc29190614273565b610dcc9190614273565b905090565b6003546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060078190556040517fca38b86f61ac296e9d9eafa5f597d89b67d717db5bd7dd382946eb74fdec6bc79190a1565b6001600160a01b038516331480610e775750610e778533610881565b610ee95760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610a2d565b610ef68585858585612e20565b5050505050565b6003546001600160a01b03163314610f575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600a54600003610ffe5760405162461bcd60e51b815260206004820152602160248201527f75706772616465207a656e20626c6f636b2074696d65206973206e6f7420736560448201527f74000000000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b600a544210156110505760405162461bcd60e51b815260206004820152601f60248201527f7761697420666f722075706772616465207a656e20626c6f636b2074696d65006044820152606401610a2d565b600061105d3360016109b3565b905060018110156110b05760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000006044820152606401610a2d565b600c546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905233916001600160a01b031690636352211e90602401602060405180830381865afa158015611112573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611136919061428a565b6001600160a01b03161461118c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420796f757220746f6b656e0000000000000000000000000000000000006044820152606401610a2d565b60016005600082825461119f91906142a7565b909155506111b19050336001806130c4565b600c546040517f45977d03000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116906345977d03906024015b600060405180830381600087803b15801561121157600080fd5b505af1158015611225573d6000803e3d6000fd5b505050505050565b6003546001600160a01b031633146112875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012546001600160a01b03166112df5760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073657420726f79616c747920726563697069656e740000000000006044820152606401610a2d565b6012546040516000916001600160a01b03169047908381818185875af1925050503d806000811461132c576040519150601f19603f3d011682016040523d82523d6000602084013e611331565b606091505b5050905080610b6c57600080fd5b606081518351146113b85760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a2d565b6000835167ffffffffffffffff8111156113d4576113d4613ba4565b6040519080825280602002602001820160405280156113fd578160200160208202803683370190505b50905060005b84518110156114755761144885828151811061142157611421614206565b602002602001015185838151811061143b5761143b614206565b60200260200101516109b3565b82828151811061145a5761145a614206565b602090810291909101015261146e816142bf565b9050611403565b509392505050565b6003546001600160a01b031633146114d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b80518251146115285760405162461bcd60e51b815260206004820152601a60248201527f6172726179206c656e677468732073686f756c64206d617463680000000000006044820152606401610a2d565b6000805b83518110156115bc5761158384828151811061154a5761154a614206565b6020026020010151600185848151811061156657611566614206565b602002602001015160405180602001604052806000815250613270565b82818151811061159557611595614206565b6020026020010151826115a891906142a7565b9150806115b4816142bf565b91505061152c565b5060065481111561160f5760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b80600660008282546116219190614273565b92505081905550806004600082825461163a91906142a7565b9091555050505050565b6003546001600160a01b0316331461169e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600060088190556040517f4ac52d89943727df5b4214e27ea5a27f57fe2435e8944254d7b855e0e303b5189190a1565b6003546001600160a01b031633146117285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039390931692909217909155601155565b6003546001600160a01b031633146117b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6117bf600061339c565b565b6009546000036118135760405162461bcd60e51b815260206004820152601e60248201527f6d696e74207a656e20626c6f636b2074696d65206973206e6f742073657400006044820152606401610a2d565b6009544210156118655760405162461bcd60e51b815260206004820152601c60248201527f7761697420666f72206d696e74207a656e20626c6f636b2074696d65000000006044820152606401610a2d565b60006118723360016109b3565b9050818110156118c45760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000006044820152606401610a2d565b81600560008282546118d691906142a7565b909155506118e89050336001846130c4565b600c546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018490526001600160a01b03909116906340c10f19906044016111f7565b6003546001600160a01b031633146119925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600854156119e25760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60088190556040518181527f512ff84f446ce71362389ac279897929f45b76b29976ee3b154340368e70e198906020015b60405180910390a150565b6003546001600160a01b03163314611a785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60105460ff1615611afa5760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a20617070726f76616c206e6f74207065726d6974746564006044820152606401610a2d565b611b053383836133fb565b5050565b6003546001600160a01b03163314611b635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60075415611bb35760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60078190556040518181527fb2add4fbcfb7fb1c5bbce079166356a77f9f939976531ffa3abbf84f318fc96290602001611a13565b6012546060906001600160a01b031615610ce4576040805160018082528183019092529060208083019080368337505060125482519293506001600160a01b031691839150600090611c3c57611c3c614206565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60125460609081906001600160a01b031615611d10576040805160018082528183019092529060208083019080368337505060125482519294506001600160a01b031691849150600090611cb757611cb7614206565b6001600160a01b039290921660209283029190910182015260408051600180825281830190925291828101908036833701905050905060115481600081518110611d0357611d03614206565b6020026020010181815250505b915091565b600754600003611d675760405162461bcd60e51b815260206004820152601460248201527f6d696e742064617465206973206e6f74207365740000000000000000000000006044820152606401610a2d565b600754421015611db95760405162461bcd60e51b815260206004820152601260248201527f7761697420666f72206d696e742074696d6500000000000000000000000000006044820152606401610a2d565b60008411611e095760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610a2d565b6108ae84600654600454611e1d91906142a7565b611e2791906142a7565b1115611e755760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b336000908152600e60205260409020546002611e9186836142a7565b1115611edf5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610a2d565b600d546001600160a01b0316611f375760405162461bcd60e51b815260206004820152601160248201527f76616c696461746f72206e6f74207365740000000000000000000000000000006044820152606401610a2d565b60006040518060600160405280602a8152602001614528602a913933604051602001611f649291906142d9565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8816918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa158015611fcc573d6000803e3d6000fd5b5050604051601f190151600d546001600160a01b0390811691161490506120355760405162461bcd60e51b815260206004820152601460248201527f7369676e61747572652069732077726f6e6721210000000000000000000000006044820152606401610a2d565b600b546000906001600160a01b03166323b872dd333061205d8b676f05b59d3b200000614232565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156120b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d59190614310565b9050806121245760405162461bcd60e51b815260206004820152601860248201527f617070726f766520636f6e747261637420666f722041534800000000000000006044820152606401610a2d565b61212e87846142a7565b336000908152600e6020526040812091909155600480548992906121539084906142a7565b925050819055506121763360018960405180602001604052806000815250613270565b6108ae60065460045461218991906142a7565b03612199576010805460ff191690555b50505050505050565b6003546001600160a01b031633146121fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600a541561224c5760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b600a8190556040518181527f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f90602001611a13565b6003546001600160a01b031633146122db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b03851633148061232657506123268533610881565b6123985760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610a2d565b610ef685858585856134ef565b6003546001600160a01b031633146123ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6001600160a01b03811661247b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a2d565b610b6c8161339c565b6003546001600160a01b031633146124de5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b6012546001600160a01b03166125365760405162461bcd60e51b815260206004820152601a60248201527f4d7573742073657420726f79616c747920726563697069656e740000000000006044820152606401610a2d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015612598573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bc919061432d565b6012546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152602481018390529192506000919084169063a9059cbb906044016020604051808303816000875af115801561262e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126529190614310565b90508061265e57600080fd5b50505050565b6003546001600160a01b031633146126be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60105460ff166127105760405162461bcd60e51b815260206004820152601d60248201527f5472616e73666572206c6f636b20616c72656164792072656d6f7665640000006044820152606401610a2d565b6010805460ff19169055565b60085460000361276e5760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e742064617465206973206e6f742073657400000000006044820152606401610a2d565b6008544210156127c05760405162461bcd60e51b815260206004820152601960248201527f7761697420666f72207075626c6963206d696e742074696d65000000000000006044820152606401610a2d565b844211156128105760405162461bcd60e51b815260206004820152600760248201527f74696d656f7574000000000000000000000000000000000000000000000000006044820152606401610a2d565b600086116128605760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610a2d565b6108ae8660065460045461287491906142a7565b61287e91906142a7565b11156128cc5760405162461bcd60e51b815260206004820152601660248201527f6d6178204e4654206c696d6974206578636565646564000000000000000000006044820152606401610a2d565b336000908152600f602052604090205460ff1660026128eb88836142a7565b11156129395760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610a2d565b336000908152600f602052604090205460081c8581036129c05760405162461bcd60e51b8152602060048201526024808201527f74686973207369676e61747572652068617320616c7265616479206265656e2060448201527f75736564000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b600d546001600160a01b0316612a185760405162461bcd60e51b815260206004820152601160248201527f76616c696461746f72206e6f74207365740000000000000000000000000000006044820152606401610a2d565b60006040518060600160405280602b8152602001614552602b9139338a8a8a604051602001612a4b959493929190614346565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8916918301919091526060820187905260808201869052915060019060a0016020604051602081039080840390855afa158015612ab3573d6000803e3d6000fd5b5050604051601f190151600d546001600160a01b039081169116149050612b1c5760405162461bcd60e51b815260206004820152601460248201527f7369676e61747572652069732077726f6e6721210000000000000000000000006044820152606401610a2d565b600b546000906001600160a01b03166323b872dd3330612b448e676f05b59d3b200000614232565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc9190614310565b905080612c0b5760405162461bcd60e51b815260206004820152601860248201527f617070726f766520636f6e747261637420666f722041534800000000000000006044820152606401610a2d565b600888901b612c1a8b866142a7565b336000908152600f60205260408120919092179055600480548c9290612c419084906142a7565b92505081905550612c643360018c60405180602001604052806000815250613270565b6108ae600654600454612c7791906142a7565b03612c87576010805460ff191690555b50505050505050505050565b6003546001600160a01b03163314612ced5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2d565b60095415612d3d5760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206163746976617465640000000000000000000000000000006044820152606401610a2d565b60098190556040518181527fa3dc0ef23404670d9a026f9930e784a97fa83ab99d3b1e4d64bc67ac73b2346790602001611a13565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480612dd557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610b0357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b03565b8051611b05906002906020840190613a90565b8151835114612e975760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a2d565b6001600160a01b038416612f135760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a2d565b33612f228187878787876136af565b60005b845181101561305e576000858281518110612f4257612f42614206565b602002602001015190506000858381518110612f6057612f60614206565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156130065760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a2d565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906130439084906142a7565b9250508190555050505080613057906142bf565b9050612f25565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516130ae929190614392565b60405180910390a4611225818787878787613716565b6001600160a01b0383166131405760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361316f8185600061315187613902565b61315a87613902565b604051806020016040528060008152506136af565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156132055760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b0384166132ec5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361330c816000876132fd88613902565b61330688613902565b876136af565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061333c9084906142a7565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610ef68160008787878761394d565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036134825760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a2d565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661356b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a2d565b3361357b8187876132fd88613902565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156136125760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a2d565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061364f9084906142a7565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461219982888888888861394d565b6001600160a01b038516156137115760105460ff16156137115760405162461bcd60e51b815260206004820152601f60248201527f455243313135353a207472616e73666572206e6f74207065726d6974746564006044820152606401610a2d565b611225565b6001600160a01b0384163b15611225576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c819061377390899089908890889088906004016143a5565b6020604051808303816000875af19250505080156137ae575060408051601f3d908101601f191682019092526137ab91810190614403565b60015b613863576137ba614420565b806308c379a0036137f357506137ce61443c565b806137d957506137f5565b8060405162461bcd60e51b8152600401610a2d9190613d07565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a2d565b6001600160e01b031981167fbc197c8100000000000000000000000000000000000000000000000000000000146121995760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a2d565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061393c5761393c614206565b602090810291909101015292915050565b6001600160a01b0384163b15611225576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906139aa90899089908890889088906004016144e4565b6020604051808303816000875af19250505080156139e5575060408051601f3d908101601f191682019092526139e291810190614403565b60015b6139f1576137ba614420565b6001600160e01b031981167ff23a6e6100000000000000000000000000000000000000000000000000000000146121995760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a2d565b828054613a9c906141cc565b90600052602060002090601f016020900481019282613abe5760008555613b04565b82601f10613ad757805160ff1916838001178555613b04565b82800160010185558215613b04579182015b82811115613b04578251825591602001919060010190613ae9565b50613b10929150613b14565b5090565b5b80821115613b105760008155600101613b15565b6001600160a01b0381168114610b6c57600080fd5b60008060408385031215613b5157600080fd5b8235613b5c81613b29565b946020939093013593505050565b6001600160e01b031981168114610b6c57600080fd5b600060208284031215613b9257600080fd5b8135613b9d81613b6a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715613be057613be0613ba4565b6040525050565b600067ffffffffffffffff831115613c0157613c01613ba4565b604051613c186020601f19601f8701160182613bba565b809150838152848484011115613c2d57600080fd5b83836020830137600060208583010152509392505050565b600060208284031215613c5757600080fd5b813567ffffffffffffffff811115613c6e57600080fd5b8201601f81018413613c7f57600080fd5b613c8e84823560208401613be7565b949350505050565b600060208284031215613ca857600080fd5b5035919050565b60005b83811015613cca578181015183820152602001613cb2565b8381111561265e5750506000910152565b60008151808452613cf3816020860160208601613caf565b601f01601f19169290920160200192915050565b602081526000613b9d6020830184613cdb565b600081518084526020808501945080840160005b83811015613d4a57815187529582019590820190600101613d2e565b509495945050505050565b602081526000613b9d6020830184613d1a565b600060208284031215613d7a57600080fd5b8135613b9d81613b29565b60008060408385031215613d9857600080fd5b50508035926020909101359150565b600067ffffffffffffffff821115613dc157613dc1613ba4565b5060051b60200190565b600082601f830112613ddc57600080fd5b81356020613de982613da7565b604051613df68282613bba565b83815260059390931b8501820192828101915086841115613e1657600080fd5b8286015b84811015613e315780358352918301918301613e1a565b509695505050505050565b600082601f830112613e4d57600080fd5b613b9d83833560208501613be7565b600080600080600060a08688031215613e7457600080fd5b8535613e7f81613b29565b94506020860135613e8f81613b29565b9350604086013567ffffffffffffffff80821115613eac57600080fd5b613eb889838a01613dcb565b94506060880135915080821115613ece57600080fd5b613eda89838a01613dcb565b93506080880135915080821115613ef057600080fd5b50613efd88828901613e3c565b9150509295509295909350565b60008060408385031215613f1d57600080fd5b823567ffffffffffffffff80821115613f3557600080fd5b818501915085601f830112613f4957600080fd5b81356020613f5682613da7565b604051613f638282613bba565b83815260059390931b8501820192828101915089841115613f8357600080fd5b948201945b83861015613faa578535613f9b81613b29565b82529482019490820190613f88565b96505086013592505080821115613fc057600080fd5b50613fcd85828601613dcb565b9150509250929050565b8015158114610b6c57600080fd5b60008060408385031215613ff857600080fd5b823561400381613b29565b9150602083013561401381613fd7565b809150509250929050565b600081518084526020808501945080840160005b83811015613d4a5781516001600160a01b031687529582019590820190600101614032565b602081526000613b9d602083018461401e565b60408152600061407d604083018561401e565b828103602084015261408f8185613d1a565b95945050505050565b803560ff81168114610ce457600080fd5b600080600080608085870312156140bf57600080fd5b843593506140cf60208601614098565b93969395505050506040820135916060013590565b600080604083850312156140f757600080fd5b823561410281613b29565b9150602083013561401381613b29565b600080600080600060a0868803121561412a57600080fd5b853561413581613b29565b9450602086013561414581613b29565b93506040860135925060608601359150608086013567ffffffffffffffff81111561416f57600080fd5b613efd88828901613e3c565b60008060008060008060c0878903121561419457600080fd5b8635955060208701359450604087013593506141b260608801614098565b92506080870135915060a087013590509295509295509295565b600181811c908216806141e057607f821691505b60208210810361420057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561424c5761424c61421c565b500290565b60008261426e57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156142855761428561421c565b500390565b60006020828403121561429c57600080fd5b8151613b9d81613b29565b600082198211156142ba576142ba61421c565b500190565b600060001982036142d2576142d261421c565b5060010190565b600083516142eb818460208801613caf565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60006020828403121561432257600080fd5b8151613b9d81613fd7565b60006020828403121561433f57600080fd5b5051919050565b60008651614358818460208b01613caf565b60609690961b6bffffffffffffffffffffffff19169190950190815260148101939093526034830191909152605482015260740192915050565b60408152600061407d6040830185613d1a565b60006001600160a01b03808816835280871660208401525060a060408301526143d160a0830186613d1a565b82810360608401526143e38186613d1a565b905082810360808401526143f78185613cdb565b98975050505050505050565b60006020828403121561441557600080fd5b8151613b9d81613b6a565b600060033d11156144395760046000803e5060005160e01c5b90565b600060443d101561444a5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561449857505050505090565b82850191508151818111156144b05750505050505090565b843d87010160208285010111156144ca5750505050505090565b6144d960208286010187613bba565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261451c60a0830184613cdb565b97965050505050505056fe19457468657265756d205369676e6564204d6573736167653a0a3334414c5f444154415f424c4f434b5319457468657265756d205369676e6564204d6573736167653a0a31333050535f444154415f424c4f434b53a264697066735822122047ab885b513d2de70cf0cfd4b91e20e971d186feeaf28110267a46bd8783076364736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92000000000000000000000000fb7208607746ff13c166d1009996531393edca490000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6d642e7a656e626c6f636b732e636f2f6462322e6a736f6e
-----Decoded View---------------
Arg [0] : _ashContract (address): 0x64D91f12Ece7362F91A6f8E7940Cd55F05060b92
Arg [1] : _validatorAddress (address): 0xFB7208607746ff13c166D1009996531393EDca49
Arg [2] : uri (string): https://md.zenblocks.co/db2.json
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000064d91f12ece7362f91a6f8e7940cd55f05060b92
Arg [1] : 000000000000000000000000fb7208607746ff13c166d1009996531393edca49
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [4] : 68747470733a2f2f6d642e7a656e626c6f636b732e636f2f6462322e6a736f6e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.