More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 36 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 18338308 | 417 days ago | IN | 0 ETH | 0.0004572 | ||||
Withdraw And Sha... | 17942800 | 472 days ago | IN | 0 ETH | 0.00382662 | ||||
Set Approval For... | 15187080 | 865 days ago | IN | 0 ETH | 0.00146355 | ||||
Set Approval For... | 15060419 | 885 days ago | IN | 0 ETH | 0.00067622 | ||||
Set Approval For... | 15060323 | 885 days ago | IN | 0 ETH | 0.00111798 | ||||
Withdraw And Sha... | 14538984 | 970 days ago | IN | 0 ETH | 0.00318923 | ||||
Set Approval For... | 14357892 | 999 days ago | IN | 0 ETH | 0.00108083 | ||||
Transfer From | 14349927 | 1000 days ago | IN | 0 ETH | 0.00378734 | ||||
Set Approval For... | 14231005 | 1018 days ago | IN | 0 ETH | 0.00634653 | ||||
Set Approval For... | 14180284 | 1026 days ago | IN | 0 ETH | 0.00504713 | ||||
Set Approval For... | 13908995 | 1068 days ago | IN | 0 ETH | 0.00492454 | ||||
Withdraw And Sha... | 13758646 | 1091 days ago | IN | 0 ETH | 0.00482188 | ||||
Transfer From | 13218544 | 1176 days ago | IN | 0 ETH | 0.00974926 | ||||
Transfer From | 13023876 | 1206 days ago | IN | 0 ETH | 0.00436859 | ||||
Set Approval For... | 12987631 | 1212 days ago | IN | 0 ETH | 0.00168622 | ||||
Set Approval For... | 12962821 | 1216 days ago | IN | 0 ETH | 0.00159014 | ||||
Transfer Ownersh... | 12843429 | 1234 days ago | IN | 0 ETH | 0.00049339 | ||||
Set Approval For... | 12831867 | 1236 days ago | IN | 0 ETH | 0.00252423 | ||||
Transfer From | 12759846 | 1248 days ago | IN | 0 ETH | 0.0008759 | ||||
Withdraw And Sha... | 12755546 | 1248 days ago | IN | 0 ETH | 0.00040947 | ||||
Transfer From | 12749929 | 1249 days ago | IN | 0 ETH | 0.00101083 | ||||
Withdraw And Sha... | 12746610 | 1250 days ago | IN | 0 ETH | 0.00034123 | ||||
Transfer From | 12739762 | 1251 days ago | IN | 0 ETH | 0.00109801 | ||||
Transfer From | 12713876 | 1255 days ago | IN | 0 ETH | 0.00087605 | ||||
Set Approval For... | 12712166 | 1255 days ago | IN | 0 ETH | 0.00060799 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Treasures
Compiler Version
v0.8.5+commit.a4f2e591
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** ``.-::://:::-.`` `-/oydmmmmmmmmmmmmdyo/.` `:ohmmdhysssssssssssyyhmmmho-` .+ymmhyssssssssssssssssssssyhmmy+. .+hNdysssssssssssssssydmysssssssymmy+. `:smmyssssssssssssssshmMMMmsssssssssymms: `+hNhssssssssssssssshNMMMMMMhsssssssssshNy+` `/hNysssssssssssssydNMMMMMMMMNyssssssssssyNy+` /yMhssssssssssssydMMMMMMMMMMMMdssssssssssshNy/ .ommsssssssssssydMMMMMMMMMMMMMMMysssssssssssmmo. /yMysssssssssshMMMMMMMMMMMMMMMMMmsssssssssssyMy: +hNsssssssssssdMMMMMMMMMMMMMMMMMMysssssssssssMh+ +hNsssssssssssyMMMMMMMMMMMMMMMMMMdsssssssssssNh+ +hMssssssssssssdMMMMMMMMMMMMMMMMMNsssssssssssMy/ -sNhsssssssssssyMMMMMMMMMMMMMMMMNhsssssssssshNs- `odNssssssssssssdMMMMMMMMMMMMMNhssssssssssssNd+` -smdsssssssssssyNMMMMMMMMMMNhsssssssssssssmms- :sNdssssssssssshMMMMMMMMmhssssssssssssssdms: :smmyssssssssssmMMMMMmyssssssssssssssymms- `+hNdsssssssssyMMNdysssssssssssssssdNh+` -odNdysssssssyysssssssssssssssydNho- -+ymmdyssssssssssssssssssydmmy+. `-+ydmmddhyyyyyyyyhddmmdy+-` ``-/+syhddddddhyy+/-.` ````..```` /$$$$$$ /$$$$$$$ /$$ /$$ /$$ /$$$_ $$ | $$__ $$|__/ | $$ |__/ | $$$$\ $$ /$$ /$$| $$ \ $$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$$$$$$ | $$ $$ $$| $$ /$$/| $$$$$$$ | $$|_ $$_/ /$$_____/ /$$__ $$| $$| $$__ $$ | $$\ $$$$ \ $$$$/ | $$__ $$| $$ | $$ | $$ | $$ \ $$| $$| $$ \ $$ | $$ \ $$$ >$$ $$ | $$ \ $$| $$ | $$ /$$| $$ | $$ | $$| $$| $$ | $$ | $$$$$$/ /$$/\ $$| $$$$$$$/| $$ | $$$$/| $$$$$$$| $$$$$$/| $$| $$ | $$ \______/ |__/ \__/|_______/ |__/ \___/ \_______/ \______/ |__/|__/ |__/ /$$$$$$$$ |__ $$__/ | $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$ | $$ /$$__ $$ /$$__ $$ |____ $$ /$$_____/| $$ | $$ /$$__ $$ /$$__ $$ /$$_____/ | $$| $$ \__/| $$$$$$$$ /$$$$$$$| $$$$$$ | $$ | $$| $$ \__/| $$$$$$$$| $$$$$$ | $$| $$ | $$_____/ /$$__ $$ \____ $$| $$ | $$| $$ | $$_____/ \____ $$ | $$| $$ | $$$$$$$| $$$$$$$ /$$$$$$$/| $$$$$$/| $$ | $$$$$$$ /$$$$$$$/ |__/|__/ \_______/ \_______/|_______/ \______/ |__/ \_______/|_______/ */ abstract contract ApproveAndCallFallBack { function receiveApproval(address from, uint256 tokens, address token, bytes memory data) virtual public; } contract Treasures is Context, ERC721Enumerable, ERC721Burnable, ApproveAndCallFallBack, Ownable { //// Random index assignment uint internal nonce = 0; uint public constant TOKEN_LIMIT = 1024; uint internal numTokens = 0; uint[TOKEN_LIMIT] internal indices; address private xbtc = 0xB6eD7644C69416d67B522e20bC294A9a9B405B31; address private dev = 0x23aD59Cc6aFff2E508772F69D22b19FfEBf579e7; address private guild = 0x167152A46E8616D4a6892A6AfD8E52F060151C70; uint256 private devFunds = 0; uint256 private guildFunds = 0; uint256 private _mintPrice; string private _baseTokenURI; bool public saleStarted = false; /** * Token URIs will be autogenerated based on `baseURI` and their token IDs. * See {ERC721-tokenURI}. */ constructor(string memory name, string memory symbol, string memory baseTokenURI,uint256 mintPrice) ERC721(name, symbol) { _baseTokenURI = baseTokenURI; _mintPrice = mintPrice; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function randomIndex() internal returns (uint) { uint totalSize = TOKEN_LIMIT - numTokens; uint index = uint(keccak256(abi.encodePacked(nonce, msg.sender, block.difficulty, block.timestamp))) % totalSize; uint value = 0; if (indices[index] != 0) { value = indices[index]; } else { value = index; } // Move last value to selected position if (indices[totalSize - 1] == 0) { // Array position not initialized, so use position indices[index] = totalSize - 1; } else { // Array position holds a value so use that indices[index] = indices[totalSize - 1]; } nonce++; // Don't allow a zero index, start counting at 1 return value+1; } event Mint(uint256 tokenId); /** * @dev Creates a new token. Its token ID will be automatically * assigned (and available on the emitted {IERC721-Transfer} event), and the token * URI autogenerated based on the base URI passed at construction. * * See {ERC721-_mint}. * */ function mint(address from) internal returns (bool){ require(saleStarted == true); //only 1024 treasures require(numTokens < TOKEN_LIMIT, 'all treasures minted'); //receive payment require(IERC20(xbtc).transferFrom(from, address(this), _mintPrice), 'transfer failed'); //keep 16 tokens "locked" inside the minted NFT uint256 toDistribute = _mintPrice - 1600000000; //90% of the payment goes to devs uint256 devFees = (toDistribute * 20 / 100); devFunds = devFunds + devFees; //the rest goes to the guild guildFunds = guildFunds + (toDistribute - devFees); uint id = randomIndex(); _mint(from, id); numTokens = numTokens + 1; emit Mint(id); return true; } /** * @dev Withdraws funds to dev wallet and to miners guild * */ function withdrawAndShare() public virtual { require(devFunds > 0 || guildFunds > 0 ,'nothing to withdraw'); require(IERC20(xbtc).transfer(dev, devFunds),'transfer failed'); devFunds = 0; require(IERC20(xbtc).transfer(guild, guildFunds),'transfer failed'); guildFunds = 0; } /** * Deployer can start the sale once but cant stop it */ function startSale() public virtual onlyOwner { require(saleStarted == false); saleStarted = true; } /** * burns an NFT to get the token that was locked inside. * USE THIS FUNCTION AND DONT JUST CALL BURN() */ function burnAndRedeemLockedToken(uint256 tokenId) public virtual { require(_isApprovedOrOwner(_msgSender(), tokenId), "Caller is not owner nor approved"); _burn(tokenId); IERC20(xbtc).transfer(_msgSender(), 1600000000); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function getDevFunds() public view returns (uint256) { return devFunds; } function getGuildFunds() public view returns (uint256) { return guildFunds; } function getMintPrice() public view returns (uint256) { return _mintPrice; } function getMintedCounter() public view returns (uint256) { return numTokens; } function receiveApproval(address from, uint256 tokens, address token, bytes memory data) public override { require( token == xbtc ); require( mint(from) ); } // ------------------------------------------------------------------------ // Don't accept ETH // ------------------------------------------------------------------------ fallback() external payable { revert(); } receive() external payable { revert(); } }
// SPDX-License-Identifier: MIT 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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 pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"mintPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnAndRedeemLockedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDevFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGuildFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintedCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"address","name":"token","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"receiveApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAndShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600b556000600c5573b6ed7644c69416d67b522e20bc294a9a9b405b3161040d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507323ad59cc6afff2e508772f69d22b19ffebf579e761040e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073167152a46e8616d4a6892a6afd8e52f060151c7061040f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600061041055600061041155600061041460006101000a81548160ff0219169083151502179055503480156200014557600080fd5b5060405162004bc838038062004bc883398181016040528101906200016b9190620003cb565b838381600090805190602001906200018592919062000286565b5080600190805190602001906200019e92919062000286565b5050506000620001b36200027e60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508161041390805190602001906200026b92919062000286565b5080610412819055505050505062000642565b600033905090565b828054620002949062000539565b90600052602060002090601f016020900481019282620002b8576000855562000304565b82601f10620002d357805160ff191683800117855562000304565b8280016001018555821562000304579182015b8281111562000303578251825591602001919060010190620002e6565b5b50905062000313919062000317565b5090565b5b808211156200033257600081600090555060010162000318565b5090565b60006200034d6200034784620004c3565b6200049a565b9050828152602081018484840111156200036c576200036b62000608565b5b6200037984828562000503565b509392505050565b600082601f83011262000399576200039862000603565b5b8151620003ab84826020860162000336565b91505092915050565b600081519050620003c58162000628565b92915050565b60008060008060808587031215620003e857620003e762000612565b5b600085015167ffffffffffffffff8111156200040957620004086200060d565b5b620004178782880162000381565b945050602085015167ffffffffffffffff8111156200043b576200043a6200060d565b5b620004498782880162000381565b935050604085015167ffffffffffffffff8111156200046d576200046c6200060d565b5b6200047b8782880162000381565b92505060606200048e87828801620003b4565b91505092959194509250565b6000620004a6620004b9565b9050620004b482826200056f565b919050565b6000604051905090565b600067ffffffffffffffff821115620004e157620004e0620005d4565b5b620004ec8262000617565b9050602081019050919050565b6000819050919050565b60005b838110156200052357808201518184015260208101905062000506565b8381111562000533576000848401525b50505050565b600060028204905060018216806200055257607f821691505b60208210811415620005695762000568620005a5565b5b50919050565b6200057a8262000617565b810181811067ffffffffffffffff821117156200059c576200059b620005d4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200063381620004f9565b81146200063f57600080fd5b50565b61457680620006526000396000f3fe6080604052600436106101d15760003560e01c80636352211e116100f7578063a7f93ebd11610095578063d185687611610064578063d185687614610684578063e94a8386146106af578063e985e9c5146106c6578063f2fde38b14610703576101db565b8063a7f93ebd146105dc578063b66a0e5d14610607578063b88d4fde1461061e578063c87b56dd14610647576101db565b80638da5cb5b116100d15780638da5cb5b146105345780638f4ffcb11461055f57806395d89b4114610588578063a22cb465146105b3576101db565b80636352211e146104a357806370a08231146104e0578063715018a61461051d576101db565b80632355992f1161016f57806342966c681161013e57806342966c68146103e95780634f6ccce7146104125780635c474f9e1461044f57806360bac1971461047a576101db565b80632355992f1461032f57806323b872dd1461035a5780632f745c591461038357806342842e0e146103c0576101db565b8063081812fc116101ab578063081812fc14610273578063095ea7b3146102b057806318160ddd146102d95780632302435314610304576101db565b806301ffc9a7146101e0578063031bd4c41461021d57806306fdde0314610248576101db565b366101db57600080fd5b600080fd5b3480156101ec57600080fd5b50610207600480360381019061020291906130db565b61072c565b60405161021491906136f6565b60405180910390f35b34801561022957600080fd5b5061023261073e565b60405161023f9190613a13565b60405180910390f35b34801561025457600080fd5b5061025d610744565b60405161026a9190613711565b60405180910390f35b34801561027f57600080fd5b5061029a60048036038101906102959190613135565b6107d6565b6040516102a79190613606565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190612feb565b61085b565b005b3480156102e557600080fd5b506102ee610973565b6040516102fb9190613a13565b60405180910390f35b34801561031057600080fd5b50610319610980565b6040516103269190613a13565b60405180910390f35b34801561033b57600080fd5b5061034461098a565b6040516103519190613a13565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190612ed5565b610995565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190612feb565b6109f5565b6040516103b79190613a13565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190612ed5565b610a9a565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613135565b610aba565b005b34801561041e57600080fd5b5061043960048036038101906104349190613135565b610b16565b6040516104469190613a13565b60405180910390f35b34801561045b57600080fd5b50610464610b87565b60405161047191906136f6565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613135565b610b9b565b005b3480156104af57600080fd5b506104ca60048036038101906104c59190613135565b610cb3565b6040516104d79190613606565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190612e68565b610d65565b6040516105149190613a13565b60405180910390f35b34801561052957600080fd5b50610532610e1d565b005b34801561054057600080fd5b50610549610f5a565b6040516105569190613606565b60405180910390f35b34801561056b57600080fd5b506105866004803603810190610581919061302b565b610f84565b005b34801561059457600080fd5b5061059d610ff7565b6040516105aa9190613711565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190612fab565b611089565b005b3480156105e857600080fd5b506105f161120a565b6040516105fe9190613a13565b60405180910390f35b34801561061357600080fd5b5061061c611215565b005b34801561062a57600080fd5b5061064560048036038101906106409190612f28565b6112d0565b005b34801561065357600080fd5b5061066e60048036038101906106699190613135565b611332565b60405161067b9190613711565b60405180910390f35b34801561069057600080fd5b506106996113d9565b6040516106a69190613a13565b60405180910390f35b3480156106bb57600080fd5b506106c46113e4565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612e95565b611676565b6040516106fa91906136f6565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612e68565b61170a565b005b6000610737826118b6565b9050919050565b61040081565b60606000805461075390613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461077f90613ca4565b80156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b5050505050905090565b60006107e182611930565b610820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081790613893565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086682610cb3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613933565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f661199c565b73ffffffffffffffffffffffffffffffffffffffff16148061092557506109248161091f61199c565b611676565b5b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90613813565b60405180910390fd5b61096e83836119a4565b505050565b6000600880549050905090565b6000600c54905090565b600061041154905090565b6109a66109a061199c565b82611a5d565b6109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90613973565b60405180910390fd5b6109f0838383611b3b565b505050565b6000610a0083610d65565b8210610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613733565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ab5838383604051806020016040528060008152506112d0565b505050565b610acb610ac561199c565b82611a5d565b610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b01906139f3565b60405180910390fd5b610b1381611d97565b50565b6000610b20610973565b8210610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b58906139b3565b60405180910390fd5b60088281548110610b7557610b74613e6b565b5b90600052602060002001549050919050565b61041460009054906101000a900460ff1681565b610bac610ba661199c565b82611a5d565b610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be290613953565b60405180910390fd5b610bf481611d97565b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c3b61199c565b635f5e10006040518363ffffffff1660e01b8152600401610c5d9291906136a4565b602060405180830381600087803b158015610c7757600080fd5b505af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf91906130ae565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390613853565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90613833565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e2561199c565b73ffffffffffffffffffffffffffffffffffffffff16610e43610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906138b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610fdf57600080fd5b610fe884611ea8565b610ff157600080fd5b50505050565b60606001805461100690613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461103290613ca4565b801561107f5780601f106110545761010080835404028352916020019161107f565b820191906000526020600020905b81548152906001019060200180831161106257829003601f168201915b5050505050905090565b61109161199c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906137d3565b60405180910390fd5b806005600061110c61199c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111b961199c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111fe91906136f6565b60405180910390a35050565b600061041254905090565b61121d61199c565b73ffffffffffffffffffffffffffffffffffffffff1661123b610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611288906138b3565b60405180910390fd5b6000151561041460009054906101000a900460ff161515146112b257600080fd5b600161041460006101000a81548160ff021916908315150217905550565b6112e16112db61199c565b83611a5d565b611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790613973565b60405180910390fd5b61132c848484846120de565b50505050565b606061133d82611930565b61137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906138f3565b60405180910390fd5b600061138661213a565b905060008151116113a657604051806020016040528060008152506113d1565b806113b0846121cd565b6040516020016113c1929190613594565b6040516020818303038152906040525b915050919050565b600061041054905090565b60006104105411806113f95750600061041154115b611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90613993565b60405180910390fd5b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61040e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610410546040518363ffffffff1660e01b81526004016114bc9291906136cd565b602060405180830381600087803b1580156114d657600080fd5b505af11580156114ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150e91906130ae565b61154d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611544906139d3565b60405180910390fd5b60006104108190555061040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61040f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610411546040518363ffffffff1660e01b81526004016115da9291906136cd565b602060405180830381600087803b1580156115f457600080fd5b505af1158015611608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162c91906130ae565b61166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906139d3565b60405180910390fd5b600061041181905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61171261199c565b73ffffffffffffffffffffffffffffffffffffffff16611730610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d906138b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613773565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061192957506119288261232e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a1783610cb3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a6882611930565b611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e906137f3565b60405180910390fd5b6000611ab283610cb3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b2157508373ffffffffffffffffffffffffffffffffffffffff16611b09846107d6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b325750611b318185611676565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5b82610cb3565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba8906138d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c18906137b3565b60405180910390fd5b611c2c838383612410565b611c376000826119a4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c879190613ba8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cde9190613ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611da282610cb3565b9050611db081600084612410565b611dbb6000836119a4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0b9190613ba8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006001151561041460009054906101000a900460ff16151514611ecb57600080fd5b610400600c5410611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890613913565b60405180910390fd5b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8330610412546040518463ffffffff1660e01b8152600401611f7493929190613621565b602060405180830381600087803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc691906130ae565b612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc906139d3565b60405180910390fd5b6000635f5e10006104125461201a9190613ba8565b90506000606460148361202d9190613b4e565b6120379190613b1d565b905080610410546120489190613ac7565b61041081905550808261205b9190613ba8565b610411546120699190613ac7565b61041181905550600061207a612420565b90506120868582612579565b6001600c546120959190613ac7565b600c819055507f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a84665816040516120ca9190613a13565b60405180910390a160019350505050919050565b6120e9848484611b3b565b6120f584848484612747565b612134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212b90613753565b60405180910390fd5b50505050565b6060610413805461214a90613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461217690613ca4565b80156121c35780601f10612198576101008083540402835291602001916121c3565b820191906000526020600020905b8154815290600101906020018083116121a657829003601f168201915b5050505050905090565b60606000821415612215576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612329565b600082905060005b6000821461224757808061223090613d07565b915050600a826122409190613b1d565b915061221d565b60008167ffffffffffffffff81111561226357612262613e9a565b5b6040519080825280601f01601f1916602001820160405280156122955781602001600182028036833780820191505090505b5090505b60008514612322576001826122ae9190613ba8565b9150600a856122bd9190613d7e565b60306122c99190613ac7565b60f81b8183815181106122df576122de613e6b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561231b9190613b1d565b9450612299565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124095750612408826128de565b5b9050919050565b61241b838383612948565b505050565b600080600c546104006124339190613ba8565b9050600081600b5433444260405160200161245194939291906135b8565b6040516020818303038152906040528051906020012060001c6124749190613d7e565b9050600080600d83610400811061248e5761248d613e6b565b5b0154146124b357600d8261040081106124aa576124a9613e6b565b5b015490506124b7565b8190505b6000600d6001856124c89190613ba8565b61040081106124da576124d9613e6b565b5b0154141561250e576001836124ef9190613ba8565b600d83610400811061250457612503613e6b565b5b018190555061254c565b600d60018461251d9190613ba8565b610400811061252f5761252e613e6b565b5b0154600d83610400811061254657612545613e6b565b5b01819055505b600b600081548092919061255f90613d07565b91905055506001816125719190613ac7565b935050505090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e090613873565b60405180910390fd5b6125f281611930565b15612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990613793565b60405180910390fd5b61263e60008383612410565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461268e9190613ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006127688473ffffffffffffffffffffffffffffffffffffffff16612a5c565b156128d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261279161199c565b8786866040518563ffffffff1660e01b81526004016127b39493929190613658565b602060405180830381600087803b1580156127cd57600080fd5b505af19250505080156127fe57506040513d601f19601f820116820180604052508101906127fb9190613108565b60015b612881573d806000811461282e576040519150601f19603f3d011682016040523d82523d6000602084013e612833565b606091505b50600081511415612879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287090613753565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128d6565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612953838383612a6f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129965761299181612a74565b6129d5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129d4576129d38382612abd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a1857612a1381612c2a565b612a57565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a5657612a558282612cfb565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612aca84610d65565b612ad49190613ba8565b9050600060076000848152602001908152602001600020549050818114612bb9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c3e9190613ba8565b9050600060096000848152602001908152602001600020549050600060088381548110612c6e57612c6d613e6b565b5b906000526020600020015490508060088381548110612c9057612c8f613e6b565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612cdf57612cde613e3c565b5b6001900381819060005260206000200160009055905550505050565b6000612d0683610d65565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612d8d612d8884613a53565b613a2e565b905082815260208101848484011115612da957612da8613ece565b5b612db4848285613c62565b509392505050565b600081359050612dcb816144e4565b92915050565b600081359050612de0816144fb565b92915050565b600081519050612df5816144fb565b92915050565b600081359050612e0a81614512565b92915050565b600081519050612e1f81614512565b92915050565b600082601f830112612e3a57612e39613ec9565b5b8135612e4a848260208601612d7a565b91505092915050565b600081359050612e6281614529565b92915050565b600060208284031215612e7e57612e7d613ed8565b5b6000612e8c84828501612dbc565b91505092915050565b60008060408385031215612eac57612eab613ed8565b5b6000612eba85828601612dbc565b9250506020612ecb85828601612dbc565b9150509250929050565b600080600060608486031215612eee57612eed613ed8565b5b6000612efc86828701612dbc565b9350506020612f0d86828701612dbc565b9250506040612f1e86828701612e53565b9150509250925092565b60008060008060808587031215612f4257612f41613ed8565b5b6000612f5087828801612dbc565b9450506020612f6187828801612dbc565b9350506040612f7287828801612e53565b925050606085013567ffffffffffffffff811115612f9357612f92613ed3565b5b612f9f87828801612e25565b91505092959194509250565b60008060408385031215612fc257612fc1613ed8565b5b6000612fd085828601612dbc565b9250506020612fe185828601612dd1565b9150509250929050565b6000806040838503121561300257613001613ed8565b5b600061301085828601612dbc565b925050602061302185828601612e53565b9150509250929050565b6000806000806080858703121561304557613044613ed8565b5b600061305387828801612dbc565b945050602061306487828801612e53565b935050604061307587828801612dbc565b925050606085013567ffffffffffffffff81111561309657613095613ed3565b5b6130a287828801612e25565b91505092959194509250565b6000602082840312156130c4576130c3613ed8565b5b60006130d284828501612de6565b91505092915050565b6000602082840312156130f1576130f0613ed8565b5b60006130ff84828501612dfb565b91505092915050565b60006020828403121561311e5761311d613ed8565b5b600061312c84828501612e10565b91505092915050565b60006020828403121561314b5761314a613ed8565b5b600061315984828501612e53565b91505092915050565b61316b81613bdc565b82525050565b61318261317d82613bdc565b613d50565b82525050565b61319181613bee565b82525050565b60006131a282613a84565b6131ac8185613a9a565b93506131bc818560208601613c71565b6131c581613edd565b840191505092915050565b6131d981613c50565b82525050565b60006131ea82613a8f565b6131f48185613aab565b9350613204818560208601613c71565b61320d81613edd565b840191505092915050565b600061322382613a8f565b61322d8185613abc565b935061323d818560208601613c71565b80840191505092915050565b6000613256602b83613aab565b915061326182613efb565b604082019050919050565b6000613279603283613aab565b915061328482613f4a565b604082019050919050565b600061329c602683613aab565b91506132a782613f99565b604082019050919050565b60006132bf601c83613aab565b91506132ca82613fe8565b602082019050919050565b60006132e2602483613aab565b91506132ed82614011565b604082019050919050565b6000613305601983613aab565b915061331082614060565b602082019050919050565b6000613328602c83613aab565b915061333382614089565b604082019050919050565b600061334b603883613aab565b9150613356826140d8565b604082019050919050565b600061336e602a83613aab565b915061337982614127565b604082019050919050565b6000613391602983613aab565b915061339c82614176565b604082019050919050565b60006133b4602083613aab565b91506133bf826141c5565b602082019050919050565b60006133d7602c83613aab565b91506133e2826141ee565b604082019050919050565b60006133fa602083613aab565b91506134058261423d565b602082019050919050565b600061341d602983613aab565b915061342882614266565b604082019050919050565b6000613440602f83613aab565b915061344b826142b5565b604082019050919050565b6000613463601483613aab565b915061346e82614304565b602082019050919050565b6000613486602183613aab565b91506134918261432d565b604082019050919050565b60006134a9602083613aab565b91506134b48261437c565b602082019050919050565b60006134cc603183613aab565b91506134d7826143a5565b604082019050919050565b60006134ef601383613aab565b91506134fa826143f4565b602082019050919050565b6000613512602c83613aab565b915061351d8261441d565b604082019050919050565b6000613535600f83613aab565b91506135408261446c565b602082019050919050565b6000613558603083613aab565b915061356382614495565b604082019050919050565b61357781613c46565b82525050565b61358e61358982613c46565b613d74565b82525050565b60006135a08285613218565b91506135ac8284613218565b91508190509392505050565b60006135c4828761357d565b6020820191506135d48286613171565b6014820191506135e4828561357d565b6020820191506135f4828461357d565b60208201915081905095945050505050565b600060208201905061361b6000830184613162565b92915050565b60006060820190506136366000830186613162565b6136436020830185613162565b613650604083018461356e565b949350505050565b600060808201905061366d6000830187613162565b61367a6020830186613162565b613687604083018561356e565b81810360608301526136998184613197565b905095945050505050565b60006040820190506136b96000830185613162565b6136c660208301846131d0565b9392505050565b60006040820190506136e26000830185613162565b6136ef602083018461356e565b9392505050565b600060208201905061370b6000830184613188565b92915050565b6000602082019050818103600083015261372b81846131df565b905092915050565b6000602082019050818103600083015261374c81613249565b9050919050565b6000602082019050818103600083015261376c8161326c565b9050919050565b6000602082019050818103600083015261378c8161328f565b9050919050565b600060208201905081810360008301526137ac816132b2565b9050919050565b600060208201905081810360008301526137cc816132d5565b9050919050565b600060208201905081810360008301526137ec816132f8565b9050919050565b6000602082019050818103600083015261380c8161331b565b9050919050565b6000602082019050818103600083015261382c8161333e565b9050919050565b6000602082019050818103600083015261384c81613361565b9050919050565b6000602082019050818103600083015261386c81613384565b9050919050565b6000602082019050818103600083015261388c816133a7565b9050919050565b600060208201905081810360008301526138ac816133ca565b9050919050565b600060208201905081810360008301526138cc816133ed565b9050919050565b600060208201905081810360008301526138ec81613410565b9050919050565b6000602082019050818103600083015261390c81613433565b9050919050565b6000602082019050818103600083015261392c81613456565b9050919050565b6000602082019050818103600083015261394c81613479565b9050919050565b6000602082019050818103600083015261396c8161349c565b9050919050565b6000602082019050818103600083015261398c816134bf565b9050919050565b600060208201905081810360008301526139ac816134e2565b9050919050565b600060208201905081810360008301526139cc81613505565b9050919050565b600060208201905081810360008301526139ec81613528565b9050919050565b60006020820190508181036000830152613a0c8161354b565b9050919050565b6000602082019050613a28600083018461356e565b92915050565b6000613a38613a49565b9050613a448282613cd6565b919050565b6000604051905090565b600067ffffffffffffffff821115613a6e57613a6d613e9a565b5b613a7782613edd565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad282613c46565b9150613add83613c46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1257613b11613daf565b5b828201905092915050565b6000613b2882613c46565b9150613b3383613c46565b925082613b4357613b42613dde565b5b828204905092915050565b6000613b5982613c46565b9150613b6483613c46565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9d57613b9c613daf565b5b828202905092915050565b6000613bb382613c46565b9150613bbe83613c46565b925082821015613bd157613bd0613daf565b5b828203905092915050565b6000613be782613c26565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613c5b82613c46565b9050919050565b82818337600083830152505050565b60005b83811015613c8f578082015181840152602081019050613c74565b83811115613c9e576000848401525b50505050565b60006002820490506001821680613cbc57607f821691505b60208210811415613cd057613ccf613e0d565b5b50919050565b613cdf82613edd565b810181811067ffffffffffffffff82111715613cfe57613cfd613e9a565b5b80604052505050565b6000613d1282613c46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d4557613d44613daf565b5b600182019050919050565b6000613d5b82613d62565b9050919050565b6000613d6d82613eee565b9050919050565b6000819050919050565b6000613d8982613c46565b9150613d9483613c46565b925082613da457613da3613dde565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f616c6c20747265617375726573206d696e746564000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f6e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6144ed81613bdc565b81146144f857600080fd5b50565b61450481613bee565b811461450f57600080fd5b50565b61451b81613bfa565b811461452657600080fd5b50565b61453281613c46565b811461453d57600080fd5b5056fea26469706673582212209668dcfce5881742a898c1714912473233f44875b9d6a8a379af5000470d60da64736f6c63430008050033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000000000000000000193078426974636f696e2054726561737572652043686573747300000000000000000000000000000000000000000000000000000000000000000000000000000f54726561737572652043686573747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a59744e3132316f706f455a656632324d4b6e667152344a7650516d774554456642623977456e70393568752f00000000000000000000
Deployed Bytecode
0x6080604052600436106101d15760003560e01c80636352211e116100f7578063a7f93ebd11610095578063d185687611610064578063d185687614610684578063e94a8386146106af578063e985e9c5146106c6578063f2fde38b14610703576101db565b8063a7f93ebd146105dc578063b66a0e5d14610607578063b88d4fde1461061e578063c87b56dd14610647576101db565b80638da5cb5b116100d15780638da5cb5b146105345780638f4ffcb11461055f57806395d89b4114610588578063a22cb465146105b3576101db565b80636352211e146104a357806370a08231146104e0578063715018a61461051d576101db565b80632355992f1161016f57806342966c681161013e57806342966c68146103e95780634f6ccce7146104125780635c474f9e1461044f57806360bac1971461047a576101db565b80632355992f1461032f57806323b872dd1461035a5780632f745c591461038357806342842e0e146103c0576101db565b8063081812fc116101ab578063081812fc14610273578063095ea7b3146102b057806318160ddd146102d95780632302435314610304576101db565b806301ffc9a7146101e0578063031bd4c41461021d57806306fdde0314610248576101db565b366101db57600080fd5b600080fd5b3480156101ec57600080fd5b50610207600480360381019061020291906130db565b61072c565b60405161021491906136f6565b60405180910390f35b34801561022957600080fd5b5061023261073e565b60405161023f9190613a13565b60405180910390f35b34801561025457600080fd5b5061025d610744565b60405161026a9190613711565b60405180910390f35b34801561027f57600080fd5b5061029a60048036038101906102959190613135565b6107d6565b6040516102a79190613606565b60405180910390f35b3480156102bc57600080fd5b506102d760048036038101906102d29190612feb565b61085b565b005b3480156102e557600080fd5b506102ee610973565b6040516102fb9190613a13565b60405180910390f35b34801561031057600080fd5b50610319610980565b6040516103269190613a13565b60405180910390f35b34801561033b57600080fd5b5061034461098a565b6040516103519190613a13565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190612ed5565b610995565b005b34801561038f57600080fd5b506103aa60048036038101906103a59190612feb565b6109f5565b6040516103b79190613a13565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190612ed5565b610a9a565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613135565b610aba565b005b34801561041e57600080fd5b5061043960048036038101906104349190613135565b610b16565b6040516104469190613a13565b60405180910390f35b34801561045b57600080fd5b50610464610b87565b60405161047191906136f6565b60405180910390f35b34801561048657600080fd5b506104a1600480360381019061049c9190613135565b610b9b565b005b3480156104af57600080fd5b506104ca60048036038101906104c59190613135565b610cb3565b6040516104d79190613606565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190612e68565b610d65565b6040516105149190613a13565b60405180910390f35b34801561052957600080fd5b50610532610e1d565b005b34801561054057600080fd5b50610549610f5a565b6040516105569190613606565b60405180910390f35b34801561056b57600080fd5b506105866004803603810190610581919061302b565b610f84565b005b34801561059457600080fd5b5061059d610ff7565b6040516105aa9190613711565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190612fab565b611089565b005b3480156105e857600080fd5b506105f161120a565b6040516105fe9190613a13565b60405180910390f35b34801561061357600080fd5b5061061c611215565b005b34801561062a57600080fd5b5061064560048036038101906106409190612f28565b6112d0565b005b34801561065357600080fd5b5061066e60048036038101906106699190613135565b611332565b60405161067b9190613711565b60405180910390f35b34801561069057600080fd5b506106996113d9565b6040516106a69190613a13565b60405180910390f35b3480156106bb57600080fd5b506106c46113e4565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190612e95565b611676565b6040516106fa91906136f6565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612e68565b61170a565b005b6000610737826118b6565b9050919050565b61040081565b60606000805461075390613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461077f90613ca4565b80156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b5050505050905090565b60006107e182611930565b610820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081790613893565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061086682610cb3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613933565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108f661199c565b73ffffffffffffffffffffffffffffffffffffffff16148061092557506109248161091f61199c565b611676565b5b610964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095b90613813565b60405180910390fd5b61096e83836119a4565b505050565b6000600880549050905090565b6000600c54905090565b600061041154905090565b6109a66109a061199c565b82611a5d565b6109e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dc90613973565b60405180910390fd5b6109f0838383611b3b565b505050565b6000610a0083610d65565b8210610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3890613733565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ab5838383604051806020016040528060008152506112d0565b505050565b610acb610ac561199c565b82611a5d565b610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b01906139f3565b60405180910390fd5b610b1381611d97565b50565b6000610b20610973565b8210610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b58906139b3565b60405180910390fd5b60088281548110610b7557610b74613e6b565b5b90600052602060002001549050919050565b61041460009054906101000a900460ff1681565b610bac610ba661199c565b82611a5d565b610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be290613953565b60405180910390fd5b610bf481611d97565b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c3b61199c565b635f5e10006040518363ffffffff1660e01b8152600401610c5d9291906136a4565b602060405180830381600087803b158015610c7757600080fd5b505af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf91906130ae565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390613853565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90613833565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e2561199c565b73ffffffffffffffffffffffffffffffffffffffff16610e43610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e90906138b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610fdf57600080fd5b610fe884611ea8565b610ff157600080fd5b50505050565b60606001805461100690613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461103290613ca4565b801561107f5780601f106110545761010080835404028352916020019161107f565b820191906000526020600020905b81548152906001019060200180831161106257829003601f168201915b5050505050905090565b61109161199c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906137d3565b60405180910390fd5b806005600061110c61199c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111b961199c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111fe91906136f6565b60405180910390a35050565b600061041254905090565b61121d61199c565b73ffffffffffffffffffffffffffffffffffffffff1661123b610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611288906138b3565b60405180910390fd5b6000151561041460009054906101000a900460ff161515146112b257600080fd5b600161041460006101000a81548160ff021916908315150217905550565b6112e16112db61199c565b83611a5d565b611320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131790613973565b60405180910390fd5b61132c848484846120de565b50505050565b606061133d82611930565b61137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906138f3565b60405180910390fd5b600061138661213a565b905060008151116113a657604051806020016040528060008152506113d1565b806113b0846121cd565b6040516020016113c1929190613594565b6040516020818303038152906040525b915050919050565b600061041054905090565b60006104105411806113f95750600061041154115b611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90613993565b60405180910390fd5b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61040e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610410546040518363ffffffff1660e01b81526004016114bc9291906136cd565b602060405180830381600087803b1580156114d657600080fd5b505af11580156114ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150e91906130ae565b61154d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611544906139d3565b60405180910390fd5b60006104108190555061040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61040f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610411546040518363ffffffff1660e01b81526004016115da9291906136cd565b602060405180830381600087803b1580156115f457600080fd5b505af1158015611608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162c91906130ae565b61166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906139d3565b60405180910390fd5b600061041181905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61171261199c565b73ffffffffffffffffffffffffffffffffffffffff16611730610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614611786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177d906138b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613773565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061192957506119288261232e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a1783610cb3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a6882611930565b611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e906137f3565b60405180910390fd5b6000611ab283610cb3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b2157508373ffffffffffffffffffffffffffffffffffffffff16611b09846107d6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b325750611b318185611676565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5b82610cb3565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba8906138d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c18906137b3565b60405180910390fd5b611c2c838383612410565b611c376000826119a4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c879190613ba8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cde9190613ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611da282610cb3565b9050611db081600084612410565b611dbb6000836119a4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e0b9190613ba8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006001151561041460009054906101000a900460ff16151514611ecb57600080fd5b610400600c5410611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890613913565b60405180910390fd5b61040d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8330610412546040518463ffffffff1660e01b8152600401611f7493929190613621565b602060405180830381600087803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc691906130ae565b612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc906139d3565b60405180910390fd5b6000635f5e10006104125461201a9190613ba8565b90506000606460148361202d9190613b4e565b6120379190613b1d565b905080610410546120489190613ac7565b61041081905550808261205b9190613ba8565b610411546120699190613ac7565b61041181905550600061207a612420565b90506120868582612579565b6001600c546120959190613ac7565b600c819055507f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a84665816040516120ca9190613a13565b60405180910390a160019350505050919050565b6120e9848484611b3b565b6120f584848484612747565b612134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212b90613753565b60405180910390fd5b50505050565b6060610413805461214a90613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461217690613ca4565b80156121c35780601f10612198576101008083540402835291602001916121c3565b820191906000526020600020905b8154815290600101906020018083116121a657829003601f168201915b5050505050905090565b60606000821415612215576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612329565b600082905060005b6000821461224757808061223090613d07565b915050600a826122409190613b1d565b915061221d565b60008167ffffffffffffffff81111561226357612262613e9a565b5b6040519080825280601f01601f1916602001820160405280156122955781602001600182028036833780820191505090505b5090505b60008514612322576001826122ae9190613ba8565b9150600a856122bd9190613d7e565b60306122c99190613ac7565b60f81b8183815181106122df576122de613e6b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561231b9190613b1d565b9450612299565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123f957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124095750612408826128de565b5b9050919050565b61241b838383612948565b505050565b600080600c546104006124339190613ba8565b9050600081600b5433444260405160200161245194939291906135b8565b6040516020818303038152906040528051906020012060001c6124749190613d7e565b9050600080600d83610400811061248e5761248d613e6b565b5b0154146124b357600d8261040081106124aa576124a9613e6b565b5b015490506124b7565b8190505b6000600d6001856124c89190613ba8565b61040081106124da576124d9613e6b565b5b0154141561250e576001836124ef9190613ba8565b600d83610400811061250457612503613e6b565b5b018190555061254c565b600d60018461251d9190613ba8565b610400811061252f5761252e613e6b565b5b0154600d83610400811061254657612545613e6b565b5b01819055505b600b600081548092919061255f90613d07565b91905055506001816125719190613ac7565b935050505090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e090613873565b60405180910390fd5b6125f281611930565b15612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990613793565b60405180910390fd5b61263e60008383612410565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461268e9190613ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006127688473ffffffffffffffffffffffffffffffffffffffff16612a5c565b156128d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261279161199c565b8786866040518563ffffffff1660e01b81526004016127b39493929190613658565b602060405180830381600087803b1580156127cd57600080fd5b505af19250505080156127fe57506040513d601f19601f820116820180604052508101906127fb9190613108565b60015b612881573d806000811461282e576040519150601f19603f3d011682016040523d82523d6000602084013e612833565b606091505b50600081511415612879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287090613753565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128d6565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612953838383612a6f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129965761299181612a74565b6129d5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129d4576129d38382612abd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a1857612a1381612c2a565b612a57565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a5657612a558282612cfb565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612aca84610d65565b612ad49190613ba8565b9050600060076000848152602001908152602001600020549050818114612bb9576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c3e9190613ba8565b9050600060096000848152602001908152602001600020549050600060088381548110612c6e57612c6d613e6b565b5b906000526020600020015490508060088381548110612c9057612c8f613e6b565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612cdf57612cde613e3c565b5b6001900381819060005260206000200160009055905550505050565b6000612d0683610d65565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612d8d612d8884613a53565b613a2e565b905082815260208101848484011115612da957612da8613ece565b5b612db4848285613c62565b509392505050565b600081359050612dcb816144e4565b92915050565b600081359050612de0816144fb565b92915050565b600081519050612df5816144fb565b92915050565b600081359050612e0a81614512565b92915050565b600081519050612e1f81614512565b92915050565b600082601f830112612e3a57612e39613ec9565b5b8135612e4a848260208601612d7a565b91505092915050565b600081359050612e6281614529565b92915050565b600060208284031215612e7e57612e7d613ed8565b5b6000612e8c84828501612dbc565b91505092915050565b60008060408385031215612eac57612eab613ed8565b5b6000612eba85828601612dbc565b9250506020612ecb85828601612dbc565b9150509250929050565b600080600060608486031215612eee57612eed613ed8565b5b6000612efc86828701612dbc565b9350506020612f0d86828701612dbc565b9250506040612f1e86828701612e53565b9150509250925092565b60008060008060808587031215612f4257612f41613ed8565b5b6000612f5087828801612dbc565b9450506020612f6187828801612dbc565b9350506040612f7287828801612e53565b925050606085013567ffffffffffffffff811115612f9357612f92613ed3565b5b612f9f87828801612e25565b91505092959194509250565b60008060408385031215612fc257612fc1613ed8565b5b6000612fd085828601612dbc565b9250506020612fe185828601612dd1565b9150509250929050565b6000806040838503121561300257613001613ed8565b5b600061301085828601612dbc565b925050602061302185828601612e53565b9150509250929050565b6000806000806080858703121561304557613044613ed8565b5b600061305387828801612dbc565b945050602061306487828801612e53565b935050604061307587828801612dbc565b925050606085013567ffffffffffffffff81111561309657613095613ed3565b5b6130a287828801612e25565b91505092959194509250565b6000602082840312156130c4576130c3613ed8565b5b60006130d284828501612de6565b91505092915050565b6000602082840312156130f1576130f0613ed8565b5b60006130ff84828501612dfb565b91505092915050565b60006020828403121561311e5761311d613ed8565b5b600061312c84828501612e10565b91505092915050565b60006020828403121561314b5761314a613ed8565b5b600061315984828501612e53565b91505092915050565b61316b81613bdc565b82525050565b61318261317d82613bdc565b613d50565b82525050565b61319181613bee565b82525050565b60006131a282613a84565b6131ac8185613a9a565b93506131bc818560208601613c71565b6131c581613edd565b840191505092915050565b6131d981613c50565b82525050565b60006131ea82613a8f565b6131f48185613aab565b9350613204818560208601613c71565b61320d81613edd565b840191505092915050565b600061322382613a8f565b61322d8185613abc565b935061323d818560208601613c71565b80840191505092915050565b6000613256602b83613aab565b915061326182613efb565b604082019050919050565b6000613279603283613aab565b915061328482613f4a565b604082019050919050565b600061329c602683613aab565b91506132a782613f99565b604082019050919050565b60006132bf601c83613aab565b91506132ca82613fe8565b602082019050919050565b60006132e2602483613aab565b91506132ed82614011565b604082019050919050565b6000613305601983613aab565b915061331082614060565b602082019050919050565b6000613328602c83613aab565b915061333382614089565b604082019050919050565b600061334b603883613aab565b9150613356826140d8565b604082019050919050565b600061336e602a83613aab565b915061337982614127565b604082019050919050565b6000613391602983613aab565b915061339c82614176565b604082019050919050565b60006133b4602083613aab565b91506133bf826141c5565b602082019050919050565b60006133d7602c83613aab565b91506133e2826141ee565b604082019050919050565b60006133fa602083613aab565b91506134058261423d565b602082019050919050565b600061341d602983613aab565b915061342882614266565b604082019050919050565b6000613440602f83613aab565b915061344b826142b5565b604082019050919050565b6000613463601483613aab565b915061346e82614304565b602082019050919050565b6000613486602183613aab565b91506134918261432d565b604082019050919050565b60006134a9602083613aab565b91506134b48261437c565b602082019050919050565b60006134cc603183613aab565b91506134d7826143a5565b604082019050919050565b60006134ef601383613aab565b91506134fa826143f4565b602082019050919050565b6000613512602c83613aab565b915061351d8261441d565b604082019050919050565b6000613535600f83613aab565b91506135408261446c565b602082019050919050565b6000613558603083613aab565b915061356382614495565b604082019050919050565b61357781613c46565b82525050565b61358e61358982613c46565b613d74565b82525050565b60006135a08285613218565b91506135ac8284613218565b91508190509392505050565b60006135c4828761357d565b6020820191506135d48286613171565b6014820191506135e4828561357d565b6020820191506135f4828461357d565b60208201915081905095945050505050565b600060208201905061361b6000830184613162565b92915050565b60006060820190506136366000830186613162565b6136436020830185613162565b613650604083018461356e565b949350505050565b600060808201905061366d6000830187613162565b61367a6020830186613162565b613687604083018561356e565b81810360608301526136998184613197565b905095945050505050565b60006040820190506136b96000830185613162565b6136c660208301846131d0565b9392505050565b60006040820190506136e26000830185613162565b6136ef602083018461356e565b9392505050565b600060208201905061370b6000830184613188565b92915050565b6000602082019050818103600083015261372b81846131df565b905092915050565b6000602082019050818103600083015261374c81613249565b9050919050565b6000602082019050818103600083015261376c8161326c565b9050919050565b6000602082019050818103600083015261378c8161328f565b9050919050565b600060208201905081810360008301526137ac816132b2565b9050919050565b600060208201905081810360008301526137cc816132d5565b9050919050565b600060208201905081810360008301526137ec816132f8565b9050919050565b6000602082019050818103600083015261380c8161331b565b9050919050565b6000602082019050818103600083015261382c8161333e565b9050919050565b6000602082019050818103600083015261384c81613361565b9050919050565b6000602082019050818103600083015261386c81613384565b9050919050565b6000602082019050818103600083015261388c816133a7565b9050919050565b600060208201905081810360008301526138ac816133ca565b9050919050565b600060208201905081810360008301526138cc816133ed565b9050919050565b600060208201905081810360008301526138ec81613410565b9050919050565b6000602082019050818103600083015261390c81613433565b9050919050565b6000602082019050818103600083015261392c81613456565b9050919050565b6000602082019050818103600083015261394c81613479565b9050919050565b6000602082019050818103600083015261396c8161349c565b9050919050565b6000602082019050818103600083015261398c816134bf565b9050919050565b600060208201905081810360008301526139ac816134e2565b9050919050565b600060208201905081810360008301526139cc81613505565b9050919050565b600060208201905081810360008301526139ec81613528565b9050919050565b60006020820190508181036000830152613a0c8161354b565b9050919050565b6000602082019050613a28600083018461356e565b92915050565b6000613a38613a49565b9050613a448282613cd6565b919050565b6000604051905090565b600067ffffffffffffffff821115613a6e57613a6d613e9a565b5b613a7782613edd565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad282613c46565b9150613add83613c46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1257613b11613daf565b5b828201905092915050565b6000613b2882613c46565b9150613b3383613c46565b925082613b4357613b42613dde565b5b828204905092915050565b6000613b5982613c46565b9150613b6483613c46565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b9d57613b9c613daf565b5b828202905092915050565b6000613bb382613c46565b9150613bbe83613c46565b925082821015613bd157613bd0613daf565b5b828203905092915050565b6000613be782613c26565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613c5b82613c46565b9050919050565b82818337600083830152505050565b60005b83811015613c8f578082015181840152602081019050613c74565b83811115613c9e576000848401525b50505050565b60006002820490506001821680613cbc57607f821691505b60208210811415613cd057613ccf613e0d565b5b50919050565b613cdf82613edd565b810181811067ffffffffffffffff82111715613cfe57613cfd613e9a565b5b80604052505050565b6000613d1282613c46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d4557613d44613daf565b5b600182019050919050565b6000613d5b82613d62565b9050919050565b6000613d6d82613eee565b9050919050565b6000819050919050565b6000613d8982613c46565b9150613d9483613c46565b925082613da457613da3613dde565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f616c6c20747265617375726573206d696e746564000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f6e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6144ed81613bdc565b81146144f857600080fd5b50565b61450481613bee565b811461450f57600080fd5b50565b61451b81613bfa565b811461452657600080fd5b50565b61453281613c46565b811461453d57600080fd5b5056fea26469706673582212209668dcfce5881742a898c1714912473233f44875b9d6a8a379af5000470d60da64736f6c63430008050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000000000000000000193078426974636f696e2054726561737572652043686573747300000000000000000000000000000000000000000000000000000000000000000000000000000f54726561737572652043686573747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a59744e3132316f706f455a656632324d4b6e667152344a7650516d774554456642623977456e70393568752f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): 0xBitcoin Treasure Chests
Arg [1] : symbol (string): Treasure Chests
Arg [2] : baseTokenURI (string): ipfs://QmZYtN121opoEZef22MKnfqR4JvPQmwETEfBb9wEnp95hu/
Arg [3] : mintPrice (uint256): 12800000000
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000002faf08000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [5] : 3078426974636f696e2054726561737572652043686573747300000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 5472656173757265204368657374730000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d5a59744e3132316f706f455a656632324d4b6e66715234
Arg [10] : 4a7650516d774554456642623977456e70393568752f00000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.136651 | 1,504 | $205.52 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.