Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
1,405 STEAK
Holders
743
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STEAKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProofOfSteak
Compiler Version
v0.6.4+commit.1dca32f3
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-01 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 () internal { _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 make 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, "ReentrancyGuard: reentrant call"); // 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; } } // File: @openzeppelin/contracts/introspection/IERC165.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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); } // File: @openzeppelin/contracts/introspection/ERC165.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ 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) { 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) { 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) { // 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) { 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) { 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); 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) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @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. 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) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(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); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @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 { } } // File: contracts/IProofOfSteak.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; interface IProofOfSteak { function redeem(address sender, uint256 tokenId, uint256 quantity) external; } // File: contracts/ProofOfSteak.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; contract ProofOfSteak is Ownable, ReentrancyGuard, ERC721, IProofOfSteak { using SafeMath for uint256; bool private _locked = false; // number of Proof of Steak tokens minted uint256 public proofOfSteaksMinted; // total number of Steaks that can be redeemed uint256 public totalRedeemable; // addresses and the number of reservations they have mapping(address => uint256) public reservations; // balances of each Proof of Steak mapping(uint256 => uint256) public redeemBalances; // address to withdraw funds address payable public teamAddress; // address of redemption contract address public controllerAddress; constructor( string memory _uri ) ERC721("Proof of Steak", "STEAK") public { _setBaseURI(_uri); teamAddress = _msgSender(); controllerAddress = _msgSender(); } /** MODIFIERS **/ modifier onlyUnlocked() { require(!_locked, "Contract is locked"); _; } modifier onlyController() { require(_msgSender() == controllerAddress, "Caller is not the Controller"); _; } /** INTERACTIONS **/ /** * @notice mints Proof of Steak up to reserved amount * @param quantity the balance to associate with the token */ function mint(uint256 quantity) external payable nonReentrant onlyUnlocked { require(quantity > 0, "Must have quantity > 0"); require(reservations[_msgSender()] >= quantity, "Not enough reserved for sender"); require(msg.value == cost(quantity), "Invalid payment amount"); proofOfSteaksMinted = proofOfSteaksMinted.add(1); reservations[_msgSender()] = reservations[_msgSender()].sub(quantity); redeemBalances[proofOfSteaksMinted] = quantity; totalRedeemable = totalRedeemable.add(quantity); _safeMint(_msgSender(), proofOfSteaksMinted); } /** GETTERS **/ /** * @notice cost to mint Proof of Steak * @param quantity number of Steaks to mint * @return cost to mint */ function cost(uint256 quantity) public pure returns (uint256) { return quantity.mul(.08 ether); } /** * @notice gets the tokens owned by an address and the remaining balances * @param owner address to check * @return the remaining balances for each owned token */ function remainingBalancesForOwner(address owner) external view returns (uint256[] memory, uint256[] memory) { uint256 tokenBalance = balanceOf(owner); if (tokenBalance == 0) return (new uint256[](0), new uint256[](0)); uint256[] memory tokenIds = new uint256[](tokenBalance); uint256[] memory balances = new uint256[](tokenBalance); uint256 tokenId; for (uint i = 0; i < tokenBalance; i++) { tokenId = tokenOfOwnerByIndex(owner, i); tokenIds[i] = tokenId; balances[i] = redeemBalances[tokenId]; } return (tokenIds, balances); } /** * @notice adds the balance of the token onto the baseURI * @param tokenId the token to get the URI for * @return the URI of the metadata */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { uint256 balance = redeemBalances[tokenId]; return string(abi.encodePacked(baseURI(), balance.toString())); } /** CONTROLLER **/ /** * @notice redeems some or all of the balance on a Steak * @dev you must set the controller to the contract that will be calling this * @param sender the owner of the Proof of Steak * @param tokenId the ID of the Proof of Steak they're redeeming against * @param quantity the number of Steaks to redeem from the Proof of Steak */ function redeem(address sender, uint256 tokenId, uint256 quantity) external virtual override onlyController { require(ownerOf(tokenId) == sender, "Token not owned by sender"); require(quantity <= redeemBalances[tokenId], "Cannot redeem more than balance"); redeemBalances[tokenId] = redeemBalances[tokenId].sub(quantity); } /** ADMIN **/ /** * @notice withdraws funds that are owed to the project (contract balance - total held in reserve) */ function withdraw() public onlyOwner { payable(teamAddress).transfer(address(this).balance); } /** * @notice sets the address to send withdrawable funds to * @param _teamAddress the new destination address */ function setTeamAddress(address payable _teamAddress) public onlyOwner { teamAddress = _teamAddress; } /** * @notice sets the contract address of the main minting contract for redemptions * @param _controllerAddress the new controller contract address */ function setControllerAddress(address _controllerAddress) public onlyOwner { controllerAddress = _controllerAddress; } /** * @notice sets the contracts locked state * @param locked the updated state */ function setLocked(bool locked) external onlyOwner { _locked = locked; } /** * @notice updates the base URI to update metadata if needed * @param _baseURI URI of new metadata base ofolder */ function setBaseURI(string calldata _baseURI) external onlyOwner { _setBaseURI(_baseURI); } /** * @notice sets the reservations for individual addresses * @param addresses the addresses to set reservations for * @param quantities the maximum number of steaks that address can purchase */ function addReservations(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner { require(addresses.length == quantities.length, "Mismatched inputs"); for (uint i = 0; i < addresses.length; i++) { reservations[addresses[i]] = quantities[i]; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"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":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"addReservations","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":[],"name":"controllerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofOfSteaksMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"redeemBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"remainingBalancesForOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reservations","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":"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controllerAddress","type":"address"}],"name":"setControllerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"locked","type":"bool"}],"name":"setLocked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_teamAddress","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRedeemable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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
6080604052600c805460ff191690553480156200001b57600080fd5b50604051620030d0380380620030d0833981810160405260208110156200004157600080fd5b81019080805160405193929190846401000000008211156200006257600080fd5b9083019060208201858111156200007857600080fd5b82516401000000008111828201881017156200009357600080fd5b82525081516020918201929091019080838360005b83811015620000c2578181015183820152602001620000a8565b50505050905090810190601f168015620000f05780820380516001836020036101000a031916815260200191505b506040525050506040518060400160405280600e81526020016d50726f6f66206f6620537465616b60901b81525060405180604001604052806005815260200164535445414b60d81b81525060006200014e620002af60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055620001b76301ffc9a760e01b6001600160e01b03620002b416565b8151620001cc90600890602085019062000352565b508051620001e290600990602084019062000352565b50620001fe6380ac58cd60e01b6001600160e01b03620002b416565b62000219635b5e139f60e01b6001600160e01b03620002b416565b6200023463780e9d6360e01b6001600160e01b03620002b416565b506200024b9050816001600160e01b036200033916565b6200025e6001600160e01b03620002af16565b601180546001600160a01b0319166001600160a01b039290921691909117905562000288620002af565b601280546001600160a01b0319166001600160a01b039290921691909117905550620003f4565b335b90565b6001600160e01b0319808216141562000314576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152600260205260409020805460ff19166001179055565b80516200034e90600b90602084019062000352565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039557805160ff1916838001178555620003c5565b82800160010185558215620003c5579182015b82811115620003c5578251825591602001919060010190620003a8565b50620003d3929150620003d7565b5090565b620002b191905b80821115620003d35760008155600101620003de565b612ccc80620004046000396000f3fe60806040526004361061020f5760003560e01c80636690864e11610118578063a22cb465116100a0578063e985e9c51161006f578063e985e9c5146109d3578063f0b3456614610a0e578063f2fde38b14610a23578063f3d3d44814610a56578063fd3dc53a14610a895761020f565b8063a22cb465146107d1578063b88d4fde1461080c578063c87b56dd146108dd578063dce44bc7146109075761020f565b80638da5cb5b116100e75780638da5cb5b146107365780639097548d1461074b57806392c153871461077557806395d89b411461079f578063a0712d68146107b45761020f565b80636690864e146106a65780636c0360eb146106d957806370a08231146106ee578063715018a6146107215761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461057f5780634b24ea47146105c25780634f6ccce7146105d757806355f804b3146106015780636352211e1461067c5761020f565b806323b872dd146104af5780632b83cccd146104f25780632f745c59146105315780633ccfd60b1461056a5761020f565b806318160ddd116101e257806318160ddd146103675780631c75f0851461038e5780631edbcf6c146103a3578063204298c0146103b8578063211e28b6146104835761020f565b806301ffc9a71461021457806306fdde031461025c578063081812fc146102e6578063095ea7b31461032c575b600080fd5b34801561022057600080fd5b506102486004803603602081101561023757600080fd5b50356001600160e01b031916610abc565b604080519115158252519081900360200190f35b34801561026857600080fd5b50610271610adf565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ab578181015183820152602001610293565b50505050905090810190601f1680156102d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f257600080fd5b506103106004803603602081101561030957600080fd5b5035610b76565b604080516001600160a01b039092168252519081900360200190f35b34801561033857600080fd5b506103656004803603604081101561034f57600080fd5b506001600160a01b038135169060200135610bd8565b005b34801561037357600080fd5b5061037c610cb3565b60408051918252519081900360200190f35b34801561039a57600080fd5b50610310610cc4565b3480156103af57600080fd5b5061037c610cd3565b3480156103c457600080fd5b50610365600480360360408110156103db57600080fd5b810190602081018135600160201b8111156103f557600080fd5b82018360208201111561040757600080fd5b803590602001918460208302840111600160201b8311171561042857600080fd5b919390929091602081019035600160201b81111561044557600080fd5b82018360208201111561045757600080fd5b803590602001918460208302840111600160201b8311171561047857600080fd5b509092509050610cd9565b34801561048f57600080fd5b50610365600480360360208110156104a657600080fd5b50351515610de3565b3480156104bb57600080fd5b50610365600480360360608110156104d257600080fd5b506001600160a01b03813581169160208101359091169060400135610e58565b3480156104fe57600080fd5b506103656004803603606081101561051557600080fd5b506001600160a01b038135169060208101359060400135610eaf565b34801561053d57600080fd5b5061037c6004803603604081101561055457600080fd5b506001600160a01b038135169060200135611025565b34801561057657600080fd5b50610365611056565b34801561058b57600080fd5b50610365600480360360608110156105a257600080fd5b506001600160a01b038135811691602081013590911690604001356110f4565b3480156105ce57600080fd5b5061031061110f565b3480156105e357600080fd5b5061037c600480360360208110156105fa57600080fd5b503561111e565b34801561060d57600080fd5b506103656004803603602081101561062457600080fd5b810190602081018135600160201b81111561063e57600080fd5b82018360208201111561065057600080fd5b803590602001918460018302840111600160201b8311171561067157600080fd5b50909250905061113a565b34801561068857600080fd5b506103106004803603602081101561069f57600080fd5b50356111df565b3480156106b257600080fd5b50610365600480360360208110156106c957600080fd5b50356001600160a01b031661120d565b3480156106e557600080fd5b50610271611291565b3480156106fa57600080fd5b5061037c6004803603602081101561071157600080fd5b50356001600160a01b03166112f2565b34801561072d57600080fd5b5061036561135a565b34801561074257600080fd5b50610310611406565b34801561075757600080fd5b5061037c6004803603602081101561076e57600080fd5b5035611415565b34801561078157600080fd5b5061037c6004803603602081101561079857600080fd5b503561142f565b3480156107ab57600080fd5b50610271611441565b610365600480360360208110156107ca57600080fd5b50356114a2565b3480156107dd57600080fd5b50610365600480360360408110156107f457600080fd5b506001600160a01b038135169060200135151561172a565b34801561081857600080fd5b506103656004803603608081101561082f57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561086957600080fd5b82018360208201111561087b57600080fd5b803590602001918460018302840111600160201b8311171561089c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061182f945050505050565b3480156108e957600080fd5b506102716004803603602081101561090057600080fd5b503561188d565b34801561091357600080fd5b5061093a6004803603602081101561092a57600080fd5b50356001600160a01b0316611967565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561097e578181015183820152602001610966565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156109bd5781810151838201526020016109a5565b5050505090500194505050505060405180910390f35b3480156109df57600080fd5b50610248600480360360408110156109f657600080fd5b506001600160a01b0381358116916020013516611a6b565b348015610a1a57600080fd5b5061037c611a99565b348015610a2f57600080fd5b5061036560048036036020811015610a4657600080fd5b50356001600160a01b0316611a9f565b348015610a6257600080fd5b5061036560048036036020811015610a7957600080fd5b50356001600160a01b0316611ba1565b348015610a9557600080fd5b5061037c60048036036020811015610aac57600080fd5b50356001600160a01b0316611c25565b6001600160e01b0319811660009081526002602052604090205460ff165b919050565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b820191906000526020600020905b815481529060010190602001808311610b4e57829003601f168201915b505050505090505b90565b6000610b8182611c37565b610bbc5760405162461bcd60e51b815260040180806020018281038252602c815260200180612bd0602c913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610be3826111df565b9050806001600160a01b0316836001600160a01b03161415610c365760405162461bcd60e51b8152600401808060200182810382526021815260200180612c456021913960400191505060405180910390fd5b806001600160a01b0316610c48611c4a565b6001600160a01b03161480610c695750610c6981610c64611c4a565b611a6b565b610ca45760405162461bcd60e51b8152600401808060200182810382526038815260200180612b026038913960400191505060405180910390fd5b610cae8383611c4e565b505050565b6000610cbf6004611cbc565b905090565b6011546001600160a01b031681565b600e5481565b610ce1611c4a565b6001600160a01b0316610cf2611406565b6001600160a01b031614610d3b576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b828114610d83576040805162461bcd60e51b81526020600482015260116024820152704d69736d61746368656420696e7075747360781b604482015290519081900360640190fd5b60005b83811015610ddc57828282818110610d9a57fe5b90506020020135600f6000878785818110610db157fe5b602090810292909201356001600160a01b031683525081019190915260400160002055600101610d86565b5050505050565b610deb611c4a565b6001600160a01b0316610dfc611406565b6001600160a01b031614610e45576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b610e69610e63611c4a565b82611cc7565b610ea45760405162461bcd60e51b8152600401808060200182810382526031815260200180612c666031913960400191505060405180910390fd5b610cae838383611d6b565b6012546001600160a01b0316610ec3611c4a565b6001600160a01b031614610f1e576040805162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520436f6e74726f6c6c657200000000604482015290519081900360640190fd5b826001600160a01b0316610f31836111df565b6001600160a01b031614610f8c576040805162461bcd60e51b815260206004820152601960248201527f546f6b656e206e6f74206f776e65642062792073656e64657200000000000000604482015290519081900360640190fd5b600082815260106020526040902054811115610fef576040805162461bcd60e51b815260206004820152601f60248201527f43616e6e6f742072656465656d206d6f7265207468616e2062616c616e636500604482015290519081900360640190fd5b60008281526010602052604090205461100e908263ffffffff611ec916565b600092835260106020526040909220919091555050565b6001600160a01b038216600090815260036020526040812061104d908363ffffffff611f2616565b90505b92915050565b61105e611c4a565b6001600160a01b031661106f611406565b6001600160a01b0316146110b8576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6011546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156110f1573d6000803e3d6000fd5b50565b610cae8383836040518060200160405280600081525061182f565b6012546001600160a01b031681565b60008061113260048463ffffffff611f3216565b509392505050565b611142611c4a565b6001600160a01b0316611153611406565b6001600160a01b03161461119c576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6111db82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f4e92505050565b5050565b600061105082604051806060016040528060298152602001612b64602991396004919063ffffffff611f6116565b611215611c4a565b6001600160a01b0316611226611406565b6001600160a01b03161461126f576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b60006001600160a01b0382166113395760405162461bcd60e51b815260040180806020018281038252602a815260200180612b3a602a913960400191505060405180910390fd5b6001600160a01b038216600090815260036020526040902061105090611cbc565b611362611c4a565b6001600160a01b0316611373611406565b6001600160a01b0316146113bc576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60006110508267011c37937e08000063ffffffff611f7816565b60106020526000908152604090205481565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b600260015414156114fa576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600c5460ff161561154c576040805162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81b1bd8dad95960721b604482015290519081900360640190fd5b6000811161159a576040805162461bcd60e51b815260206004820152601660248201527504d7573742068617665207175616e74697479203e20360541b604482015290519081900360640190fd5b80600f60006115a7611c4a565b6001600160a01b03166001600160a01b0316815260200190815260200160002054101561161b576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820726573657276656420666f722073656e6465720000604482015290519081900360640190fd5b61162481611415565b3414611670576040805162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b604482015290519081900360640190fd5b600d5461168490600163ffffffff611fd116565b600d556116bd81600f6000611697611c4a565b6001600160a01b031681526020810191909152604001600020549063ffffffff611ec916565b600f60006116c9611c4a565b6001600160a01b031681526020808201929092526040908101600090812093909355600d54835260109091529020819055600e5461170d908263ffffffff611fd116565b600e5561172361171b611c4a565b600d5461202b565b5060018055565b611732611c4a565b6001600160a01b0316826001600160a01b03161415611798576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600760006117a5611c4a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117e9611c4a565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b61184061183a611c4a565b83611cc7565b61187b5760405162461bcd60e51b8152600401808060200182810382526031815260200180612c666031913960400191505060405180910390fd5b61188784848484612045565b50505050565b6000818152601060205260409020546060906118a7611291565b6118b082612097565b6040516020018083805190602001908083835b602083106118e25780518252601f1990920191602091820191016118c3565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061192a5780518252601f19909201916020918201910161190b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6060806000611975846112f2565b90508061199b575050604080516000808252602082019081528183019092529150611a66565b6060816040519080825280602002602001820160405280156119c7578160200160208202803683370190505b5090506060826040519080825280602002602001820160405280156119f6578160200160208202803683370190505b5090506000805b84811015611a5d57611a0f8882611025565b915081848281518110611a1e57fe5b6020026020010181815250506010600083815260200190815260200160002054838281518110611a4a57fe5b60209081029190910101526001016119fd565b50919450925050505b915091565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600d5481565b611aa7611c4a565b6001600160a01b0316611ab8611406565b6001600160a01b031614611b01576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6001600160a01b038116611b465760405162461bcd60e51b8152600401808060200182810382526026815260200180612a8c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611ba9611c4a565b6001600160a01b0316611bba611406565b6001600160a01b031614611c03576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600f6020526000908152604090205481565b600061105060048363ffffffff61215b16565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c83826111df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061105082612167565b6000611cd282611c37565b611d0d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612ad6602c913960400191505060405180910390fd5b6000611d18836111df565b9050806001600160a01b0316846001600160a01b03161480611d535750836001600160a01b0316611d4884610b76565b6001600160a01b0316145b80611d635750611d638185611a6b565b949350505050565b826001600160a01b0316611d7e826111df565b6001600160a01b031614611dc35760405162461bcd60e51b8152600401808060200182810382526029815260200180612c1c6029913960400191505060405180910390fd5b6001600160a01b038216611e085760405162461bcd60e51b8152600401808060200182810382526024815260200180612ab26024913960400191505060405180910390fd5b611e13838383610cae565b611e1e600082611c4e565b6001600160a01b0383166000908152600360205260409020611e46908263ffffffff61216b16565b506001600160a01b0382166000908152600360205260409020611e6f908263ffffffff61217716565b50611e826004828463ffffffff61218316565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082821115611f20576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600061104d8383612199565b6000808080611f4186866121fd565b9097909650945050505050565b80516111db90600b90602084019061299f565b6000611f6e848484612278565b90505b9392505050565b600082611f8757506000611050565b82820282848281611f9457fe5b041461104d5760405162461bcd60e51b8152600401808060200182810382526021815260200180612baf6021913960400191505060405180910390fd5b60008282018381101561104d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6111db828260405180602001604052806000815250612342565b612050848484611d6b565b61205c84848484612394565b6118875760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5a6032913960400191505060405180910390fd5b6060816120bc57506040805180820190915260018152600360fc1b6020820152610ada565b8160005b81156120d457600101600a820491506120c0565b6060816040519080825280601f01601f191660200182016040528015612101576020820181803683370190505b50859350905060001982015b831561215257600a840660300160f81b8282806001900393508151811061213057fe5b60200101906001600160f81b031916908160001a905350600a8404935061210d565b50949350505050565b600061104d8383612514565b5490565b600061104d838361252c565b600061104d83836125f2565b6000611f6e84846001600160a01b03851661263c565b815460009082106121db5760405162461bcd60e51b8152600401808060200182810382526022815260200180612a386022913960400191505060405180910390fd5b8260000182815481106121ea57fe5b9060005260206000200154905092915050565b8154600090819083106122415760405162461bcd60e51b8152600401808060200182810382526022815260200180612b8d6022913960400191505060405180910390fd5b600084600001848154811061225257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123135760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122d85781810151838201526020016122c0565b50505050905090810190601f1680156123055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061232657fe5b9060005260206000209060020201600101549150509392505050565b61234c83836126d3565b6123596000848484612394565b610cae5760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5a6032913960400191505060405180910390fd5b60006123a8846001600160a01b031661280d565b6123b457506001611d63565b60606124da630a85bd0160e11b6123c9611c4a565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561244257818101518382015260200161242a565b50505050905090810190601f16801561246f5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a5a603291396001600160a01b038816919063ffffffff61281316565b905060008180602001905160208110156124f357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156125e8578354600019808301919081019060009087908390811061255f57fe5b906000526020600020015490508087600001848154811061257c57fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806125ac57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611050565b6000915050611050565b60006125fe8383612514565b61263457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611050565b506000611050565b6000828152600184016020526040812054806126a1575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f71565b828560000160018303815481106126b457fe5b9060005260206000209060020201600101819055506000915050611f71565b6001600160a01b03821661272e576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61273781611c37565b15612789576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61279560008383610cae565b6001600160a01b03821660009081526003602052604090206127bd908263ffffffff61217716565b506127d06004828463ffffffff61218316565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060611f6e8484600085856128278561280d565b612878576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128b75780518252601f199092019160209182019101612898565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612919576040519150601f19603f3d011682016040523d82523d6000602084013e61291e565b606091505b509150915061292e828286612939565b979650505050505050565b60608315612948575081611f71565b8251156129585782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156122d85781810151838201526020016122c0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129e057805160ff1916838001178555612a0d565b82800160010185558215612a0d579182015b82811115612a0d5782518255916020019190600101906129f2565b50612a19929150612a1d565b5090565b610b7391905b80821115612a195760008155600101612a2356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220da17a8092b6d1c7370d76e606d1fec16c1ee7f2907534717da0df6cc90eebb6f64736f6c6343000604003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d59576f665633786e47346b5643435934346869376b343362384d5570456b53624b434661445374677453704c2f00000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636690864e11610118578063a22cb465116100a0578063e985e9c51161006f578063e985e9c5146109d3578063f0b3456614610a0e578063f2fde38b14610a23578063f3d3d44814610a56578063fd3dc53a14610a895761020f565b8063a22cb465146107d1578063b88d4fde1461080c578063c87b56dd146108dd578063dce44bc7146109075761020f565b80638da5cb5b116100e75780638da5cb5b146107365780639097548d1461074b57806392c153871461077557806395d89b411461079f578063a0712d68146107b45761020f565b80636690864e146106a65780636c0360eb146106d957806370a08231146106ee578063715018a6146107215761020f565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e1461057f5780634b24ea47146105c25780634f6ccce7146105d757806355f804b3146106015780636352211e1461067c5761020f565b806323b872dd146104af5780632b83cccd146104f25780632f745c59146105315780633ccfd60b1461056a5761020f565b806318160ddd116101e257806318160ddd146103675780631c75f0851461038e5780631edbcf6c146103a3578063204298c0146103b8578063211e28b6146104835761020f565b806301ffc9a71461021457806306fdde031461025c578063081812fc146102e6578063095ea7b31461032c575b600080fd5b34801561022057600080fd5b506102486004803603602081101561023757600080fd5b50356001600160e01b031916610abc565b604080519115158252519081900360200190f35b34801561026857600080fd5b50610271610adf565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ab578181015183820152602001610293565b50505050905090810190601f1680156102d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f257600080fd5b506103106004803603602081101561030957600080fd5b5035610b76565b604080516001600160a01b039092168252519081900360200190f35b34801561033857600080fd5b506103656004803603604081101561034f57600080fd5b506001600160a01b038135169060200135610bd8565b005b34801561037357600080fd5b5061037c610cb3565b60408051918252519081900360200190f35b34801561039a57600080fd5b50610310610cc4565b3480156103af57600080fd5b5061037c610cd3565b3480156103c457600080fd5b50610365600480360360408110156103db57600080fd5b810190602081018135600160201b8111156103f557600080fd5b82018360208201111561040757600080fd5b803590602001918460208302840111600160201b8311171561042857600080fd5b919390929091602081019035600160201b81111561044557600080fd5b82018360208201111561045757600080fd5b803590602001918460208302840111600160201b8311171561047857600080fd5b509092509050610cd9565b34801561048f57600080fd5b50610365600480360360208110156104a657600080fd5b50351515610de3565b3480156104bb57600080fd5b50610365600480360360608110156104d257600080fd5b506001600160a01b03813581169160208101359091169060400135610e58565b3480156104fe57600080fd5b506103656004803603606081101561051557600080fd5b506001600160a01b038135169060208101359060400135610eaf565b34801561053d57600080fd5b5061037c6004803603604081101561055457600080fd5b506001600160a01b038135169060200135611025565b34801561057657600080fd5b50610365611056565b34801561058b57600080fd5b50610365600480360360608110156105a257600080fd5b506001600160a01b038135811691602081013590911690604001356110f4565b3480156105ce57600080fd5b5061031061110f565b3480156105e357600080fd5b5061037c600480360360208110156105fa57600080fd5b503561111e565b34801561060d57600080fd5b506103656004803603602081101561062457600080fd5b810190602081018135600160201b81111561063e57600080fd5b82018360208201111561065057600080fd5b803590602001918460018302840111600160201b8311171561067157600080fd5b50909250905061113a565b34801561068857600080fd5b506103106004803603602081101561069f57600080fd5b50356111df565b3480156106b257600080fd5b50610365600480360360208110156106c957600080fd5b50356001600160a01b031661120d565b3480156106e557600080fd5b50610271611291565b3480156106fa57600080fd5b5061037c6004803603602081101561071157600080fd5b50356001600160a01b03166112f2565b34801561072d57600080fd5b5061036561135a565b34801561074257600080fd5b50610310611406565b34801561075757600080fd5b5061037c6004803603602081101561076e57600080fd5b5035611415565b34801561078157600080fd5b5061037c6004803603602081101561079857600080fd5b503561142f565b3480156107ab57600080fd5b50610271611441565b610365600480360360208110156107ca57600080fd5b50356114a2565b3480156107dd57600080fd5b50610365600480360360408110156107f457600080fd5b506001600160a01b038135169060200135151561172a565b34801561081857600080fd5b506103656004803603608081101561082f57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561086957600080fd5b82018360208201111561087b57600080fd5b803590602001918460018302840111600160201b8311171561089c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061182f945050505050565b3480156108e957600080fd5b506102716004803603602081101561090057600080fd5b503561188d565b34801561091357600080fd5b5061093a6004803603602081101561092a57600080fd5b50356001600160a01b0316611967565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561097e578181015183820152602001610966565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156109bd5781810151838201526020016109a5565b5050505090500194505050505060405180910390f35b3480156109df57600080fd5b50610248600480360360408110156109f657600080fd5b506001600160a01b0381358116916020013516611a6b565b348015610a1a57600080fd5b5061037c611a99565b348015610a2f57600080fd5b5061036560048036036020811015610a4657600080fd5b50356001600160a01b0316611a9f565b348015610a6257600080fd5b5061036560048036036020811015610a7957600080fd5b50356001600160a01b0316611ba1565b348015610a9557600080fd5b5061037c60048036036020811015610aac57600080fd5b50356001600160a01b0316611c25565b6001600160e01b0319811660009081526002602052604090205460ff165b919050565b60088054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b820191906000526020600020905b815481529060010190602001808311610b4e57829003601f168201915b505050505090505b90565b6000610b8182611c37565b610bbc5760405162461bcd60e51b815260040180806020018281038252602c815260200180612bd0602c913960400191505060405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610be3826111df565b9050806001600160a01b0316836001600160a01b03161415610c365760405162461bcd60e51b8152600401808060200182810382526021815260200180612c456021913960400191505060405180910390fd5b806001600160a01b0316610c48611c4a565b6001600160a01b03161480610c695750610c6981610c64611c4a565b611a6b565b610ca45760405162461bcd60e51b8152600401808060200182810382526038815260200180612b026038913960400191505060405180910390fd5b610cae8383611c4e565b505050565b6000610cbf6004611cbc565b905090565b6011546001600160a01b031681565b600e5481565b610ce1611c4a565b6001600160a01b0316610cf2611406565b6001600160a01b031614610d3b576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b828114610d83576040805162461bcd60e51b81526020600482015260116024820152704d69736d61746368656420696e7075747360781b604482015290519081900360640190fd5b60005b83811015610ddc57828282818110610d9a57fe5b90506020020135600f6000878785818110610db157fe5b602090810292909201356001600160a01b031683525081019190915260400160002055600101610d86565b5050505050565b610deb611c4a565b6001600160a01b0316610dfc611406565b6001600160a01b031614610e45576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b610e69610e63611c4a565b82611cc7565b610ea45760405162461bcd60e51b8152600401808060200182810382526031815260200180612c666031913960400191505060405180910390fd5b610cae838383611d6b565b6012546001600160a01b0316610ec3611c4a565b6001600160a01b031614610f1e576040805162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520436f6e74726f6c6c657200000000604482015290519081900360640190fd5b826001600160a01b0316610f31836111df565b6001600160a01b031614610f8c576040805162461bcd60e51b815260206004820152601960248201527f546f6b656e206e6f74206f776e65642062792073656e64657200000000000000604482015290519081900360640190fd5b600082815260106020526040902054811115610fef576040805162461bcd60e51b815260206004820152601f60248201527f43616e6e6f742072656465656d206d6f7265207468616e2062616c616e636500604482015290519081900360640190fd5b60008281526010602052604090205461100e908263ffffffff611ec916565b600092835260106020526040909220919091555050565b6001600160a01b038216600090815260036020526040812061104d908363ffffffff611f2616565b90505b92915050565b61105e611c4a565b6001600160a01b031661106f611406565b6001600160a01b0316146110b8576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6011546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156110f1573d6000803e3d6000fd5b50565b610cae8383836040518060200160405280600081525061182f565b6012546001600160a01b031681565b60008061113260048463ffffffff611f3216565b509392505050565b611142611c4a565b6001600160a01b0316611153611406565b6001600160a01b03161461119c576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6111db82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f4e92505050565b5050565b600061105082604051806060016040528060298152602001612b64602991396004919063ffffffff611f6116565b611215611c4a565b6001600160a01b0316611226611406565b6001600160a01b03161461126f576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600b8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b60006001600160a01b0382166113395760405162461bcd60e51b815260040180806020018281038252602a815260200180612b3a602a913960400191505060405180910390fd5b6001600160a01b038216600090815260036020526040902061105090611cbc565b611362611c4a565b6001600160a01b0316611373611406565b6001600160a01b0316146113bc576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60006110508267011c37937e08000063ffffffff611f7816565b60106020526000908152604090205481565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6b5780601f10610b4057610100808354040283529160200191610b6b565b600260015414156114fa576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600c5460ff161561154c576040805162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81b1bd8dad95960721b604482015290519081900360640190fd5b6000811161159a576040805162461bcd60e51b815260206004820152601660248201527504d7573742068617665207175616e74697479203e20360541b604482015290519081900360640190fd5b80600f60006115a7611c4a565b6001600160a01b03166001600160a01b0316815260200190815260200160002054101561161b576040805162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820726573657276656420666f722073656e6465720000604482015290519081900360640190fd5b61162481611415565b3414611670576040805162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b604482015290519081900360640190fd5b600d5461168490600163ffffffff611fd116565b600d556116bd81600f6000611697611c4a565b6001600160a01b031681526020810191909152604001600020549063ffffffff611ec916565b600f60006116c9611c4a565b6001600160a01b031681526020808201929092526040908101600090812093909355600d54835260109091529020819055600e5461170d908263ffffffff611fd116565b600e5561172361171b611c4a565b600d5461202b565b5060018055565b611732611c4a565b6001600160a01b0316826001600160a01b03161415611798576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b80600760006117a5611c4a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117e9611c4a565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b61184061183a611c4a565b83611cc7565b61187b5760405162461bcd60e51b8152600401808060200182810382526031815260200180612c666031913960400191505060405180910390fd5b61188784848484612045565b50505050565b6000818152601060205260409020546060906118a7611291565b6118b082612097565b6040516020018083805190602001908083835b602083106118e25780518252601f1990920191602091820191016118c3565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061192a5780518252601f19909201916020918201910161190b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6060806000611975846112f2565b90508061199b575050604080516000808252602082019081528183019092529150611a66565b6060816040519080825280602002602001820160405280156119c7578160200160208202803683370190505b5090506060826040519080825280602002602001820160405280156119f6578160200160208202803683370190505b5090506000805b84811015611a5d57611a0f8882611025565b915081848281518110611a1e57fe5b6020026020010181815250506010600083815260200190815260200160002054838281518110611a4a57fe5b60209081029190910101526001016119fd565b50919450925050505b915091565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600d5481565b611aa7611c4a565b6001600160a01b0316611ab8611406565b6001600160a01b031614611b01576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b6001600160a01b038116611b465760405162461bcd60e51b8152600401808060200182810382526026815260200180612a8c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611ba9611c4a565b6001600160a01b0316611bba611406565b6001600160a01b031614611c03576040805162461bcd60e51b81526020600482018190526024820152600080516020612bfc833981519152604482015290519081900360640190fd5b601280546001600160a01b0319166001600160a01b0392909216919091179055565b600f6020526000908152604090205481565b600061105060048363ffffffff61215b16565b3390565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c83826111df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061105082612167565b6000611cd282611c37565b611d0d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612ad6602c913960400191505060405180910390fd5b6000611d18836111df565b9050806001600160a01b0316846001600160a01b03161480611d535750836001600160a01b0316611d4884610b76565b6001600160a01b0316145b80611d635750611d638185611a6b565b949350505050565b826001600160a01b0316611d7e826111df565b6001600160a01b031614611dc35760405162461bcd60e51b8152600401808060200182810382526029815260200180612c1c6029913960400191505060405180910390fd5b6001600160a01b038216611e085760405162461bcd60e51b8152600401808060200182810382526024815260200180612ab26024913960400191505060405180910390fd5b611e13838383610cae565b611e1e600082611c4e565b6001600160a01b0383166000908152600360205260409020611e46908263ffffffff61216b16565b506001600160a01b0382166000908152600360205260409020611e6f908263ffffffff61217716565b50611e826004828463ffffffff61218316565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082821115611f20576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600061104d8383612199565b6000808080611f4186866121fd565b9097909650945050505050565b80516111db90600b90602084019061299f565b6000611f6e848484612278565b90505b9392505050565b600082611f8757506000611050565b82820282848281611f9457fe5b041461104d5760405162461bcd60e51b8152600401808060200182810382526021815260200180612baf6021913960400191505060405180910390fd5b60008282018381101561104d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6111db828260405180602001604052806000815250612342565b612050848484611d6b565b61205c84848484612394565b6118875760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5a6032913960400191505060405180910390fd5b6060816120bc57506040805180820190915260018152600360fc1b6020820152610ada565b8160005b81156120d457600101600a820491506120c0565b6060816040519080825280601f01601f191660200182016040528015612101576020820181803683370190505b50859350905060001982015b831561215257600a840660300160f81b8282806001900393508151811061213057fe5b60200101906001600160f81b031916908160001a905350600a8404935061210d565b50949350505050565b600061104d8383612514565b5490565b600061104d838361252c565b600061104d83836125f2565b6000611f6e84846001600160a01b03851661263c565b815460009082106121db5760405162461bcd60e51b8152600401808060200182810382526022815260200180612a386022913960400191505060405180910390fd5b8260000182815481106121ea57fe5b9060005260206000200154905092915050565b8154600090819083106122415760405162461bcd60e51b8152600401808060200182810382526022815260200180612b8d6022913960400191505060405180910390fd5b600084600001848154811061225257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816123135760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122d85781810151838201526020016122c0565b50505050905090810190601f1680156123055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061232657fe5b9060005260206000209060020201600101549150509392505050565b61234c83836126d3565b6123596000848484612394565b610cae5760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5a6032913960400191505060405180910390fd5b60006123a8846001600160a01b031661280d565b6123b457506001611d63565b60606124da630a85bd0160e11b6123c9611c4a565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561244257818101518382015260200161242a565b50505050905090810190601f16801561246f5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612a5a603291396001600160a01b038816919063ffffffff61281316565b905060008180602001905160208110156124f357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156125e8578354600019808301919081019060009087908390811061255f57fe5b906000526020600020015490508087600001848154811061257c57fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806125ac57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611050565b6000915050611050565b60006125fe8383612514565b61263457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611050565b506000611050565b6000828152600184016020526040812054806126a1575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611f71565b828560000160018303815481106126b457fe5b9060005260206000209060020201600101819055506000915050611f71565b6001600160a01b03821661272e576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61273781611c37565b15612789576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61279560008383610cae565b6001600160a01b03821660009081526003602052604090206127bd908263ffffffff61217716565b506127d06004828463ffffffff61218316565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b6060611f6e8484600085856128278561280d565b612878576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128b75780518252601f199092019160209182019101612898565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612919576040519150601f19603f3d011682016040523d82523d6000602084013e61291e565b606091505b509150915061292e828286612939565b979650505050505050565b60608315612948575081611f71565b8251156129585782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156122d85781810151838201526020016122c0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129e057805160ff1916838001178555612a0d565b82800160010185558215612a0d579182015b82811115612a0d5782518255916020019190600101906129f2565b50612a19929150612a1d565b5090565b610b7391905b80821115612a195760008155600101612a2356fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220da17a8092b6d1c7370d76e606d1fec16c1ee7f2907534717da0df6cc90eebb6f64736f6c63430006040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d59576f665633786e47346b5643435934346869376b343362384d5570456b53624b434661445374677453704c2f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmYWofV3xnG4kVCCY44hi7k43b8MUpEkSbKCFaDStgtSpL/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d59576f665633786e47346b5643435934346869376b3433
Arg [3] : 62384d5570456b53624b434661445374677453704c2f00000000000000000000
Deployed Bytecode Sourcemap
70288:6127:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;15506:150:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;15506:150:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;15506:150:0;-1:-1:-1;;;;;;15506:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;56996:100;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56996:100:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8::-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;56996:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59782:221;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59782:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59782:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;59782:221:0;;;;;;;;;;;;;;59312:404;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59312:404:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;59312:404:0;;;;;;;;:::i;:::-;;58790:211;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58790:211:0;;;:::i;:::-;;;;;;;;;;;;;;;;70886:34;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70886:34:0;;;:::i;70604:30::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70604:30:0;;;:::i;76098:314::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;76098:314:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;76098:314:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;76098:314:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;76098:314:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;76098:314:0;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;76098:314:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;76098:314:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;76098:314:0;;-1:-1:-1;76098:314:0;-1:-1:-1;76098:314:0;:::i;75525:86::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75525:86:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75525:86:0;;;;:::i;60672:305::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60672:305:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;60672:305:0;;;;;;;;;;;;;;;;;:::i;74218:355::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74218:355:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;74218:355:0;;;;;;;;;;;;;:::i;58552:162::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58552:162:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;58552:162:0;;;;;;;;:::i;74724:108::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74724:108:0;;;:::i;61048:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;61048:151:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;61048:151:0;;;;;;;;;;;;;;;;;:::i;70966:32::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70966:32:0;;;:::i;59078:172::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59078:172:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59078:172:0;;:::i;75760:105::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75760:105:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;75760:105:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;75760:105:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;75760:105:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;75760:105:0;;-1:-1:-1;75760:105:0;-1:-1:-1;75760:105:0;:::i;56752:177::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56752:177:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;56752:177:0;;:::i;74977:116::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74977:116:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74977:116:0;-1:-1:-1;;;;;74977:116:0;;:::i;58371:97::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58371:97:0;;;:::i;56469:221::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56469:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;56469:221:0;-1:-1:-1;;;;;56469:221:0;;:::i;2814:148::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2814:148:0;;;:::i;2163:87::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2163:87:0;;;:::i;72448:111::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;72448:111:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;72448:111:0;;:::i;70794:49::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70794:49:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;70794:49:0;;:::i;57165:104::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57165:104:0;;;:::i;71659:618::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;71659:618:0;;:::i;60075:295::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60075:295:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;60075:295:0;;;;;;;;;;:::i;61270:285::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;61270:285:0;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;61270:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;61270:285:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;61270:285:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;61270:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;61270:285:0;;-1:-1:-1;61270:285:0;;-1:-1:-1;;;;;61270:285:0:i;73589:221::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;73589:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;73589:221:0;;:::i;72762:646::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;72762:646:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;72762:646:0;-1:-1:-1;;;;;72762:646:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;72762:646:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;72762:646:0;;;;;;;;;;;;;;;;;;;60441:164;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60441:164:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;60441:164:0;;;;;;;;;;:::i;70511:34::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70511:34:0;;;:::i;3117:244::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3117:244:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;3117:244:0;-1:-1:-1;;;;;3117:244:0;;:::i;75277:134::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75277:134:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75277:134:0;-1:-1:-1;;;;;75277:134:0;;:::i;70700:47::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70700:47:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;70700:47:0;-1:-1:-1;;;;;70700:47:0;;:::i;15506:150::-;-1:-1:-1;;;;;;15615:33:0;;15591:4;15615:33;;;:20;:33;;;;;;;;15506:150;;;;:::o;56996:100::-;57083:5;57076:12;;;;;;;;-1:-1:-1;;57076:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57050:13;;57076:12;;57083:5;;57076:12;;57083:5;57076:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56996:100;;:::o;59782:221::-;59858:7;59886:16;59894:7;59886;:16::i;:::-;59878:73;;;;-1:-1:-1;;;59878:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59971:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;59971:24:0;;59782:221::o;59312:404::-;59393:13;59409:23;59424:7;59409:14;:23::i;:::-;59393:39;;59457:5;-1:-1:-1;;;;;59451:11:0;:2;-1:-1:-1;;;;;59451:11:0;;;59443:57;;;;-1:-1:-1;;;59443:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59537:5;-1:-1:-1;;;;;59521:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;59521:21:0;;:69;;;;59546:44;59570:5;59577:12;:10;:12::i;:::-;59546:23;:44::i;:::-;59513:161;;;;-1:-1:-1;;;59513:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59687:21;59696:2;59700:7;59687:8;:21::i;:::-;59312:404;;;:::o;58790:211::-;58851:7;58972:21;:12;:19;:21::i;:::-;58965:28;;58790:211;:::o;70886:34::-;;;-1:-1:-1;;;;;70886:34:0;;:::o;70604:30::-;;;;:::o;76098:314::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;76222:37;;::::1;76214:67;;;::::0;;-1:-1:-1;;;76214:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;76214:67:0;;;;;;;;;;;;;::::1;;76297:6;76292:113;76309:20:::0;;::::1;76292:113;;;76380:10;;76391:1;76380:13;;;;;;;;;;;;;76351:12;:26;76364:9;;76374:1;76364:12;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;76364:12:0::1;76351:26:::0;;-1:-1:-1;76351:26:0;::::1;::::0;;;;;;-1:-1:-1;76351:26:0;:42;76331:3:::1;;76292:113;;;;76098:314:::0;;;;:::o;75525:86::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;75587:7:::1;:16:::0;;-1:-1:-1;;75587:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75525:86::o;60672:305::-;60833:41;60852:12;:10;:12::i;:::-;60866:7;60833:18;:41::i;:::-;60825:103;;;;-1:-1:-1;;;60825:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60941:28;60951:4;60957:2;60961:7;60941:9;:28::i;74218:355::-;71412:17;;-1:-1:-1;;;;;71412:17:0;71396:12;:10;:12::i;:::-;-1:-1:-1;;;;;71396:33:0;;71388:74;;;;;-1:-1:-1;;;71388:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;74365:6:::1;-1:-1:-1::0;;;;;74345:26:0::1;:16;74353:7;74345;:16::i;:::-;-1:-1:-1::0;;;;;74345:26:0::1;;74337:64;;;::::0;;-1:-1:-1;;;74337:64:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;74432:23;::::0;;;:14:::1;:23;::::0;;;;;74420:35;::::1;;74412:79;;;::::0;;-1:-1:-1;;;74412:79:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;74528:23;::::0;;;:14:::1;:23;::::0;;;;;:37:::1;::::0;74556:8;74528:37:::1;:27;:37;:::i;:::-;74502:23;::::0;;;:14:::1;:23;::::0;;;;;:63;;;;-1:-1:-1;;74218:355:0:o;58552:162::-;-1:-1:-1;;;;;58676:20:0;;58649:7;58676:20;;;:13;:20;;;;;:30;;58700:5;58676:30;:23;:30;:::i;:::-;58669:37;;58552:162;;;;;:::o;74724:108::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;74780:11:::1;::::0;74772:52:::1;::::0;-1:-1:-1;;;;;74780:11:0;;::::1;::::0;74802:21:::1;74772:52:::0;::::1;;;::::0;74780:11:::1;74772:52:::0;74780:11;74772:52;74802:21;74780:11;74772:52;::::1;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;74772:52:0;74724:108::o:0;61048:151::-;61152:39;61169:4;61175:2;61179:7;61152:39;;;;;;;;;;;;:16;:39::i;70966:32::-;;;-1:-1:-1;;;;;70966:32:0;;:::o;59078:172::-;59153:7;;59195:22;:12;59211:5;59195:22;:15;:22;:::i;:::-;-1:-1:-1;59173:44:0;59078:172;-1:-1:-1;;;59078:172:0:o;75760:105::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;75836:21:::1;75848:8;;75836:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;;-1:-1;75836:11:0::1;::::0;-1:-1:-1;;;75836:21:0:i:1;:::-;75760:105:::0;;:::o;56752:177::-;56824:7;56851:70;56868:7;56851:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;74977:116::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;75059:11:::1;:26:::0;;-1:-1:-1;;;;;;75059:26:0::1;-1:-1:-1::0;;;;;75059:26:0;;;::::1;::::0;;;::::1;::::0;;74977:116::o;58371:97::-;58452:8;58445:15;;;;;;;;-1:-1:-1;;58445:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58419:13;;58445:15;;58452:8;;58445:15;;58452:8;58445:15;;;;;;;;;;;;;;;;;;;;;;;;56469:221;56541:7;-1:-1:-1;;;;;56569:19:0;;56561:74;;;;-1:-1:-1;;;56561:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56653:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;2814:148::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;2921:1:::1;2905:6:::0;;2884:40:::1;::::0;-1:-1:-1;;;;;2905:6:0;;::::1;::::0;2884:40:::1;::::0;2921:1;;2884:40:::1;2952:1;2935:19:::0;;-1:-1:-1;;;;;;2935:19:0::1;::::0;;2814:148::o;2163:87::-;2209:7;2236:6;-1:-1:-1;;;;;2236:6:0;2163:87;:::o;72448:111::-;72501:7;72528:23;:8;72541:9;72528:23;:12;:23;:::i;70794:49::-;;;;;;;;;;;;;:::o;57165:104::-;57254:7;57247:14;;;;;;;;-1:-1:-1;;57247:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57221:13;;57247:14;;57254:7;;57247:14;;57254:7;57247:14;;;;;;;;;;;;;;;;;;;;;;;;71659:618;5151:1;5757:7;;:19;;5749:63;;;;;-1:-1:-1;;;5749:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5151:1;5890:7;:18;71293:7:::1;::::0;::::1;;71292:8;71284:39;;;::::0;;-1:-1:-1;;;71284:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;71284:39:0;;;;;;;;;;;;;::::1;;71764:1:::2;71753:8;:12;71745:47;;;::::0;;-1:-1:-1;;;71745:47:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;71745:47:0;;;;;;;;;;;;;::::2;;71841:8;71811:12;:26;71824:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;71811:26:0::2;-1:-1:-1::0;;;;;71811:26:0::2;;;;;;;;;;;;;:38;;71803:81;;;::::0;;-1:-1:-1;;;71803:81:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;71916:14;71921:8;71916:4;:14::i;:::-;71903:9;:27;71895:62;;;::::0;;-1:-1:-1;;;71895:62:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;71895:62:0;;;;;;;;;;;;;::::2;;71992:19;::::0;:26:::2;::::0;72016:1:::2;71992:26;:23;:26;:::i;:::-;71970:19;:48:::0;72059:40:::2;72090:8:::0;72059:12:::2;:26;72072:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;72059:26:0::2;::::0;;::::2;::::0;::::2;::::0;;;;;;-1:-1:-1;72059:26:0;;;:40:::2;:30;:40;:::i;:::-;72029:12;:26;72042:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;72029:26:0::2;::::0;;::::2;::::0;;::::2;::::0;;;;;;;;-1:-1:-1;72029:26:0;;;:70;;;;72125:19:::2;::::0;72110:35;;:14:::2;:35:::0;;;;;:46;;;72185:15:::2;::::0;:29:::2;::::0;72148:8;72185:29:::2;:19;:29;:::i;:::-;72167:15;:47:::0;72225:44:::2;72235:12;:10;:12::i;:::-;72249:19;;72225:9;:44::i;:::-;-1:-1:-1::0;5107:1:0;6069:22;;71659:618::o;60075:295::-;60190:12;:10;:12::i;:::-;-1:-1:-1;;;;;60178:24:0;:8;-1:-1:-1;;;;;60178:24:0;;;60170:62;;;;;-1:-1:-1;;;60170:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60290:8;60245:18;:32;60264:12;:10;:12::i;:::-;-1:-1:-1;;;;;60245:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;60245:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;60245:53:0;;;;;;;;;;;60329:12;:10;:12::i;:::-;60314:48;;;;;;;;;;-1:-1:-1;;;;;60314:48:0;;;;;;;;;;;;;;60075:295;;:::o;61270:285::-;61402:41;61421:12;:10;:12::i;:::-;61435:7;61402:18;:41::i;:::-;61394:103;;;;-1:-1:-1;;;61394:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61508:39;61522:4;61528:2;61532:7;61541:5;61508:13;:39::i;:::-;61270:285;;;;:::o;73589:221::-;73688:15;73706:23;;;:14;:23;;;;;;73662:13;;73771:9;:7;:9::i;:::-;73782:18;:7;:16;:18::i;:::-;73754:47;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;73754:47:0;;;;;;;;;;-1:-1:-1;73754:47:0;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;73754:47:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;73754:47:0;;;73740:62;;;73589:221;;;:::o;72762:646::-;72835:16;72853;72882:20;72905:16;72915:5;72905:9;:16::i;:::-;72882:39;-1:-1:-1;72936:17:0;72932:66;;-1:-1:-1;;72963:16:0;;;72977:1;72963:16;;;;;;72981;;;;;;;;;72963;-1:-1:-1;72955:43:0;;72932:66;73011:25;73053:12;73039:27;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;73039:27:0;;73011:55;;73077:25;73119:12;73105:27;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;73105:27:0;-1:-1:-1;73077:55:0;-1:-1:-1;73143:15:0;;73169:194;73190:12;73186:1;:16;73169:194;;;73234:29;73254:5;73261:1;73234:19;:29::i;:::-;73224:39;;73292:7;73278:8;73287:1;73278:11;;;;;;;;;;;;;:21;;;;;73328:14;:23;73343:7;73328:23;;;;;;;;;;;;73314:8;73323:1;73314:11;;;;;;;;;;;;;;;;;:37;73204:3;;73169:194;;;-1:-1:-1;73381:8:0;;-1:-1:-1;73391:8:0;-1:-1:-1;;;72762:646:0;;;;:::o;60441:164::-;-1:-1:-1;;;;;60562:25:0;;;60538:4;60562:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;60441:164::o;70511:34::-;;;;:::o;3117:244::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3206:22:0;::::1;3198:73;;;;-1:-1:-1::0;;;3198:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3308:6;::::0;;3287:38:::1;::::0;-1:-1:-1;;;;;3287:38:0;;::::1;::::0;3308:6;::::1;::::0;3287:38:::1;::::0;::::1;3336:6;:17:::0;;-1:-1:-1;;;;;;3336:17:0::1;-1:-1:-1::0;;;;;3336:17:0;;;::::1;::::0;;;::::1;::::0;;3117:244::o;75277:134::-;2394:12;:10;:12::i;:::-;-1:-1:-1;;;;;2383:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2383:23:0;;2375:68;;;;;-1:-1:-1;;;2375:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2375:68:0;;;;;;;;;;;;;;;75364:17:::1;:38:::0;;-1:-1:-1;;;;;;75364:38:0::1;-1:-1:-1::0;;;;;75364:38:0;;;::::1;::::0;;;::::1;::::0;;75277:134::o;70700:47::-;;;;;;;;;;;;;:::o;63022:127::-;63087:4;63111:30;:12;63133:7;63111:30;:21;:30;:::i;667:106::-;755:10;667:106;:::o;69040:192::-;69115:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;69115:29:0;-1:-1:-1;;;;;69115:29:0;;;;;;;;:24;;69169:23;69115:24;69169:14;:23::i;:::-;-1:-1:-1;;;;;69160:46:0;;;;;;;;;;;69040:192;;:::o;49673:123::-;49742:7;49769:19;49777:3;49769:7;:19::i;63316:355::-;63409:4;63434:16;63442:7;63434;:16::i;:::-;63426:73;;;;-1:-1:-1;;;63426:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63510:13;63526:23;63541:7;63526:14;:23::i;:::-;63510:39;;63579:5;-1:-1:-1;;;;;63568:16:0;:7;-1:-1:-1;;;;;63568:16:0;;:51;;;;63612:7;-1:-1:-1;;;;;63588:31:0;:20;63600:7;63588:11;:20::i;:::-;-1:-1:-1;;;;;63588:31:0;;63568:51;:94;;;;63623:39;63647:5;63654:7;63623:23;:39::i;:::-;63560:103;63316:355;-1:-1:-1;;;;63316:355:0:o;66452:599::-;66577:4;-1:-1:-1;;;;;66550:31:0;:23;66565:7;66550:14;:23::i;:::-;-1:-1:-1;;;;;66550:31:0;;66542:85;;;;-1:-1:-1;;;66542:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66664:16:0;;66656:65;;;;-1:-1:-1;;;66656:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66734:39;66755:4;66761:2;66765:7;66734:20;:39::i;:::-;66838:29;66855:1;66859:7;66838:8;:29::i;:::-;-1:-1:-1;;;;;66880:19:0;;;;;;:13;:19;;;;;:35;;66907:7;66880:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;66926:17:0;;;;;;:13;:17;;;;;:30;;66948:7;66926:30;:21;:30;:::i;:::-;-1:-1:-1;66969:29:0;:12;66986:7;66995:2;66969:29;:16;:29;:::i;:::-;;67035:7;67031:2;-1:-1:-1;;;;;67016:27:0;67025:4;-1:-1:-1;;;;;67016:27:0;;;;;;;;;;;66452:599;;;:::o;19561:158::-;19619:7;19652:1;19647;:6;;19639:49;;;;;-1:-1:-1;;;19639:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19706:5:0;;;19561:158::o;41433:137::-;41504:7;41539:22;41543:3;41555:5;41539:3;:22::i;50135:236::-;50215:7;;;;50275:22;50279:3;50291:5;50275:3;:22::i;:::-;50244:53;;;;-1:-1:-1;50135:236:0;-1:-1:-1;;;;;50135:236:0:o;67652:100::-;67725:19;;;;:8;;:19;;;;;:::i;51421:213::-;51528:7;51579:44;51584:3;51604;51610:12;51579:4;:44::i;:::-;51571:53;-1:-1:-1;51421:213:0;;;;;;:::o;19978:220::-;20036:7;20060:6;20056:20;;-1:-1:-1;20075:1:0;20068:8;;20056:20;20099:5;;;20103:1;20099;:5;:1;20123:5;;;;;:10;20115:56;;;;-1:-1:-1;;;20115:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19099:179;19157:7;19189:5;;;19213:6;;;;19205:46;;;;;-1:-1:-1;;;19205:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;64014:110;64090:26;64100:2;64104:7;64090:26;;;;;;;;;;;;:9;:26::i;62437:272::-;62551:28;62561:4;62567:2;62571:7;62551:9;:28::i;:::-;62598:48;62621:4;62627:2;62631:7;62640:5;62598:22;:48::i;:::-;62590:111;;;;-1:-1:-1;;;62590:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51916:746;51972:13;52193:10;52189:53;;-1:-1:-1;52220:10:0;;;;;;;;;;;;-1:-1:-1;;;52220:10:0;;;;;;52189:53;52267:5;52252:12;52308:78;52315:9;;52308:78;;52341:8;;52372:2;52364:10;;;;52308:78;;;52396:19;52428:6;52418:17;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;52418:17:0;87:42:-1;143:17;;-1:-1;52418:17:0;-1:-1:-1;52490:5:0;;-1:-1:-1;52396:39:0;-1:-1:-1;;;52462:10:0;;52506:117;52513:9;;52506:117;;52582:2;52575:4;:9;52570:2;:14;52557:29;;52539:6;52546:7;;;;;;;52539:15;;;;;;;;;;;:47;-1:-1:-1;;;;;52539:47:0;;;;;;;;-1:-1:-1;52609:2:0;52601:10;;;;52506:117;;;-1:-1:-1;52647:6:0;51916:746;-1:-1:-1;;;;51916:746:0:o;49434:151::-;49518:4;49542:35;49552:3;49572;49542:9;:35::i;46252:110::-;46335:19;;46252:110::o;40520:137::-;40590:4;40614:35;40622:3;40642:5;40614:7;:35::i;40213:131::-;40280:4;40304:32;40309:3;40329:5;40304:4;:32::i;48857:185::-;48946:4;48970:64;48975:3;48995;-1:-1:-1;;;;;49009:23:0;;48970:4;:64::i;36471:204::-;36566:18;;36538:7;;36566:26;-1:-1:-1;36558:73:0;;;;-1:-1:-1;;;36558:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36649:3;:11;;36661:5;36649:18;;;;;;;;;;;;;;;;36642:25;;36471:204;;;;:::o;46717:279::-;46821:19;;46784:7;;;;46821:27;-1:-1:-1;46813:74:0;;;;-1:-1:-1;;;46813:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46900:22;46925:3;:12;;46938:5;46925:19;;;;;;;;;;;;;;;;;;46900:44;;46963:5;:10;;;46975:5;:12;;;46955:33;;;;;46717:279;;;;;:::o;48214:319::-;48308:7;48347:17;;;:12;;;:17;;;;;;48398:12;48383:13;48375:36;;;;-1:-1:-1;;;48375:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;48375:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48465:3;:12;;48489:1;48478:8;:12;48465:26;;;;;;;;;;;;;;;;;;:33;;;48458:40;;;48214:319;;;;;:::o;64351:250::-;64447:18;64453:2;64457:7;64447:5;:18::i;:::-;64484:54;64515:1;64519:2;64523:7;64532:5;64484:22;:54::i;:::-;64476:117;;;;-1:-1:-1;;;64476:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68317:604;68438:4;68465:15;:2;-1:-1:-1;;;;;68465:13:0;;:15::i;:::-;68460:60;;-1:-1:-1;68504:4:0;68497:11;;68460:60;68530:23;68556:252;-1:-1:-1;;;68669:12:0;:10;:12::i;:::-;68696:4;68715:7;68737:5;68572:181;;;;;;-1:-1:-1;;;;;68572:181:0;-1:-1:-1;;;;;68572:181:0;;;;;;-1:-1:-1;;;;;68572:181:0;-1:-1:-1;;;;;68572:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;68572:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;68572:181:0;;;;-1:-1:-1;;;;;68572:181:0;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;68572:181:0;68556:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;68556:15:0;;;:252;;:15;:252;:::i;:::-;68530:278;;68819:13;68846:10;68835:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;68835:32:0;-1:-1:-1;;;;;;68886:26:0;-1:-1:-1;;;68886:26:0;;-1:-1:-1;;;68317:604:0;;;;;;:::o;46032:125::-;46103:4;46127:17;;;:12;;;;;:17;;;;;;:22;;;46032:125::o;34173:1544::-;34239:4;34378:19;;;:12;;;:19;;;;;;34414:15;;34410:1300;;34849:18;;-1:-1:-1;;34800:14:0;;;;34849:22;;;;34776:21;;34849:3;;:22;;35136;;;;;;;;;;;;;;35116:42;;35282:9;35253:3;:11;;35265:13;35253:26;;;;;;;;;;;;;;;;;;;:38;;;;35359:23;;;35401:1;35359:12;;;:23;;;;;;35385:17;;;35359:43;;35511:17;;35359:3;;35511:17;;;;;;;;;;;;;;;;;;;;;;35606:3;:12;;:19;35619:5;35606:19;;;;;;;;;;;35599:26;;;35649:4;35642:11;;;;;;;;34410:1300;35693:5;35686:12;;;;;33583:414;33646:4;33668:21;33678:3;33683:5;33668:9;:21::i;:::-;33663:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;33706:11:0;:23;;;;;;;;;;;;;33889:18;;33867:19;;;:12;;;:19;;;;;;:40;;;;33922:11;;33663:327;-1:-1:-1;33973:5:0;33966:12;;43532:692;43608:4;43743:17;;;:12;;;:17;;;;;;43777:13;43773:444;;-1:-1:-1;;43862:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;43844:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;44059:19;;44039:17;;;:12;;;:17;;;;;;;:39;44093:11;;43773:444;44173:5;44137:3;:12;;44161:1;44150:8;:12;44137:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;44200:5;44193:12;;;;;64937:404;-1:-1:-1;;;;;65017:16:0;;65009:61;;;;;-1:-1:-1;;;65009:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65090:16;65098:7;65090;:16::i;:::-;65089:17;65081:58;;;;;-1:-1:-1;;;65081:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;65152:45;65181:1;65185:2;65189:7;65152:20;:45::i;:::-;-1:-1:-1;;;;;65210:17:0;;;;;;:13;:17;;;;;:30;;65232:7;65210:30;:21;:30;:::i;:::-;-1:-1:-1;65253:29:0;:12;65270:7;65279:2;65253:29;:16;:29;:::i;:::-;-1:-1:-1;65300:33:0;;65325:7;;-1:-1:-1;;;;;65300:33:0;;;65317:1;;65300:33;;65317:1;;65300:33;64937:404;;:::o;24571:422::-;24938:20;24977:8;;;24571:422::o;27489:195::-;27592:12;27624:52;27646:6;27654:4;27660:1;27663:12;27592;28793:18;28804:6;28793:10;:18::i;:::-;28785:60;;;;;-1:-1:-1;;;28785:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28919:12;28933:23;28960:6;-1:-1:-1;;;;;28960:11:0;28980:5;28988:4;28960:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;28960:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;28918:75:0;;;;29011:52;29029:7;29038:10;29050:12;29011:17;:52::i;:::-;29004:59;28541:530;-1:-1:-1;;;;;;;28541:530:0:o;31081:742::-;31196:12;31225:7;31221:595;;;-1:-1:-1;31256:10:0;31249:17;;31221:595;31370:17;;:21;31366:439;;31633:10;31627:17;31694:15;31681:10;31677:2;31673:19;31666:44;31581:148;31769:20;;-1:-1:-1;;;31769:20:0;;;;;;;;;;;;;;;;;31776:12;;31769:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;70288:6127:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70288:6127:0;;;-1:-1:-1;70288:6127:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://da17a8092b6d1c7370d76e606d1fec16c1ee7f2907534717da0df6cc90eebb6f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.