ERC-1155
Overview
Max Total Supply
316 TD
Holders
52
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:
ToigosDoor
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ //////// //▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌/////// // ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌ ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌////// ///////▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌///// ///////▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌ ▄▄▄▄▄▄▄▄ ▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄█░▌//// ///////▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌▐░░░░░░░░▌▐░▌ ▐░▌▐░░░░░░░░░░░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░░░░░░░░░░░▌/// ///////▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌ ▀▀▀▀▀▀█░▌▐░▌ ▐░▌ ▀▀▀▀▀▀▀▀▀█░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░█▀▀▀▀█░█▀▀/// ///////▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌/// ///////▐░▌ ▐░█▄▄▄▄▄▄▄█░▌ ▄▄▄▄█░█▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌ ▄▄▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░▌ //▐░▌ ///////▐░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌ /////▐░▌ //Developed by Co-Labs. Hire us at https://co-labs.studio import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "https://github.com/nickyoung92/Solidity-Contracts/blob/main/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/DefaultOperatorFilterer.sol"; contract ToigosDoor is ERC1155, Ownable, ReentrancyGuard, PaymentSplitter, DefaultOperatorFilterer { using Strings for uint; string public name = "Toigos Door"; string public symbol = "TD"; string internal _baseTokenURI = "https://minttoigosdoor.com/img/assets/metadata/"; uint256 constant private NUM_OPTIONS = 6; uint256 constant private MAX_SUPPLY = 1000; uint256 constant public maxSupply = 5003; uint256 public mintFeePublic = 0.03 ether; uint256 public mintFeePresale = 0.02 ether; uint256 public presaleMints = 1200; uint256 public maxMintPerAddress = 10; uint256 public totalSupply; bool public presaleOnly = true; bool public paused = true; uint256[NUM_OPTIONS] private tokenSupply; uint256[NUM_OPTIONS] private maxSupplies = [MAX_SUPPLY, MAX_SUPPLY, MAX_SUPPLY, MAX_SUPPLY, MAX_SUPPLY, 3]; uint256[NUM_OPTIONS] private weights = [uint256(MAX_SUPPLY), uint256(MAX_SUPPLY), uint256(MAX_SUPPLY), uint256(MAX_SUPPLY), uint256(MAX_SUPPLY), uint256(3)]; mapping(address => uint256) public mintedTokens; mapping(address => bool) public nftPayMinters; event TokenMinted(address indexed account, uint256 indexed id, uint256 amount); constructor(uint256[] memory _tokenIds, uint256[] memory _amounts) ERC1155(_baseTokenURI) { _mintBatch(msg.sender, _tokenIds, _amounts, ""); //for team for(uint i = 0; i<_amounts.length; i++) { totalSupply += _amounts[i]; } nftPayMinters[0x895199cb097E184D8F38e2A21F14b33dbe1bC9d7] = true; nftPayMinters[0xDDEC0a2a1bec87B227268B86ffe6094e24465CE0] = true; nftPayMinters[0x77b4973034A6B054CE5965AE7f2e924532ab7562] = true; nftPayMinters[0xF1381c0407Bc7cFA8167675862ce980515758fc4] = true; nftPayMinters[0x74bD4D0c420397984c4Fb38aACCC0Ac6E11f7fc0] = true; } //HELPERS //calculate weighted odds of minting token ID function getWeight(uint256 tokenId) internal view returns (uint256) { if (tokenId < NUM_OPTIONS) { uint256 remaining = maxSupplies[tokenId - 1] - tokenSupply[tokenId - 1]; uint256 weight = weights[tokenId - 1] * remaining / maxSupplies[tokenId - 1]; return weight; } else { return weights[tokenId - 1]; } } function getPrice() internal view returns (uint256) { uint256 currentPrice; if(totalSupply > presaleMints) { currentPrice = mintFeePublic; } else { currentPrice = mintFeePresale; } return currentPrice; } function price() external view returns(uint256) { return getPrice(); } //applies to all mint functions modifier mintCompliance(uint256 amount) { require(paused == false, "Contract is paused."); require(amount > 0, "Amount must be greater than zero"); if(!nftPayMinters[msg.sender]) { require(amount + mintedTokens[msg.sender] <= maxMintPerAddress, "You cant mint that many."); } else { require(amount <= maxMintPerAddress, "You cant mint that many."); } require(totalSupply + amount < maxSupply+1, "Not enough tokens left to mint that many."); require(tx.origin == msg.sender, "No contracts!"); _; } //MINT FUNCTIONS //public function mint(uint256 amount) public payable mintCompliance(amount) nonReentrant { require(msg.value == getPrice() * amount, "Incorrect mint fee"); uint256 blockNumber = block.number; uint256 blockHash = uint256(blockhash(blockNumber)); uint256[] memory ids = new uint256[](amount); uint256[] memory amounts = new uint256[](amount); for (uint256 j = 0; j < amount; j++) { uint256 randomNumber = uint256(keccak256(abi.encodePacked(blockHash, msg.sender, j))) % (10 ** 18); uint256 tokenId; uint256 totalWeight = 0; for (uint256 i = 0; i < NUM_OPTIONS; i++) { if (tokenSupply[i] < maxSupplies[i]) { totalWeight += getWeight(i + 1); } } require(totalWeight > 0, "All tokens have been minted"); for (uint256 i = 0; i < NUM_OPTIONS; i++) { if (tokenSupply[i] < maxSupplies[i]) { uint256 weight = getWeight(i + 1); if (randomNumber < (weight * (10 ** 18)) / totalWeight) { tokenId = i + 1; break; } randomNumber -= (weight * (10 ** 18)) / totalWeight; } } require(tokenId > 0 && tokenId <= NUM_OPTIONS, "Invalid token ID"); tokenSupply[tokenId - 1] += 1; ids[j] = tokenId; amounts[j] = 1; emit TokenMinted(msg.sender, tokenId, 1); } totalSupply += amount; mintedTokens[msg.sender] += amount; _mintBatch(msg.sender, ids, amounts, ""); } //OWNER FUNCTIONS function pause(bool _state) external onlyOwner { paused = _state; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function updatePublicPrice(uint256 _publicPrice) external onlyOwner { mintFeePublic = _publicPrice; } function updatePresalePrice(uint256 _presalePrice) external onlyOwner { mintFeePresale = _presalePrice; } function updateMaxPerWallet(uint256 _newMax) external onlyOwner { maxMintPerAddress = _newMax; } function addNFTPayMinter(address[] memory _addresses) external onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { nftPayMinters[_addresses[i]] = true; } } //URI FUNCTIONS function uri(uint tokenId) public view virtual override returns (string memory) { return bytes(_baseTokenURI).length > 0 ? string(abi.encodePacked(_baseTokenURI, tokenId.toString(), ".json")) : ""; } //OPERATOR FILTER REGISTRY function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function safeTransferFrom(address from, address to, uint256 tokenId, uint256 amount, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, amount, data); } function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override onlyAllowedOperator(from) { super.safeBatchTransferFrom(from, to, ids, amounts, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /* Payees can be changed via changePayees function. Only contract owner can change payees. Changing payees will override previous payees. All payee addresses must be able to receive ETH, otherwise it will revert for everyone. Anyone can call withdraw function. Withdraw function will withdraw entire contract balance and split according to shares/totalshares. */ contract PaymentSplitter is Ownable { IERC20 internal tokenContract; address payable[] public payees; uint256[] public shares; event Received(address, uint); receive() external payable { emit Received(msg.sender, msg.value); } constructor() { //6% Royalties Total payees.push(payable(msg.sender)); shares.push(100); } function changePayees(address payable[] memory newPayees, uint256[] memory newShares) public onlyOwner { delete payees; delete shares; uint256 length = newPayees.length; require(newPayees.length == newShares.length, "number of new payees must match number of new shares"); for(uint256 i=0; i<length; i++) { payees.push(newPayees[i]); shares.push(newShares[i]); } } function getTotalShares() public view returns (uint256) { uint256 totalShares; uint256 length = payees.length; for (uint256 i = 0; i<length; i++) { totalShares += shares[i]; } return totalShares; } function withdraw() public { address partner; uint256 share; uint256 totalShares = getTotalShares(); uint256 length = payees.length; uint256 balanceBeforeWithdrawal = address(this).balance; for (uint256 j = 0; j<length; j++) { partner = payees[j]; share = shares[j]; (bool success, ) = partner.call{value: balanceBeforeWithdrawal * share/totalShares}(""); require(success, "Address: unable to send value, recipient may have reverted"); } } function withdrawERC20(address _tokenAddress) external { tokenContract = IERC20(_tokenAddress); uint256 balance = tokenContract.balanceOf(address(this)); address partner; uint256 share; uint256 totalShares = getTotalShares(); uint256 length = payees.length; for (uint256 j = 0; j<length; j++) { partner = payees[j]; share = shares[j]; tokenContract.transferFrom(address(this), partner, balance * share/totalShares); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 or 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 or 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.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// 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 pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"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":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenMinted","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addNFTPayMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"newPayees","type":"address[]"},{"internalType":"uint256[]","name":"newShares","type":"uint256[]"}],"name":"changePayees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTotalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"mintFeePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFeePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftPayMinters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"payees","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"tokenId","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"_newMax","type":"uint256"}],"name":"updateMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presalePrice","type":"uint256"}],"name":"updatePresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"updatePublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526040518060400160405280600b81526020017f546f69676f7320446f6f72000000000000000000000000000000000000000000815250600890816200004a919062001035565b506040518060400160405280600281526020017f54440000000000000000000000000000000000000000000000000000000000008152506009908162000091919062001035565b506040518060600160405280602f815260200162007213602f9139600a9081620000bc919062001035565b50666a94d74f430000600b5566470de4df820000600c556104b0600d55600a600e556001601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055506040518060c001604052806103e881526020016103e881526020016103e881526020016103e881526020016103e88152602001600381525060179060066200015e92919062000d57565b506040518060c001604052806103e881526020016103e881526020016103e881526020016103e881526020016103e881526020016003815250601d906006620001a992919062000d57565b50348015620001b757600080fd5b5060405162007242380380620072428339818101604052810190620001dd9190620012a7565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001600a8054620002039062000e24565b80601f0160208091040260200160405190810160405280929190818152602001828054620002319062000e24565b8015620002825780601f10620002565761010080835404028352916020019162000282565b820191906000526020600020905b8154815290600101906020018083116200026457829003601f168201915b50505050506200029881620007e860201b60201c565b50620002b9620002ad620007fd60201b60201c565b6200080560201b60201c565b60016004819055506006339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060076064908060018154018082558091505060019003906000526020600020016000909190919091505560006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200054357801562000409576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620003cf92919062001371565b600060405180830381600087803b158015620003ea57600080fd5b505af1158015620003ff573d6000803e3d6000fd5b5050505062000542565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620004c3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200048992919062001371565b600060405180830381600087803b158015620004a457600080fd5b505af1158015620004b9573d6000803e3d6000fd5b5050505062000541565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200050c91906200139e565b600060405180830381600087803b1580156200052757600080fd5b505af11580156200053c573d6000803e3d6000fd5b505050505b5b5b50506200056833838360405180602001604052806000815250620008cb60201b60201c565b60005b8151811015620005c3578181815181106200058b576200058a620013bb565b5b6020026020010151600f6000828254620005a6919062001419565b925050819055508080620005ba9062001454565b9150506200056b565b5060016024600073895199cb097e184d8f38e2a21f14b33dbe1bc9d773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016024600073ddec0a2a1bec87b227268b86ffe6094e24465ce073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001602460007377b4973034a6b054ce5965ae7f2e924532ab756273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016024600073f1381c0407bc7cfa8167675862ce980515758fc473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001602460007374bd4d0c420397984c4fb38aaccc0ac6e11f7fc073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505062001ad7565b8060029081620007f9919062001035565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036200093d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009349062001528565b60405180910390fd5b815183511462000984576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200097b90620015c0565b60405180910390fd5b600062000996620007fd60201b60201c565b9050620009af8160008787878762000b2b60201b60201c565b60005b845181101562000a7457838181518110620009d257620009d1620013bb565b5b6020026020010151600080878481518110620009f357620009f2620013bb565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000a57919062001419565b92505081905550808062000a6b9062001454565b915050620009b2565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405162000aee929190620016b0565b60405180910390a462000b0d8160008787878762000b3360201b60201c565b62000b248160008787878762000b3b60201b60201c565b5050505050565b505050505050565b505050505050565b62000b678473ffffffffffffffffffffffffffffffffffffffff1662000d3460201b62001e271760201c565b1562000d2c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040162000bb095949392919062001774565b6020604051808303816000875af192505050801562000bef57506040513d601f19601f8201168201806040525081019062000bec919062001843565b60015b62000ca05762000bfe62001882565b806308c379a00362000c61575062000c15620018a7565b8062000c22575062000c63565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c58919062001983565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c979062001a1d565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161462000d2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d219062001ab5565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b826006810192821562000d89579160200282015b8281111562000d8857825182559160200191906001019062000d6b565b5b50905062000d98919062000d9c565b5090565b5b8082111562000db757600081600090555060010162000d9d565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000e3d57607f821691505b60208210810362000e535762000e5262000df5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000ebd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000e7e565b62000ec9868362000e7e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000f1662000f1062000f0a8462000ee1565b62000eeb565b62000ee1565b9050919050565b6000819050919050565b62000f328362000ef5565b62000f4a62000f418262000f1d565b84845462000e8b565b825550505050565b600090565b62000f6162000f52565b62000f6e81848462000f27565b505050565b5b8181101562000f965762000f8a60008262000f57565b60018101905062000f74565b5050565b601f82111562000fe55762000faf8162000e59565b62000fba8462000e6e565b8101602085101562000fca578190505b62000fe262000fd98562000e6e565b83018262000f73565b50505b505050565b600082821c905092915050565b60006200100a6000198460080262000fea565b1980831691505092915050565b600062001025838362000ff7565b9150826002028217905092915050565b620010408262000dbb565b67ffffffffffffffff8111156200105c576200105b62000dc6565b5b62001068825462000e24565b6200107582828562000f9a565b600060209050601f831160018114620010ad576000841562001098578287015190505b620010a4858262001017565b86555062001114565b601f198416620010bd8662000e59565b60005b82811015620010e757848901518255600182019150602085019450602081019050620010c0565b8683101562001107578489015162001103601f89168262000ff7565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620011518262001135565b810181811067ffffffffffffffff8211171562001173576200117262000dc6565b5b80604052505050565b6000620011886200111c565b905062001196828262001146565b919050565b600067ffffffffffffffff821115620011b957620011b862000dc6565b5b602082029050602081019050919050565b600080fd5b620011da8162000ee1565b8114620011e657600080fd5b50565b600081519050620011fa81620011cf565b92915050565b60006200121762001211846200119b565b6200117c565b905080838252602082019050602084028301858111156200123d576200123c620011ca565b5b835b818110156200126a5780620012558882620011e9565b8452602084019350506020810190506200123f565b5050509392505050565b600082601f8301126200128c576200128b62001130565b5b81516200129e84826020860162001200565b91505092915050565b60008060408385031215620012c157620012c062001126565b5b600083015167ffffffffffffffff811115620012e257620012e16200112b565b5b620012f08582860162001274565b925050602083015167ffffffffffffffff8111156200131457620013136200112b565b5b620013228582860162001274565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062001359826200132c565b9050919050565b6200136b816200134c565b82525050565b600060408201905062001388600083018562001360565b62001397602083018462001360565b9392505050565b6000602082019050620013b5600083018462001360565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620014268262000ee1565b9150620014338362000ee1565b92508282019050808211156200144e576200144d620013ea565b5b92915050565b6000620014618262000ee1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620014965762001495620013ea565b5b600182019050919050565b600082825260208201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062001510602183620014a1565b91506200151d82620014b2565b604082019050919050565b60006020820190508181036000830152620015438162001501565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000620015a8602883620014a1565b9150620015b5826200154a565b604082019050919050565b60006020820190508181036000830152620015db8162001599565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b620016198162000ee1565b82525050565b60006200162d83836200160e565b60208301905092915050565b6000602082019050919050565b60006200165382620015e2565b6200165f8185620015ed565b93506200166c83620015fe565b8060005b83811015620016a35781516200168788826200161f565b9750620016948362001639565b92505060018101905062001670565b5085935050505092915050565b60006040820190508181036000830152620016cc818562001646565b90508181036020830152620016e2818462001646565b90509392505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015620017275780820151818401526020810190506200170a565b60008484015250505050565b60006200174082620016eb565b6200174c8185620016f6565b93506200175e81856020860162001707565b620017698162001135565b840191505092915050565b600060a0820190506200178b600083018862001360565b6200179a602083018762001360565b8181036040830152620017ae818662001646565b90508181036060830152620017c4818562001646565b90508181036080830152620017da818462001733565b90509695505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200181d81620017e6565b81146200182957600080fd5b50565b6000815190506200183d8162001812565b92915050565b6000602082840312156200185c576200185b62001126565b5b60006200186c848285016200182c565b91505092915050565b60008160e01c9050919050565b600060033d1115620018a45760046000803e620018a160005162001875565b90505b90565b600060443d106200193f57620018bc6200111c565b60043d036004823e80513d602482011167ffffffffffffffff82111715620018e65750506200193f565b808201805167ffffffffffffffff8111156200190657505050506200193f565b80602083010160043d038501811115620019255750505050506200193f565b620019368260200185018662001146565b82955050505050505b90565b60006200194f8262000dbb565b6200195b8185620014a1565b93506200196d81856020860162001707565b620019788162001135565b840191505092915050565b600060208201905081810360008301526200199f818462001942565b905092915050565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600062001a05603483620014a1565b915062001a1282620019a7565b604082019050919050565b6000602082019050818103600083015262001a3881620019f6565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600062001a9d602883620014a1565b915062001aaa8262001a3f565b604082019050919050565b6000602082019050818103600083015262001ad08162001a8e565b9050919050565b61572c8062001ae76000396000f3fe6080604052600436106102285760003560e01c8063715018a611610123578063a3e271e5116100ab578063e985e9c51161006f578063e985e9c514610841578063f242432a1461087e578063f2fde38b146108a7578063f4f3b200146108d0578063fecfda49146108f957610268565b8063a3e271e51461075c578063acd7af0114610785578063aea4f992146107ae578063d5002f2e146107eb578063d5abeb011461081657610268565b806395d89b41116100f257806395d89b4114610698578063a035b1fe146106c3578063a0712d68146106ee578063a1c86b3b1461070a578063a22cb4651461073357610268565b8063715018a6146105ee5780637241dfa014610605578063877568cb146106425780638da5cb5b1461066d57610268565b80633ccfd60b116101b1578063572849c411610175578063572849c4146104f357806357a858fc1461051e5780635c975abb1461055b57806363037b0c14610586578063672a7fe0146105c357610268565b80633ccfd60b1461042057806341f4343414610437578063426baf96146104625780634e1273f41461048d57806355f804b3146104ca57610268565b80630e89341c116101f85780630e89341c1461033b57806316e0a2001461037857806318160ddd146103a15780632104d97e146103cc5780632eb2c2d6146103f757610268565b8062fdd58e1461026d57806301ffc9a7146102aa57806302329a29146102e757806306fdde031461031057610268565b36610268577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161025e929190613428565b60405180910390a1005b600080fd5b34801561027957600080fd5b50610294600480360381019061028f91906134bd565b610922565b6040516102a191906134fd565b60405180910390f35b3480156102b657600080fd5b506102d160048036038101906102cc9190613570565b6109ea565b6040516102de91906135b8565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906135ff565b610acc565b005b34801561031c57600080fd5b50610325610af1565b60405161033291906136bc565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d91906136de565b610b7f565b60405161036f91906136bc565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a91906136de565b610bdf565b005b3480156103ad57600080fd5b506103b6610bf1565b6040516103c391906134fd565b60405180910390f35b3480156103d857600080fd5b506103e1610bf7565b6040516103ee91906134fd565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613908565b610bfd565b005b34801561042c57600080fd5b50610435610c50565b005b34801561044357600080fd5b5061044c610db9565b6040516104599190613a36565b60405180910390f35b34801561046e57600080fd5b50610477610dcb565b60405161048491906134fd565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af9190613b14565b610dd1565b6040516104c19190613c4a565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec9190613d0d565b610eea565b005b3480156104ff57600080fd5b50610508610f05565b60405161051591906134fd565b60405180910390f35b34801561052a57600080fd5b50610545600480360381019061054091906136de565b610f0b565b60405161055291906134fd565b60405180910390f35b34801561056757600080fd5b50610570610f2f565b60405161057d91906135b8565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906136de565b610f42565b6040516105ba9190613d77565b60405180910390f35b3480156105cf57600080fd5b506105d8610f81565b6040516105e591906135b8565b60405180910390f35b3480156105fa57600080fd5b50610603610f94565b005b34801561061157600080fd5b5061062c60048036038101906106279190613d92565b610fa8565b60405161063991906134fd565b60405180910390f35b34801561064e57600080fd5b50610657610fc0565b60405161066491906134fd565b60405180910390f35b34801561067957600080fd5b50610682610fc6565b60405161068f9190613dbf565b60405180910390f35b3480156106a457600080fd5b506106ad610ff0565b6040516106ba91906136bc565b60405180910390f35b3480156106cf57600080fd5b506106d861107e565b6040516106e591906134fd565b60405180910390f35b610708600480360381019061070391906136de565b61108d565b005b34801561071657600080fd5b50610731600480360381019061072c9190613dda565b6117cf565b005b34801561073f57600080fd5b5061075a60048036038101906107559190613e23565b61186c565b005b34801561076857600080fd5b50610783600480360381019061077e91906136de565b611885565b005b34801561079157600080fd5b506107ac60048036038101906107a79190613f52565b611897565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190613d92565b6119e9565b6040516107e291906135b8565b60405180910390f35b3480156107f757600080fd5b50610800611a09565b60405161080d91906134fd565b60405180910390f35b34801561082257600080fd5b5061082b611a69565b60405161083891906134fd565b60405180910390f35b34801561084d57600080fd5b5061086860048036038101906108639190613fca565b611a6f565b60405161087591906135b8565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a0919061400a565b611b03565b005b3480156108b357600080fd5b506108ce60048036038101906108c99190613d92565b611b56565b005b3480156108dc57600080fd5b506108f760048036038101906108f29190613d92565b611bd9565b005b34801561090557600080fd5b50610920600480360381019061091b91906136de565b611e15565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098990614113565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac55750610ac482611e4a565b5b9050919050565b610ad4611eb4565b80601060016101000a81548160ff02191690831515021790555050565b60088054610afe90614162565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2a90614162565b8015610b775780601f10610b4c57610100808354040283529160200191610b77565b820191906000526020600020905b815481529060010190602001808311610b5a57829003601f168201915b505050505081565b60606000600a8054610b9090614162565b905011610bac5760405180602001604052806000815250610bd8565b600a610bb783611f32565b604051602001610bc89291906142b3565b6040516020818303038152906040525b9050919050565b610be7611eb4565b80600b8190555050565b600f5481565b600b5481565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c3b57610c3a33612000565b5b610c4886868686866120fd565b505050505050565b6000806000610c5d611a09565b905060006006805490509050600047905060005b82811015610db15760068181548110610c8d57610c8c6142e2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16955060078181548110610cce57610ccd6142e2565b5b9060005260206000200154945060008673ffffffffffffffffffffffffffffffffffffffff16858785610d019190614340565b610d0b91906143b1565b604051610d1790614413565b60006040518083038185875af1925050503d8060008114610d54576040519150601f19603f3d011682016040523d82523d6000602084013e610d59565b606091505b5050905080610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d949061449a565b60405180910390fd5b508080610da9906144ba565b915050610c71565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b600c5481565b60608151835114610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90614574565b60405180910390fd5b6000835167ffffffffffffffff811115610e3457610e33613710565b5b604051908082528060200260200182016040528015610e625781602001602082028036833780820191505090505b50905060005b8451811015610edf57610eaf858281518110610e8757610e866142e2565b5b6020026020010151858381518110610ea257610ea16142e2565b5b6020026020010151610922565b828281518110610ec257610ec16142e2565b5b60200260200101818152505080610ed8906144ba565b9050610e68565b508091505092915050565b610ef2611eb4565b80600a9081610f019190614721565b5050565b600e5481565b60078181548110610f1b57600080fd5b906000526020600020016000915090505481565b601060019054906101000a900460ff1681565b60068181548110610f5257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060009054906101000a900460ff1681565b610f9c611eb4565b610fa6600061219e565b565b60236020528060005260406000206000915090505481565b600d5481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60098054610ffd90614162565b80601f016020809104026020016040519081016040528092919081815260200182805461102990614162565b80156110765780601f1061104b57610100808354040283529160200191611076565b820191906000526020600020905b81548152906001019060200180831161105957829003601f168201915b505050505081565b6000611088612264565b905090565b8060001515601060019054906101000a900460ff161515146110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db9061483f565b60405180910390fd5b60008111611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e906148ab565b60405180910390fd5b602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661120c57600e54602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111c691906148cb565b1115611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe9061494b565b60405180910390fd5b611252565b600e54811115611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061494b565b60405180910390fd5b5b600161138b61126191906148cb565b81600f5461126f91906148cb565b106112af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a6906149dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490614a49565b60405180910390fd5b61132561228a565b8161132e612264565b6113389190614340565b3414611379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137090614ab5565b60405180910390fd5b60004390506000814060001c905060008467ffffffffffffffff8111156113a3576113a2613710565b5b6040519080825280602002602001820160405280156113d15781602001602082028036833780820191505090505b50905060008567ffffffffffffffff8111156113f0576113ef613710565b5b60405190808252806020026020018201604052801561141e5781602001602082028036833780820191505090505b50905060005b86811015611734576000670de0b6b3a764000085338460405160200161144c93929190614b3e565b6040516020818303038152906040528051906020012060001c61146f9190614b7b565b90506000806000905060005b60068110156114ec5760178160068110611498576114976142e2565b5b0154601182600681106114ae576114ad6142e2565b5b015410156114d9576114cb6001826114c691906148cb565b6122d9565b826114d691906148cb565b91505b80806114e4906144ba565b91505061147b565b5060008111611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790614bf8565b60405180910390fd5b60005b600681101561160357601781600681106115505761154f6142e2565b5b015460118260068110611566576115656142e2565b5b015410156115f057600061158560018361158091906148cb565b6122d9565b905082670de0b6b3a76400008261159c9190614340565b6115a691906143b1565b8510156115c2576001826115ba91906148cb565b935050611603565b82670de0b6b3a7640000826115d79190614340565b6115e191906143b1565b856115ec9190614c18565b9450505b80806115fb906144ba565b915050611533565b50600082118015611615575060068211155b611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b90614c98565b60405180910390fd5b600160116001846116659190614c18565b60068110611676576116756142e2565b5b01600082825461168691906148cb565b92505081905550818685815181106116a1576116a06142e2565b5b60200260200101818152505060018585815181106116c2576116c16142e2565b5b602002602001018181525050813373ffffffffffffffffffffffffffffffffffffffff167f96234cb3d6c373a1aaa06497a540bc166d4b0359243a088eaf95e21d7253d0be60016040516117169190614cf3565b60405180910390a3505050808061172c906144ba565b915050611424565b5085600f600082825461174791906148cb565b9250508190555085602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461179d91906148cb565b925050819055506117bf338383604051806020016040528060008152506123c7565b505050506117cb6125f3565b5050565b6117d7611eb4565b60005b8151811015611868576001602460008484815181106117fc576117fb6142e2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611860906144ba565b9150506117da565b5050565b8161187681612000565b61188083836125fd565b505050565b61188d611eb4565b80600c8190555050565b61189f611eb4565b600660006118ad919061336f565b600760006118bb9190613390565b6000825190508151835114611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90614d80565b60405180910390fd5b60005b818110156119e3576006848281518110611925576119246142e2565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060078382815181106119a2576119a16142e2565b5b6020026020010151908060018154018082558091505060019003906000526020600020016000909190919091505580806119db906144ba565b915050611908565b50505050565b60246020528060005260406000206000915054906101000a900460ff1681565b6000806000600680549050905060005b81811015611a605760078181548110611a3557611a346142e2565b5b906000526020600020015483611a4b91906148cb565b92508080611a58906144ba565b915050611a19565b50819250505090565b61138b81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b4157611b4033612000565b5b611b4e8686868686612613565b505050505050565b611b5e611eb4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc490614e12565b60405180910390fd5b611bd68161219e565b50565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c779190613dbf565b602060405180830381865afa158015611c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb89190614e47565b90506000806000611cc7611a09565b90506000600680549050905060005b81811015611e0c5760068181548110611cf257611cf16142e2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16945060078181548110611d3357611d326142e2565b5b90600052602060002001549350600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308786888b611d8d9190614340565b611d9791906143b1565b6040518463ffffffff1660e01b8152600401611db593929190614e74565b6020604051808303816000875af1158015611dd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df89190614ec0565b508080611e04906144ba565b915050611cd6565b50505050505050565b611e1d611eb4565b80600e8190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ebc6126b4565b73ffffffffffffffffffffffffffffffffffffffff16611eda610fc6565b73ffffffffffffffffffffffffffffffffffffffff1614611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790614f39565b60405180910390fd5b565b606060006001611f41846126bc565b01905060008167ffffffffffffffff811115611f6057611f5f613710565b5b6040519080825280601f01601f191660200182016040528015611f925781602001600182028036833780820191505090505b509050600082602001820190505b600115611ff5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611fe957611fe8614382565b5b04945060008503611fa0575b819350505050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156120fa576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612077929190614f59565b602060405180830381865afa158015612094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b89190614ec0565b6120f957806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120f09190613dbf565b60405180910390fd5b5b50565b6121056126b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061214b575061214a856121456126b4565b611a6f565b5b61218a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218190614ff4565b60405180910390fd5b612197858585858561280f565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600d54600f54111561227d57600b549050612283565b600c5490505b8091505090565b6002600454036122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690615060565b60405180910390fd5b6002600481905550565b6000600682101561239d57600060116001846122f59190614c18565b60068110612306576123056142e2565b5b015460176001856123179190614c18565b60068110612328576123276142e2565b5b01546123349190614c18565b9050600060176001856123479190614c18565b60068110612358576123576142e2565b5b015482601d60018761236a9190614c18565b6006811061237b5761237a6142e2565b5b01546123879190614340565b61239191906143b1565b905080925050506123c2565b601d6001836123ac9190614c18565b600681106123bd576123bc6142e2565b5b015490505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242d906150f2565b60405180910390fd5b815183511461247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190615184565b60405180910390fd5b60006124846126b4565b905061249581600087878787612b30565b60005b845181101561254e578381815181106124b4576124b36142e2565b5b60200260200101516000808784815181106124d2576124d16142e2565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461253491906148cb565b925050819055508080612546906144ba565b915050612498565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125c69291906151a4565b60405180910390a46125dd81600087878787612b38565b6125ec81600087878787612b40565b5050505050565b6001600481905550565b61260f6126086126b4565b8383612d17565b5050565b61261b6126b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061266157506126608561265b6126b4565b611a6f565b5b6126a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269790614ff4565b60405180910390fd5b6126ad8585858585612e83565b5050505050565b600033905090565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061271a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816127105761270f614382565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612757576d04ee2d6d415b85acef8100000000838161274d5761274c614382565b5b0492506020810190505b662386f26fc10000831061278657662386f26fc10000838161277c5761277b614382565b5b0492506010810190505b6305f5e10083106127af576305f5e10083816127a5576127a4614382565b5b0492506008810190505b61271083106127d45761271083816127ca576127c9614382565b5b0492506004810190505b606483106127f757606483816127ed576127ec614382565b5b0492506002810190505b600a8310612806576001810190505b80915050919050565b8151835114612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90615184565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b99061524d565b60405180910390fd5b60006128cc6126b4565b90506128dc818787878787612b30565b60005b8451811015612a8d5760008582815181106128fd576128fc6142e2565b5b60200260200101519050600085838151811061291c5761291b6142e2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906152df565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a7291906148cb565b9250508190555050505080612a86906144ba565b90506128df565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b049291906151a4565b60405180910390a4612b1a818787878787612b38565b612b28818787878787612b40565b505050505050565b505050505050565b505050505050565b612b5f8473ffffffffffffffffffffffffffffffffffffffff16611e27565b15612d0f578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ba5959493929190615354565b6020604051808303816000875af1925050508015612be157506040513d601f19601f82011682018060405250810190612bde91906153d1565b60015b612c8657612bed61540b565b806308c379a003612c495750612c0161542d565b80612c0c5750612c4b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4091906136bc565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d9061552f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d04906155c1565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90615653565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e7691906135b8565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee99061524d565b60405180910390fd5b6000612efc6126b4565b90506000612f098561311e565b90506000612f168561311e565b9050612f26838989858589612b30565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb4906152df565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461307291906148cb565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516130ef929190615673565b60405180910390a4613105848a8a86868a612b38565b613113848a8a8a8a8a613198565b505050505050505050565b60606000600167ffffffffffffffff81111561313d5761313c613710565b5b60405190808252806020026020018201604052801561316b5781602001602082028036833780820191505090505b5090508281600081518110613183576131826142e2565b5b60200260200101818152505080915050919050565b6131b78473ffffffffffffffffffffffffffffffffffffffff16611e27565b15613367578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016131fd95949392919061569c565b6020604051808303816000875af192505050801561323957506040513d601f19601f8201168201806040525081019061323691906153d1565b60015b6132de5761324561540b565b806308c379a0036132a1575061325961542d565b8061326457506132a3565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329891906136bc565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d59061552f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335c906155c1565b60405180910390fd5b505b505050505050565b508054600082559060005260206000209081019061338d91906133b1565b50565b50805460008255906000526020600020908101906133ae91906133b1565b50565b5b808211156133ca5760008160009055506001016133b2565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133f9826133ce565b9050919050565b613409816133ee565b82525050565b6000819050919050565b6134228161340f565b82525050565b600060408201905061343d6000830185613400565b61344a6020830184613419565b9392505050565b6000604051905090565b600080fd5b600080fd5b61346e816133ee565b811461347957600080fd5b50565b60008135905061348b81613465565b92915050565b61349a8161340f565b81146134a557600080fd5b50565b6000813590506134b781613491565b92915050565b600080604083850312156134d4576134d361345b565b5b60006134e28582860161347c565b92505060206134f3858286016134a8565b9150509250929050565b60006020820190506135126000830184613419565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61354d81613518565b811461355857600080fd5b50565b60008135905061356a81613544565b92915050565b6000602082840312156135865761358561345b565b5b60006135948482850161355b565b91505092915050565b60008115159050919050565b6135b28161359d565b82525050565b60006020820190506135cd60008301846135a9565b92915050565b6135dc8161359d565b81146135e757600080fd5b50565b6000813590506135f9816135d3565b92915050565b6000602082840312156136155761361461345b565b5b6000613623848285016135ea565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561366657808201518184015260208101905061364b565b60008484015250505050565b6000601f19601f8301169050919050565b600061368e8261362c565b6136988185613637565b93506136a8818560208601613648565b6136b181613672565b840191505092915050565b600060208201905081810360008301526136d68184613683565b905092915050565b6000602082840312156136f4576136f361345b565b5b6000613702848285016134a8565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374882613672565b810181811067ffffffffffffffff8211171561376757613766613710565b5b80604052505050565b600061377a613451565b9050613786828261373f565b919050565b600067ffffffffffffffff8211156137a6576137a5613710565b5b602082029050602081019050919050565b600080fd5b60006137cf6137ca8461378b565b613770565b905080838252602082019050602084028301858111156137f2576137f16137b7565b5b835b8181101561381b578061380788826134a8565b8452602084019350506020810190506137f4565b5050509392505050565b600082601f83011261383a5761383961370b565b5b813561384a8482602086016137bc565b91505092915050565b600080fd5b600067ffffffffffffffff82111561387357613872613710565b5b61387c82613672565b9050602081019050919050565b82818337600083830152505050565b60006138ab6138a684613858565b613770565b9050828152602081018484840111156138c7576138c6613853565b5b6138d2848285613889565b509392505050565b600082601f8301126138ef576138ee61370b565b5b81356138ff848260208601613898565b91505092915050565b600080600080600060a086880312156139245761392361345b565b5b60006139328882890161347c565b95505060206139438882890161347c565b945050604086013567ffffffffffffffff81111561396457613963613460565b5b61397088828901613825565b935050606086013567ffffffffffffffff81111561399157613990613460565b5b61399d88828901613825565b925050608086013567ffffffffffffffff8111156139be576139bd613460565b5b6139ca888289016138da565b9150509295509295909350565b6000819050919050565b60006139fc6139f76139f2846133ce565b6139d7565b6133ce565b9050919050565b6000613a0e826139e1565b9050919050565b6000613a2082613a03565b9050919050565b613a3081613a15565b82525050565b6000602082019050613a4b6000830184613a27565b92915050565b600067ffffffffffffffff821115613a6c57613a6b613710565b5b602082029050602081019050919050565b6000613a90613a8b84613a51565b613770565b90508083825260208201905060208402830185811115613ab357613ab26137b7565b5b835b81811015613adc5780613ac8888261347c565b845260208401935050602081019050613ab5565b5050509392505050565b600082601f830112613afb57613afa61370b565b5b8135613b0b848260208601613a7d565b91505092915050565b60008060408385031215613b2b57613b2a61345b565b5b600083013567ffffffffffffffff811115613b4957613b48613460565b5b613b5585828601613ae6565b925050602083013567ffffffffffffffff811115613b7657613b75613460565b5b613b8285828601613825565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bc18161340f565b82525050565b6000613bd38383613bb8565b60208301905092915050565b6000602082019050919050565b6000613bf782613b8c565b613c018185613b97565b9350613c0c83613ba8565b8060005b83811015613c3d578151613c248882613bc7565b9750613c2f83613bdf565b925050600181019050613c10565b5085935050505092915050565b60006020820190508181036000830152613c648184613bec565b905092915050565b600067ffffffffffffffff821115613c8757613c86613710565b5b613c9082613672565b9050602081019050919050565b6000613cb0613cab84613c6c565b613770565b905082815260208101848484011115613ccc57613ccb613853565b5b613cd7848285613889565b509392505050565b600082601f830112613cf457613cf361370b565b5b8135613d04848260208601613c9d565b91505092915050565b600060208284031215613d2357613d2261345b565b5b600082013567ffffffffffffffff811115613d4157613d40613460565b5b613d4d84828501613cdf565b91505092915050565b6000613d61826133ce565b9050919050565b613d7181613d56565b82525050565b6000602082019050613d8c6000830184613d68565b92915050565b600060208284031215613da857613da761345b565b5b6000613db68482850161347c565b91505092915050565b6000602082019050613dd46000830184613400565b92915050565b600060208284031215613df057613def61345b565b5b600082013567ffffffffffffffff811115613e0e57613e0d613460565b5b613e1a84828501613ae6565b91505092915050565b60008060408385031215613e3a57613e3961345b565b5b6000613e488582860161347c565b9250506020613e59858286016135ea565b9150509250929050565b600067ffffffffffffffff821115613e7e57613e7d613710565b5b602082029050602081019050919050565b613e9881613d56565b8114613ea357600080fd5b50565b600081359050613eb581613e8f565b92915050565b6000613ece613ec984613e63565b613770565b90508083825260208201905060208402830185811115613ef157613ef06137b7565b5b835b81811015613f1a5780613f068882613ea6565b845260208401935050602081019050613ef3565b5050509392505050565b600082601f830112613f3957613f3861370b565b5b8135613f49848260208601613ebb565b91505092915050565b60008060408385031215613f6957613f6861345b565b5b600083013567ffffffffffffffff811115613f8757613f86613460565b5b613f9385828601613f24565b925050602083013567ffffffffffffffff811115613fb457613fb3613460565b5b613fc085828601613825565b9150509250929050565b60008060408385031215613fe157613fe061345b565b5b6000613fef8582860161347c565b92505060206140008582860161347c565b9150509250929050565b600080600080600060a086880312156140265761402561345b565b5b60006140348882890161347c565b95505060206140458882890161347c565b9450506040614056888289016134a8565b9350506060614067888289016134a8565b925050608086013567ffffffffffffffff81111561408857614087613460565b5b614094888289016138da565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006140fd602a83613637565b9150614108826140a1565b604082019050919050565b6000602082019050818103600083015261412c816140f0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061417a57607f821691505b60208210810361418d5761418c614133565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546141c081614162565b6141ca8186614193565b945060018216600081146141e557600181146141fa5761422d565b60ff198316865281151582028601935061422d565b6142038561419e565b60005b8381101561422557815481890152600182019150602081019050614206565b838801955050505b50505092915050565b60006142418261362c565b61424b8185614193565b935061425b818560208601613648565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061429d600583614193565b91506142a882614267565b600582019050919050565b60006142bf82856141b3565b91506142cb8284614236565b91506142d682614290565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061434b8261340f565b91506143568361340f565b92508282026143648161340f565b9150828204841483151761437b5761437a614311565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143bc8261340f565b91506143c78361340f565b9250826143d7576143d6614382565b5b828204905092915050565b600081905092915050565b50565b60006143fd6000836143e2565b9150614408826143ed565b600082019050919050565b600061441e826143f0565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614484603a83613637565b915061448f82614428565b604082019050919050565b600060208201905081810360008301526144b381614477565b9050919050565b60006144c58261340f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144f7576144f6614311565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061455e602983613637565b915061456982614502565b604082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145e17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145a4565b6145eb86836145a4565b95508019841693508086168417925050509392505050565b600061461e6146196146148461340f565b6139d7565b61340f565b9050919050565b6000819050919050565b61463883614603565b61464c61464482614625565b8484546145b1565b825550505050565b600090565b614661614654565b61466c81848461462f565b505050565b5b8181101561469057614685600082614659565b600181019050614672565b5050565b601f8211156146d5576146a68161419e565b6146af84614594565b810160208510156146be578190505b6146d26146ca85614594565b830182614671565b50505b505050565b600082821c905092915050565b60006146f8600019846008026146da565b1980831691505092915050565b600061471183836146e7565b9150826002028217905092915050565b61472a8261362c565b67ffffffffffffffff81111561474357614742613710565b5b61474d8254614162565b614758828285614694565b600060209050601f83116001811461478b5760008415614779578287015190505b6147838582614705565b8655506147eb565b601f1984166147998661419e565b60005b828110156147c15784890151825560018201915060208501945060208101905061479c565b868310156147de57848901516147da601f8916826146e7565b8355505b6001600288020188555050505b505050505050565b7f436f6e7472616374206973207061757365642e00000000000000000000000000600082015250565b6000614829601383613637565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b6000614895602083613637565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b60006148d68261340f565b91506148e18361340f565b92508282019050808211156148f9576148f8614311565b5b92915050565b7f596f752063616e74206d696e742074686174206d616e792e0000000000000000600082015250565b6000614935601883613637565b9150614940826148ff565b602082019050919050565b6000602082019050818103600083015261496481614928565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460008201527f686174206d616e792e0000000000000000000000000000000000000000000000602082015250565b60006149c7602983613637565b91506149d28261496b565b604082019050919050565b600060208201905081810360008301526149f6816149ba565b9050919050565b7f4e6f20636f6e7472616374732100000000000000000000000000000000000000600082015250565b6000614a33600d83613637565b9150614a3e826149fd565b602082019050919050565b60006020820190508181036000830152614a6281614a26565b9050919050565b7f496e636f7272656374206d696e74206665650000000000000000000000000000600082015250565b6000614a9f601283613637565b9150614aaa82614a69565b602082019050919050565b60006020820190508181036000830152614ace81614a92565b9050919050565b6000819050919050565b614af0614aeb8261340f565b614ad5565b82525050565b60008160601b9050919050565b6000614b0e82614af6565b9050919050565b6000614b2082614b03565b9050919050565b614b38614b33826133ee565b614b15565b82525050565b6000614b4a8286614adf565b602082019150614b5a8285614b27565b601482019150614b6a8284614adf565b602082019150819050949350505050565b6000614b868261340f565b9150614b918361340f565b925082614ba157614ba0614382565b5b828206905092915050565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b6000614be2601b83613637565b9150614bed82614bac565b602082019050919050565b60006020820190508181036000830152614c1181614bd5565b9050919050565b6000614c238261340f565b9150614c2e8361340f565b9250828203905081811115614c4657614c45614311565b5b92915050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b6000614c82601083613637565b9150614c8d82614c4c565b602082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b6000819050919050565b6000614cdd614cd8614cd384614cb8565b6139d7565b61340f565b9050919050565b614ced81614cc2565b82525050565b6000602082019050614d086000830184614ce4565b92915050565b7f6e756d626572206f66206e657720706179656573206d757374206d617463682060008201527f6e756d626572206f66206e657720736861726573000000000000000000000000602082015250565b6000614d6a603483613637565b9150614d7582614d0e565b604082019050919050565b60006020820190508181036000830152614d9981614d5d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614dfc602683613637565b9150614e0782614da0565b604082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b600081519050614e4181613491565b92915050565b600060208284031215614e5d57614e5c61345b565b5b6000614e6b84828501614e32565b91505092915050565b6000606082019050614e896000830186613400565b614e966020830185613400565b614ea36040830184613419565b949350505050565b600081519050614eba816135d3565b92915050565b600060208284031215614ed657614ed561345b565b5b6000614ee484828501614eab565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f23602083613637565b9150614f2e82614eed565b602082019050919050565b60006020820190508181036000830152614f5281614f16565b9050919050565b6000604082019050614f6e6000830185613400565b614f7b6020830184613400565b9392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614fde602e83613637565b9150614fe982614f82565b604082019050919050565b6000602082019050818103600083015261500d81614fd1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061504a601f83613637565b915061505582615014565b602082019050919050565b600060208201905081810360008301526150798161503d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006150dc602183613637565b91506150e782615080565b604082019050919050565b6000602082019050818103600083015261510b816150cf565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061516e602883613637565b915061517982615112565b604082019050919050565b6000602082019050818103600083015261519d81615161565b9050919050565b600060408201905081810360008301526151be8185613bec565b905081810360208301526151d28184613bec565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615237602583613637565b9150615242826151db565b604082019050919050565b600060208201905081810360008301526152668161522a565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006152c9602a83613637565b91506152d48261526d565b604082019050919050565b600060208201905081810360008301526152f8816152bc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615326826152ff565b615330818561530a565b9350615340818560208601613648565b61534981613672565b840191505092915050565b600060a0820190506153696000830188613400565b6153766020830187613400565b81810360408301526153888186613bec565b9050818103606083015261539c8185613bec565b905081810360808301526153b0818461531b565b90509695505050505050565b6000815190506153cb81613544565b92915050565b6000602082840312156153e7576153e661345b565b5b60006153f5848285016153bc565b91505092915050565b60008160e01c9050919050565b600060033d111561542a5760046000803e6154276000516153fe565b90505b90565b600060443d106154ba5761543f613451565b60043d036004823e80513d602482011167ffffffffffffffff821117156154675750506154ba565b808201805167ffffffffffffffff81111561548557505050506154ba565b80602083010160043d0385018111156154a25750505050506154ba565b6154b18260200185018661373f565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615519603483613637565b9150615524826154bd565b604082019050919050565b600060208201905081810360008301526155488161550c565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006155ab602883613637565b91506155b68261554f565b604082019050919050565b600060208201905081810360008301526155da8161559e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061563d602983613637565b9150615648826155e1565b604082019050919050565b6000602082019050818103600083015261566c81615630565b9050919050565b60006040820190506156886000830185613419565b6156956020830184613419565b9392505050565b600060a0820190506156b16000830188613400565b6156be6020830187613400565b6156cb6040830186613419565b6156d86060830185613419565b81810360808301526156ea818461531b565b9050969550505050505056fea2646970667358221220debfa24cff1f543b530965cab03f338c9c5812e250285c66e4da48a0404cf16364736f6c6343000811003368747470733a2f2f6d696e74746f69676f73646f6f722e636f6d2f696d672f6173736574732f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000028
Deployed Bytecode
0x6080604052600436106102285760003560e01c8063715018a611610123578063a3e271e5116100ab578063e985e9c51161006f578063e985e9c514610841578063f242432a1461087e578063f2fde38b146108a7578063f4f3b200146108d0578063fecfda49146108f957610268565b8063a3e271e51461075c578063acd7af0114610785578063aea4f992146107ae578063d5002f2e146107eb578063d5abeb011461081657610268565b806395d89b41116100f257806395d89b4114610698578063a035b1fe146106c3578063a0712d68146106ee578063a1c86b3b1461070a578063a22cb4651461073357610268565b8063715018a6146105ee5780637241dfa014610605578063877568cb146106425780638da5cb5b1461066d57610268565b80633ccfd60b116101b1578063572849c411610175578063572849c4146104f357806357a858fc1461051e5780635c975abb1461055b57806363037b0c14610586578063672a7fe0146105c357610268565b80633ccfd60b1461042057806341f4343414610437578063426baf96146104625780634e1273f41461048d57806355f804b3146104ca57610268565b80630e89341c116101f85780630e89341c1461033b57806316e0a2001461037857806318160ddd146103a15780632104d97e146103cc5780632eb2c2d6146103f757610268565b8062fdd58e1461026d57806301ffc9a7146102aa57806302329a29146102e757806306fdde031461031057610268565b36610268577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161025e929190613428565b60405180910390a1005b600080fd5b34801561027957600080fd5b50610294600480360381019061028f91906134bd565b610922565b6040516102a191906134fd565b60405180910390f35b3480156102b657600080fd5b506102d160048036038101906102cc9190613570565b6109ea565b6040516102de91906135b8565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906135ff565b610acc565b005b34801561031c57600080fd5b50610325610af1565b60405161033291906136bc565b60405180910390f35b34801561034757600080fd5b50610362600480360381019061035d91906136de565b610b7f565b60405161036f91906136bc565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a91906136de565b610bdf565b005b3480156103ad57600080fd5b506103b6610bf1565b6040516103c391906134fd565b60405180910390f35b3480156103d857600080fd5b506103e1610bf7565b6040516103ee91906134fd565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613908565b610bfd565b005b34801561042c57600080fd5b50610435610c50565b005b34801561044357600080fd5b5061044c610db9565b6040516104599190613a36565b60405180910390f35b34801561046e57600080fd5b50610477610dcb565b60405161048491906134fd565b60405180910390f35b34801561049957600080fd5b506104b460048036038101906104af9190613b14565b610dd1565b6040516104c19190613c4a565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec9190613d0d565b610eea565b005b3480156104ff57600080fd5b50610508610f05565b60405161051591906134fd565b60405180910390f35b34801561052a57600080fd5b50610545600480360381019061054091906136de565b610f0b565b60405161055291906134fd565b60405180910390f35b34801561056757600080fd5b50610570610f2f565b60405161057d91906135b8565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906136de565b610f42565b6040516105ba9190613d77565b60405180910390f35b3480156105cf57600080fd5b506105d8610f81565b6040516105e591906135b8565b60405180910390f35b3480156105fa57600080fd5b50610603610f94565b005b34801561061157600080fd5b5061062c60048036038101906106279190613d92565b610fa8565b60405161063991906134fd565b60405180910390f35b34801561064e57600080fd5b50610657610fc0565b60405161066491906134fd565b60405180910390f35b34801561067957600080fd5b50610682610fc6565b60405161068f9190613dbf565b60405180910390f35b3480156106a457600080fd5b506106ad610ff0565b6040516106ba91906136bc565b60405180910390f35b3480156106cf57600080fd5b506106d861107e565b6040516106e591906134fd565b60405180910390f35b610708600480360381019061070391906136de565b61108d565b005b34801561071657600080fd5b50610731600480360381019061072c9190613dda565b6117cf565b005b34801561073f57600080fd5b5061075a60048036038101906107559190613e23565b61186c565b005b34801561076857600080fd5b50610783600480360381019061077e91906136de565b611885565b005b34801561079157600080fd5b506107ac60048036038101906107a79190613f52565b611897565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190613d92565b6119e9565b6040516107e291906135b8565b60405180910390f35b3480156107f757600080fd5b50610800611a09565b60405161080d91906134fd565b60405180910390f35b34801561082257600080fd5b5061082b611a69565b60405161083891906134fd565b60405180910390f35b34801561084d57600080fd5b5061086860048036038101906108639190613fca565b611a6f565b60405161087591906135b8565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a0919061400a565b611b03565b005b3480156108b357600080fd5b506108ce60048036038101906108c99190613d92565b611b56565b005b3480156108dc57600080fd5b506108f760048036038101906108f29190613d92565b611bd9565b005b34801561090557600080fd5b50610920600480360381019061091b91906136de565b611e15565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610992576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098990614113565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ab557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac55750610ac482611e4a565b5b9050919050565b610ad4611eb4565b80601060016101000a81548160ff02191690831515021790555050565b60088054610afe90614162565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2a90614162565b8015610b775780601f10610b4c57610100808354040283529160200191610b77565b820191906000526020600020905b815481529060010190602001808311610b5a57829003601f168201915b505050505081565b60606000600a8054610b9090614162565b905011610bac5760405180602001604052806000815250610bd8565b600a610bb783611f32565b604051602001610bc89291906142b3565b6040516020818303038152906040525b9050919050565b610be7611eb4565b80600b8190555050565b600f5481565b600b5481565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c3b57610c3a33612000565b5b610c4886868686866120fd565b505050505050565b6000806000610c5d611a09565b905060006006805490509050600047905060005b82811015610db15760068181548110610c8d57610c8c6142e2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16955060078181548110610cce57610ccd6142e2565b5b9060005260206000200154945060008673ffffffffffffffffffffffffffffffffffffffff16858785610d019190614340565b610d0b91906143b1565b604051610d1790614413565b60006040518083038185875af1925050503d8060008114610d54576040519150601f19603f3d011682016040523d82523d6000602084013e610d59565b606091505b5050905080610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d949061449a565b60405180910390fd5b508080610da9906144ba565b915050610c71565b505050505050565b6daaeb6d7670e522a718067333cd4e81565b600c5481565b60608151835114610e17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0e90614574565b60405180910390fd5b6000835167ffffffffffffffff811115610e3457610e33613710565b5b604051908082528060200260200182016040528015610e625781602001602082028036833780820191505090505b50905060005b8451811015610edf57610eaf858281518110610e8757610e866142e2565b5b6020026020010151858381518110610ea257610ea16142e2565b5b6020026020010151610922565b828281518110610ec257610ec16142e2565b5b60200260200101818152505080610ed8906144ba565b9050610e68565b508091505092915050565b610ef2611eb4565b80600a9081610f019190614721565b5050565b600e5481565b60078181548110610f1b57600080fd5b906000526020600020016000915090505481565b601060019054906101000a900460ff1681565b60068181548110610f5257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060009054906101000a900460ff1681565b610f9c611eb4565b610fa6600061219e565b565b60236020528060005260406000206000915090505481565b600d5481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60098054610ffd90614162565b80601f016020809104026020016040519081016040528092919081815260200182805461102990614162565b80156110765780601f1061104b57610100808354040283529160200191611076565b820191906000526020600020905b81548152906001019060200180831161105957829003601f168201915b505050505081565b6000611088612264565b905090565b8060001515601060019054906101000a900460ff161515146110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db9061483f565b60405180910390fd5b60008111611127576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111e906148ab565b60405180910390fd5b602460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661120c57600e54602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111c691906148cb565b1115611207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fe9061494b565b60405180910390fd5b611252565b600e54811115611251576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112489061494b565b60405180910390fd5b5b600161138b61126191906148cb565b81600f5461126f91906148cb565b106112af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a6906149dd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490614a49565b60405180910390fd5b61132561228a565b8161132e612264565b6113389190614340565b3414611379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137090614ab5565b60405180910390fd5b60004390506000814060001c905060008467ffffffffffffffff8111156113a3576113a2613710565b5b6040519080825280602002602001820160405280156113d15781602001602082028036833780820191505090505b50905060008567ffffffffffffffff8111156113f0576113ef613710565b5b60405190808252806020026020018201604052801561141e5781602001602082028036833780820191505090505b50905060005b86811015611734576000670de0b6b3a764000085338460405160200161144c93929190614b3e565b6040516020818303038152906040528051906020012060001c61146f9190614b7b565b90506000806000905060005b60068110156114ec5760178160068110611498576114976142e2565b5b0154601182600681106114ae576114ad6142e2565b5b015410156114d9576114cb6001826114c691906148cb565b6122d9565b826114d691906148cb565b91505b80806114e4906144ba565b91505061147b565b5060008111611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790614bf8565b60405180910390fd5b60005b600681101561160357601781600681106115505761154f6142e2565b5b015460118260068110611566576115656142e2565b5b015410156115f057600061158560018361158091906148cb565b6122d9565b905082670de0b6b3a76400008261159c9190614340565b6115a691906143b1565b8510156115c2576001826115ba91906148cb565b935050611603565b82670de0b6b3a7640000826115d79190614340565b6115e191906143b1565b856115ec9190614c18565b9450505b80806115fb906144ba565b915050611533565b50600082118015611615575060068211155b611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b90614c98565b60405180910390fd5b600160116001846116659190614c18565b60068110611676576116756142e2565b5b01600082825461168691906148cb565b92505081905550818685815181106116a1576116a06142e2565b5b60200260200101818152505060018585815181106116c2576116c16142e2565b5b602002602001018181525050813373ffffffffffffffffffffffffffffffffffffffff167f96234cb3d6c373a1aaa06497a540bc166d4b0359243a088eaf95e21d7253d0be60016040516117169190614cf3565b60405180910390a3505050808061172c906144ba565b915050611424565b5085600f600082825461174791906148cb565b9250508190555085602360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461179d91906148cb565b925050819055506117bf338383604051806020016040528060008152506123c7565b505050506117cb6125f3565b5050565b6117d7611eb4565b60005b8151811015611868576001602460008484815181106117fc576117fb6142e2565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611860906144ba565b9150506117da565b5050565b8161187681612000565b61188083836125fd565b505050565b61188d611eb4565b80600c8190555050565b61189f611eb4565b600660006118ad919061336f565b600760006118bb9190613390565b6000825190508151835114611905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fc90614d80565b60405180910390fd5b60005b818110156119e3576006848281518110611925576119246142e2565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060078382815181106119a2576119a16142e2565b5b6020026020010151908060018154018082558091505060019003906000526020600020016000909190919091505580806119db906144ba565b915050611908565b50505050565b60246020528060005260406000206000915054906101000a900460ff1681565b6000806000600680549050905060005b81811015611a605760078181548110611a3557611a346142e2565b5b906000526020600020015483611a4b91906148cb565b92508080611a58906144ba565b915050611a19565b50819250505090565b61138b81565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b4157611b4033612000565b5b611b4e8686868686612613565b505050505050565b611b5e611eb4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc490614e12565b60405180910390fd5b611bd68161219e565b50565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c779190613dbf565b602060405180830381865afa158015611c94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb89190614e47565b90506000806000611cc7611a09565b90506000600680549050905060005b81811015611e0c5760068181548110611cf257611cf16142e2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16945060078181548110611d3357611d326142e2565b5b90600052602060002001549350600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308786888b611d8d9190614340565b611d9791906143b1565b6040518463ffffffff1660e01b8152600401611db593929190614e74565b6020604051808303816000875af1158015611dd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df89190614ec0565b508080611e04906144ba565b915050611cd6565b50505050505050565b611e1d611eb4565b80600e8190555050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ebc6126b4565b73ffffffffffffffffffffffffffffffffffffffff16611eda610fc6565b73ffffffffffffffffffffffffffffffffffffffff1614611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790614f39565b60405180910390fd5b565b606060006001611f41846126bc565b01905060008167ffffffffffffffff811115611f6057611f5f613710565b5b6040519080825280601f01601f191660200182016040528015611f925781602001600182028036833780820191505090505b509050600082602001820190505b600115611ff5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611fe957611fe8614382565b5b04945060008503611fa0575b819350505050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156120fa576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612077929190614f59565b602060405180830381865afa158015612094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b89190614ec0565b6120f957806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120f09190613dbf565b60405180910390fd5b5b50565b6121056126b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061214b575061214a856121456126b4565b611a6f565b5b61218a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218190614ff4565b60405180910390fd5b612197858585858561280f565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600d54600f54111561227d57600b549050612283565b600c5490505b8091505090565b6002600454036122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c690615060565b60405180910390fd5b6002600481905550565b6000600682101561239d57600060116001846122f59190614c18565b60068110612306576123056142e2565b5b015460176001856123179190614c18565b60068110612328576123276142e2565b5b01546123349190614c18565b9050600060176001856123479190614c18565b60068110612358576123576142e2565b5b015482601d60018761236a9190614c18565b6006811061237b5761237a6142e2565b5b01546123879190614340565b61239191906143b1565b905080925050506123c2565b601d6001836123ac9190614c18565b600681106123bd576123bc6142e2565b5b015490505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242d906150f2565b60405180910390fd5b815183511461247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190615184565b60405180910390fd5b60006124846126b4565b905061249581600087878787612b30565b60005b845181101561254e578381815181106124b4576124b36142e2565b5b60200260200101516000808784815181106124d2576124d16142e2565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461253491906148cb565b925050819055508080612546906144ba565b915050612498565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125c69291906151a4565b60405180910390a46125dd81600087878787612b38565b6125ec81600087878787612b40565b5050505050565b6001600481905550565b61260f6126086126b4565b8383612d17565b5050565b61261b6126b4565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061266157506126608561265b6126b4565b611a6f565b5b6126a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269790614ff4565b60405180910390fd5b6126ad8585858585612e83565b5050505050565b600033905090565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061271a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816127105761270f614382565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612757576d04ee2d6d415b85acef8100000000838161274d5761274c614382565b5b0492506020810190505b662386f26fc10000831061278657662386f26fc10000838161277c5761277b614382565b5b0492506010810190505b6305f5e10083106127af576305f5e10083816127a5576127a4614382565b5b0492506008810190505b61271083106127d45761271083816127ca576127c9614382565b5b0492506004810190505b606483106127f757606483816127ed576127ec614382565b5b0492506002810190505b600a8310612806576001810190505b80915050919050565b8151835114612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90615184565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b99061524d565b60405180910390fd5b60006128cc6126b4565b90506128dc818787878787612b30565b60005b8451811015612a8d5760008582815181106128fd576128fc6142e2565b5b60200260200101519050600085838151811061291c5761291b6142e2565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906152df565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a7291906148cb565b9250508190555050505080612a86906144ba565b90506128df565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b049291906151a4565b60405180910390a4612b1a818787878787612b38565b612b28818787878787612b40565b505050505050565b505050505050565b505050505050565b612b5f8473ffffffffffffffffffffffffffffffffffffffff16611e27565b15612d0f578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ba5959493929190615354565b6020604051808303816000875af1925050508015612be157506040513d601f19601f82011682018060405250810190612bde91906153d1565b60015b612c8657612bed61540b565b806308c379a003612c495750612c0161542d565b80612c0c5750612c4b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4091906136bc565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d9061552f565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d04906155c1565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90615653565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e7691906135b8565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee99061524d565b60405180910390fd5b6000612efc6126b4565b90506000612f098561311e565b90506000612f168561311e565b9050612f26838989858589612b30565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb4906152df565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461307291906148cb565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516130ef929190615673565b60405180910390a4613105848a8a86868a612b38565b613113848a8a8a8a8a613198565b505050505050505050565b60606000600167ffffffffffffffff81111561313d5761313c613710565b5b60405190808252806020026020018201604052801561316b5781602001602082028036833780820191505090505b5090508281600081518110613183576131826142e2565b5b60200260200101818152505080915050919050565b6131b78473ffffffffffffffffffffffffffffffffffffffff16611e27565b15613367578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016131fd95949392919061569c565b6020604051808303816000875af192505050801561323957506040513d601f19601f8201168201806040525081019061323691906153d1565b60015b6132de5761324561540b565b806308c379a0036132a1575061325961542d565b8061326457506132a3565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329891906136bc565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d59061552f565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335c906155c1565b60405180910390fd5b505b505050505050565b508054600082559060005260206000209081019061338d91906133b1565b50565b50805460008255906000526020600020908101906133ae91906133b1565b50565b5b808211156133ca5760008160009055506001016133b2565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133f9826133ce565b9050919050565b613409816133ee565b82525050565b6000819050919050565b6134228161340f565b82525050565b600060408201905061343d6000830185613400565b61344a6020830184613419565b9392505050565b6000604051905090565b600080fd5b600080fd5b61346e816133ee565b811461347957600080fd5b50565b60008135905061348b81613465565b92915050565b61349a8161340f565b81146134a557600080fd5b50565b6000813590506134b781613491565b92915050565b600080604083850312156134d4576134d361345b565b5b60006134e28582860161347c565b92505060206134f3858286016134a8565b9150509250929050565b60006020820190506135126000830184613419565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61354d81613518565b811461355857600080fd5b50565b60008135905061356a81613544565b92915050565b6000602082840312156135865761358561345b565b5b60006135948482850161355b565b91505092915050565b60008115159050919050565b6135b28161359d565b82525050565b60006020820190506135cd60008301846135a9565b92915050565b6135dc8161359d565b81146135e757600080fd5b50565b6000813590506135f9816135d3565b92915050565b6000602082840312156136155761361461345b565b5b6000613623848285016135ea565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561366657808201518184015260208101905061364b565b60008484015250505050565b6000601f19601f8301169050919050565b600061368e8261362c565b6136988185613637565b93506136a8818560208601613648565b6136b181613672565b840191505092915050565b600060208201905081810360008301526136d68184613683565b905092915050565b6000602082840312156136f4576136f361345b565b5b6000613702848285016134a8565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374882613672565b810181811067ffffffffffffffff8211171561376757613766613710565b5b80604052505050565b600061377a613451565b9050613786828261373f565b919050565b600067ffffffffffffffff8211156137a6576137a5613710565b5b602082029050602081019050919050565b600080fd5b60006137cf6137ca8461378b565b613770565b905080838252602082019050602084028301858111156137f2576137f16137b7565b5b835b8181101561381b578061380788826134a8565b8452602084019350506020810190506137f4565b5050509392505050565b600082601f83011261383a5761383961370b565b5b813561384a8482602086016137bc565b91505092915050565b600080fd5b600067ffffffffffffffff82111561387357613872613710565b5b61387c82613672565b9050602081019050919050565b82818337600083830152505050565b60006138ab6138a684613858565b613770565b9050828152602081018484840111156138c7576138c6613853565b5b6138d2848285613889565b509392505050565b600082601f8301126138ef576138ee61370b565b5b81356138ff848260208601613898565b91505092915050565b600080600080600060a086880312156139245761392361345b565b5b60006139328882890161347c565b95505060206139438882890161347c565b945050604086013567ffffffffffffffff81111561396457613963613460565b5b61397088828901613825565b935050606086013567ffffffffffffffff81111561399157613990613460565b5b61399d88828901613825565b925050608086013567ffffffffffffffff8111156139be576139bd613460565b5b6139ca888289016138da565b9150509295509295909350565b6000819050919050565b60006139fc6139f76139f2846133ce565b6139d7565b6133ce565b9050919050565b6000613a0e826139e1565b9050919050565b6000613a2082613a03565b9050919050565b613a3081613a15565b82525050565b6000602082019050613a4b6000830184613a27565b92915050565b600067ffffffffffffffff821115613a6c57613a6b613710565b5b602082029050602081019050919050565b6000613a90613a8b84613a51565b613770565b90508083825260208201905060208402830185811115613ab357613ab26137b7565b5b835b81811015613adc5780613ac8888261347c565b845260208401935050602081019050613ab5565b5050509392505050565b600082601f830112613afb57613afa61370b565b5b8135613b0b848260208601613a7d565b91505092915050565b60008060408385031215613b2b57613b2a61345b565b5b600083013567ffffffffffffffff811115613b4957613b48613460565b5b613b5585828601613ae6565b925050602083013567ffffffffffffffff811115613b7657613b75613460565b5b613b8285828601613825565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613bc18161340f565b82525050565b6000613bd38383613bb8565b60208301905092915050565b6000602082019050919050565b6000613bf782613b8c565b613c018185613b97565b9350613c0c83613ba8565b8060005b83811015613c3d578151613c248882613bc7565b9750613c2f83613bdf565b925050600181019050613c10565b5085935050505092915050565b60006020820190508181036000830152613c648184613bec565b905092915050565b600067ffffffffffffffff821115613c8757613c86613710565b5b613c9082613672565b9050602081019050919050565b6000613cb0613cab84613c6c565b613770565b905082815260208101848484011115613ccc57613ccb613853565b5b613cd7848285613889565b509392505050565b600082601f830112613cf457613cf361370b565b5b8135613d04848260208601613c9d565b91505092915050565b600060208284031215613d2357613d2261345b565b5b600082013567ffffffffffffffff811115613d4157613d40613460565b5b613d4d84828501613cdf565b91505092915050565b6000613d61826133ce565b9050919050565b613d7181613d56565b82525050565b6000602082019050613d8c6000830184613d68565b92915050565b600060208284031215613da857613da761345b565b5b6000613db68482850161347c565b91505092915050565b6000602082019050613dd46000830184613400565b92915050565b600060208284031215613df057613def61345b565b5b600082013567ffffffffffffffff811115613e0e57613e0d613460565b5b613e1a84828501613ae6565b91505092915050565b60008060408385031215613e3a57613e3961345b565b5b6000613e488582860161347c565b9250506020613e59858286016135ea565b9150509250929050565b600067ffffffffffffffff821115613e7e57613e7d613710565b5b602082029050602081019050919050565b613e9881613d56565b8114613ea357600080fd5b50565b600081359050613eb581613e8f565b92915050565b6000613ece613ec984613e63565b613770565b90508083825260208201905060208402830185811115613ef157613ef06137b7565b5b835b81811015613f1a5780613f068882613ea6565b845260208401935050602081019050613ef3565b5050509392505050565b600082601f830112613f3957613f3861370b565b5b8135613f49848260208601613ebb565b91505092915050565b60008060408385031215613f6957613f6861345b565b5b600083013567ffffffffffffffff811115613f8757613f86613460565b5b613f9385828601613f24565b925050602083013567ffffffffffffffff811115613fb457613fb3613460565b5b613fc085828601613825565b9150509250929050565b60008060408385031215613fe157613fe061345b565b5b6000613fef8582860161347c565b92505060206140008582860161347c565b9150509250929050565b600080600080600060a086880312156140265761402561345b565b5b60006140348882890161347c565b95505060206140458882890161347c565b9450506040614056888289016134a8565b9350506060614067888289016134a8565b925050608086013567ffffffffffffffff81111561408857614087613460565b5b614094888289016138da565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b60006140fd602a83613637565b9150614108826140a1565b604082019050919050565b6000602082019050818103600083015261412c816140f0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061417a57607f821691505b60208210810361418d5761418c614133565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546141c081614162565b6141ca8186614193565b945060018216600081146141e557600181146141fa5761422d565b60ff198316865281151582028601935061422d565b6142038561419e565b60005b8381101561422557815481890152600182019150602081019050614206565b838801955050505b50505092915050565b60006142418261362c565b61424b8185614193565b935061425b818560208601613648565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061429d600583614193565b91506142a882614267565b600582019050919050565b60006142bf82856141b3565b91506142cb8284614236565b91506142d682614290565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061434b8261340f565b91506143568361340f565b92508282026143648161340f565b9150828204841483151761437b5761437a614311565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143bc8261340f565b91506143c78361340f565b9250826143d7576143d6614382565b5b828204905092915050565b600081905092915050565b50565b60006143fd6000836143e2565b9150614408826143ed565b600082019050919050565b600061441e826143f0565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614484603a83613637565b915061448f82614428565b604082019050919050565b600060208201905081810360008301526144b381614477565b9050919050565b60006144c58261340f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144f7576144f6614311565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061455e602983613637565b915061456982614502565b604082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026145e17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145a4565b6145eb86836145a4565b95508019841693508086168417925050509392505050565b600061461e6146196146148461340f565b6139d7565b61340f565b9050919050565b6000819050919050565b61463883614603565b61464c61464482614625565b8484546145b1565b825550505050565b600090565b614661614654565b61466c81848461462f565b505050565b5b8181101561469057614685600082614659565b600181019050614672565b5050565b601f8211156146d5576146a68161419e565b6146af84614594565b810160208510156146be578190505b6146d26146ca85614594565b830182614671565b50505b505050565b600082821c905092915050565b60006146f8600019846008026146da565b1980831691505092915050565b600061471183836146e7565b9150826002028217905092915050565b61472a8261362c565b67ffffffffffffffff81111561474357614742613710565b5b61474d8254614162565b614758828285614694565b600060209050601f83116001811461478b5760008415614779578287015190505b6147838582614705565b8655506147eb565b601f1984166147998661419e565b60005b828110156147c15784890151825560018201915060208501945060208101905061479c565b868310156147de57848901516147da601f8916826146e7565b8355505b6001600288020188555050505b505050505050565b7f436f6e7472616374206973207061757365642e00000000000000000000000000600082015250565b6000614829601383613637565b9150614834826147f3565b602082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f600082015250565b6000614895602083613637565b91506148a08261485f565b602082019050919050565b600060208201905081810360008301526148c481614888565b9050919050565b60006148d68261340f565b91506148e18361340f565b92508282019050808211156148f9576148f8614311565b5b92915050565b7f596f752063616e74206d696e742074686174206d616e792e0000000000000000600082015250565b6000614935601883613637565b9150614940826148ff565b602082019050919050565b6000602082019050818103600083015261496481614928565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460008201527f686174206d616e792e0000000000000000000000000000000000000000000000602082015250565b60006149c7602983613637565b91506149d28261496b565b604082019050919050565b600060208201905081810360008301526149f6816149ba565b9050919050565b7f4e6f20636f6e7472616374732100000000000000000000000000000000000000600082015250565b6000614a33600d83613637565b9150614a3e826149fd565b602082019050919050565b60006020820190508181036000830152614a6281614a26565b9050919050565b7f496e636f7272656374206d696e74206665650000000000000000000000000000600082015250565b6000614a9f601283613637565b9150614aaa82614a69565b602082019050919050565b60006020820190508181036000830152614ace81614a92565b9050919050565b6000819050919050565b614af0614aeb8261340f565b614ad5565b82525050565b60008160601b9050919050565b6000614b0e82614af6565b9050919050565b6000614b2082614b03565b9050919050565b614b38614b33826133ee565b614b15565b82525050565b6000614b4a8286614adf565b602082019150614b5a8285614b27565b601482019150614b6a8284614adf565b602082019150819050949350505050565b6000614b868261340f565b9150614b918361340f565b925082614ba157614ba0614382565b5b828206905092915050565b7f416c6c20746f6b656e732068617665206265656e206d696e7465640000000000600082015250565b6000614be2601b83613637565b9150614bed82614bac565b602082019050919050565b60006020820190508181036000830152614c1181614bd5565b9050919050565b6000614c238261340f565b9150614c2e8361340f565b9250828203905081811115614c4657614c45614311565b5b92915050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b6000614c82601083613637565b9150614c8d82614c4c565b602082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b6000819050919050565b6000614cdd614cd8614cd384614cb8565b6139d7565b61340f565b9050919050565b614ced81614cc2565b82525050565b6000602082019050614d086000830184614ce4565b92915050565b7f6e756d626572206f66206e657720706179656573206d757374206d617463682060008201527f6e756d626572206f66206e657720736861726573000000000000000000000000602082015250565b6000614d6a603483613637565b9150614d7582614d0e565b604082019050919050565b60006020820190508181036000830152614d9981614d5d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614dfc602683613637565b9150614e0782614da0565b604082019050919050565b60006020820190508181036000830152614e2b81614def565b9050919050565b600081519050614e4181613491565b92915050565b600060208284031215614e5d57614e5c61345b565b5b6000614e6b84828501614e32565b91505092915050565b6000606082019050614e896000830186613400565b614e966020830185613400565b614ea36040830184613419565b949350505050565b600081519050614eba816135d3565b92915050565b600060208284031215614ed657614ed561345b565b5b6000614ee484828501614eab565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f23602083613637565b9150614f2e82614eed565b602082019050919050565b60006020820190508181036000830152614f5281614f16565b9050919050565b6000604082019050614f6e6000830185613400565b614f7b6020830184613400565b9392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614fde602e83613637565b9150614fe982614f82565b604082019050919050565b6000602082019050818103600083015261500d81614fd1565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061504a601f83613637565b915061505582615014565b602082019050919050565b600060208201905081810360008301526150798161503d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006150dc602183613637565b91506150e782615080565b604082019050919050565b6000602082019050818103600083015261510b816150cf565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061516e602883613637565b915061517982615112565b604082019050919050565b6000602082019050818103600083015261519d81615161565b9050919050565b600060408201905081810360008301526151be8185613bec565b905081810360208301526151d28184613bec565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615237602583613637565b9150615242826151db565b604082019050919050565b600060208201905081810360008301526152668161522a565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006152c9602a83613637565b91506152d48261526d565b604082019050919050565b600060208201905081810360008301526152f8816152bc565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615326826152ff565b615330818561530a565b9350615340818560208601613648565b61534981613672565b840191505092915050565b600060a0820190506153696000830188613400565b6153766020830187613400565b81810360408301526153888186613bec565b9050818103606083015261539c8185613bec565b905081810360808301526153b0818461531b565b90509695505050505050565b6000815190506153cb81613544565b92915050565b6000602082840312156153e7576153e661345b565b5b60006153f5848285016153bc565b91505092915050565b60008160e01c9050919050565b600060033d111561542a5760046000803e6154276000516153fe565b90505b90565b600060443d106154ba5761543f613451565b60043d036004823e80513d602482011167ffffffffffffffff821117156154675750506154ba565b808201805167ffffffffffffffff81111561548557505050506154ba565b80602083010160043d0385018111156154a25750505050506154ba565b6154b18260200185018661373f565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615519603483613637565b9150615524826154bd565b604082019050919050565b600060208201905081810360008301526155488161550c565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006155ab602883613637565b91506155b68261554f565b604082019050919050565b600060208201905081810360008301526155da8161559e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061563d602983613637565b9150615648826155e1565b604082019050919050565b6000602082019050818103600083015261566c81615630565b9050919050565b60006040820190506156886000830185613419565b6156956020830184613419565b9392505050565b600060a0820190506156b16000830188613400565b6156be6020830187613400565b6156cb6040830186613419565b6156d86060830185613419565b81810360808301526156ea818461531b565b9050969550505050505056fea2646970667358221220debfa24cff1f543b530965cab03f338c9c5812e250285c66e4da48a0404cf16364736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000028
-----Decoded View---------------
Arg [0] : _tokenIds (uint256[]): 1,2,3,4,5
Arg [1] : _amounts (uint256[]): 40,40,40,40,40
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000028
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.