Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
2,000 FRANK
Holders
790
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FRANKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Frank
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.12; import {ERC721} from "@rari-capital/solmate/src/tokens/ERC721.sol"; import {Auth, Authority} from "@rari-capital/solmate/src/auth/Auth.sol"; import {SafeTransferLib} from "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; import {ERC2981} from "./ERC2981.sol"; import {VRFv2Consumer} from "./VRFConsumer.sol"; /// @title Frank /// @author exp.table contract Frank is ERC721, ERC2981, Auth, VRFv2Consumer { using Strings for uint256; /*////////////////////////////////////////////////////////////// STORAGE //////////////////////////////////////////////////////////////*/ bool public unpaused; uint256 public totalSupply = 1; uint256 public pricePerFrank = 0.05 ether; uint256 public VRF_SEED; string public ipfsCID; uint256 public immutable totalFranks = 2000; uint256 public immutable transactionLimit = 20; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( address owner, uint64 subscriptionId, address vrfCoordinator, address link, bytes32 keyHash_ ) ERC721("frank", "FRANK") Auth(owner, Authority(address(0))) VRFv2Consumer(subscriptionId, vrfCoordinator, link, keyHash_) { _mint(owner, 0); _royaltyFee = 700; _royaltyRecipient = owner; } /*////////////////////////////////////////////////////////////// FRANKLY OWNER-RESTRICTED FUNCTIONS //////////////////////////////////////////////////////////////*/ function setPrice(uint256 newPrice) requiresAuth public { pricePerFrank = newPrice; } function switchPause() requiresAuth public { unpaused = !unpaused; } function setRoyaltyRecipient(address recipient) requiresAuth public { _royaltyRecipient = recipient; } function setRoyaltyFee(uint256 fee) requiresAuth public { _royaltyFee = fee; } function setIPFS(string calldata cid) requiresAuth public { ipfsCID = cid; } /*////////////////////////////////////////////////////////////// FRANKLY INTERNAL FUNCTIONS //////////////////////////////////////////////////////////////*/ function fulfillRandomWords( uint256, /* requestId */ uint256[] memory randomWords ) internal override { VRF_SEED = randomWords[0]; } /*////////////////////////////////////////////////////////////// FRANKLY PUBLIC FUNCTIONS //////////////////////////////////////////////////////////////*/ function mintFrank(uint256 amount) public payable { require(unpaused, "FRANKLY_PAUSED"); require(amount <= transactionLimit, "FRANKLY_OVER_LIMIT"); require(totalSupply + amount <= totalFranks, "TOO_MANY_FRANKS"); require(msg.value == amount * pricePerFrank, "FRANKLY_TOO_CHEAP"); uint256 currentSupply = totalSupply; for(uint i; i < amount; i++) { _safeMint(msg.sender, currentSupply + i); } totalSupply += amount; } function withdraw() public { SafeTransferLib.safeTransferETH(owner, (address(this).balance * 8000) / 10000); SafeTransferLib.safeTransferETH(0xD2927a91570146218eD700566DF516d67C5ECFAB, address(this).balance); } /*////////////////////////////////////////////////////////////// FRANKLY VIEW FUNCTIONS //////////////////////////////////////////////////////////////*/ function tokenURI(uint256 tokenId) public view override returns (string memory) { if (bytes(ipfsCID).length == 0) return "ipfs://QmX9izUxcZ6KjahnP5n5JaT4s8mTWr1HDyJxMKoKSDYXhC"; uint256 shuffledId = (tokenId + VRF_SEED) % totalFranks; return string(abi.encodePacked("ipfs://", ipfsCID, "/", shuffledId.toString())); } function supportsInterface(bytes4 interfaceId) public pure override(ERC721, ERC2981) returns (bool) { return ERC721.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } }
pragma solidity ^0.8.12; import "@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol"; import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol"; import {Auth} from "@rari-capital/solmate/src/auth/Auth.sol"; abstract contract VRFv2Consumer is VRFConsumerBaseV2, Auth { VRFCoordinatorV2Interface COORDINATOR; LinkTokenInterface LINKTOKEN; // Your subscription ID. uint64 s_subscriptionId; // The gas lane to use, which specifies the maximum gas price to bump to. // For a list of available gas lanes on each network, // see https://docs.chain.link/docs/vrf-contracts/#configurations bytes32 keyHash; // Depends on the number of requested values that you want sent to the // fulfillRandomWords() function. Storing each word costs about 20,000 gas, // so 100,000 is a safe default for this example contract. Test and adjust // this limit based on the network that you select, the size of the request, // and the processing of the callback request in the fulfillRandomWords() // function. uint32 callbackGasLimit = 100000; // The default is 3, but you can set this higher. uint16 requestConfirmations = 3; uint256 public s_requestId; constructor( uint64 subscriptionId, address vrfCoordinator, address link, bytes32 keyHash_ ) VRFConsumerBaseV2(vrfCoordinator) { COORDINATOR = VRFCoordinatorV2Interface(vrfCoordinator); LINKTOKEN = LinkTokenInterface(link); keyHash = keyHash_; s_subscriptionId = subscriptionId; } // Assumes the subscription is funded sufficiently. function requestRandomWords() external requiresAuth { // Will revert if subscription is not set and funded. s_requestId = COORDINATOR.requestRandomWords( keyHash, s_subscriptionId, requestConfirmations, callbackGasLimit, 1 ); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; abstract contract ERC2981 { /// @dev one global fee for all royalties. uint256 internal _royaltyFee; /// @dev one global recipient for all royalties. address internal _royaltyRecipient; function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns ( address receiver, uint256 royaltyAmount ) { receiver = _royaltyRecipient; royaltyAmount = (salePrice * _royaltyFee) / 10000; } function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x2a55205a; // ERC165 Interface ID for ERC2981 } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @author Modified from Gnosis (https://github.com/gnosis/gp-v2-contracts/blob/main/src/contracts/libraries/GPv2SafeERC20.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. library SafeTransferLib { /*/////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool callStatus; assembly { // Transfer the ETH and store if it succeeded or not. callStatus := call(gas(), to, amount, 0, 0, 0, 0) } require(callStatus, "ETH_TRANSFER_FAILED"); } /*/////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool callStatus; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata to memory piece by piece: mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) // Begin with the function selector. mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Mask and append the "from" argument. mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Mask and append the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Finally append the "amount" argument. No mask as it's a full 32 byte value. // Call the token and store if it succeeded or not. // We use 100 because the calldata length is 4 + 32 * 3. callStatus := call(gas(), token, 0, freeMemoryPointer, 100, 0, 0) } require(didLastOptionalReturnCallSucceed(callStatus), "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool callStatus; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata to memory piece by piece: mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // Begin with the function selector. mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Mask and append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Finally append the "amount" argument. No mask as it's a full 32 byte value. // Call the token and store if it succeeded or not. // We use 68 because the calldata length is 4 + 32 * 2. callStatus := call(gas(), token, 0, freeMemoryPointer, 68, 0, 0) } require(didLastOptionalReturnCallSucceed(callStatus), "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool callStatus; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata to memory piece by piece: mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) // Begin with the function selector. mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Mask and append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Finally append the "amount" argument. No mask as it's a full 32 byte value. // Call the token and store if it succeeded or not. // We use 68 because the calldata length is 4 + 32 * 2. callStatus := call(gas(), token, 0, freeMemoryPointer, 68, 0, 0) } require(didLastOptionalReturnCallSucceed(callStatus), "APPROVE_FAILED"); } /*/////////////////////////////////////////////////////////////// INTERNAL HELPER LOGIC //////////////////////////////////////////////////////////////*/ function didLastOptionalReturnCallSucceed(bool callStatus) private pure returns (bool success) { assembly { // Get how many bytes the call returned. let returnDataSize := returndatasize() // If the call reverted: if iszero(callStatus) { // Copy the revert message into memory. returndatacopy(0, 0, returnDataSize) // Revert with the same message. revert(0, returnDataSize) } switch returnDataSize case 32 { // Copy the return data into memory. returndatacopy(0, 0, returnDataSize) // Set success to whether it returned true. success := iszero(iszero(mload(0))) } case 0 { // There was no return data. success := 1 } default { // It returned some malformed input. success := 0 } } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Provides a flexible and updatable auth pattern which is completely separate from application logic. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/auth/Auth.sol) /// @author Modified from Dappsys (https://github.com/dapphub/ds-auth/blob/master/src/auth.sol) abstract contract Auth { event OwnerUpdated(address indexed user, address indexed newOwner); event AuthorityUpdated(address indexed user, Authority indexed newAuthority); address public owner; Authority public authority; constructor(address _owner, Authority _authority) { owner = _owner; authority = _authority; emit OwnerUpdated(msg.sender, _owner); emit AuthorityUpdated(msg.sender, _authority); } modifier requiresAuth() { require(isAuthorized(msg.sender, msg.sig), "UNAUTHORIZED"); _; } function isAuthorized(address user, bytes4 functionSig) internal view virtual returns (bool) { Authority auth = authority; // Memoizing authority saves us a warm SLOAD, around 100 gas. // Checking if the caller is the owner only after calling the authority saves gas in most cases, but be // aware that this makes protected functions uncallable even to the owner if the authority is out of order. return (address(auth) != address(0) && auth.canCall(user, address(this), functionSig)) || user == owner; } function setAuthority(Authority newAuthority) public virtual { // We check if the caller is the owner first because we want to ensure they can // always swap out the authority even if it's reverting or using up a lot of gas. require(msg.sender == owner || authority.canCall(msg.sender, address(this), msg.sig)); authority = newAuthority; emit AuthorityUpdated(msg.sender, newAuthority); } function setOwner(address newOwner) public virtual requiresAuth { owner = newOwner; emit OwnerUpdated(msg.sender, newOwner); } } /// @notice A generic interface for a contract which provides authorization data to an Auth instance. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/auth/Auth.sol) /// @author Modified from Dappsys (https://github.com/dapphub/ds-auth/blob/master/src/auth.sol) interface Authority { function canCall( address user, address target, bytes4 functionSig ) external view returns (bool); }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) /// @dev Note that balanceOf does not revert if passed the zero address, in defiance of the ERC. abstract contract ERC721 { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*/////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*/////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ mapping(address => uint256) public balanceOf; mapping(uint256 => address) public ownerOf; mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*/////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || msg.sender == getApproved[id] || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { balanceOf[from]--; balanceOf[to]++; } ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes memory data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*/////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*/////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { balanceOf[to]++; } ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = ownerOf[id]; require(ownerOf[id] != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { balanceOf[owner]--; } delete ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*/////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol) interface ERC721TokenReceiver { function onERC721Received( address operator, address from, uint256 id, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. It ensures 2 things: * @dev 1. The fulfillment came from the VRFCoordinator * @dev 2. The consumer contract implements fulfillRandomWords. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constructor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash). Create subscription, fund it * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface * @dev subscription management functions). * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations, * @dev callbackGasLimit, numWords), * @dev see (VRFCoordinatorInterface for a description of the arguments). * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomWords method. * * @dev The randomness argument to fulfillRandomWords is a set of random words * @dev generated from your requestId and the blockHash of the request. * * @dev If your contract could have concurrent requests open, you can use the * @dev requestId returned from requestRandomWords to track which response is associated * @dev with which randomness request. * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously. * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. It is for this reason that * @dev that you can signal to an oracle you'd like them to wait longer before * @dev responding to the request (however this is not enforced in the contract * @dev and so remains effective only in the case of unmodified oracle software). */ abstract contract VRFConsumerBaseV2 { error OnlyCoordinatorCanFulfill(address have, address want); address private immutable vrfCoordinator; /** * @param _vrfCoordinator address of VRFCoordinator contract */ constructor(address _vrfCoordinator) { vrfCoordinator = _vrfCoordinator; } /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomWords the VRF output expanded to the requested number of words */ function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual; // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external { if (msg.sender != vrfCoordinator) { revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator); } fulfillRandomWords(requestId, randomWords); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface VRFCoordinatorV2Interface { /** * @notice Get configuration relevant for making requests * @return minimumRequestConfirmations global min for request confirmations * @return maxGasLimit global max for request gas limit * @return s_provingKeyHashes list of registered key hashes */ function getRequestConfig() external view returns ( uint16, uint32, bytes32[] memory ); /** * @notice Request a set of random words. * @param keyHash - Corresponds to a particular oracle job which uses * that key for generating the VRF proof. Different keyHash's have different gas price * ceilings, so you can select a specific one to bound your maximum per request cost. * @param subId - The ID of the VRF subscription. Must be funded * with the minimum subscription balance required for the selected keyHash. * @param minimumRequestConfirmations - How many blocks you'd like the * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS * for why you may want to request more. The acceptable range is * [minimumRequestBlockConfirmations, 200]. * @param callbackGasLimit - How much gas you'd like to receive in your * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords * may be slightly less than this amount because of gas used calling the function * (argument decoding etc.), so you may need to request slightly more than you expect * to have inside fulfillRandomWords. The acceptable range is * [0, maxGasLimit] * @param numWords - The number of uint256 random values you'd like to receive * in your fulfillRandomWords callback. Note these numbers are expanded in a * secure way by the VRFCoordinator from a single random value supplied by the oracle. * @return requestId - A unique identifier of the request. Can be used to match * a request to a response in fulfillRandomWords. */ function requestRandomWords( bytes32 keyHash, uint64 subId, uint16 minimumRequestConfirmations, uint32 callbackGasLimit, uint32 numWords ) external returns (uint256 requestId); /** * @notice Create a VRF subscription. * @return subId - A unique subscription id. * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer. * @dev Note to fund the subscription, use transferAndCall. For example * @dev LINKTOKEN.transferAndCall( * @dev address(COORDINATOR), * @dev amount, * @dev abi.encode(subId)); */ function createSubscription() external returns (uint64 subId); /** * @notice Get a VRF subscription. * @param subId - ID of the subscription * @return balance - LINK balance of the subscription in juels. * @return reqCount - number of requests for this subscription, determines fee tier. * @return owner - owner of the subscription. * @return consumers - list of consumer address which are able to use this subscription. */ function getSubscription(uint64 subId) external view returns ( uint96 balance, uint64 reqCount, address owner, address[] memory consumers ); /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @param newOwner - proposed new owner of the subscription */ function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external; /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @dev will revert if original owner of subId has * not requested that msg.sender become the new owner. */ function acceptSubscriptionOwnerTransfer(uint64 subId) external; /** * @notice Add a consumer to a VRF subscription. * @param subId - ID of the subscription * @param consumer - New consumer which can use the subscription */ function addConsumer(uint64 subId, address consumer) external; /** * @notice Remove a consumer from a VRF subscription. * @param subId - ID of the subscription * @param consumer - Consumer to remove from the subscription */ function removeConsumer(uint64 subId, address consumer) external; /** * @notice Cancel a subscription * @param subId - ID of the subscription * @param to - Where to send the remaining LINK to */ function cancelSubscription(uint64 subId, address to) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*/////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*/////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*/////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*/////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*/////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*/////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint64","name":"subscriptionId","type":"uint64"},{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"address","name":"link","type":"address"},{"internalType":"bytes32","name":"keyHash_","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"user","type":"address"},{"indexed":true,"internalType":"contract Authority","name":"newAuthority","type":"address"}],"name":"AuthorityUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"VRF_SEED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"authority","outputs":[{"internalType":"contract Authority","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsCID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFrank","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":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerFrank","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_requestId","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":"id","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":"id","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":"contract Authority","name":"newAuthority","type":"address"}],"name":"setAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"cid","type":"string"}],"name":"setIPFS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"setRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"switchPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"totalFranks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionLimit","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":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052620186a0600d60006101000a81548163ffffffff021916908363ffffffff1602179055506003600d60046101000a81548161ffff021916908361ffff160217905550600160105566b1a2bc2ec500006011556107d060a090815250601460c0908152503480156200007457600080fd5b506040516200465a3803806200465a83398181016040528101906200009a919062000780565b83838383886000846040518060400160405280600581526020017f6672616e6b0000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4652414e4b000000000000000000000000000000000000000000000000000000815250816000908051906020019062000126929190620005e6565b5080600190805190602001906200013f929190620005e6565b5050508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250505081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7660405160405180910390a38073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa3396fd7f6e0a21b50e5089d2da70d5ac0a3bbbd1f617a93f134b7638998019860405160405180910390a3505082600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c8190555083600b60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050505062000378856000620003cd60201b60201c565b6102bc60068190555084600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505062000962565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004379062000869565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620004e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004dc90620008db565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054620005f4906200092c565b90600052602060002090601f01602090048101928262000618576000855562000664565b82601f106200063357805160ff191683800117855562000664565b8280016001018555821562000664579182015b828111156200066357825182559160200191906001019062000646565b5b50905062000673919062000677565b5090565b5b808211156200069257600081600090555060010162000678565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006c8826200069b565b9050919050565b620006da81620006bb565b8114620006e657600080fd5b50565b600081519050620006fa81620006cf565b92915050565b600067ffffffffffffffff82169050919050565b6200071f8162000700565b81146200072b57600080fd5b50565b6000815190506200073f8162000714565b92915050565b6000819050919050565b6200075a8162000745565b81146200076657600080fd5b50565b6000815190506200077a816200074f565b92915050565b600080600080600060a086880312156200079f576200079e62000696565b5b6000620007af88828901620006e9565b9550506020620007c2888289016200072e565b9450506040620007d588828901620006e9565b9350506060620007e888828901620006e9565b9250506080620007fb8882890162000769565b9150509295509295909350565b600082825260208201905092915050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b60006200085160118362000808565b91506200085e8262000819565b602082019050919050565b60006020820190508181036000830152620008848162000842565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000620008c3600e8362000808565b9150620008d0826200088b565b602082019050919050565b60006020820190508181036000830152620008f681620008b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200094557607f821691505b602082108114156200095c576200095b620008fd565b5b50919050565b60805160a05160c051613cac620009ae600039600081816114ce0152611f38015260008181610bea015281816115310152611cbb015260008181610c0e0152610c620152613cac6000f3fe6080604052600436106102035760003560e01c8063489d0f1311610118578063b0b62f5a116100a0578063d19ac77a1161006f578063d19ac77a14610732578063e0c862891461075b578063e89e106a14610772578063e985e9c51461079d578063f19605d6146107da57610203565b8063b0b62f5a14610676578063b88d4fde146106a1578063bf7e214f146106ca578063c87b56dd146106f557610203565b80637a9e5e4b116100e75780637a9e5e4b146105a55780638da5cb5b146105ce57806391b7f5ed146105f957806395d89b4114610622578063a22cb4651461064d57610203565b8063489d0f13146104e457806349fc73dd146105005780636352211e1461052b57806370a082311461056857610203565b80631fe543e31161019b5780633bdbc6071161016a5780633bdbc607146104275780633ccfd60b146104525780633e4086e51461046957806341e42f301461049257806342842e0e146104bb57610203565b80631fe543e31461038057806323b872dd146103a95780632a55205a146103d25780632cd981d41461041057610203565b8063095ea7b3116101d7578063095ea7b3146102d857806313af40351461030157806318160ddd1461032a578063183826801461035557610203565b80620938d91461020857806301ffc9a71461023357806306fdde0314610270578063081812fc1461029b575b600080fd5b34801561021457600080fd5b5061021d610805565b60405161022a919061276e565b60405180910390f35b34801561023f57600080fd5b5061025a600480360381019061025591906127f5565b61080b565b604051610267919061283d565b60405180910390f35b34801561027c57600080fd5b5061028561082d565b60405161029291906128f1565b60405180910390f35b3480156102a757600080fd5b506102c260048036038101906102bd919061293f565b6108bb565b6040516102cf91906129ad565b60405180910390f35b3480156102e457600080fd5b506102ff60048036038101906102fa91906129f4565b6108ee565b005b34801561030d57600080fd5b5061032860048036038101906103239190612a34565b610ad7565b005b34801561033657600080fd5b5061033f610be2565b60405161034c919061276e565b60405180910390f35b34801561036157600080fd5b5061036a610be8565b604051610377919061276e565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a29190612ba9565b610c0c565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190612c05565b610ccc565b005b3480156103de57600080fd5b506103f960048036038101906103f49190612c58565b6110cc565b604051610407929190612c98565b60405180910390f35b34801561041c57600080fd5b50610425611118565b005b34801561043357600080fd5b5061043c6111b1565b604051610449919061276e565b60405180910390f35b34801561045e57600080fd5b506104676111b7565b005b34801561047557600080fd5b50610490600480360381019061048b919061293f565b61121d565b005b34801561049e57600080fd5b506104b960048036038101906104b49190612a34565b611294565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612c05565b611345565b005b6104fe60048036038101906104f9919061293f565b61147d565b005b34801561050c57600080fd5b50610515611646565b60405161052291906128f1565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d919061293f565b6116d4565b60405161055f91906129ad565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612a34565b611707565b60405161059c919061276e565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c79190612cff565b61171f565b005b3480156105da57600080fd5b506105e36118e2565b6040516105f091906129ad565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b919061293f565b611908565b005b34801561062e57600080fd5b5061063761197f565b60405161064491906128f1565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190612d58565b611a0d565b005b34801561068257600080fd5b5061068b611b0a565b604051610698919061283d565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190612e4d565b611b1d565b005b3480156106d657600080fd5b506106df611c58565b6040516106ec9190612f2f565b60405180910390f35b34801561070157600080fd5b5061071c6004803603810190610717919061293f565b611c7e565b60405161072991906128f1565b60405180910390f35b34801561073e57600080fd5b5061075960048036038101906107549190612fa5565b611d28565b005b34801561076757600080fd5b50610770611dab565b005b34801561077e57600080fd5b50610787611f01565b604051610794919061276e565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190612ff2565b611f07565b6040516107d1919061283d565b60405180910390f35b3480156107e657600080fd5b506107ef611f36565b6040516107fc919061276e565b60405180910390f35b60115481565b600061081682611f5a565b80610826575061082582611fec565b5b9050919050565b6000805461083a90613061565b80601f016020809104026020016040519081016040528092919081815260200182805461086690613061565b80156108b35780601f10610888576101008083540402835291602001916108b3565b820191906000526020600020905b81548152906001019060200180831161089657829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e65750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906130df565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610b05336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061314b565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7660405160405180910390a350565b60105481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cbe57337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610cb592919061316b565b60405180910390fd5b610cc8828261218e565b5050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d64906131e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd49061324c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610e7557506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610f065750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c906130df565b60405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915061271060065484611105919061329b565b61110f9190613324565b90509250929050565b611146336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c9061314b565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60125481565b6111fd600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710611f40476111ee919061329b565b6111f89190613324565b6121b4565b61121b73d2927a91570146218ed700566df516d67c5ecfab476121b4565b565b61124b336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b61128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061314b565b60405180910390fd5b8060068190555050565b6112c2336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f89061314b565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611350838383610ccc565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480611439575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016113d59392919061338c565b6020604051808303816000875af11580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141891906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90613464565b60405180910390fd5b505050565b600f60009054906101000a900460ff166114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c3906134d0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081111561152f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115269061353c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008160105461155e919061355c565b111561159f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611596906135fe565b60405180910390fd5b601154816115ad919061329b565b34146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061366a565b60405180910390fd5b6000601054905060005b8281101561162857611615338284611610919061355c565b612207565b80806116209061368a565b9150506115f8565b50816010600082825461163b919061355c565b925050819055505050565b6013805461165390613061565b80601f016020809104026020016040519081016040528092919081815260200182805461167f90613061565b80156116cc5780601f106116a1576101008083540402835291602001916116cc565b820191906000526020600020905b8154815290600101906020018083116116af57829003601f168201915b505050505081565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061183b5750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b700961333306000357fffffffff00000000000000000000000000000000000000000000000000000000166040518463ffffffff1660e01b81526004016117f9939291906136e2565b602060405180830381865afa158015611816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183a919061372e565b5b61184457600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa3396fd7f6e0a21b50e5089d2da70d5ac0a3bbbd1f617a93f134b7638998019860405160405180910390a350565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611936336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c9061314b565b60405180910390fd5b8060118190555050565b6001805461198c90613061565b80601f01602080910402602001604051908101604052809291908181526020018280546119b890613061565b8015611a055780601f106119da57610100808354040283529160200191611a05565b820191906000526020600020905b8154815290600101906020018083116119e857829003601f168201915b505050505081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611afe919061283d565b60405180910390a35050565b600f60009054906101000a900460ff1681565b611b28848484610ccc565b60008373ffffffffffffffffffffffffffffffffffffffff163b1480611c13575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611baf949392919061379f565b6020604051808303816000875af1158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf291906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4990613464565b60405180910390fd5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600060138054611c8f90613061565b90501415611cb757604051806060016040528060358152602001613c42603591399050611d23565b60007f000000000000000000000000000000000000000000000000000000000000000060125484611ce8919061355c565b611cf291906137eb565b90506013611cff8261233e565b604051602001611d10929190613984565b6040516020818303038152906040529150505b919050565b611d56336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c9061314b565b60405180910390fd5b818160139190611da69291906126b2565b505050565b611dd9336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f9061314b565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff16600d60049054906101000a900461ffff16600d60009054906101000a900463ffffffff1660016040518663ffffffff1660e01b8152600401611eb6959493929190613a71565b6020604051808303816000875af1158015611ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef99190613ad9565b600e81905550565b600e5481565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fb557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fe55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120475750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561212d57508073ffffffffffffffffffffffffffffffffffffffff1663b70096138530866040518463ffffffff1660e01b81526004016120eb939291906136e2565b602060405180830381865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c919061372e565b5b806121855750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b806000815181106121a2576121a1613b06565b5b60200260200101516012819055505050565b600080600080600085875af1905080612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990613b81565b60405180910390fd5b505050565b612211828261249f565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806122fb575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a02336000856040518463ffffffff1660e01b81526004016122979392919061338c565b6020604051808303816000875af11580156122b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122da91906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190613464565b60405180910390fd5b5050565b60606000821415612386576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249a565b600082905060005b600082146123b85780806123a19061368a565b915050600a826123b19190613324565b915061238e565b60008167ffffffffffffffff8111156123d4576123d3612a66565b5b6040519080825280601f01601f1916602001820160405280156124065781602001600182028036833780820191505090505b5090505b600085146124935760018261241f9190613ba1565b9150600a8561242e91906137eb565b603061243a919061355c565b60f81b8183815181106124505761244f613b06565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248c9190613324565b945061240a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125069061324c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a890613c21565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546126be90613061565b90600052602060002090601f0160209004810192826126e05760008555612727565b82601f106126f957803560ff1916838001178555612727565b82800160010185558215612727579182015b8281111561272657823582559160200191906001019061270b565b5b5090506127349190612738565b5090565b5b80821115612751576000816000905550600101612739565b5090565b6000819050919050565b61276881612755565b82525050565b6000602082019050612783600083018461275f565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6127d28161279d565b81146127dd57600080fd5b50565b6000813590506127ef816127c9565b92915050565b60006020828403121561280b5761280a612793565b5b6000612819848285016127e0565b91505092915050565b60008115159050919050565b61283781612822565b82525050565b6000602082019050612852600083018461282e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612892578082015181840152602081019050612877565b838111156128a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006128c382612858565b6128cd8185612863565b93506128dd818560208601612874565b6128e6816128a7565b840191505092915050565b6000602082019050818103600083015261290b81846128b8565b905092915050565b61291c81612755565b811461292757600080fd5b50565b60008135905061293981612913565b92915050565b60006020828403121561295557612954612793565b5b60006129638482850161292a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129978261296c565b9050919050565b6129a78161298c565b82525050565b60006020820190506129c2600083018461299e565b92915050565b6129d18161298c565b81146129dc57600080fd5b50565b6000813590506129ee816129c8565b92915050565b60008060408385031215612a0b57612a0a612793565b5b6000612a19858286016129df565b9250506020612a2a8582860161292a565b9150509250929050565b600060208284031215612a4a57612a49612793565b5b6000612a58848285016129df565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a9e826128a7565b810181811067ffffffffffffffff82111715612abd57612abc612a66565b5b80604052505050565b6000612ad0612789565b9050612adc8282612a95565b919050565b600067ffffffffffffffff821115612afc57612afb612a66565b5b602082029050602081019050919050565b600080fd5b6000612b25612b2084612ae1565b612ac6565b90508083825260208201905060208402830185811115612b4857612b47612b0d565b5b835b81811015612b715780612b5d888261292a565b845260208401935050602081019050612b4a565b5050509392505050565b600082601f830112612b9057612b8f612a61565b5b8135612ba0848260208601612b12565b91505092915050565b60008060408385031215612bc057612bbf612793565b5b6000612bce8582860161292a565b925050602083013567ffffffffffffffff811115612bef57612bee612798565b5b612bfb85828601612b7b565b9150509250929050565b600080600060608486031215612c1e57612c1d612793565b5b6000612c2c868287016129df565b9350506020612c3d868287016129df565b9250506040612c4e8682870161292a565b9150509250925092565b60008060408385031215612c6f57612c6e612793565b5b6000612c7d8582860161292a565b9250506020612c8e8582860161292a565b9150509250929050565b6000604082019050612cad600083018561299e565b612cba602083018461275f565b9392505050565b6000612ccc8261298c565b9050919050565b612cdc81612cc1565b8114612ce757600080fd5b50565b600081359050612cf981612cd3565b92915050565b600060208284031215612d1557612d14612793565b5b6000612d2384828501612cea565b91505092915050565b612d3581612822565b8114612d4057600080fd5b50565b600081359050612d5281612d2c565b92915050565b60008060408385031215612d6f57612d6e612793565b5b6000612d7d858286016129df565b9250506020612d8e85828601612d43565b9150509250929050565b600080fd5b600067ffffffffffffffff821115612db857612db7612a66565b5b612dc1826128a7565b9050602081019050919050565b82818337600083830152505050565b6000612df0612deb84612d9d565b612ac6565b905082815260208101848484011115612e0c57612e0b612d98565b5b612e17848285612dce565b509392505050565b600082601f830112612e3457612e33612a61565b5b8135612e44848260208601612ddd565b91505092915050565b60008060008060808587031215612e6757612e66612793565b5b6000612e75878288016129df565b9450506020612e86878288016129df565b9350506040612e978782880161292a565b925050606085013567ffffffffffffffff811115612eb857612eb7612798565b5b612ec487828801612e1f565b91505092959194509250565b6000819050919050565b6000612ef5612ef0612eeb8461296c565b612ed0565b61296c565b9050919050565b6000612f0782612eda565b9050919050565b6000612f1982612efc565b9050919050565b612f2981612f0e565b82525050565b6000602082019050612f446000830184612f20565b92915050565b600080fd5b60008083601f840112612f6557612f64612a61565b5b8235905067ffffffffffffffff811115612f8257612f81612f4a565b5b602083019150836001820283011115612f9e57612f9d612b0d565b5b9250929050565b60008060208385031215612fbc57612fbb612793565b5b600083013567ffffffffffffffff811115612fda57612fd9612798565b5b612fe685828601612f4f565b92509250509250929050565b6000806040838503121561300957613008612793565b5b6000613017858286016129df565b9250506020613028858286016129df565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061307957607f821691505b6020821081141561308d5761308c613032565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006130c9600e83612863565b91506130d482613093565b602082019050919050565b600060208201905081810360008301526130f8816130bc565b9050919050565b7f554e415554484f52495a45440000000000000000000000000000000000000000600082015250565b6000613135600c83612863565b9150613140826130ff565b602082019050919050565b6000602082019050818103600083015261316481613128565b9050919050565b6000604082019050613180600083018561299e565b61318d602083018461299e565b9392505050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b60006131ca600a83612863565b91506131d582613194565b602082019050919050565b600060208201905081810360008301526131f9816131bd565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000613236601183612863565b915061324182613200565b602082019050919050565b6000602082019050818103600083015261326581613229565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132a682612755565b91506132b183612755565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ea576132e961326c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061332f82612755565b915061333a83612755565b92508261334a576133496132f5565b5b828204905092915050565b600082825260208201905092915050565b50565b6000613376600083613355565b915061338182613366565b600082019050919050565b60006080820190506133a1600083018661299e565b6133ae602083018561299e565b6133bb604083018461275f565b81810360608301526133cc81613369565b9050949350505050565b6000815190506133e5816127c9565b92915050565b60006020828403121561340157613400612793565b5b600061340f848285016133d6565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b600061344e601083612863565b915061345982613418565b602082019050919050565b6000602082019050818103600083015261347d81613441565b9050919050565b7f4652414e4b4c595f504155534544000000000000000000000000000000000000600082015250565b60006134ba600e83612863565b91506134c582613484565b602082019050919050565b600060208201905081810360008301526134e9816134ad565b9050919050565b7f4652414e4b4c595f4f5645525f4c494d49540000000000000000000000000000600082015250565b6000613526601283612863565b9150613531826134f0565b602082019050919050565b6000602082019050818103600083015261355581613519565b9050919050565b600061356782612755565b915061357283612755565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a7576135a661326c565b5b828201905092915050565b7f544f4f5f4d414e595f4652414e4b530000000000000000000000000000000000600082015250565b60006135e8600f83612863565b91506135f3826135b2565b602082019050919050565b60006020820190508181036000830152613617816135db565b9050919050565b7f4652414e4b4c595f544f4f5f4348454150000000000000000000000000000000600082015250565b6000613654601183612863565b915061365f8261361e565b602082019050919050565b6000602082019050818103600083015261368381613647565b9050919050565b600061369582612755565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136c8576136c761326c565b5b600182019050919050565b6136dc8161279d565b82525050565b60006060820190506136f7600083018661299e565b613704602083018561299e565b61371160408301846136d3565b949350505050565b60008151905061372881612d2c565b92915050565b60006020828403121561374457613743612793565b5b600061375284828501613719565b91505092915050565b600081519050919050565b60006137718261375b565b61377b8185613355565b935061378b818560208601612874565b613794816128a7565b840191505092915050565b60006080820190506137b4600083018761299e565b6137c1602083018661299e565b6137ce604083018561275f565b81810360608301526137e08184613766565b905095945050505050565b60006137f682612755565b915061380183612755565b925082613811576138106132f5565b5b828206905092915050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b600061385d60078361381c565b915061386882613827565b600782019050919050565b60008190508160005260206000209050919050565b6000815461389581613061565b61389f818661381c565b945060018216600081146138ba57600181146138cb576138fe565b60ff198316865281860193506138fe565b6138d485613873565b60005b838110156138f6578154818901526001820191506020810190506138d7565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061393d60018361381c565b915061394882613907565b600182019050919050565b600061395e82612858565b613968818561381c565b9350613978818560208601612874565b80840191505092915050565b600061398f82613850565b915061399b8285613888565b91506139a682613930565b91506139b28284613953565b91508190509392505050565b6000819050919050565b6139d1816139be565b82525050565b600067ffffffffffffffff82169050919050565b6139f4816139d7565b82525050565b600061ffff82169050919050565b613a11816139fa565b82525050565b600063ffffffff82169050919050565b613a3081613a17565b82525050565b6000819050919050565b6000613a5b613a56613a5184613a36565b612ed0565b613a17565b9050919050565b613a6b81613a40565b82525050565b600060a082019050613a8660008301886139c8565b613a9360208301876139eb565b613aa06040830186613a08565b613aad6060830185613a27565b613aba6080830184613a62565b9695505050505050565b600081519050613ad381612913565b92915050565b600060208284031215613aef57613aee612793565b5b6000613afd84828501613ac4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4554485f5452414e534645525f4641494c454400000000000000000000000000600082015250565b6000613b6b601383612863565b9150613b7682613b35565b602082019050919050565b60006020820190508181036000830152613b9a81613b5e565b9050919050565b6000613bac82612755565b9150613bb783612755565b925082821015613bca57613bc961326c565b5b828203905092915050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000613c0b600e83612863565b9150613c1682613bd5565b602082019050919050565b60006020820190508181036000830152613c3a81613bfe565b905091905056fe697066733a2f2f516d5839697a5578635a364b6a61686e50356e354a61543473386d545772314844794a784d4b6f4b534459586843a26469706673582212206465c8c85906d3c707bf57334f1dba0a590d52a275097e329f702f2b09d80eb164736f6c634300080c00330000000000000000000000004091823bb85964a4b64024496348012e80578ed7000000000000000000000000000000000000000000000000000000000000003b000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
Deployed Bytecode
0x6080604052600436106102035760003560e01c8063489d0f1311610118578063b0b62f5a116100a0578063d19ac77a1161006f578063d19ac77a14610732578063e0c862891461075b578063e89e106a14610772578063e985e9c51461079d578063f19605d6146107da57610203565b8063b0b62f5a14610676578063b88d4fde146106a1578063bf7e214f146106ca578063c87b56dd146106f557610203565b80637a9e5e4b116100e75780637a9e5e4b146105a55780638da5cb5b146105ce57806391b7f5ed146105f957806395d89b4114610622578063a22cb4651461064d57610203565b8063489d0f13146104e457806349fc73dd146105005780636352211e1461052b57806370a082311461056857610203565b80631fe543e31161019b5780633bdbc6071161016a5780633bdbc607146104275780633ccfd60b146104525780633e4086e51461046957806341e42f301461049257806342842e0e146104bb57610203565b80631fe543e31461038057806323b872dd146103a95780632a55205a146103d25780632cd981d41461041057610203565b8063095ea7b3116101d7578063095ea7b3146102d857806313af40351461030157806318160ddd1461032a578063183826801461035557610203565b80620938d91461020857806301ffc9a71461023357806306fdde0314610270578063081812fc1461029b575b600080fd5b34801561021457600080fd5b5061021d610805565b60405161022a919061276e565b60405180910390f35b34801561023f57600080fd5b5061025a600480360381019061025591906127f5565b61080b565b604051610267919061283d565b60405180910390f35b34801561027c57600080fd5b5061028561082d565b60405161029291906128f1565b60405180910390f35b3480156102a757600080fd5b506102c260048036038101906102bd919061293f565b6108bb565b6040516102cf91906129ad565b60405180910390f35b3480156102e457600080fd5b506102ff60048036038101906102fa91906129f4565b6108ee565b005b34801561030d57600080fd5b5061032860048036038101906103239190612a34565b610ad7565b005b34801561033657600080fd5b5061033f610be2565b60405161034c919061276e565b60405180910390f35b34801561036157600080fd5b5061036a610be8565b604051610377919061276e565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a29190612ba9565b610c0c565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190612c05565b610ccc565b005b3480156103de57600080fd5b506103f960048036038101906103f49190612c58565b6110cc565b604051610407929190612c98565b60405180910390f35b34801561041c57600080fd5b50610425611118565b005b34801561043357600080fd5b5061043c6111b1565b604051610449919061276e565b60405180910390f35b34801561045e57600080fd5b506104676111b7565b005b34801561047557600080fd5b50610490600480360381019061048b919061293f565b61121d565b005b34801561049e57600080fd5b506104b960048036038101906104b49190612a34565b611294565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612c05565b611345565b005b6104fe60048036038101906104f9919061293f565b61147d565b005b34801561050c57600080fd5b50610515611646565b60405161052291906128f1565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d919061293f565b6116d4565b60405161055f91906129ad565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612a34565b611707565b60405161059c919061276e565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c79190612cff565b61171f565b005b3480156105da57600080fd5b506105e36118e2565b6040516105f091906129ad565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b919061293f565b611908565b005b34801561062e57600080fd5b5061063761197f565b60405161064491906128f1565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190612d58565b611a0d565b005b34801561068257600080fd5b5061068b611b0a565b604051610698919061283d565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190612e4d565b611b1d565b005b3480156106d657600080fd5b506106df611c58565b6040516106ec9190612f2f565b60405180910390f35b34801561070157600080fd5b5061071c6004803603810190610717919061293f565b611c7e565b60405161072991906128f1565b60405180910390f35b34801561073e57600080fd5b5061075960048036038101906107549190612fa5565b611d28565b005b34801561076757600080fd5b50610770611dab565b005b34801561077e57600080fd5b50610787611f01565b604051610794919061276e565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190612ff2565b611f07565b6040516107d1919061283d565b60405180910390f35b3480156107e657600080fd5b506107ef611f36565b6040516107fc919061276e565b60405180910390f35b60115481565b600061081682611f5a565b80610826575061082582611fec565b5b9050919050565b6000805461083a90613061565b80601f016020809104026020016040519081016040528092919081815260200182805461086690613061565b80156108b35780601f10610888576101008083540402835291602001916108b3565b820191906000526020600020905b81548152906001019060200180831161089657829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e65750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906130df565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610b05336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b9061314b565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7660405160405180910390a350565b60105481565b7f00000000000000000000000000000000000000000000000000000000000007d081565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cbe57337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610cb592919061316b565b60405180910390fd5b610cc8828261218e565b5050565b6003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d64906131e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd49061324c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610e7557506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610f065750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c906130df565b60405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915061271060065484611105919061329b565b61110f9190613324565b90509250929050565b611146336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c9061314b565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60125481565b6111fd600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710611f40476111ee919061329b565b6111f89190613324565b6121b4565b61121b73d2927a91570146218ed700566df516d67c5ecfab476121b4565b565b61124b336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b61128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061314b565b60405180910390fd5b8060068190555050565b6112c2336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f89061314b565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611350838383610ccc565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480611439575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016113d59392919061338c565b6020604051808303816000875af11580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141891906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90613464565b60405180910390fd5b505050565b600f60009054906101000a900460ff166114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c3906134d0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000001481111561152f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115269061353c565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000007d08160105461155e919061355c565b111561159f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611596906135fe565b60405180910390fd5b601154816115ad919061329b565b34146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e59061366a565b60405180910390fd5b6000601054905060005b8281101561162857611615338284611610919061355c565b612207565b80806116209061368a565b9150506115f8565b50816010600082825461163b919061355c565b925050819055505050565b6013805461165390613061565b80601f016020809104026020016040519081016040528092919081815260200182805461167f90613061565b80156116cc5780601f106116a1576101008083540402835291602001916116cc565b820191906000526020600020905b8154815290600101906020018083116116af57829003601f168201915b505050505081565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061183b5750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b700961333306000357fffffffff00000000000000000000000000000000000000000000000000000000166040518463ffffffff1660e01b81526004016117f9939291906136e2565b602060405180830381865afa158015611816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183a919061372e565b5b61184457600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa3396fd7f6e0a21b50e5089d2da70d5ac0a3bbbd1f617a93f134b7638998019860405160405180910390a350565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611936336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196c9061314b565b60405180910390fd5b8060118190555050565b6001805461198c90613061565b80601f01602080910402602001604051908101604052809291908181526020018280546119b890613061565b8015611a055780601f106119da57610100808354040283529160200191611a05565b820191906000526020600020905b8154815290600101906020018083116119e857829003601f168201915b505050505081565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611afe919061283d565b60405180910390a35050565b600f60009054906101000a900460ff1681565b611b28848484610ccc565b60008373ffffffffffffffffffffffffffffffffffffffff163b1480611c13575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b8152600401611baf949392919061379f565b6020604051808303816000875af1158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf291906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4990613464565b60405180910390fd5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600060138054611c8f90613061565b90501415611cb757604051806060016040528060358152602001613c42603591399050611d23565b60007f00000000000000000000000000000000000000000000000000000000000007d060125484611ce8919061355c565b611cf291906137eb565b90506013611cff8261233e565b604051602001611d10929190613984565b6040516020818303038152906040529150505b919050565b611d56336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c9061314b565b60405180910390fd5b818160139190611da69291906126b2565b505050565b611dd9336000357fffffffff000000000000000000000000000000000000000000000000000000001661204e565b611e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0f9061314b565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600c54600b60149054906101000a900467ffffffffffffffff16600d60049054906101000a900461ffff16600d60009054906101000a900463ffffffff1660016040518663ffffffff1660e01b8152600401611eb6959493929190613a71565b6020604051808303816000875af1158015611ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef99190613ad9565b600e81905550565b600e5481565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000001481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fb557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fe55750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120475750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561212d57508073ffffffffffffffffffffffffffffffffffffffff1663b70096138530866040518463ffffffff1660e01b81526004016120eb939291906136e2565b602060405180830381865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c919061372e565b5b806121855750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b806000815181106121a2576121a1613b06565b5b60200260200101516012819055505050565b600080600080600085875af1905080612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990613b81565b60405180910390fd5b505050565b612211828261249f565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806122fb575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a02336000856040518463ffffffff1660e01b81526004016122979392919061338c565b6020604051808303816000875af11580156122b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122da91906133eb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61233a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233190613464565b60405180910390fd5b5050565b60606000821415612386576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061249a565b600082905060005b600082146123b85780806123a19061368a565b915050600a826123b19190613324565b915061238e565b60008167ffffffffffffffff8111156123d4576123d3612a66565b5b6040519080825280601f01601f1916602001820160405280156124065781602001600182028036833780820191505090505b5090505b600085146124935760018261241f9190613ba1565b9150600a8561242e91906137eb565b603061243a919061355c565b60f81b8183815181106124505761244f613b06565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561248c9190613324565b945061240a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561250f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125069061324c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a890613c21565b60405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546126be90613061565b90600052602060002090601f0160209004810192826126e05760008555612727565b82601f106126f957803560ff1916838001178555612727565b82800160010185558215612727579182015b8281111561272657823582559160200191906001019061270b565b5b5090506127349190612738565b5090565b5b80821115612751576000816000905550600101612739565b5090565b6000819050919050565b61276881612755565b82525050565b6000602082019050612783600083018461275f565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6127d28161279d565b81146127dd57600080fd5b50565b6000813590506127ef816127c9565b92915050565b60006020828403121561280b5761280a612793565b5b6000612819848285016127e0565b91505092915050565b60008115159050919050565b61283781612822565b82525050565b6000602082019050612852600083018461282e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612892578082015181840152602081019050612877565b838111156128a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006128c382612858565b6128cd8185612863565b93506128dd818560208601612874565b6128e6816128a7565b840191505092915050565b6000602082019050818103600083015261290b81846128b8565b905092915050565b61291c81612755565b811461292757600080fd5b50565b60008135905061293981612913565b92915050565b60006020828403121561295557612954612793565b5b60006129638482850161292a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129978261296c565b9050919050565b6129a78161298c565b82525050565b60006020820190506129c2600083018461299e565b92915050565b6129d18161298c565b81146129dc57600080fd5b50565b6000813590506129ee816129c8565b92915050565b60008060408385031215612a0b57612a0a612793565b5b6000612a19858286016129df565b9250506020612a2a8582860161292a565b9150509250929050565b600060208284031215612a4a57612a49612793565b5b6000612a58848285016129df565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a9e826128a7565b810181811067ffffffffffffffff82111715612abd57612abc612a66565b5b80604052505050565b6000612ad0612789565b9050612adc8282612a95565b919050565b600067ffffffffffffffff821115612afc57612afb612a66565b5b602082029050602081019050919050565b600080fd5b6000612b25612b2084612ae1565b612ac6565b90508083825260208201905060208402830185811115612b4857612b47612b0d565b5b835b81811015612b715780612b5d888261292a565b845260208401935050602081019050612b4a565b5050509392505050565b600082601f830112612b9057612b8f612a61565b5b8135612ba0848260208601612b12565b91505092915050565b60008060408385031215612bc057612bbf612793565b5b6000612bce8582860161292a565b925050602083013567ffffffffffffffff811115612bef57612bee612798565b5b612bfb85828601612b7b565b9150509250929050565b600080600060608486031215612c1e57612c1d612793565b5b6000612c2c868287016129df565b9350506020612c3d868287016129df565b9250506040612c4e8682870161292a565b9150509250925092565b60008060408385031215612c6f57612c6e612793565b5b6000612c7d8582860161292a565b9250506020612c8e8582860161292a565b9150509250929050565b6000604082019050612cad600083018561299e565b612cba602083018461275f565b9392505050565b6000612ccc8261298c565b9050919050565b612cdc81612cc1565b8114612ce757600080fd5b50565b600081359050612cf981612cd3565b92915050565b600060208284031215612d1557612d14612793565b5b6000612d2384828501612cea565b91505092915050565b612d3581612822565b8114612d4057600080fd5b50565b600081359050612d5281612d2c565b92915050565b60008060408385031215612d6f57612d6e612793565b5b6000612d7d858286016129df565b9250506020612d8e85828601612d43565b9150509250929050565b600080fd5b600067ffffffffffffffff821115612db857612db7612a66565b5b612dc1826128a7565b9050602081019050919050565b82818337600083830152505050565b6000612df0612deb84612d9d565b612ac6565b905082815260208101848484011115612e0c57612e0b612d98565b5b612e17848285612dce565b509392505050565b600082601f830112612e3457612e33612a61565b5b8135612e44848260208601612ddd565b91505092915050565b60008060008060808587031215612e6757612e66612793565b5b6000612e75878288016129df565b9450506020612e86878288016129df565b9350506040612e978782880161292a565b925050606085013567ffffffffffffffff811115612eb857612eb7612798565b5b612ec487828801612e1f565b91505092959194509250565b6000819050919050565b6000612ef5612ef0612eeb8461296c565b612ed0565b61296c565b9050919050565b6000612f0782612eda565b9050919050565b6000612f1982612efc565b9050919050565b612f2981612f0e565b82525050565b6000602082019050612f446000830184612f20565b92915050565b600080fd5b60008083601f840112612f6557612f64612a61565b5b8235905067ffffffffffffffff811115612f8257612f81612f4a565b5b602083019150836001820283011115612f9e57612f9d612b0d565b5b9250929050565b60008060208385031215612fbc57612fbb612793565b5b600083013567ffffffffffffffff811115612fda57612fd9612798565b5b612fe685828601612f4f565b92509250509250929050565b6000806040838503121561300957613008612793565b5b6000613017858286016129df565b9250506020613028858286016129df565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061307957607f821691505b6020821081141561308d5761308c613032565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006130c9600e83612863565b91506130d482613093565b602082019050919050565b600060208201905081810360008301526130f8816130bc565b9050919050565b7f554e415554484f52495a45440000000000000000000000000000000000000000600082015250565b6000613135600c83612863565b9150613140826130ff565b602082019050919050565b6000602082019050818103600083015261316481613128565b9050919050565b6000604082019050613180600083018561299e565b61318d602083018461299e565b9392505050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b60006131ca600a83612863565b91506131d582613194565b602082019050919050565b600060208201905081810360008301526131f9816131bd565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000613236601183612863565b915061324182613200565b602082019050919050565b6000602082019050818103600083015261326581613229565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132a682612755565b91506132b183612755565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ea576132e961326c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061332f82612755565b915061333a83612755565b92508261334a576133496132f5565b5b828204905092915050565b600082825260208201905092915050565b50565b6000613376600083613355565b915061338182613366565b600082019050919050565b60006080820190506133a1600083018661299e565b6133ae602083018561299e565b6133bb604083018461275f565b81810360608301526133cc81613369565b9050949350505050565b6000815190506133e5816127c9565b92915050565b60006020828403121561340157613400612793565b5b600061340f848285016133d6565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b600061344e601083612863565b915061345982613418565b602082019050919050565b6000602082019050818103600083015261347d81613441565b9050919050565b7f4652414e4b4c595f504155534544000000000000000000000000000000000000600082015250565b60006134ba600e83612863565b91506134c582613484565b602082019050919050565b600060208201905081810360008301526134e9816134ad565b9050919050565b7f4652414e4b4c595f4f5645525f4c494d49540000000000000000000000000000600082015250565b6000613526601283612863565b9150613531826134f0565b602082019050919050565b6000602082019050818103600083015261355581613519565b9050919050565b600061356782612755565b915061357283612755565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135a7576135a661326c565b5b828201905092915050565b7f544f4f5f4d414e595f4652414e4b530000000000000000000000000000000000600082015250565b60006135e8600f83612863565b91506135f3826135b2565b602082019050919050565b60006020820190508181036000830152613617816135db565b9050919050565b7f4652414e4b4c595f544f4f5f4348454150000000000000000000000000000000600082015250565b6000613654601183612863565b915061365f8261361e565b602082019050919050565b6000602082019050818103600083015261368381613647565b9050919050565b600061369582612755565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136c8576136c761326c565b5b600182019050919050565b6136dc8161279d565b82525050565b60006060820190506136f7600083018661299e565b613704602083018561299e565b61371160408301846136d3565b949350505050565b60008151905061372881612d2c565b92915050565b60006020828403121561374457613743612793565b5b600061375284828501613719565b91505092915050565b600081519050919050565b60006137718261375b565b61377b8185613355565b935061378b818560208601612874565b613794816128a7565b840191505092915050565b60006080820190506137b4600083018761299e565b6137c1602083018661299e565b6137ce604083018561275f565b81810360608301526137e08184613766565b905095945050505050565b60006137f682612755565b915061380183612755565b925082613811576138106132f5565b5b828206905092915050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b600061385d60078361381c565b915061386882613827565b600782019050919050565b60008190508160005260206000209050919050565b6000815461389581613061565b61389f818661381c565b945060018216600081146138ba57600181146138cb576138fe565b60ff198316865281860193506138fe565b6138d485613873565b60005b838110156138f6578154818901526001820191506020810190506138d7565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061393d60018361381c565b915061394882613907565b600182019050919050565b600061395e82612858565b613968818561381c565b9350613978818560208601612874565b80840191505092915050565b600061398f82613850565b915061399b8285613888565b91506139a682613930565b91506139b28284613953565b91508190509392505050565b6000819050919050565b6139d1816139be565b82525050565b600067ffffffffffffffff82169050919050565b6139f4816139d7565b82525050565b600061ffff82169050919050565b613a11816139fa565b82525050565b600063ffffffff82169050919050565b613a3081613a17565b82525050565b6000819050919050565b6000613a5b613a56613a5184613a36565b612ed0565b613a17565b9050919050565b613a6b81613a40565b82525050565b600060a082019050613a8660008301886139c8565b613a9360208301876139eb565b613aa06040830186613a08565b613aad6060830185613a27565b613aba6080830184613a62565b9695505050505050565b600081519050613ad381612913565b92915050565b600060208284031215613aef57613aee612793565b5b6000613afd84828501613ac4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4554485f5452414e534645525f4641494c454400000000000000000000000000600082015250565b6000613b6b601383612863565b9150613b7682613b35565b602082019050919050565b60006020820190508181036000830152613b9a81613b5e565b9050919050565b6000613bac82612755565b9150613bb783612755565b925082821015613bca57613bc961326c565b5b828203905092915050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000613c0b600e83612863565b9150613c1682613bd5565b602082019050919050565b60006020820190508181036000830152613c3a81613bfe565b905091905056fe697066733a2f2f516d5839697a5578635a364b6a61686e50356e354a61543473386d545772314844794a784d4b6f4b534459586843a26469706673582212206465c8c85906d3c707bf57334f1dba0a590d52a275097e329f702f2b09d80eb164736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004091823bb85964a4b64024496348012e80578ed7000000000000000000000000000000000000000000000000000000000000003b000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
-----Decoded View---------------
Arg [0] : owner (address): 0x4091823bB85964A4b64024496348012e80578ED7
Arg [1] : subscriptionId (uint64): 59
Arg [2] : vrfCoordinator (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [3] : link (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [4] : keyHash_ (bytes32): 0x8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000004091823bb85964a4b64024496348012e80578ed7
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003b
Arg [2] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [3] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [4] : 8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
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.