ERC-1155
Overview
Max Total Supply
1,390 KODAO
Holders
226
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KoDAO
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; /** * @title KoDAO Passes Contract * @dev Extends ERC1155 Token Standard basic implementation */ contract KoDAO is ERC1155Supply, Ownable { string public name; string public symbol; uint256 private constant tokenID = 0; uint256 public constant maxSellAmount = 1350 + 1; uint256 public constant maxClaimAmount = 1250 + 1; uint256 public constant mintPrice = 0.12 ether; uint256 public totalClaimed = 0; mapping(address => uint256) public presaled; address public beneficiary; bool private saleActive = false; constructor(string memory _uri, address _beneficiary) ERC1155(_uri) ERC1155Supply() { name = "KoDAO"; symbol = "KODAO"; beneficiary = _beneficiary; } modifier saleIsActive() { require(saleActive, "Sale not active"); _; } function totalSupply() public view returns (uint256) { return totalSupply(tokenID); } function setSaleActive(bool state) external onlyOwner { saleActive = state; } function setBeneficiary(address newBeneficiary) public onlyOwner { beneficiary = newBeneficiary; } function mint(uint256 amount) public payable saleIsActive { require( totalSupply(tokenID) - totalClaimed + amount < maxSellAmount, "Mint would exceed max supply" ); require(mintPrice * amount == msg.value, "Incorrect ETH value sent"); _mint(msg.sender, tokenID, amount, ""); } function claim() public saleIsActive { address account = msg.sender; uint256 amount = presaled[account]; require(amount > 0, "Address not eligible for claim"); require(totalClaimed + amount < maxClaimAmount, "Claim would exceed max supply"); _mint(account, tokenID, amount, ""); totalClaimed += presaled[account]; presaled[account] = 0; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool sent, bytes memory _data) = payable(beneficiary).call{ value: balance }(""); require(sent, "Failed to send Ether"); } function setPresaled(address[] calldata accounts, uint256[] calldata amounts) external onlyOwner { require(accounts.length == amounts.length, "Incorrect data"); for (uint256 i = 0; i < accounts.length; i++) { presaled[accounts[i]] = amounts[i]; } } function setPresaled(address account, uint256 amount) external onlyOwner { presaled[account] = amount; } function setURI(string memory newURI) external onlyOwner { _setURI(newURI); emit URI(newURI, tokenID); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_beneficiary","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"","type":"address"}],"name":"presaled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newBeneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPresaled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setPresaled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","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":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006007556000600960146101000a81548160ff0219169083151502179055503480156200003157600080fd5b5060405162004a9638038062004a96833981810160405281019062000057919062000446565b8162000069816200016160201b60201c565b506200008a6200007e6200017660201b60201c565b6200017e60201b60201c565b6040518060400160405280600581526020017f4b6f44414f00000000000000000000000000000000000000000000000000000081525060059081620000d09190620006f7565b506040518060400160405280600581526020017f4b4f44414f00000000000000000000000000000000000000000000000000000081525060069081620001179190620006f7565b5080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620007de565b8060029081620001729190620006f7565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002ad8262000262565b810181811067ffffffffffffffff82111715620002cf57620002ce62000273565b5b80604052505050565b6000620002e462000244565b9050620002f28282620002a2565b919050565b600067ffffffffffffffff82111562000315576200031462000273565b5b620003208262000262565b9050602081019050919050565b60005b838110156200034d57808201518184015260208101905062000330565b838111156200035d576000848401525b50505050565b60006200037a6200037484620002f7565b620002d8565b9050828152602081018484840111156200039957620003986200025d565b5b620003a68482856200032d565b509392505050565b600082601f830112620003c657620003c562000258565b5b8151620003d884826020860162000363565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200040e82620003e1565b9050919050565b620004208162000401565b81146200042c57600080fd5b50565b600081519050620004408162000415565b92915050565b6000806040838503121562000460576200045f6200024e565b5b600083015167ffffffffffffffff81111562000481576200048062000253565b5b6200048f85828601620003ae565b9250506020620004a2858286016200042f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004ff57607f821691505b602082108103620005155762000514620004b7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200057f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000540565b6200058b868362000540565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005d8620005d2620005cc84620005a3565b620005ad565b620005a3565b9050919050565b6000819050919050565b620005f483620005b7565b6200060c6200060382620005df565b8484546200054d565b825550505050565b600090565b6200062362000614565b62000630818484620005e9565b505050565b5b8181101562000658576200064c60008262000619565b60018101905062000636565b5050565b601f821115620006a75762000671816200051b565b6200067c8462000530565b810160208510156200068c578190505b620006a46200069b8562000530565b83018262000635565b50505b505050565b600082821c905092915050565b6000620006cc60001984600802620006ac565b1980831691505092915050565b6000620006e78383620006b9565b9150826002028217905092915050565b6200070282620004ac565b67ffffffffffffffff8111156200071e576200071d62000273565b5b6200072a8254620004e6565b620007378282856200065c565b600060209050601f8311600181146200076f57600084156200075a578287015190505b620007668582620006d9565b865550620007d6565b601f1984166200077f866200051b565b60005b82811015620007a95784890151825560018201915060208501945060208101905062000782565b86831015620007c95784890151620007c5601f891682620006b9565b8355505b6001600288020188555050505b505050505050565b6142a880620007ee6000396000f3fe6080604052600436106101cc5760003560e01c80636817c76c116100f7578063aeef643911610095578063e6c6a48211610064578063e6c6a48214610642578063e985e9c51461067f578063f242432a146106bc578063f2fde38b146106e5576101cc565b8063aeef643914610586578063bd85b039146105b1578063d54ad2a1146105ee578063d559c50514610619576101cc565b80638da5cb5b116100d15780638da5cb5b146104eb57806395d89b4114610516578063a0712d6814610541578063a22cb4651461055d576101cc565b80636817c76c14610480578063715018a6146104ab578063841718a6146104c2576101cc565b80632eb2c2d61161016f5780634e71d92d1161013e5780634e71d92d146103d85780634f558e79146103ef57806351925d1e1461042c57806366d602ae14610455576101cc565b80632eb2c2d61461033057806338af3eed146103595780633ccfd60b146103845780634e1273f41461039b576101cc565b806306fdde03116101ab57806306fdde03146102745780630e89341c1461029f57806318160ddd146102dc5780631c31f71014610307576101cc565b8062fdd58e146101d157806301ffc9a71461020e57806302fe53051461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f3919061263d565b61070e565b604051610205919061268c565b60405180910390f35b34801561021a57600080fd5b50610235600480360381019061023091906126ff565b6107d6565b6040516102429190612747565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d91906128a8565b6108b8565b005b34801561028057600080fd5b50610289610905565b6040516102969190612979565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c1919061299b565b610993565b6040516102d39190612979565b60405180910390f35b3480156102e857600080fd5b506102f1610a27565b6040516102fe919061268c565b60405180910390f35b34801561031357600080fd5b5061032e600480360381019061032991906129c8565b610a38565b005b34801561033c57600080fd5b5061035760048036038101906103529190612b5e565b610a84565b005b34801561036557600080fd5b5061036e610b25565b60405161037b9190612c3c565b60405180910390f35b34801561039057600080fd5b50610399610b4b565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190612d1a565b610c2d565b6040516103cf9190612e50565b60405180910390f35b3480156103e457600080fd5b506103ed610d46565b005b3480156103fb57600080fd5b506104166004803603810190610411919061299b565b610f2f565b6040516104239190612747565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e919061263d565b610f43565b005b34801561046157600080fd5b5061046a610f93565b604051610477919061268c565b60405180910390f35b34801561048c57600080fd5b50610495610f99565b6040516104a2919061268c565b60405180910390f35b3480156104b757600080fd5b506104c0610fa5565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190612e9e565b610fb9565b005b3480156104f757600080fd5b50610500610fde565b60405161050d9190612c3c565b60405180910390f35b34801561052257600080fd5b5061052b611008565b6040516105389190612979565b60405180910390f35b61055b6004803603810190610556919061299b565b611096565b005b34801561056957600080fd5b50610584600480360381019061057f9190612ecb565b6111be565b005b34801561059257600080fd5b5061059b6111d4565b6040516105a8919061268c565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d3919061299b565b6111da565b6040516105e5919061268c565b60405180910390f35b3480156105fa57600080fd5b506106036111f7565b604051610610919061268c565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612fbc565b6111fd565b005b34801561064e57600080fd5b50610669600480360381019061066491906129c8565b6112f9565b604051610676919061268c565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a1919061303d565b611311565b6040516106b39190612747565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061307d565b6113a5565b005b3480156106f157600080fd5b5061070c600480360381019061070791906129c8565b611446565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361077e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077590613186565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b157506108b0826114c9565b5b9050919050565b6108c0611533565b6108c9816115b1565b60007f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516108fa9190612979565b60405180910390a250565b60058054610912906131d5565b80601f016020809104026020016040519081016040528092919081815260200182805461093e906131d5565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b505050505081565b6060600280546109a2906131d5565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce906131d5565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b50505050509050919050565b6000610a3360006111da565b905090565b610a40611533565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a8c6115c4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ad25750610ad185610acc6115c4565b611311565b5b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613278565b60405180910390fd5b610b1e85858585856115cc565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b53611533565b6000479050600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610ba1906132c9565b60006040518083038185875af1925050503d8060008114610bde576040519150601f19603f3d011682016040523d82523d6000602084013e610be3565b606091505b509150915081610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f9061332a565b60405180910390fd5b505050565b60608151835114610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a906133bc565b60405180910390fd5b6000835167ffffffffffffffff811115610c9057610c8f61277d565b5b604051908082528060200260200182016040528015610cbe5781602001602082028036833780820191505090505b50905060005b8451811015610d3b57610d0b858281518110610ce357610ce26133dc565b5b6020026020010151858381518110610cfe57610cfd6133dc565b5b602002602001015161070e565b828281518110610d1e57610d1d6133dc565b5b60200260200101818152505080610d349061343a565b9050610cc4565b508091505092915050565b600960149054906101000a900460ff16610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c906134ce565b60405180910390fd5b60003390506000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e189061353a565b60405180910390fd5b6104e381600754610e32919061355a565b10610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e69906135fc565b60405180910390fd5b610e8e82600083604051806020016040528060008152506118ed565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460076000828254610edf919061355a565b925050819055506000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600080610f3b836111da565b119050919050565b610f4b611533565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61054781565b6701aa535d3d0c000081565b610fad611533565b610fb76000611a9d565b565b610fc1611533565b80600960146101000a81548160ff02191690831515021790555050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054611015906131d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611041906131d5565b801561108e5780601f106110635761010080835404028352916020019161108e565b820191906000526020600020905b81548152906001019060200180831161107157829003601f168201915b505050505081565b600960149054906101000a900460ff166110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc906134ce565b60405180910390fd5b610547816007546110f660006111da565b611100919061361c565b61110a919061355a565b1061114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061369c565b60405180910390fd5b34816701aa535d3d0c000061115f91906136bc565b1461119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690613762565b60405180910390fd5b6111bb33600083604051806020016040528060008152506118ed565b50565b6111d06111c96115c4565b8383611b63565b5050565b6104e381565b600060036000838152602001908152602001600020549050919050565b60075481565b611205611533565b81819050848490501461124d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611244906137ce565b60405180910390fd5b60005b848490508110156112f25782828281811061126e5761126d6133dc565b5b905060200201356008600087878581811061128c5761128b6133dc565b5b90506020020160208101906112a191906129c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ea9061343a565b915050611250565b5050505050565b60086020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113ad6115c4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806113f357506113f2856113ed6115c4565b611311565b5b611432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142990613278565b60405180910390fd5b61143f8585858585611ccf565b5050505050565b61144e611533565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613860565b60405180910390fd5b6114c681611a9d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61153b6115c4565b73ffffffffffffffffffffffffffffffffffffffff16611559610fde565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906138cc565b60405180910390fd5b565b80600290816115c09190613a98565b5050565b600033905090565b8151835114611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790613bdc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690613c6e565b60405180910390fd5b60006116896115c4565b9050611699818787878787611f6a565b60005b845181101561184a5760008582815181106116ba576116b96133dc565b5b6020026020010151905060008583815181106116d9576116d86133dc565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613d00565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182f919061355a565b92505081905550505050806118439061343a565b905061169c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118c1929190613d20565b60405180910390a46118d781878787878761213a565b6118e5818787878787612142565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361195c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195390613dc9565b60405180910390fd5b60006119666115c4565b9050600061197385612319565b9050600061198085612319565b905061199183600089858589611f6a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f0919061355a565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611a6e929190613de9565b60405180910390a4611a858360008985858961213a565b611a9483600089898989612393565b50505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890613e84565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc29190612747565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3590613c6e565b60405180910390fd5b6000611d486115c4565b90506000611d5585612319565b90506000611d6285612319565b9050611d72838989858589611f6a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090613d00565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebe919061355a565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f3b929190613de9565b60405180910390a4611f51848a8a86868a61213a565b611f5f848a8a8a8a8a612393565b505050505050505050565b611f7886868686868661256a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120295760005b835181101561202757828181518110611fcb57611fca6133dc565b5b602002602001015160036000868481518110611fea57611fe96133dc565b5b60200260200101518152602001908152602001600020600082825461200f919061355a565b92505081905550806120209061343a565b9050611faf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121325760005b835181101561213057600084828151811061207e5761207d6133dc565b5b60200260200101519050600084838151811061209d5761209c6133dc565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990613f16565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806121299061343a565b9050612060565b505b505050505050565b505050505050565b6121618473ffffffffffffffffffffffffffffffffffffffff16612572565b15612311578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121a7959493929190613f8b565b6020604051808303816000875af19250505080156121e357506040513d601f19601f820116820180604052508101906121e09190614008565b60015b612288576121ef614042565b806308c379a00361224b5750612203614064565b8061220e575061224d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122429190612979565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614166565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461230f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612306906141f8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123385761233761277d565b5b6040519080825280602002602001820160405280156123665781602001602082028036833780820191505090505b509050828160008151811061237e5761237d6133dc565b5b60200260200101818152505080915050919050565b6123b28473ffffffffffffffffffffffffffffffffffffffff16612572565b15612562578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123f8959493929190614218565b6020604051808303816000875af192505050801561243457506040513d601f19601f820116820180604052508101906124319190614008565b60015b6124d957612440614042565b806308c379a00361249c5750612454614064565b8061245f575061249e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124939190612979565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d090614166565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612560576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612557906141f8565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125d4826125a9565b9050919050565b6125e4816125c9565b81146125ef57600080fd5b50565b600081359050612601816125db565b92915050565b6000819050919050565b61261a81612607565b811461262557600080fd5b50565b60008135905061263781612611565b92915050565b600080604083850312156126545761265361259f565b5b6000612662858286016125f2565b925050602061267385828601612628565b9150509250929050565b61268681612607565b82525050565b60006020820190506126a1600083018461267d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126dc816126a7565b81146126e757600080fd5b50565b6000813590506126f9816126d3565b92915050565b6000602082840312156127155761271461259f565b5b6000612723848285016126ea565b91505092915050565b60008115159050919050565b6127418161272c565b82525050565b600060208201905061275c6000830184612738565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127b58261276c565b810181811067ffffffffffffffff821117156127d4576127d361277d565b5b80604052505050565b60006127e7612595565b90506127f382826127ac565b919050565b600067ffffffffffffffff8211156128135761281261277d565b5b61281c8261276c565b9050602081019050919050565b82818337600083830152505050565b600061284b612846846127f8565b6127dd565b90508281526020810184848401111561286757612866612767565b5b612872848285612829565b509392505050565b600082601f83011261288f5761288e612762565b5b813561289f848260208601612838565b91505092915050565b6000602082840312156128be576128bd61259f565b5b600082013567ffffffffffffffff8111156128dc576128db6125a4565b5b6128e88482850161287a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561292b578082015181840152602081019050612910565b8381111561293a576000848401525b50505050565b600061294b826128f1565b61295581856128fc565b935061296581856020860161290d565b61296e8161276c565b840191505092915050565b600060208201905081810360008301526129938184612940565b905092915050565b6000602082840312156129b1576129b061259f565b5b60006129bf84828501612628565b91505092915050565b6000602082840312156129de576129dd61259f565b5b60006129ec848285016125f2565b91505092915050565b600067ffffffffffffffff821115612a1057612a0f61277d565b5b602082029050602081019050919050565b600080fd5b6000612a39612a34846129f5565b6127dd565b90508083825260208201905060208402830185811115612a5c57612a5b612a21565b5b835b81811015612a855780612a718882612628565b845260208401935050602081019050612a5e565b5050509392505050565b600082601f830112612aa457612aa3612762565b5b8135612ab4848260208601612a26565b91505092915050565b600067ffffffffffffffff821115612ad857612ad761277d565b5b612ae18261276c565b9050602081019050919050565b6000612b01612afc84612abd565b6127dd565b905082815260208101848484011115612b1d57612b1c612767565b5b612b28848285612829565b509392505050565b600082601f830112612b4557612b44612762565b5b8135612b55848260208601612aee565b91505092915050565b600080600080600060a08688031215612b7a57612b7961259f565b5b6000612b88888289016125f2565b9550506020612b99888289016125f2565b945050604086013567ffffffffffffffff811115612bba57612bb96125a4565b5b612bc688828901612a8f565b935050606086013567ffffffffffffffff811115612be757612be66125a4565b5b612bf388828901612a8f565b925050608086013567ffffffffffffffff811115612c1457612c136125a4565b5b612c2088828901612b30565b9150509295509295909350565b612c36816125c9565b82525050565b6000602082019050612c516000830184612c2d565b92915050565b600067ffffffffffffffff821115612c7257612c7161277d565b5b602082029050602081019050919050565b6000612c96612c9184612c57565b6127dd565b90508083825260208201905060208402830185811115612cb957612cb8612a21565b5b835b81811015612ce25780612cce88826125f2565b845260208401935050602081019050612cbb565b5050509392505050565b600082601f830112612d0157612d00612762565b5b8135612d11848260208601612c83565b91505092915050565b60008060408385031215612d3157612d3061259f565b5b600083013567ffffffffffffffff811115612d4f57612d4e6125a4565b5b612d5b85828601612cec565b925050602083013567ffffffffffffffff811115612d7c57612d7b6125a4565b5b612d8885828601612a8f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612dc781612607565b82525050565b6000612dd98383612dbe565b60208301905092915050565b6000602082019050919050565b6000612dfd82612d92565b612e078185612d9d565b9350612e1283612dae565b8060005b83811015612e43578151612e2a8882612dcd565b9750612e3583612de5565b925050600181019050612e16565b5085935050505092915050565b60006020820190508181036000830152612e6a8184612df2565b905092915050565b612e7b8161272c565b8114612e8657600080fd5b50565b600081359050612e9881612e72565b92915050565b600060208284031215612eb457612eb361259f565b5b6000612ec284828501612e89565b91505092915050565b60008060408385031215612ee257612ee161259f565b5b6000612ef0858286016125f2565b9250506020612f0185828601612e89565b9150509250929050565b600080fd5b60008083601f840112612f2657612f25612762565b5b8235905067ffffffffffffffff811115612f4357612f42612f0b565b5b602083019150836020820283011115612f5f57612f5e612a21565b5b9250929050565b60008083601f840112612f7c57612f7b612762565b5b8235905067ffffffffffffffff811115612f9957612f98612f0b565b5b602083019150836020820283011115612fb557612fb4612a21565b5b9250929050565b60008060008060408587031215612fd657612fd561259f565b5b600085013567ffffffffffffffff811115612ff457612ff36125a4565b5b61300087828801612f10565b9450945050602085013567ffffffffffffffff811115613023576130226125a4565b5b61302f87828801612f66565b925092505092959194509250565b600080604083850312156130545761305361259f565b5b6000613062858286016125f2565b9250506020613073858286016125f2565b9150509250929050565b600080600080600060a086880312156130995761309861259f565b5b60006130a7888289016125f2565b95505060206130b8888289016125f2565b94505060406130c988828901612628565b93505060606130da88828901612628565b925050608086013567ffffffffffffffff8111156130fb576130fa6125a4565b5b61310788828901612b30565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613170602a836128fc565b915061317b82613114565b604082019050919050565b6000602082019050818103600083015261319f81613163565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131ed57607f821691505b602082108103613200576131ff6131a6565b5b50919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613262602f836128fc565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b600081905092915050565b50565b60006132b3600083613298565b91506132be826132a3565b600082019050919050565b60006132d4826132a6565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006133146014836128fc565b915061331f826132de565b602082019050919050565b6000602082019050818103600083015261334381613307565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006133a66029836128fc565b91506133b18261334a565b604082019050919050565b600060208201905081810360008301526133d581613399565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061344582612607565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134775761347661340b565b5b600182019050919050565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b60006134b8600f836128fc565b91506134c382613482565b602082019050919050565b600060208201905081810360008301526134e7816134ab565b9050919050565b7f41646472657373206e6f7420656c696769626c6520666f7220636c61696d0000600082015250565b6000613524601e836128fc565b915061352f826134ee565b602082019050919050565b6000602082019050818103600083015261355381613517565b9050919050565b600061356582612607565b915061357083612607565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a5576135a461340b565b5b828201905092915050565b7f436c61696d20776f756c6420657863656564206d617820737570706c79000000600082015250565b60006135e6601d836128fc565b91506135f1826135b0565b602082019050919050565b60006020820190508181036000830152613615816135d9565b9050919050565b600061362782612607565b915061363283612607565b9250828210156136455761364461340b565b5b828203905092915050565b7f4d696e7420776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000613686601c836128fc565b915061369182613650565b602082019050919050565b600060208201905081810360008301526136b581613679565b9050919050565b60006136c782612607565b91506136d283612607565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561370b5761370a61340b565b5b828202905092915050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061374c6018836128fc565b915061375782613716565b602082019050919050565b6000602082019050818103600083015261377b8161373f565b9050919050565b7f496e636f72726563742064617461000000000000000000000000000000000000600082015250565b60006137b8600e836128fc565b91506137c382613782565b602082019050919050565b600060208201905081810360008301526137e7816137ab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061384a6026836128fc565b9150613855826137ee565b604082019050919050565b600060208201905081810360008301526138798161383d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138b66020836128fc565b91506138c182613880565b602082019050919050565b600060208201905081810360008301526138e5816138a9565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261394e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613911565b6139588683613911565b95508019841693508086168417925050509392505050565b6000819050919050565b600061399561399061398b84612607565b613970565b612607565b9050919050565b6000819050919050565b6139af8361397a565b6139c36139bb8261399c565b84845461391e565b825550505050565b600090565b6139d86139cb565b6139e38184846139a6565b505050565b5b81811015613a07576139fc6000826139d0565b6001810190506139e9565b5050565b601f821115613a4c57613a1d816138ec565b613a2684613901565b81016020851015613a35578190505b613a49613a4185613901565b8301826139e8565b50505b505050565b600082821c905092915050565b6000613a6f60001984600802613a51565b1980831691505092915050565b6000613a888383613a5e565b9150826002028217905092915050565b613aa1826128f1565b67ffffffffffffffff811115613aba57613ab961277d565b5b613ac482546131d5565b613acf828285613a0b565b600060209050601f831160018114613b025760008415613af0578287015190505b613afa8582613a7c565b865550613b62565b601f198416613b10866138ec565b60005b82811015613b3857848901518255600182019150602085019450602081019050613b13565b86831015613b555784890151613b51601f891682613a5e565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613bc66028836128fc565b9150613bd182613b6a565b604082019050919050565b60006020820190508181036000830152613bf581613bb9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613c586025836128fc565b9150613c6382613bfc565b604082019050919050565b60006020820190508181036000830152613c8781613c4b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613cea602a836128fc565b9150613cf582613c8e565b604082019050919050565b60006020820190508181036000830152613d1981613cdd565b9050919050565b60006040820190508181036000830152613d3a8185612df2565b90508181036020830152613d4e8184612df2565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613db36021836128fc565b9150613dbe82613d57565b604082019050919050565b60006020820190508181036000830152613de281613da6565b9050919050565b6000604082019050613dfe600083018561267d565b613e0b602083018461267d565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e6e6029836128fc565b9150613e7982613e12565b604082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000613f006028836128fc565b9150613f0b82613ea4565b604082019050919050565b60006020820190508181036000830152613f2f81613ef3565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f5d82613f36565b613f678185613f41565b9350613f7781856020860161290d565b613f808161276c565b840191505092915050565b600060a082019050613fa06000830188612c2d565b613fad6020830187612c2d565b8181036040830152613fbf8186612df2565b90508181036060830152613fd38185612df2565b90508181036080830152613fe78184613f52565b90509695505050505050565b600081519050614002816126d3565b92915050565b60006020828403121561401e5761401d61259f565b5b600061402c84828501613ff3565b91505092915050565b60008160e01c9050919050565b600060033d11156140615760046000803e61405e600051614035565b90505b90565b600060443d106140f157614076612595565b60043d036004823e80513d602482011167ffffffffffffffff8211171561409e5750506140f1565b808201805167ffffffffffffffff8111156140bc57505050506140f1565b80602083010160043d0385018111156140d95750505050506140f1565b6140e8826020018501866127ac565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006141506034836128fc565b915061415b826140f4565b604082019050919050565b6000602082019050818103600083015261417f81614143565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006141e26028836128fc565b91506141ed82614186565b604082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b600060a08201905061422d6000830188612c2d565b61423a6020830187612c2d565b614247604083018661267d565b614254606083018561267d565b81810360808301526142668184613f52565b9050969550505050505056fea2646970667358221220838327bc265866f6bde64db93591d37f753bbd857f9a906672ee420ecd0a4aad64736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a350b6da0f57845f5d2edad4c37f693d49db8d730000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566a577544566a627454654454334a74456e6447464c776b6a57337878585a6e536546525662556777546f520000000000000000000000
Deployed Bytecode
0x6080604052600436106101cc5760003560e01c80636817c76c116100f7578063aeef643911610095578063e6c6a48211610064578063e6c6a48214610642578063e985e9c51461067f578063f242432a146106bc578063f2fde38b146106e5576101cc565b8063aeef643914610586578063bd85b039146105b1578063d54ad2a1146105ee578063d559c50514610619576101cc565b80638da5cb5b116100d15780638da5cb5b146104eb57806395d89b4114610516578063a0712d6814610541578063a22cb4651461055d576101cc565b80636817c76c14610480578063715018a6146104ab578063841718a6146104c2576101cc565b80632eb2c2d61161016f5780634e71d92d1161013e5780634e71d92d146103d85780634f558e79146103ef57806351925d1e1461042c57806366d602ae14610455576101cc565b80632eb2c2d61461033057806338af3eed146103595780633ccfd60b146103845780634e1273f41461039b576101cc565b806306fdde03116101ab57806306fdde03146102745780630e89341c1461029f57806318160ddd146102dc5780631c31f71014610307576101cc565b8062fdd58e146101d157806301ffc9a71461020e57806302fe53051461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f3919061263d565b61070e565b604051610205919061268c565b60405180910390f35b34801561021a57600080fd5b50610235600480360381019061023091906126ff565b6107d6565b6040516102429190612747565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d91906128a8565b6108b8565b005b34801561028057600080fd5b50610289610905565b6040516102969190612979565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c1919061299b565b610993565b6040516102d39190612979565b60405180910390f35b3480156102e857600080fd5b506102f1610a27565b6040516102fe919061268c565b60405180910390f35b34801561031357600080fd5b5061032e600480360381019061032991906129c8565b610a38565b005b34801561033c57600080fd5b5061035760048036038101906103529190612b5e565b610a84565b005b34801561036557600080fd5b5061036e610b25565b60405161037b9190612c3c565b60405180910390f35b34801561039057600080fd5b50610399610b4b565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190612d1a565b610c2d565b6040516103cf9190612e50565b60405180910390f35b3480156103e457600080fd5b506103ed610d46565b005b3480156103fb57600080fd5b506104166004803603810190610411919061299b565b610f2f565b6040516104239190612747565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e919061263d565b610f43565b005b34801561046157600080fd5b5061046a610f93565b604051610477919061268c565b60405180910390f35b34801561048c57600080fd5b50610495610f99565b6040516104a2919061268c565b60405180910390f35b3480156104b757600080fd5b506104c0610fa5565b005b3480156104ce57600080fd5b506104e960048036038101906104e49190612e9e565b610fb9565b005b3480156104f757600080fd5b50610500610fde565b60405161050d9190612c3c565b60405180910390f35b34801561052257600080fd5b5061052b611008565b6040516105389190612979565b60405180910390f35b61055b6004803603810190610556919061299b565b611096565b005b34801561056957600080fd5b50610584600480360381019061057f9190612ecb565b6111be565b005b34801561059257600080fd5b5061059b6111d4565b6040516105a8919061268c565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d3919061299b565b6111da565b6040516105e5919061268c565b60405180910390f35b3480156105fa57600080fd5b506106036111f7565b604051610610919061268c565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190612fbc565b6111fd565b005b34801561064e57600080fd5b50610669600480360381019061066491906129c8565b6112f9565b604051610676919061268c565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a1919061303d565b611311565b6040516106b39190612747565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de919061307d565b6113a5565b005b3480156106f157600080fd5b5061070c600480360381019061070791906129c8565b611446565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361077e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077590613186565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b157506108b0826114c9565b5b9050919050565b6108c0611533565b6108c9816115b1565b60007f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b826040516108fa9190612979565b60405180910390a250565b60058054610912906131d5565b80601f016020809104026020016040519081016040528092919081815260200182805461093e906131d5565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b505050505081565b6060600280546109a2906131d5565b80601f01602080910402602001604051908101604052809291908181526020018280546109ce906131d5565b8015610a1b5780601f106109f057610100808354040283529160200191610a1b565b820191906000526020600020905b8154815290600101906020018083116109fe57829003601f168201915b50505050509050919050565b6000610a3360006111da565b905090565b610a40611533565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a8c6115c4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ad25750610ad185610acc6115c4565b611311565b5b610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890613278565b60405180910390fd5b610b1e85858585856115cc565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b53611533565b6000479050600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610ba1906132c9565b60006040518083038185875af1925050503d8060008114610bde576040519150601f19603f3d011682016040523d82523d6000602084013e610be3565b606091505b509150915081610c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1f9061332a565b60405180910390fd5b505050565b60608151835114610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a906133bc565b60405180910390fd5b6000835167ffffffffffffffff811115610c9057610c8f61277d565b5b604051908082528060200260200182016040528015610cbe5781602001602082028036833780820191505090505b50905060005b8451811015610d3b57610d0b858281518110610ce357610ce26133dc565b5b6020026020010151858381518110610cfe57610cfd6133dc565b5b602002602001015161070e565b828281518110610d1e57610d1d6133dc565b5b60200260200101818152505080610d349061343a565b9050610cc4565b508091505092915050565b600960149054906101000a900460ff16610d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8c906134ce565b60405180910390fd5b60003390506000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e189061353a565b60405180910390fd5b6104e381600754610e32919061355a565b10610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e69906135fc565b60405180910390fd5b610e8e82600083604051806020016040528060008152506118ed565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460076000828254610edf919061355a565b925050819055506000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600080610f3b836111da565b119050919050565b610f4b611533565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61054781565b6701aa535d3d0c000081565b610fad611533565b610fb76000611a9d565b565b610fc1611533565b80600960146101000a81548160ff02191690831515021790555050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054611015906131d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611041906131d5565b801561108e5780601f106110635761010080835404028352916020019161108e565b820191906000526020600020905b81548152906001019060200180831161107157829003601f168201915b505050505081565b600960149054906101000a900460ff166110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc906134ce565b60405180910390fd5b610547816007546110f660006111da565b611100919061361c565b61110a919061355a565b1061114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061369c565b60405180910390fd5b34816701aa535d3d0c000061115f91906136bc565b1461119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690613762565b60405180910390fd5b6111bb33600083604051806020016040528060008152506118ed565b50565b6111d06111c96115c4565b8383611b63565b5050565b6104e381565b600060036000838152602001908152602001600020549050919050565b60075481565b611205611533565b81819050848490501461124d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611244906137ce565b60405180910390fd5b60005b848490508110156112f25782828281811061126e5761126d6133dc565b5b905060200201356008600087878581811061128c5761128b6133dc565b5b90506020020160208101906112a191906129c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806112ea9061343a565b915050611250565b5050505050565b60086020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113ad6115c4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806113f357506113f2856113ed6115c4565b611311565b5b611432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142990613278565b60405180910390fd5b61143f8585858585611ccf565b5050505050565b61144e611533565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613860565b60405180910390fd5b6114c681611a9d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61153b6115c4565b73ffffffffffffffffffffffffffffffffffffffff16611559610fde565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906138cc565b60405180910390fd5b565b80600290816115c09190613a98565b5050565b600033905090565b8151835114611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790613bdc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690613c6e565b60405180910390fd5b60006116896115c4565b9050611699818787878787611f6a565b60005b845181101561184a5760008582815181106116ba576116b96133dc565b5b6020026020010151905060008583815181106116d9576116d86133dc565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613d00565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182f919061355a565b92505081905550505050806118439061343a565b905061169c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118c1929190613d20565b60405180910390a46118d781878787878761213a565b6118e5818787878787612142565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361195c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195390613dc9565b60405180910390fd5b60006119666115c4565b9050600061197385612319565b9050600061198085612319565b905061199183600089858589611f6a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f0919061355a565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611a6e929190613de9565b60405180910390a4611a858360008985858961213a565b611a9483600089898989612393565b50505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890613e84565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cc29190612747565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3590613c6e565b60405180910390fd5b6000611d486115c4565b90506000611d5585612319565b90506000611d6285612319565b9050611d72838989858589611f6a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090613d00565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebe919061355a565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f3b929190613de9565b60405180910390a4611f51848a8a86868a61213a565b611f5f848a8a8a8a8a612393565b505050505050505050565b611f7886868686868661256a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120295760005b835181101561202757828181518110611fcb57611fca6133dc565b5b602002602001015160036000868481518110611fea57611fe96133dc565b5b60200260200101518152602001908152602001600020600082825461200f919061355a565b92505081905550806120209061343a565b9050611faf565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121325760005b835181101561213057600084828151811061207e5761207d6133dc565b5b60200260200101519050600084838151811061209d5761209c6133dc565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990613f16565b60405180910390fd5b8181036003600085815260200190815260200160002081905550505050806121299061343a565b9050612060565b505b505050505050565b505050505050565b6121618473ffffffffffffffffffffffffffffffffffffffff16612572565b15612311578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016121a7959493929190613f8b565b6020604051808303816000875af19250505080156121e357506040513d601f19601f820116820180604052508101906121e09190614008565b60015b612288576121ef614042565b806308c379a00361224b5750612203614064565b8061220e575061224d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122429190612979565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614166565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461230f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612306906141f8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123385761233761277d565b5b6040519080825280602002602001820160405280156123665781602001602082028036833780820191505090505b509050828160008151811061237e5761237d6133dc565b5b60200260200101818152505080915050919050565b6123b28473ffffffffffffffffffffffffffffffffffffffff16612572565b15612562578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123f8959493929190614218565b6020604051808303816000875af192505050801561243457506040513d601f19601f820116820180604052508101906124319190614008565b60015b6124d957612440614042565b806308c379a00361249c5750612454614064565b8061245f575061249e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124939190612979565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d090614166565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612560576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612557906141f8565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125d4826125a9565b9050919050565b6125e4816125c9565b81146125ef57600080fd5b50565b600081359050612601816125db565b92915050565b6000819050919050565b61261a81612607565b811461262557600080fd5b50565b60008135905061263781612611565b92915050565b600080604083850312156126545761265361259f565b5b6000612662858286016125f2565b925050602061267385828601612628565b9150509250929050565b61268681612607565b82525050565b60006020820190506126a1600083018461267d565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126dc816126a7565b81146126e757600080fd5b50565b6000813590506126f9816126d3565b92915050565b6000602082840312156127155761271461259f565b5b6000612723848285016126ea565b91505092915050565b60008115159050919050565b6127418161272c565b82525050565b600060208201905061275c6000830184612738565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127b58261276c565b810181811067ffffffffffffffff821117156127d4576127d361277d565b5b80604052505050565b60006127e7612595565b90506127f382826127ac565b919050565b600067ffffffffffffffff8211156128135761281261277d565b5b61281c8261276c565b9050602081019050919050565b82818337600083830152505050565b600061284b612846846127f8565b6127dd565b90508281526020810184848401111561286757612866612767565b5b612872848285612829565b509392505050565b600082601f83011261288f5761288e612762565b5b813561289f848260208601612838565b91505092915050565b6000602082840312156128be576128bd61259f565b5b600082013567ffffffffffffffff8111156128dc576128db6125a4565b5b6128e88482850161287a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561292b578082015181840152602081019050612910565b8381111561293a576000848401525b50505050565b600061294b826128f1565b61295581856128fc565b935061296581856020860161290d565b61296e8161276c565b840191505092915050565b600060208201905081810360008301526129938184612940565b905092915050565b6000602082840312156129b1576129b061259f565b5b60006129bf84828501612628565b91505092915050565b6000602082840312156129de576129dd61259f565b5b60006129ec848285016125f2565b91505092915050565b600067ffffffffffffffff821115612a1057612a0f61277d565b5b602082029050602081019050919050565b600080fd5b6000612a39612a34846129f5565b6127dd565b90508083825260208201905060208402830185811115612a5c57612a5b612a21565b5b835b81811015612a855780612a718882612628565b845260208401935050602081019050612a5e565b5050509392505050565b600082601f830112612aa457612aa3612762565b5b8135612ab4848260208601612a26565b91505092915050565b600067ffffffffffffffff821115612ad857612ad761277d565b5b612ae18261276c565b9050602081019050919050565b6000612b01612afc84612abd565b6127dd565b905082815260208101848484011115612b1d57612b1c612767565b5b612b28848285612829565b509392505050565b600082601f830112612b4557612b44612762565b5b8135612b55848260208601612aee565b91505092915050565b600080600080600060a08688031215612b7a57612b7961259f565b5b6000612b88888289016125f2565b9550506020612b99888289016125f2565b945050604086013567ffffffffffffffff811115612bba57612bb96125a4565b5b612bc688828901612a8f565b935050606086013567ffffffffffffffff811115612be757612be66125a4565b5b612bf388828901612a8f565b925050608086013567ffffffffffffffff811115612c1457612c136125a4565b5b612c2088828901612b30565b9150509295509295909350565b612c36816125c9565b82525050565b6000602082019050612c516000830184612c2d565b92915050565b600067ffffffffffffffff821115612c7257612c7161277d565b5b602082029050602081019050919050565b6000612c96612c9184612c57565b6127dd565b90508083825260208201905060208402830185811115612cb957612cb8612a21565b5b835b81811015612ce25780612cce88826125f2565b845260208401935050602081019050612cbb565b5050509392505050565b600082601f830112612d0157612d00612762565b5b8135612d11848260208601612c83565b91505092915050565b60008060408385031215612d3157612d3061259f565b5b600083013567ffffffffffffffff811115612d4f57612d4e6125a4565b5b612d5b85828601612cec565b925050602083013567ffffffffffffffff811115612d7c57612d7b6125a4565b5b612d8885828601612a8f565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612dc781612607565b82525050565b6000612dd98383612dbe565b60208301905092915050565b6000602082019050919050565b6000612dfd82612d92565b612e078185612d9d565b9350612e1283612dae565b8060005b83811015612e43578151612e2a8882612dcd565b9750612e3583612de5565b925050600181019050612e16565b5085935050505092915050565b60006020820190508181036000830152612e6a8184612df2565b905092915050565b612e7b8161272c565b8114612e8657600080fd5b50565b600081359050612e9881612e72565b92915050565b600060208284031215612eb457612eb361259f565b5b6000612ec284828501612e89565b91505092915050565b60008060408385031215612ee257612ee161259f565b5b6000612ef0858286016125f2565b9250506020612f0185828601612e89565b9150509250929050565b600080fd5b60008083601f840112612f2657612f25612762565b5b8235905067ffffffffffffffff811115612f4357612f42612f0b565b5b602083019150836020820283011115612f5f57612f5e612a21565b5b9250929050565b60008083601f840112612f7c57612f7b612762565b5b8235905067ffffffffffffffff811115612f9957612f98612f0b565b5b602083019150836020820283011115612fb557612fb4612a21565b5b9250929050565b60008060008060408587031215612fd657612fd561259f565b5b600085013567ffffffffffffffff811115612ff457612ff36125a4565b5b61300087828801612f10565b9450945050602085013567ffffffffffffffff811115613023576130226125a4565b5b61302f87828801612f66565b925092505092959194509250565b600080604083850312156130545761305361259f565b5b6000613062858286016125f2565b9250506020613073858286016125f2565b9150509250929050565b600080600080600060a086880312156130995761309861259f565b5b60006130a7888289016125f2565b95505060206130b8888289016125f2565b94505060406130c988828901612628565b93505060606130da88828901612628565b925050608086013567ffffffffffffffff8111156130fb576130fa6125a4565b5b61310788828901612b30565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613170602a836128fc565b915061317b82613114565b604082019050919050565b6000602082019050818103600083015261319f81613163565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131ed57607f821691505b602082108103613200576131ff6131a6565b5b50919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613262602f836128fc565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b600081905092915050565b50565b60006132b3600083613298565b91506132be826132a3565b600082019050919050565b60006132d4826132a6565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b60006133146014836128fc565b915061331f826132de565b602082019050919050565b6000602082019050818103600083015261334381613307565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006133a66029836128fc565b91506133b18261334a565b604082019050919050565b600060208201905081810360008301526133d581613399565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061344582612607565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134775761347661340b565b5b600182019050919050565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b60006134b8600f836128fc565b91506134c382613482565b602082019050919050565b600060208201905081810360008301526134e7816134ab565b9050919050565b7f41646472657373206e6f7420656c696769626c6520666f7220636c61696d0000600082015250565b6000613524601e836128fc565b915061352f826134ee565b602082019050919050565b6000602082019050818103600083015261355381613517565b9050919050565b600061356582612607565b915061357083612607565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a5576135a461340b565b5b828201905092915050565b7f436c61696d20776f756c6420657863656564206d617820737570706c79000000600082015250565b60006135e6601d836128fc565b91506135f1826135b0565b602082019050919050565b60006020820190508181036000830152613615816135d9565b9050919050565b600061362782612607565b915061363283612607565b9250828210156136455761364461340b565b5b828203905092915050565b7f4d696e7420776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000613686601c836128fc565b915061369182613650565b602082019050919050565b600060208201905081810360008301526136b581613679565b9050919050565b60006136c782612607565b91506136d283612607565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561370b5761370a61340b565b5b828202905092915050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061374c6018836128fc565b915061375782613716565b602082019050919050565b6000602082019050818103600083015261377b8161373f565b9050919050565b7f496e636f72726563742064617461000000000000000000000000000000000000600082015250565b60006137b8600e836128fc565b91506137c382613782565b602082019050919050565b600060208201905081810360008301526137e7816137ab565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061384a6026836128fc565b9150613855826137ee565b604082019050919050565b600060208201905081810360008301526138798161383d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138b66020836128fc565b91506138c182613880565b602082019050919050565b600060208201905081810360008301526138e5816138a9565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261394e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613911565b6139588683613911565b95508019841693508086168417925050509392505050565b6000819050919050565b600061399561399061398b84612607565b613970565b612607565b9050919050565b6000819050919050565b6139af8361397a565b6139c36139bb8261399c565b84845461391e565b825550505050565b600090565b6139d86139cb565b6139e38184846139a6565b505050565b5b81811015613a07576139fc6000826139d0565b6001810190506139e9565b5050565b601f821115613a4c57613a1d816138ec565b613a2684613901565b81016020851015613a35578190505b613a49613a4185613901565b8301826139e8565b50505b505050565b600082821c905092915050565b6000613a6f60001984600802613a51565b1980831691505092915050565b6000613a888383613a5e565b9150826002028217905092915050565b613aa1826128f1565b67ffffffffffffffff811115613aba57613ab961277d565b5b613ac482546131d5565b613acf828285613a0b565b600060209050601f831160018114613b025760008415613af0578287015190505b613afa8582613a7c565b865550613b62565b601f198416613b10866138ec565b60005b82811015613b3857848901518255600182019150602085019450602081019050613b13565b86831015613b555784890151613b51601f891682613a5e565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613bc66028836128fc565b9150613bd182613b6a565b604082019050919050565b60006020820190508181036000830152613bf581613bb9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613c586025836128fc565b9150613c6382613bfc565b604082019050919050565b60006020820190508181036000830152613c8781613c4b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613cea602a836128fc565b9150613cf582613c8e565b604082019050919050565b60006020820190508181036000830152613d1981613cdd565b9050919050565b60006040820190508181036000830152613d3a8185612df2565b90508181036020830152613d4e8184612df2565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613db36021836128fc565b9150613dbe82613d57565b604082019050919050565b60006020820190508181036000830152613de281613da6565b9050919050565b6000604082019050613dfe600083018561267d565b613e0b602083018461267d565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e6e6029836128fc565b9150613e7982613e12565b604082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000613f006028836128fc565b9150613f0b82613ea4565b604082019050919050565b60006020820190508181036000830152613f2f81613ef3565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613f5d82613f36565b613f678185613f41565b9350613f7781856020860161290d565b613f808161276c565b840191505092915050565b600060a082019050613fa06000830188612c2d565b613fad6020830187612c2d565b8181036040830152613fbf8186612df2565b90508181036060830152613fd38185612df2565b90508181036080830152613fe78184613f52565b90509695505050505050565b600081519050614002816126d3565b92915050565b60006020828403121561401e5761401d61259f565b5b600061402c84828501613ff3565b91505092915050565b60008160e01c9050919050565b600060033d11156140615760046000803e61405e600051614035565b90505b90565b600060443d106140f157614076612595565b60043d036004823e80513d602482011167ffffffffffffffff8211171561409e5750506140f1565b808201805167ffffffffffffffff8111156140bc57505050506140f1565b80602083010160043d0385018111156140d95750505050506140f1565b6140e8826020018501866127ac565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006141506034836128fc565b915061415b826140f4565b604082019050919050565b6000602082019050818103600083015261417f81614143565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006141e26028836128fc565b91506141ed82614186565b604082019050919050565b60006020820190508181036000830152614211816141d5565b9050919050565b600060a08201905061422d6000830188612c2d565b61423a6020830187612c2d565b614247604083018661267d565b614254606083018561267d565b81810360808301526142668184613f52565b9050969550505050505056fea2646970667358221220838327bc265866f6bde64db93591d37f753bbd857f9a906672ee420ecd0a4aad64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a350b6da0f57845f5d2edad4c37f693d49db8d730000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d566a577544566a627454654454334a74456e6447464c776b6a57337878585a6e536546525662556777546f520000000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmVjWuDVjbtTeDT3JtEndGFLwkjW3xxXZnSeFRVbUgwToR
Arg [1] : _beneficiary (address): 0xA350B6da0F57845f5d2eDAd4C37f693D49dB8d73
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a350b6da0f57845f5d2edad4c37f693d49db8d73
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [3] : 697066733a2f2f516d566a577544566a627454654454334a74456e6447464c77
Arg [4] : 6b6a57337878585a6e536546525662556777546f520000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.