Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 643 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21113439 | 55 days ago | IN | 0 ETH | 0.00023706 | ||||
Set Approval For... | 20926513 | 81 days ago | IN | 0 ETH | 0.00049558 | ||||
Set Approval For... | 20910368 | 83 days ago | IN | 0 ETH | 0.00050833 | ||||
Set Approval For... | 19237789 | 317 days ago | IN | 0 ETH | 0.00092424 | ||||
Set Approval For... | 19003674 | 350 days ago | IN | 0 ETH | 0.00104515 | ||||
Set Approval For... | 18183871 | 465 days ago | IN | 0 ETH | 0.00055597 | ||||
Transfer From | 18056445 | 482 days ago | IN | 0 ETH | 0.00154945 | ||||
Set Approval For... | 18036508 | 485 days ago | IN | 0 ETH | 0.00143797 | ||||
Set Approval For... | 17052123 | 624 days ago | IN | 0 ETH | 0.00125607 | ||||
Transfer From | 16994542 | 632 days ago | IN | 0 ETH | 0.00190542 | ||||
Transfer From | 16994534 | 632 days ago | IN | 0 ETH | 0.00158733 | ||||
Transfer From | 16994526 | 632 days ago | IN | 0 ETH | 0.00166713 | ||||
Transfer From | 16994519 | 632 days ago | IN | 0 ETH | 0.00169938 | ||||
Transfer From | 16968707 | 635 days ago | IN | 0 ETH | 0.00209017 | ||||
Set Approval For... | 16641491 | 681 days ago | IN | 0 ETH | 0.00139842 | ||||
Set Approval For... | 16628054 | 683 days ago | IN | 0 ETH | 0.0020987 | ||||
Set Approval For... | 16587333 | 689 days ago | IN | 0 ETH | 0.00153887 | ||||
Set Approval For... | 16404856 | 715 days ago | IN | 0 ETH | 0.00073587 | ||||
Set Approval For... | 16190495 | 744 days ago | IN | 0 ETH | 0.00094483 | ||||
Safe Transfer Fr... | 16137175 | 752 days ago | IN | 0 ETH | 0.00144019 | ||||
Set Approval For... | 16100966 | 757 days ago | IN | 0 ETH | 0.00050306 | ||||
Set Approval For... | 15618301 | 824 days ago | IN | 0 ETH | 0.00098171 | ||||
Set Approval For... | 15602860 | 827 days ago | IN | 0 ETH | 0.00026081 | ||||
Set Approval For... | 15579867 | 830 days ago | IN | 0 ETH | 0.00017499 | ||||
Set Approval For... | 15501302 | 842 days ago | IN | 0 ETH | 0.0008289 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
AlphaPass
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Address.sol"; import "./CollaborativeOwnable.sol"; import "./ERC721Enumerable.sol"; import "./IERC20.sol"; import "./IOwlToken.sol"; import "./MerkleProof.sol"; import "./ProxyRegistry.sol"; import "./ReentrancyGuard.sol"; import "./SafeMath.sol"; import "./Strings.sol"; contract AlphaPass is ERC721Enumerable, CollaborativeOwnable, ReentrancyGuard { using SafeMath for uint256; using Address for address; using Strings for uint256; uint256 public maxSupply = 400; string public baseURI = ""; address public proxyRegistryAddress = address(0); address public owlTokenAddress = address(0); uint256 public tokenMintPrice = 300 ether; bool public tokenMintIsActive = false; mapping(address => uint256) public lastMint; uint32 public mintCooldown = 172800; mapping(address => bool) public prepaidMinted; bytes32 public prepaidMerkleRoot; uint16 public reservedForPrepaid = 0; bool public prepaidMintIsActive = false; constructor(address _proxyRegistryAddress) ERC721("Moon Pass", "MOON") { proxyRegistryAddress = _proxyRegistryAddress; } // // Public / External // function remainingForMint() public view returns (uint256) { uint256 ts = totalSupply(); uint256 available = maxSupply.sub(ts.add(reservedForPrepaid)); return available; } function prepaidMint(bytes32[] calldata merkleProof) external nonReentrant { require(prepaidMintIsActive); require(!prepaidMinted[_msgSender()]); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(merkleProof, prepaidMerkleRoot, leaf)); uint256 ts = totalSupply(); require(ts.add(1) <= maxSupply); _safeMint(_msgSender(), ts); prepaidMinted[_msgSender()] = true; reservedForPrepaid--; } function mintWithTokens() external nonReentrant { require(tokenMintIsActive); require(remainingForMint() > 0); uint256 elapsedTime = block.timestamp - lastMint[_msgSender()]; require(elapsedTime >= mintCooldown, "cooldown"); IOwlToken(owlTokenAddress).redeemTokens(_msgSender(), tokenMintPrice); uint256 ts = totalSupply(); _safeMint(_msgSender(), ts); lastMint[_msgSender()] = block.timestamp; } // Override ERC721 function _baseURI() internal view override returns (string memory) { return baseURI; } // Override ERC721 function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId)); string memory __baseURI = _baseURI(); return bytes(__baseURI).length > 0 ? string(abi.encodePacked(__baseURI, tokenId.toString(), ".json")) : '.json'; } // Override ERC721 function isApprovedForAll(address owner, address operator) override public view returns (bool) { if (address(proxyRegistryAddress) != address(0)) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } } return super.isApprovedForAll(owner, operator); } // // Collaborator Access // function airDrop(address to) external onlyCollaborator { require(to != address(0)); require(remainingForMint() > 0); uint256 ts = totalSupply(); _safeMint(to, ts); } function setBaseURI(string memory uri) external onlyCollaborator { baseURI = uri; } function reduceMaxSupply(uint256 newMaxSupply) external onlyCollaborator { require(newMaxSupply >= 0 && newMaxSupply < maxSupply); require(newMaxSupply >= totalSupply()); maxSupply = newMaxSupply; } function setTokenMintIsActive(bool active) external onlyCollaborator { tokenMintIsActive = active; } function setTokenMintPrice(uint256 newPrice) external onlyCollaborator { tokenMintPrice = newPrice; } function setPrepaidMintIsActive(bool active) external onlyCollaborator { prepaidMintIsActive = active; } function setProxyRegistryAddress(address prAddress) external onlyCollaborator { proxyRegistryAddress = prAddress; } function setOwlTokenAddress(address newAddress) external onlyCollaborator { owlTokenAddress = newAddress; } function setMintCooldown(uint32 cooldown) external onlyCollaborator { mintCooldown = cooldown; } function setPrepaidMerkleRoot(bytes32 newRoot, uint16 newReserved) external onlyCollaborator { require(newReserved <= maxSupply); prepaidMerkleRoot = newRoot; reservedForPrepaid = newReserved; } function withdraw() external onlyCollaborator nonReentrant { uint256 balance = address(this).balance; payable(owner()).transfer(balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // 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 pragma solidity ^0.8.0; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IOwlToken { function redeemTokens(address addr, uint256 amount) external; function onNightOwlTransfer(address from, address to) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner)); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply()); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0)); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0)); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId)); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender())); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId)); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId)); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId)); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data)); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId)); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data)); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0)); require(!_exists(tokenId)); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from); require(to != address(0)); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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 pragma solidity ^0.8.0; import "./Ownable.sol"; import "./Address.sol"; abstract contract CollaborativeOwnable is Ownable { using Address for address; mapping(address => bool) private _collaborators; uint256 private _collaboratorCount; constructor() { } function isCollaborator(address collaboratorAddress) public view virtual returns (bool) { return _collaborators[collaboratorAddress]; } modifier onlyCollaborator() { require(owner() == _msgSender() || _collaborators[_msgSender()], "CO1"); _; } function addCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO2"); require(!_collaborators[collaboratorAddress], "CO3"); _collaborators[collaboratorAddress] = true; _collaboratorCount++; } function removeCollaborator(address collaboratorAddress) public onlyCollaborator { require(collaboratorAddress != address(0), "CO4"); require(_collaborators[collaboratorAddress], "CO4"); require(_collaboratorCount > 1, "CO4"); _collaborators[collaboratorAddress] = false; _collaboratorCount--; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 20000 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"addCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"isCollaborator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCooldown","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintWithTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owlTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prepaidMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"prepaidMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"prepaidMintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"prepaidMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"reduceMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"remainingForMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collaboratorAddress","type":"address"}],"name":"removeCollaborator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedForPrepaid","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"cooldown","type":"uint32"}],"name":"setMintCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setOwlTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"},{"internalType":"uint16","name":"newReserved","type":"uint16"}],"name":"setPrepaidMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setPrepaidMintIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"prAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setTokenMintIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenMintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610190600e5560405180602001604052806000815250600f9080519060200190620000319291906200034c565b506000601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550681043561a88293000006012556000601360006101000a81548160ff0219169083151502179055506202a300601560006101000a81548163ffffffff021916908363ffffffff1602179055506000601860006101000a81548161ffff021916908361ffff1602179055506000601860026101000a81548160ff0219169083151502179055503480156200014857600080fd5b506040516200525c3803806200525c83398181016040528101906200016e919062000466565b6040518060400160405280600981526020017f4d6f6f6e205061737300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d4f4f4e000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001f29291906200034c565b5080600190805190602001906200020b9291906200034c565b5050506200022e620002226200027e60201b60201c565b6200028660201b60201c565b6001600d8190555080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620004fd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200035a90620004c7565b90600052602060002090601f0160209004810192826200037e5760008555620003ca565b82601f106200039957805160ff1916838001178555620003ca565b82800160010185558215620003ca579182015b82811115620003c9578251825591602001919060010190620003ac565b5b509050620003d99190620003dd565b5090565b5b80821115620003f8576000816000905550600101620003de565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042e8262000401565b9050919050565b620004408162000421565b81146200044c57600080fd5b50565b600081519050620004608162000435565b92915050565b6000602082840312156200047f576200047e620003fc565b5b60006200048f848285016200044f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004e057607f821691505b60208210811415620004f757620004f662000498565b5b50919050565b614d4f806200050d6000396000f3fe608060405234801561001057600080fd5b50600436106103205760003560e01c806370a08231116101a7578063b88d4fde116100ee578063cd7c032611610097578063e985e9c511610071578063e985e9c5146108c1578063ee483f72146108f1578063f2fde38b1461090d57610320565b8063cd7c032614610869578063d26ea6c014610887578063d5abeb01146108a357610320565b8063c9c496c6116100c8578063c9c496c614610827578063ccdbe6a614610831578063cd18d5a41461084d57610320565b8063b88d4fde146107bd578063c83be22b146107d9578063c87b56dd146107f757610320565b8063a22cb46511610150578063ac8f1e061161012a578063ac8f1e0614610753578063adc20b1c14610771578063b1760b4c146107a157610320565b8063a22cb465146106fd578063a2dfe7b514610719578063a49a7a201461073557610320565b80638d5307b3116101815780638d5307b3146106a55780638da5cb5b146106c157806395d89b41146106df57610320565b806370a082311461064f578063715018a61461067f578063735328021461068957610320565b80633109c19d1161026b57806349aeaf16116102145780636352211e116101ee5780636352211e146105d15780636af8c4e7146106015780636c0360eb1461063157610320565b806349aeaf16146105675780634f6ccce71461058557806355f804b3146105b557610320565b80633ccfd60b116102455780633ccfd60b1461052357806341a098c21461052d57806342842e0e1461054b57610320565b80633109c19d146104cf578063369e40b3146104eb5780633c3f9f341461050757610320565b806318160ddd116102cd57806323b872dd116102a757806323b872dd146104675780632942275f146104835780632f745c591461049f57610320565b806318160ddd1461040d5780631e23e36c1461042b5780632000d4301461044957610320565b8063081812fc116102fe578063081812fc14610391578063095ea7b3146103c15780630c037a83146103dd57610320565b806301ffc9a71461032557806306bf30511461035557806306fdde0314610373575b600080fd5b61033f600480360381019061033a9190613b37565b610929565b60405161034c9190613b7f565b60405180910390f35b61035d6109a3565b60405161036a9190613bb7565b60405180910390f35b61037b6109b7565b6040516103889190613c6b565b60405180910390f35b6103ab60048036038101906103a69190613cc3565b610a49565b6040516103b89190613d31565b60405180910390f35b6103db60048036038101906103d69190613d78565b610a98565b005b6103f760048036038101906103f29190613db8565b610b44565b6040516104049190613b7f565b60405180910390f35b610415610b64565b6040516104229190613df4565b60405180910390f35b610433610b71565b6040516104409190613d31565b60405180910390f35b610451610b97565b60405161045e9190613e2e565b60405180910390f35b610481600480360381019061047c9190613e49565b610bad565b005b61049d60048036038101906104989190613f01565b610bd7565b005b6104b960048036038101906104b49190613d78565b610dd6565b6040516104c69190613df4565b60405180910390f35b6104e960048036038101906104e49190613db8565b610e45565b005b61050560048036038101906105009190613fb0565b6110d0565b005b610521600480360381019061051c919061401c565b6111e2565b005b61052b6112dd565b005b61053561142a565b6040516105429190613b7f565b60405180910390f35b61056560048036038101906105609190613e49565b61143d565b005b61056f61145d565b60405161057c9190613df4565b60405180910390f35b61059f600480360381019061059a9190613cc3565b611463565b6040516105ac9190613df4565b60405180910390f35b6105cf60048036038101906105ca9190614179565b61149e565b005b6105eb60048036038101906105e69190613cc3565b61158f565b6040516105f89190613d31565b60405180910390f35b61061b60048036038101906106169190613db8565b61160b565b6040516106289190613b7f565b60405180910390f35b610639611661565b6040516106469190613c6b565b60405180910390f35b61066960048036038101906106649190613db8565b6116ef565b6040516106769190613df4565b60405180910390f35b610687611771565b005b6106a3600480360381019061069e9190613cc3565b6117f9565b005b6106bf60048036038101906106ba91906141ee565b611909565b005b6106c96119fd565b6040516106d69190613d31565b60405180910390f35b6106e7611a27565b6040516106f49190613c6b565b60405180910390f35b6107176004803603810190610712919061421b565b611ab9565b005b610733600480360381019061072e9190613cc3565b611acf565b005b61073d611bb0565b60405161074a9190613df4565b60405180910390f35b61075b611c04565b6040516107689190613b7f565b60405180910390f35b61078b60048036038101906107869190613db8565b611c17565b6040516107989190613df4565b60405180910390f35b6107bb60048036038101906107b691906141ee565b611c2f565b005b6107d760048036038101906107d291906142fc565b611d23565b005b6107e1611d4f565b6040516107ee919061438e565b60405180910390f35b610811600480360381019061080c9190613cc3565b611d55565b60405161081e9190613c6b565b60405180910390f35b61082f611dec565b005b61084b60048036038101906108469190613db8565b611fee565b005b61086760048036038101906108629190613db8565b612235565b005b610871612374565b60405161087e9190613d31565b60405180910390f35b6108a1600480360381019061089c9190613db8565b61239a565b005b6108ab6124b5565b6040516108b89190613df4565b60405180910390f35b6108db60048036038101906108d691906143a9565b6124bb565b6040516108e89190613b7f565b60405180910390f35b61090b60048036038101906109069190613db8565b612605565b005b61092760048036038101906109229190613db8565b612720565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c575061099b82612818565b5b9050919050565b601860009054906101000a900461ffff1681565b6060600080546109c690614418565b80601f01602080910402602001604051908101604052809291908181526020018280546109f290614418565b8015610a3f5780601f10610a1457610100808354040283529160200191610a3f565b820191906000526020600020905b815481529060010190602001808311610a2257829003601f168201915b5050505050905090565b6000610a54826128fa565b610a5d57600080fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa38261158f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ade57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afd612966565b73ffffffffffffffffffffffffffffffffffffffff161480610b2c5750610b2b81610b26612966565b6124bb565b5b610b3557600080fd5b610b3f838361296e565b505050565b60166020528060005260406000206000915054906101000a900460ff1681565b6000600880549050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900463ffffffff1681565b610bbe610bb8612966565b82612a27565b610bc757600080fd5b610bd2838383612acf565b505050565b6002600d541415610be757600080fd5b6002600d81905550601860029054906101000a900460ff16610c0857600080fd5b60166000610c14612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c6657600080fd5b6000610c70612966565b604051602001610c809190614492565b604051602081830303815290604052805190602001209050610ce6838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060175483612cbf565b610cef57600080fd5b6000610cf9610b64565b9050600e54610d12600183612cd690919063ffffffff16565b1115610d1d57600080fd5b610d2e610d28612966565b82612cec565b600160166000610d3c612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506018600081819054906101000a900461ffff1680929190610dad906144dc565b91906101000a81548161ffff021916908361ffff1602179055505050506001600d819055505050565b6000610de1836116ef565b8210610dec57600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4d612966565b73ffffffffffffffffffffffffffffffffffffffff16610e6b6119fd565b73ffffffffffffffffffffffffffffffffffffffff161480610edd5750600b6000610e94612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1390614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906145be565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f906145be565b60405180910390fd5b6001600c541161105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611054906145be565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600c60008154809291906110c8906145de565b919050555050565b6110d8612966565b73ffffffffffffffffffffffffffffffffffffffff166110f66119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806111685750600b600061111f612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614552565b60405180910390fd5b600e548161ffff1611156111ba57600080fd5b8160178190555080601860006101000a81548161ffff021916908361ffff1602179055505050565b6111ea612966565b73ffffffffffffffffffffffffffffffffffffffff166112086119fd565b73ffffffffffffffffffffffffffffffffffffffff16148061127a5750600b6000611231612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090614552565b60405180910390fd5b80601560006101000a81548163ffffffff021916908363ffffffff16021790555050565b6112e5612966565b73ffffffffffffffffffffffffffffffffffffffff166113036119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806113755750600b600061132c612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab90614552565b60405180910390fd5b6002600d5414156113c457600080fd5b6002600d8190555060004790506113d96119fd565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561141e573d6000803e3d6000fd5b50506001600d81905550565b601360009054906101000a900460ff1681565b61145883838360405180602001604052806000815250611d23565b505050565b60125481565b600061146d610b64565b821061147857600080fd5b6008828154811061148c5761148b614608565b5b90600052602060002001549050919050565b6114a6612966565b73ffffffffffffffffffffffffffffffffffffffff166114c46119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806115365750600b60006114ed612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c90614552565b60405180910390fd5b80600f908051906020019061158b929190613a28565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561160257600080fd5b80915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600f805461166e90614418565b80601f016020809104026020016040519081016040528092919081815260200182805461169a90614418565b80156116e75780601f106116bc576101008083540402835291602001916116e7565b820191906000526020600020905b8154815290600101906020018083116116ca57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561172a57600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611779612966565b73ffffffffffffffffffffffffffffffffffffffff166117976119fd565b73ffffffffffffffffffffffffffffffffffffffff16146117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490614683565b60405180910390fd5b6117f76000612d0a565b565b611801612966565b73ffffffffffffffffffffffffffffffffffffffff1661181f6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806118915750600b6000611848612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790614552565b60405180910390fd5b600081101580156118e25750600e5481105b6118eb57600080fd5b6118f3610b64565b8110156118ff57600080fd5b80600e8190555050565b611911612966565b73ffffffffffffffffffffffffffffffffffffffff1661192f6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806119a15750600b6000611958612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d790614552565b60405180910390fd5b80601860026101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a3690614418565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6290614418565b8015611aaf5780601f10611a8457610100808354040283529160200191611aaf565b820191906000526020600020905b815481529060010190602001808311611a9257829003601f168201915b5050505050905090565b611acb611ac4612966565b8383612dd0565b5050565b611ad7612966565b73ffffffffffffffffffffffffffffffffffffffff16611af56119fd565b73ffffffffffffffffffffffffffffffffffffffff161480611b675750600b6000611b1e612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90614552565b60405180910390fd5b8060128190555050565b600080611bbb610b64565b90506000611bfa611be9601860009054906101000a900461ffff1661ffff1684612cd690919063ffffffff16565b600e54612f0790919063ffffffff16565b9050809250505090565b601860029054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b611c37612966565b73ffffffffffffffffffffffffffffffffffffffff16611c556119fd565b73ffffffffffffffffffffffffffffffffffffffff161480611cc75750600b6000611c7e612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90614552565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b611d34611d2e612966565b83612a27565b611d3d57600080fd5b611d4984848484612f1d565b50505050565b60175481565b6060611d60826128fa565b611d6957600080fd5b6000611d73612f43565b90506000815111611db9576040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250611de4565b80611dc384612fd5565b604051602001611dd492919061472b565b6040516020818303038152906040525b915050919050565b6002600d541415611dfc57600080fd5b6002600d81905550601360009054906101000a900460ff16611e1d57600080fd5b6000611e27611bb0565b11611e3157600080fd5b600060146000611e3f612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442611e85919061475a565b9050601560009054906101000a900463ffffffff1663ffffffff16811015611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed9906147da565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dad7f110611f28612966565b6012546040518363ffffffff1660e01b8152600401611f489291906147fa565b600060405180830381600087803b158015611f6257600080fd5b505af1158015611f76573d6000803e3d6000fd5b505050506000611f84610b64565b9050611f97611f91612966565b82612cec565b4260146000611fa4612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050506001600d81905550565b611ff6612966565b73ffffffffffffffffffffffffffffffffffffffff166120146119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806120865750600b600061203d612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c9061486f565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b9906148db565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600c600081548092919061222d906148fb565b919050555050565b61223d612966565b73ffffffffffffffffffffffffffffffffffffffff1661225b6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806122cd5750600b6000612284612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61230c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230390614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561234657600080fd5b6000612350611bb0565b1161235a57600080fd5b6000612364610b64565b90506123708282612cec565b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123a2612966565b73ffffffffffffffffffffffffffffffffffffffff166123c06119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806124325750600b60006123e9612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246890614552565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125f2576000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125899190613d31565b602060405180830381865afa1580156125a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ca9190614982565b73ffffffffffffffffffffffffffffffffffffffff1614156125f05760019150506125ff565b505b6125fc8383613136565b90505b92915050565b61260d612966565b73ffffffffffffffffffffffffffffffffffffffff1661262b6119fd565b73ffffffffffffffffffffffffffffffffffffffff16148061269d5750600b6000612654612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614552565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612728612966565b73ffffffffffffffffffffffffffffffffffffffff166127466119fd565b73ffffffffffffffffffffffffffffffffffffffff161461279c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279390614683565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561280c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280390614a21565b60405180910390fd5b61281581612d0a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128e357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128f357506128f2826131ca565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129e18361158f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a32826128fa565b612a3b57600080fd5b6000612a468361158f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ab557508373ffffffffffffffffffffffffffffffffffffffff16612a9d84610a49565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ac65750612ac581856124bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aef8261158f565b73ffffffffffffffffffffffffffffffffffffffff1614612b0f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4957600080fd5b612b54838383613234565b612b5f60008261296e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612baf919061475a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c069190614a41565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082612ccc8584613348565b1490509392505050565b60008183612ce49190614a41565b905092915050565b612d068282604051806020016040528060008152506133fb565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e0957600080fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612efa9190613b7f565b60405180910390a3505050565b60008183612f15919061475a565b905092915050565b612f28848484612acf565b612f3484848484613420565b612f3d57600080fd5b50505050565b6060600f8054612f5290614418565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7e90614418565b8015612fcb5780601f10612fa057610100808354040283529160200191612fcb565b820191906000526020600020905b815481529060010190602001808311612fae57829003601f168201915b5050505050905090565b6060600082141561301d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613131565b600082905060005b6000821461304f578080613038906148fb565b915050600a826130489190614ac6565b9150613025565b60008167ffffffffffffffff81111561306b5761306a61404e565b5b6040519080825280601f01601f19166020018201604052801561309d5781602001600182028036833780820191505090505b5090505b6000851461312a576001826130b6919061475a565b9150600a856130c59190614af7565b60306130d19190614a41565b60f81b8183815181106130e7576130e6614608565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131239190614ac6565b94506130a1565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61323f8383836135a8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132825761327d816135ad565b6132c1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132c0576132bf83826135f6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613304576132ff81613763565b613343565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613342576133418282613834565b5b5b505050565b60008082905060005b84518110156133f057600085828151811061336f5761336e614608565b5b602002602001015190508083116133b0578281604051602001613393929190614b49565b6040516020818303038152906040528051906020012092506133dc565b80836040516020016133c3929190614b49565b6040516020818303038152906040528051906020012092505b5080806133e8906148fb565b915050613351565b508091505092915050565b61340583836138b3565b6134126000848484613420565b61341b57600080fd5b505050565b60006134418473ffffffffffffffffffffffffffffffffffffffff16613a15565b1561359b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261346a612966565b8786866040518563ffffffff1660e01b815260040161348c9493929190614bca565b6020604051808303816000875af19250505080156134c857506040513d601f19601f820116820180604052508101906134c59190614c2b565b60015b61354b573d80600081146134f8576040519150601f19603f3d011682016040523d82523d6000602084013e6134fd565b606091505b50600081511415613543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353a90614cca565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135a0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613603846116ef565b61360d919061475a565b90506000600760008481526020019081526020016000205490508181146136f2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613777919061475a565b90506000600960008481526020019081526020016000205490506000600883815481106137a7576137a6614608565b5b9060005260206000200154905080600883815481106137c9576137c8614608565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061381857613817614cea565b5b6001900381819060005260206000200160009055905550505050565b600061383f836116ef565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138ed57600080fd5b6138f6816128fa565b1561390057600080fd5b61390c60008383613234565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461395c9190614a41565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613a3490614418565b90600052602060002090601f016020900481019282613a565760008555613a9d565b82601f10613a6f57805160ff1916838001178555613a9d565b82800160010185558215613a9d579182015b82811115613a9c578251825591602001919060010190613a81565b5b509050613aaa9190613aae565b5090565b5b80821115613ac7576000816000905550600101613aaf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1481613adf565b8114613b1f57600080fd5b50565b600081359050613b3181613b0b565b92915050565b600060208284031215613b4d57613b4c613ad5565b5b6000613b5b84828501613b22565b91505092915050565b60008115159050919050565b613b7981613b64565b82525050565b6000602082019050613b946000830184613b70565b92915050565b600061ffff82169050919050565b613bb181613b9a565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c0c578082015181840152602081019050613bf1565b83811115613c1b576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c3d82613bd2565b613c478185613bdd565b9350613c57818560208601613bee565b613c6081613c21565b840191505092915050565b60006020820190508181036000830152613c858184613c32565b905092915050565b6000819050919050565b613ca081613c8d565b8114613cab57600080fd5b50565b600081359050613cbd81613c97565b92915050565b600060208284031215613cd957613cd8613ad5565b5b6000613ce784828501613cae565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d1b82613cf0565b9050919050565b613d2b81613d10565b82525050565b6000602082019050613d466000830184613d22565b92915050565b613d5581613d10565b8114613d6057600080fd5b50565b600081359050613d7281613d4c565b92915050565b60008060408385031215613d8f57613d8e613ad5565b5b6000613d9d85828601613d63565b9250506020613dae85828601613cae565b9150509250929050565b600060208284031215613dce57613dcd613ad5565b5b6000613ddc84828501613d63565b91505092915050565b613dee81613c8d565b82525050565b6000602082019050613e096000830184613de5565b92915050565b600063ffffffff82169050919050565b613e2881613e0f565b82525050565b6000602082019050613e436000830184613e1f565b92915050565b600080600060608486031215613e6257613e61613ad5565b5b6000613e7086828701613d63565b9350506020613e8186828701613d63565b9250506040613e9286828701613cae565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613ec157613ec0613e9c565b5b8235905067ffffffffffffffff811115613ede57613edd613ea1565b5b602083019150836020820283011115613efa57613ef9613ea6565b5b9250929050565b60008060208385031215613f1857613f17613ad5565b5b600083013567ffffffffffffffff811115613f3657613f35613ada565b5b613f4285828601613eab565b92509250509250929050565b6000819050919050565b613f6181613f4e565b8114613f6c57600080fd5b50565b600081359050613f7e81613f58565b92915050565b613f8d81613b9a565b8114613f9857600080fd5b50565b600081359050613faa81613f84565b92915050565b60008060408385031215613fc757613fc6613ad5565b5b6000613fd585828601613f6f565b9250506020613fe685828601613f9b565b9150509250929050565b613ff981613e0f565b811461400457600080fd5b50565b60008135905061401681613ff0565b92915050565b60006020828403121561403257614031613ad5565b5b600061404084828501614007565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408682613c21565b810181811067ffffffffffffffff821117156140a5576140a461404e565b5b80604052505050565b60006140b8613acb565b90506140c4828261407d565b919050565b600067ffffffffffffffff8211156140e4576140e361404e565b5b6140ed82613c21565b9050602081019050919050565b82818337600083830152505050565b600061411c614117846140c9565b6140ae565b90508281526020810184848401111561413857614137614049565b5b6141438482856140fa565b509392505050565b600082601f8301126141605761415f613e9c565b5b8135614170848260208601614109565b91505092915050565b60006020828403121561418f5761418e613ad5565b5b600082013567ffffffffffffffff8111156141ad576141ac613ada565b5b6141b98482850161414b565b91505092915050565b6141cb81613b64565b81146141d657600080fd5b50565b6000813590506141e8816141c2565b92915050565b60006020828403121561420457614203613ad5565b5b6000614212848285016141d9565b91505092915050565b6000806040838503121561423257614231613ad5565b5b600061424085828601613d63565b9250506020614251858286016141d9565b9150509250929050565b600067ffffffffffffffff8211156142765761427561404e565b5b61427f82613c21565b9050602081019050919050565b600061429f61429a8461425b565b6140ae565b9050828152602081018484840111156142bb576142ba614049565b5b6142c68482856140fa565b509392505050565b600082601f8301126142e3576142e2613e9c565b5b81356142f384826020860161428c565b91505092915050565b6000806000806080858703121561431657614315613ad5565b5b600061432487828801613d63565b945050602061433587828801613d63565b935050604061434687828801613cae565b925050606085013567ffffffffffffffff81111561436757614366613ada565b5b614373878288016142ce565b91505092959194509250565b61438881613f4e565b82525050565b60006020820190506143a3600083018461437f565b92915050565b600080604083850312156143c0576143bf613ad5565b5b60006143ce85828601613d63565b92505060206143df85828601613d63565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061443057607f821691505b60208210811415614444576144436143e9565b5b50919050565b60008160601b9050919050565b60006144628261444a565b9050919050565b600061447482614457565b9050919050565b61448c61448782613d10565b614469565b82525050565b600061449e828461447b565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e782613b9a565b915060008214156144fb576144fa6144ad565b5b600182039050919050565b7f434f310000000000000000000000000000000000000000000000000000000000600082015250565b600061453c600383613bdd565b915061454782614506565b602082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f434f340000000000000000000000000000000000000000000000000000000000600082015250565b60006145a8600383613bdd565b91506145b382614572565b602082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b60006145e982613c8d565b915060008214156145fd576145fc6144ad565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061466d602083613bdd565b915061467882614637565b602082019050919050565b6000602082019050818103600083015261469c81614660565b9050919050565b600081905092915050565b60006146b982613bd2565b6146c381856146a3565b93506146d3818560208601613bee565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006147156005836146a3565b9150614720826146df565b600582019050919050565b600061473782856146ae565b915061474382846146ae565b915061474e82614708565b91508190509392505050565b600061476582613c8d565b915061477083613c8d565b925082821015614783576147826144ad565b5b828203905092915050565b7f636f6f6c646f776e000000000000000000000000000000000000000000000000600082015250565b60006147c4600883613bdd565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b600060408201905061480f6000830185613d22565b61481c6020830184613de5565b9392505050565b7f434f320000000000000000000000000000000000000000000000000000000000600082015250565b6000614859600383613bdd565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f434f330000000000000000000000000000000000000000000000000000000000600082015250565b60006148c5600383613bdd565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600061490682613c8d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614939576149386144ad565b5b600182019050919050565b600061494f82613d10565b9050919050565b61495f81614944565b811461496a57600080fd5b50565b60008151905061497c81614956565b92915050565b60006020828403121561499857614997613ad5565b5b60006149a68482850161496d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a0b602683613bdd565b9150614a16826149af565b604082019050919050565b60006020820190508181036000830152614a3a816149fe565b9050919050565b6000614a4c82613c8d565b9150614a5783613c8d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8c57614a8b6144ad565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ad182613c8d565b9150614adc83613c8d565b925082614aec57614aeb614a97565b5b828204905092915050565b6000614b0282613c8d565b9150614b0d83613c8d565b925082614b1d57614b1c614a97565b5b828206905092915050565b6000819050919050565b614b43614b3e82613f4e565b614b28565b82525050565b6000614b558285614b32565b602082019150614b658284614b32565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614b9c82614b75565b614ba68185614b80565b9350614bb6818560208601613bee565b614bbf81613c21565b840191505092915050565b6000608082019050614bdf6000830187613d22565b614bec6020830186613d22565b614bf96040830185613de5565b8181036060830152614c0b8184614b91565b905095945050505050565b600081519050614c2581613b0b565b92915050565b600060208284031215614c4157614c40613ad5565b5b6000614c4f84828501614c16565b91505092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614cb4603283613bdd565b9150614cbf82614c58565b604082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220797aa71f964a8be076470b78797e7db4ac9b8c5296e6729429352c770cde82d164736f6c634300080a0033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103205760003560e01c806370a08231116101a7578063b88d4fde116100ee578063cd7c032611610097578063e985e9c511610071578063e985e9c5146108c1578063ee483f72146108f1578063f2fde38b1461090d57610320565b8063cd7c032614610869578063d26ea6c014610887578063d5abeb01146108a357610320565b8063c9c496c6116100c8578063c9c496c614610827578063ccdbe6a614610831578063cd18d5a41461084d57610320565b8063b88d4fde146107bd578063c83be22b146107d9578063c87b56dd146107f757610320565b8063a22cb46511610150578063ac8f1e061161012a578063ac8f1e0614610753578063adc20b1c14610771578063b1760b4c146107a157610320565b8063a22cb465146106fd578063a2dfe7b514610719578063a49a7a201461073557610320565b80638d5307b3116101815780638d5307b3146106a55780638da5cb5b146106c157806395d89b41146106df57610320565b806370a082311461064f578063715018a61461067f578063735328021461068957610320565b80633109c19d1161026b57806349aeaf16116102145780636352211e116101ee5780636352211e146105d15780636af8c4e7146106015780636c0360eb1461063157610320565b806349aeaf16146105675780634f6ccce71461058557806355f804b3146105b557610320565b80633ccfd60b116102455780633ccfd60b1461052357806341a098c21461052d57806342842e0e1461054b57610320565b80633109c19d146104cf578063369e40b3146104eb5780633c3f9f341461050757610320565b806318160ddd116102cd57806323b872dd116102a757806323b872dd146104675780632942275f146104835780632f745c591461049f57610320565b806318160ddd1461040d5780631e23e36c1461042b5780632000d4301461044957610320565b8063081812fc116102fe578063081812fc14610391578063095ea7b3146103c15780630c037a83146103dd57610320565b806301ffc9a71461032557806306bf30511461035557806306fdde0314610373575b600080fd5b61033f600480360381019061033a9190613b37565b610929565b60405161034c9190613b7f565b60405180910390f35b61035d6109a3565b60405161036a9190613bb7565b60405180910390f35b61037b6109b7565b6040516103889190613c6b565b60405180910390f35b6103ab60048036038101906103a69190613cc3565b610a49565b6040516103b89190613d31565b60405180910390f35b6103db60048036038101906103d69190613d78565b610a98565b005b6103f760048036038101906103f29190613db8565b610b44565b6040516104049190613b7f565b60405180910390f35b610415610b64565b6040516104229190613df4565b60405180910390f35b610433610b71565b6040516104409190613d31565b60405180910390f35b610451610b97565b60405161045e9190613e2e565b60405180910390f35b610481600480360381019061047c9190613e49565b610bad565b005b61049d60048036038101906104989190613f01565b610bd7565b005b6104b960048036038101906104b49190613d78565b610dd6565b6040516104c69190613df4565b60405180910390f35b6104e960048036038101906104e49190613db8565b610e45565b005b61050560048036038101906105009190613fb0565b6110d0565b005b610521600480360381019061051c919061401c565b6111e2565b005b61052b6112dd565b005b61053561142a565b6040516105429190613b7f565b60405180910390f35b61056560048036038101906105609190613e49565b61143d565b005b61056f61145d565b60405161057c9190613df4565b60405180910390f35b61059f600480360381019061059a9190613cc3565b611463565b6040516105ac9190613df4565b60405180910390f35b6105cf60048036038101906105ca9190614179565b61149e565b005b6105eb60048036038101906105e69190613cc3565b61158f565b6040516105f89190613d31565b60405180910390f35b61061b60048036038101906106169190613db8565b61160b565b6040516106289190613b7f565b60405180910390f35b610639611661565b6040516106469190613c6b565b60405180910390f35b61066960048036038101906106649190613db8565b6116ef565b6040516106769190613df4565b60405180910390f35b610687611771565b005b6106a3600480360381019061069e9190613cc3565b6117f9565b005b6106bf60048036038101906106ba91906141ee565b611909565b005b6106c96119fd565b6040516106d69190613d31565b60405180910390f35b6106e7611a27565b6040516106f49190613c6b565b60405180910390f35b6107176004803603810190610712919061421b565b611ab9565b005b610733600480360381019061072e9190613cc3565b611acf565b005b61073d611bb0565b60405161074a9190613df4565b60405180910390f35b61075b611c04565b6040516107689190613b7f565b60405180910390f35b61078b60048036038101906107869190613db8565b611c17565b6040516107989190613df4565b60405180910390f35b6107bb60048036038101906107b691906141ee565b611c2f565b005b6107d760048036038101906107d291906142fc565b611d23565b005b6107e1611d4f565b6040516107ee919061438e565b60405180910390f35b610811600480360381019061080c9190613cc3565b611d55565b60405161081e9190613c6b565b60405180910390f35b61082f611dec565b005b61084b60048036038101906108469190613db8565b611fee565b005b61086760048036038101906108629190613db8565b612235565b005b610871612374565b60405161087e9190613d31565b60405180910390f35b6108a1600480360381019061089c9190613db8565b61239a565b005b6108ab6124b5565b6040516108b89190613df4565b60405180910390f35b6108db60048036038101906108d691906143a9565b6124bb565b6040516108e89190613b7f565b60405180910390f35b61090b60048036038101906109069190613db8565b612605565b005b61092760048036038101906109229190613db8565b612720565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c575061099b82612818565b5b9050919050565b601860009054906101000a900461ffff1681565b6060600080546109c690614418565b80601f01602080910402602001604051908101604052809291908181526020018280546109f290614418565b8015610a3f5780601f10610a1457610100808354040283529160200191610a3f565b820191906000526020600020905b815481529060010190602001808311610a2257829003601f168201915b5050505050905090565b6000610a54826128fa565b610a5d57600080fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa38261158f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ade57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16610afd612966565b73ffffffffffffffffffffffffffffffffffffffff161480610b2c5750610b2b81610b26612966565b6124bb565b5b610b3557600080fd5b610b3f838361296e565b505050565b60166020528060005260406000206000915054906101000a900460ff1681565b6000600880549050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900463ffffffff1681565b610bbe610bb8612966565b82612a27565b610bc757600080fd5b610bd2838383612acf565b505050565b6002600d541415610be757600080fd5b6002600d81905550601860029054906101000a900460ff16610c0857600080fd5b60166000610c14612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c6657600080fd5b6000610c70612966565b604051602001610c809190614492565b604051602081830303815290604052805190602001209050610ce6838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060175483612cbf565b610cef57600080fd5b6000610cf9610b64565b9050600e54610d12600183612cd690919063ffffffff16565b1115610d1d57600080fd5b610d2e610d28612966565b82612cec565b600160166000610d3c612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506018600081819054906101000a900461ffff1680929190610dad906144dc565b91906101000a81548161ffff021916908361ffff1602179055505050506001600d819055505050565b6000610de1836116ef565b8210610dec57600080fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e4d612966565b73ffffffffffffffffffffffffffffffffffffffff16610e6b6119fd565b73ffffffffffffffffffffffffffffffffffffffff161480610edd5750600b6000610e94612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1390614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906145be565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f906145be565b60405180910390fd5b6001600c541161105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611054906145be565b60405180910390fd5b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600c60008154809291906110c8906145de565b919050555050565b6110d8612966565b73ffffffffffffffffffffffffffffffffffffffff166110f66119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806111685750600b600061111f612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614552565b60405180910390fd5b600e548161ffff1611156111ba57600080fd5b8160178190555080601860006101000a81548161ffff021916908361ffff1602179055505050565b6111ea612966565b73ffffffffffffffffffffffffffffffffffffffff166112086119fd565b73ffffffffffffffffffffffffffffffffffffffff16148061127a5750600b6000611231612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b090614552565b60405180910390fd5b80601560006101000a81548163ffffffff021916908363ffffffff16021790555050565b6112e5612966565b73ffffffffffffffffffffffffffffffffffffffff166113036119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806113755750600b600061132c612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab90614552565b60405180910390fd5b6002600d5414156113c457600080fd5b6002600d8190555060004790506113d96119fd565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561141e573d6000803e3d6000fd5b50506001600d81905550565b601360009054906101000a900460ff1681565b61145883838360405180602001604052806000815250611d23565b505050565b60125481565b600061146d610b64565b821061147857600080fd5b6008828154811061148c5761148b614608565b5b90600052602060002001549050919050565b6114a6612966565b73ffffffffffffffffffffffffffffffffffffffff166114c46119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806115365750600b60006114ed612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156c90614552565b60405180910390fd5b80600f908051906020019061158b929190613a28565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561160257600080fd5b80915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600f805461166e90614418565b80601f016020809104026020016040519081016040528092919081815260200182805461169a90614418565b80156116e75780601f106116bc576101008083540402835291602001916116e7565b820191906000526020600020905b8154815290600101906020018083116116ca57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561172a57600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611779612966565b73ffffffffffffffffffffffffffffffffffffffff166117976119fd565b73ffffffffffffffffffffffffffffffffffffffff16146117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490614683565b60405180910390fd5b6117f76000612d0a565b565b611801612966565b73ffffffffffffffffffffffffffffffffffffffff1661181f6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806118915750600b6000611848612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6118d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c790614552565b60405180910390fd5b600081101580156118e25750600e5481105b6118eb57600080fd5b6118f3610b64565b8110156118ff57600080fd5b80600e8190555050565b611911612966565b73ffffffffffffffffffffffffffffffffffffffff1661192f6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806119a15750600b6000611958612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d790614552565b60405180910390fd5b80601860026101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a3690614418565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6290614418565b8015611aaf5780601f10611a8457610100808354040283529160200191611aaf565b820191906000526020600020905b815481529060010190602001808311611a9257829003601f168201915b5050505050905090565b611acb611ac4612966565b8383612dd0565b5050565b611ad7612966565b73ffffffffffffffffffffffffffffffffffffffff16611af56119fd565b73ffffffffffffffffffffffffffffffffffffffff161480611b675750600b6000611b1e612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90614552565b60405180910390fd5b8060128190555050565b600080611bbb610b64565b90506000611bfa611be9601860009054906101000a900461ffff1661ffff1684612cd690919063ffffffff16565b600e54612f0790919063ffffffff16565b9050809250505090565b601860029054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b611c37612966565b73ffffffffffffffffffffffffffffffffffffffff16611c556119fd565b73ffffffffffffffffffffffffffffffffffffffff161480611cc75750600b6000611c7e612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd90614552565b60405180910390fd5b80601360006101000a81548160ff02191690831515021790555050565b611d34611d2e612966565b83612a27565b611d3d57600080fd5b611d4984848484612f1d565b50505050565b60175481565b6060611d60826128fa565b611d6957600080fd5b6000611d73612f43565b90506000815111611db9576040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250611de4565b80611dc384612fd5565b604051602001611dd492919061472b565b6040516020818303038152906040525b915050919050565b6002600d541415611dfc57600080fd5b6002600d81905550601360009054906101000a900460ff16611e1d57600080fd5b6000611e27611bb0565b11611e3157600080fd5b600060146000611e3f612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442611e85919061475a565b9050601560009054906101000a900463ffffffff1663ffffffff16811015611ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed9906147da565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dad7f110611f28612966565b6012546040518363ffffffff1660e01b8152600401611f489291906147fa565b600060405180830381600087803b158015611f6257600080fd5b505af1158015611f76573d6000803e3d6000fd5b505050506000611f84610b64565b9050611f97611f91612966565b82612cec565b4260146000611fa4612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050506001600d81905550565b611ff6612966565b73ffffffffffffffffffffffffffffffffffffffff166120146119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806120865750600b600061203d612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc90614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c9061486f565b60405180910390fd5b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b9906148db565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600c600081548092919061222d906148fb565b919050555050565b61223d612966565b73ffffffffffffffffffffffffffffffffffffffff1661225b6119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806122cd5750600b6000612284612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61230c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230390614552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561234657600080fd5b6000612350611bb0565b1161235a57600080fd5b6000612364610b64565b90506123708282612cec565b5050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6123a2612966565b73ffffffffffffffffffffffffffffffffffffffff166123c06119fd565b73ffffffffffffffffffffffffffffffffffffffff1614806124325750600b60006123e9612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246890614552565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125f2576000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125899190613d31565b602060405180830381865afa1580156125a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ca9190614982565b73ffffffffffffffffffffffffffffffffffffffff1614156125f05760019150506125ff565b505b6125fc8383613136565b90505b92915050565b61260d612966565b73ffffffffffffffffffffffffffffffffffffffff1661262b6119fd565b73ffffffffffffffffffffffffffffffffffffffff16148061269d5750600b6000612654612966565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614552565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612728612966565b73ffffffffffffffffffffffffffffffffffffffff166127466119fd565b73ffffffffffffffffffffffffffffffffffffffff161461279c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279390614683565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561280c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280390614a21565b60405180910390fd5b61281581612d0a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128e357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128f357506128f2826131ca565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129e18361158f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a32826128fa565b612a3b57600080fd5b6000612a468361158f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ab557508373ffffffffffffffffffffffffffffffffffffffff16612a9d84610a49565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ac65750612ac581856124bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aef8261158f565b73ffffffffffffffffffffffffffffffffffffffff1614612b0f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b4957600080fd5b612b54838383613234565b612b5f60008261296e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612baf919061475a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c069190614a41565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082612ccc8584613348565b1490509392505050565b60008183612ce49190614a41565b905092915050565b612d068282604051806020016040528060008152506133fb565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e0957600080fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612efa9190613b7f565b60405180910390a3505050565b60008183612f15919061475a565b905092915050565b612f28848484612acf565b612f3484848484613420565b612f3d57600080fd5b50505050565b6060600f8054612f5290614418565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7e90614418565b8015612fcb5780601f10612fa057610100808354040283529160200191612fcb565b820191906000526020600020905b815481529060010190602001808311612fae57829003601f168201915b5050505050905090565b6060600082141561301d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613131565b600082905060005b6000821461304f578080613038906148fb565b915050600a826130489190614ac6565b9150613025565b60008167ffffffffffffffff81111561306b5761306a61404e565b5b6040519080825280601f01601f19166020018201604052801561309d5781602001600182028036833780820191505090505b5090505b6000851461312a576001826130b6919061475a565b9150600a856130c59190614af7565b60306130d19190614a41565b60f81b8183815181106130e7576130e6614608565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131239190614ac6565b94506130a1565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61323f8383836135a8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132825761327d816135ad565b6132c1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132c0576132bf83826135f6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613304576132ff81613763565b613343565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613342576133418282613834565b5b5b505050565b60008082905060005b84518110156133f057600085828151811061336f5761336e614608565b5b602002602001015190508083116133b0578281604051602001613393929190614b49565b6040516020818303038152906040528051906020012092506133dc565b80836040516020016133c3929190614b49565b6040516020818303038152906040528051906020012092505b5080806133e8906148fb565b915050613351565b508091505092915050565b61340583836138b3565b6134126000848484613420565b61341b57600080fd5b505050565b60006134418473ffffffffffffffffffffffffffffffffffffffff16613a15565b1561359b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261346a612966565b8786866040518563ffffffff1660e01b815260040161348c9493929190614bca565b6020604051808303816000875af19250505080156134c857506040513d601f19601f820116820180604052508101906134c59190614c2b565b60015b61354b573d80600081146134f8576040519150601f19603f3d011682016040523d82523d6000602084013e6134fd565b606091505b50600081511415613543576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353a90614cca565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135a0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613603846116ef565b61360d919061475a565b90506000600760008481526020019081526020016000205490508181146136f2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613777919061475a565b90506000600960008481526020019081526020016000205490506000600883815481106137a7576137a6614608565b5b9060005260206000200154905080600883815481106137c9576137c8614608565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061381857613817614cea565b5b6001900381819060005260206000200160009055905550505050565b600061383f836116ef565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138ed57600080fd5b6138f6816128fa565b1561390057600080fd5b61390c60008383613234565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461395c9190614a41565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613a3490614418565b90600052602060002090601f016020900481019282613a565760008555613a9d565b82601f10613a6f57805160ff1916838001178555613a9d565b82800160010185558215613a9d579182015b82811115613a9c578251825591602001919060010190613a81565b5b509050613aaa9190613aae565b5090565b5b80821115613ac7576000816000905550600101613aaf565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1481613adf565b8114613b1f57600080fd5b50565b600081359050613b3181613b0b565b92915050565b600060208284031215613b4d57613b4c613ad5565b5b6000613b5b84828501613b22565b91505092915050565b60008115159050919050565b613b7981613b64565b82525050565b6000602082019050613b946000830184613b70565b92915050565b600061ffff82169050919050565b613bb181613b9a565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c0c578082015181840152602081019050613bf1565b83811115613c1b576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c3d82613bd2565b613c478185613bdd565b9350613c57818560208601613bee565b613c6081613c21565b840191505092915050565b60006020820190508181036000830152613c858184613c32565b905092915050565b6000819050919050565b613ca081613c8d565b8114613cab57600080fd5b50565b600081359050613cbd81613c97565b92915050565b600060208284031215613cd957613cd8613ad5565b5b6000613ce784828501613cae565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d1b82613cf0565b9050919050565b613d2b81613d10565b82525050565b6000602082019050613d466000830184613d22565b92915050565b613d5581613d10565b8114613d6057600080fd5b50565b600081359050613d7281613d4c565b92915050565b60008060408385031215613d8f57613d8e613ad5565b5b6000613d9d85828601613d63565b9250506020613dae85828601613cae565b9150509250929050565b600060208284031215613dce57613dcd613ad5565b5b6000613ddc84828501613d63565b91505092915050565b613dee81613c8d565b82525050565b6000602082019050613e096000830184613de5565b92915050565b600063ffffffff82169050919050565b613e2881613e0f565b82525050565b6000602082019050613e436000830184613e1f565b92915050565b600080600060608486031215613e6257613e61613ad5565b5b6000613e7086828701613d63565b9350506020613e8186828701613d63565b9250506040613e9286828701613cae565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613ec157613ec0613e9c565b5b8235905067ffffffffffffffff811115613ede57613edd613ea1565b5b602083019150836020820283011115613efa57613ef9613ea6565b5b9250929050565b60008060208385031215613f1857613f17613ad5565b5b600083013567ffffffffffffffff811115613f3657613f35613ada565b5b613f4285828601613eab565b92509250509250929050565b6000819050919050565b613f6181613f4e565b8114613f6c57600080fd5b50565b600081359050613f7e81613f58565b92915050565b613f8d81613b9a565b8114613f9857600080fd5b50565b600081359050613faa81613f84565b92915050565b60008060408385031215613fc757613fc6613ad5565b5b6000613fd585828601613f6f565b9250506020613fe685828601613f9b565b9150509250929050565b613ff981613e0f565b811461400457600080fd5b50565b60008135905061401681613ff0565b92915050565b60006020828403121561403257614031613ad5565b5b600061404084828501614007565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408682613c21565b810181811067ffffffffffffffff821117156140a5576140a461404e565b5b80604052505050565b60006140b8613acb565b90506140c4828261407d565b919050565b600067ffffffffffffffff8211156140e4576140e361404e565b5b6140ed82613c21565b9050602081019050919050565b82818337600083830152505050565b600061411c614117846140c9565b6140ae565b90508281526020810184848401111561413857614137614049565b5b6141438482856140fa565b509392505050565b600082601f8301126141605761415f613e9c565b5b8135614170848260208601614109565b91505092915050565b60006020828403121561418f5761418e613ad5565b5b600082013567ffffffffffffffff8111156141ad576141ac613ada565b5b6141b98482850161414b565b91505092915050565b6141cb81613b64565b81146141d657600080fd5b50565b6000813590506141e8816141c2565b92915050565b60006020828403121561420457614203613ad5565b5b6000614212848285016141d9565b91505092915050565b6000806040838503121561423257614231613ad5565b5b600061424085828601613d63565b9250506020614251858286016141d9565b9150509250929050565b600067ffffffffffffffff8211156142765761427561404e565b5b61427f82613c21565b9050602081019050919050565b600061429f61429a8461425b565b6140ae565b9050828152602081018484840111156142bb576142ba614049565b5b6142c68482856140fa565b509392505050565b600082601f8301126142e3576142e2613e9c565b5b81356142f384826020860161428c565b91505092915050565b6000806000806080858703121561431657614315613ad5565b5b600061432487828801613d63565b945050602061433587828801613d63565b935050604061434687828801613cae565b925050606085013567ffffffffffffffff81111561436757614366613ada565b5b614373878288016142ce565b91505092959194509250565b61438881613f4e565b82525050565b60006020820190506143a3600083018461437f565b92915050565b600080604083850312156143c0576143bf613ad5565b5b60006143ce85828601613d63565b92505060206143df85828601613d63565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061443057607f821691505b60208210811415614444576144436143e9565b5b50919050565b60008160601b9050919050565b60006144628261444a565b9050919050565b600061447482614457565b9050919050565b61448c61448782613d10565b614469565b82525050565b600061449e828461447b565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e782613b9a565b915060008214156144fb576144fa6144ad565b5b600182039050919050565b7f434f310000000000000000000000000000000000000000000000000000000000600082015250565b600061453c600383613bdd565b915061454782614506565b602082019050919050565b6000602082019050818103600083015261456b8161452f565b9050919050565b7f434f340000000000000000000000000000000000000000000000000000000000600082015250565b60006145a8600383613bdd565b91506145b382614572565b602082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b60006145e982613c8d565b915060008214156145fd576145fc6144ad565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061466d602083613bdd565b915061467882614637565b602082019050919050565b6000602082019050818103600083015261469c81614660565b9050919050565b600081905092915050565b60006146b982613bd2565b6146c381856146a3565b93506146d3818560208601613bee565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006147156005836146a3565b9150614720826146df565b600582019050919050565b600061473782856146ae565b915061474382846146ae565b915061474e82614708565b91508190509392505050565b600061476582613c8d565b915061477083613c8d565b925082821015614783576147826144ad565b5b828203905092915050565b7f636f6f6c646f776e000000000000000000000000000000000000000000000000600082015250565b60006147c4600883613bdd565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b600060408201905061480f6000830185613d22565b61481c6020830184613de5565b9392505050565b7f434f320000000000000000000000000000000000000000000000000000000000600082015250565b6000614859600383613bdd565b915061486482614823565b602082019050919050565b600060208201905081810360008301526148888161484c565b9050919050565b7f434f330000000000000000000000000000000000000000000000000000000000600082015250565b60006148c5600383613bdd565b91506148d08261488f565b602082019050919050565b600060208201905081810360008301526148f4816148b8565b9050919050565b600061490682613c8d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614939576149386144ad565b5b600182019050919050565b600061494f82613d10565b9050919050565b61495f81614944565b811461496a57600080fd5b50565b60008151905061497c81614956565b92915050565b60006020828403121561499857614997613ad5565b5b60006149a68482850161496d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a0b602683613bdd565b9150614a16826149af565b604082019050919050565b60006020820190508181036000830152614a3a816149fe565b9050919050565b6000614a4c82613c8d565b9150614a5783613c8d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a8c57614a8b6144ad565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ad182613c8d565b9150614adc83613c8d565b925082614aec57614aeb614a97565b5b828204905092915050565b6000614b0282613c8d565b9150614b0d83613c8d565b925082614b1d57614b1c614a97565b5b828206905092915050565b6000819050919050565b614b43614b3e82613f4e565b614b28565b82525050565b6000614b558285614b32565b602082019150614b658284614b32565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614b9c82614b75565b614ba68185614b80565b9350614bb6818560208601613bee565b614bbf81613c21565b840191505092915050565b6000608082019050614bdf6000830187613d22565b614bec6020830186613d22565b614bf96040830185613de5565b8181036060830152614c0b8184614b91565b905095945050505050565b600081519050614c2581613b0b565b92915050565b600060208284031215614c4157614c40613ad5565b5b6000614c4f84828501614c16565b91505092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614cb4603283613bdd565b9150614cbf82614c58565b604082019050919050565b60006020820190508181036000830152614ce381614ca7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220797aa71f964a8be076470b78797e7db4ac9b8c5296e6729429352c770cde82d164736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.