Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
555 MDSA
Holders
238
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MDSALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MedusaToken
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; // MEDUSA COLLECTION // The Medusa Collection is a set of 2,500 unique NFTs by artist Mieke Marple // The collection is a large scale artwork + restorative history + fundraiser // that dedicates 25% of all sales to Steven Van Zandt’s national education // non-profit TeachRock.org // // Contract written by @thauber // Contract audited by @carlfarterson contract MedusaToken is ERC721, ERC721Enumerable, Ownable, PaymentSplitter, Pausable, VRFConsumerBase { using Strings for uint256; // Start of regular sale uint256 public immutable SALE_START_TIME; // Time after which medusas are randomized and allotted uint256 public immutable REVEAL_TIME; // a merkle tree that stores addresses with permission to mint early bytes32 immutable public _earlyMintersMerkleRoot; // Mapping to limit early minting to one NFT mapping (address => bool) private _earlyMinted; // a merkle tree that stores addresses with permission to mint for free bytes32 immutable public _freeMintersMerkleRoot; // Mapping to limit free minting to one NFT mapping (address => bool) private _freeMinted; //Chainlink bytes32 immutable _hashKey; //Token Counts uint256 public immutable _tokenCount; uint256 public immutable _devReserve; //Number of reserved tokens left uint256 public reservedCount; // Max mintable in one transaction uint256 public constant MAX_MINT_AMOUNT = 20; // Price to mint one NFT uint256 public constant _price = .025 ether; // the starting index for random allotment // If 0 then reveal hasn't happened yet uint256 public startingIndex = 0; constructor( uint256 tokenCount, uint256 devReserve, uint256 saleStartTime, uint256 revealTerm, bytes32 freeMintersMerkleRoot, bytes32 earlyMintersMerkleRoot, address vrfCoordinator, address linkToken, bytes32 hashKey, address[] memory members, uint256[] memory shares ) ERC721("Medusa Collection", "MDSA") PaymentSplitter(members, shares) VRFConsumerBase(vrfCoordinator, linkToken){ require(devReserve < tokenCount, 'Medusa: can not have more dev reserve than supply'); _tokenCount = tokenCount; _devReserve = devReserve; reservedCount = devReserve; SALE_START_TIME = saleStartTime; REVEAL_TIME = saleStartTime + revealTerm; _earlyMintersMerkleRoot = earlyMintersMerkleRoot; _freeMintersMerkleRoot = freeMintersMerkleRoot; _hashKey = hashKey; pause(); } function mintNFTs(uint amount) public payable { require(block.timestamp >= SALE_START_TIME, 'Medusa: sale has not started'); _payAndMintNFTs(amount); } function earlyMintNFT(bytes32[] calldata merkleProof) public payable { require(_earlyMinted[_msgSender()] != true, "Medusa: only one early mint per address"); bytes32 node = keccak256(abi.encode(_msgSender())); require(MerkleProof.verify(merkleProof, _earlyMintersMerkleRoot, node), 'Medusa: invalid proof for early minting'); _payAndMintNFTs(1); _earlyMinted[_msgSender()] = true; } function freeMintNFT(bytes32[] calldata merkleProof) public payable { require(_freeMinted[_msgSender()] != true, "Medusa: only one free mint per address"); bytes32 node = keccak256(abi.encode(_msgSender())); require(MerkleProof.verify(merkleProof, _freeMintersMerkleRoot, node), 'Medusa: invalid proof for free minting'); _mintNFTs(1); _freeMinted[_msgSender()] = true; if (msg.value > 0) { (bool success, ) = _msgSender().call{value: msg.value}(""); require(success, "Medusa: change sent unsuccessfully"); } } function _payAndMintNFTs(uint amount) private { require(_price * amount == msg.value, "Medusa: too little eth sent"); _mintNFTs(amount); } function _mintNFTs(uint amount) private whenNotPaused { require(amount <= MAX_MINT_AMOUNT, 'Medusa: mint amount exceeds maximum'); require(totalSupply() < _tokenCount - reservedCount, "Medusa: sale has sold out"); require(totalSupply() + amount <= _tokenCount - reservedCount, "Medusa: mint exceeds available supply"); for (uint i = 0; i < amount; i++) { _mintNFT(_msgSender()); } } function devMintNFTs(address destination, uint amount) public { require(_msgSender() == owner(), 'Medusa: only devs can dev mint'); require(totalSupply() < _tokenCount, "Medusa: sale has sold out"); require(totalSupply() + amount <= _tokenCount, "Medusa: mint exceeds available supply"); for (uint i = 0; i < amount; i++) { _mintNFT(destination); } reservedCount = reservedCount - amount; } function _mintNFT(address _to) private { uint _tokenId = totalSupply(); _safeMint(_to, _tokenId); } function reveal() public { require(_msgSender() == owner(), "Medusa: only the owner can reveal"); require(startingIndex == 0, "Medusa: already revealed"); require(block.timestamp >= REVEAL_TIME, "Medusa: not ready to be revealed"); requestRandomness(_hashKey, 2000000000000000000); } function fulfillRandomness(bytes32, uint256 randomNumber) internal override { uint256 seed = randomNumber % _tokenCount; if (seed!=0) startingIndex = seed; else startingIndex = 1; } function hasFreeMinted() public view returns (bool) { return _freeMinted[_msgSender()]; } function hasEarlyMinted() public view returns (bool) { return _earlyMinted[_msgSender()]; } // Pausable Overrides function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } // ERC721 Overrides function _burn(uint256 tokenId) internal override { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); if (startingIndex == 0) { return "ipfs://QmSz2wdzPuGvBq1tQ89rR1k8n8rStFckDbzBCDA1AZrEqd"; } uint256 revealedId = (tokenId + startingIndex) % _tokenCount; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, revealedId.toString(), ".json")) : ""; } function _baseURI() internal pure override returns (string memory) { return "ipfs://QmV2Dy4Mbh1VT7Z1w11VDheQLhyx8oqkgh7LmpwDNGJRPK/"; } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } /// @notice PaymentSplitter introduces a `receive()` function that we do not need. receive() external payable override { revert(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @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. * ***************************************************************************** * @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 constuctor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) 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), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (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. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @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 ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @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. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @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 VRFConsumerBase 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 randomness the VRF output */ function fulfillRandomness( bytes32 requestId, uint256 randomness ) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 constant private USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness( bytes32 _keyHash, uint256 _fee ) internal returns ( bytes32 requestId ) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface immutable internal LINK; address immutable private vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor( address _vrfCoordinator, address _link ) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness( bytes32 requestId, uint256 randomness ) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VRFRequestIDBase { /** * @notice returns the seed which is actually input to the VRF coordinator * * @dev To prevent repetition of VRF output due to repetition of the * @dev user-supplied seed, that seed is combined in a hash with the * @dev user-specific nonce, and the address of the consuming contract. The * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in * @dev the final seed, but the nonce does protect against repetition in * @dev requests which are included in a single block. * * @param _userSeed VRF seed input provided by user * @param _requester Address of the requesting contract * @param _nonce User-specific nonce at the time of the request */ function makeVRFInputSeed( bytes32 _keyHash, uint256 _userSeed, address _requester, uint256 _nonce ) internal pure returns ( uint256 ) { return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce))); } /** * @notice Returns the id for this request * @param _keyHash The serviceAgreement ID to be used for this request * @param _vRFInputSeed The seed to be passed directly to the VRF * @return The id for this request * * @dev Note that _vRFInputSeed is not the seed passed by the consuming * @dev contract, but the one generated by makeVRFInputSeed */ function makeRequestId( bytes32 _keyHash, uint256 _vRFInputSeed ) internal pure returns ( bytes32 ) { return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed)); } }
// 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: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"devReserve","type":"uint256"},{"internalType":"uint256","name":"saleStartTime","type":"uint256"},{"internalType":"uint256","name":"revealTerm","type":"uint256"},{"internalType":"bytes32","name":"freeMintersMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"earlyMintersMerkleRoot","type":"bytes32"},{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"address","name":"linkToken","type":"address"},{"internalType":"bytes32","name":"hashKey","type":"bytes32"},{"internalType":"address[]","name":"members","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_earlyMintersMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_freeMintersMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMintNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"earlyMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"freeMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasEarlyMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasFreeMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintNFTs","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101a060405260006015553480156200001757600080fd5b50604051620073383803806200733883398181016040528101906200003d919062000a36565b848483836040518060400160405280601181526020017f4d656475736120436f6c6c656374696f6e0000000000000000000000000000008152506040518060400160405280600481526020017f4d445341000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c5929190620007e5565b508060019080519060200190620000de929190620007e5565b50505062000101620000f56200034360201b60201c565b6200034b60201b60201c565b805182511462000148576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200013f9062000d8b565b60405180910390fd5b60008251116200018f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001869062000df1565b60405180910390fd5b60005b8251811015620001fe57620001e8838281518110620001b657620001b56200108a565b5b6020026020010151838381518110620001d457620001d36200108a565b5b60200260200101516200041160201b60201c565b8080620001f59062000fde565b91505062000192565b5050506000601060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508a8a10620002d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c89062000dad565b60405180910390fd5b8a6101608181525050896101808181525050896014819055508860c08181525050878962000300919062000ecd565b60e08181525050856101008181525050866101208181525050826101408181525050620003326200064b60201b60201c565b50505050505050505050506200133b565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000484576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200047b9062000d25565b60405180910390fd5b60008111620004ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c19062000e13565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200054f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005469062000dcf565b60405180910390fd5b600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b5462000606919062000ecd565b600b819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200063f92919062000cf8565b60405180910390a15050565b6200065b6200034360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000681620006ec60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006d19062000d69565b60405180910390fd5b620006ea6200071660201b60201c565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b62000726620007ce60201b60201c565b1562000769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007609062000d47565b60405180910390fd5b6001601060006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620007b56200034360201b60201c565b604051620007c4919062000cdb565b60405180910390a1565b6000601060009054906101000a900460ff16905090565b828054620007f39062000f72565b90600052602060002090601f01602090048101928262000817576000855562000863565b82601f106200083257805160ff191683800117855562000863565b8280016001018555821562000863579182015b828111156200086257825182559160200191906001019062000845565b5b50905062000872919062000876565b5090565b5b808211156200089157600081600090555060010162000877565b5090565b6000620008ac620008a68462000e5e565b62000e35565b90508083825260208201905082856020860282011115620008d257620008d1620010ed565b5b60005b85811015620009065781620008eb88826200098b565b845260208401935060208301925050600181019050620008d5565b5050509392505050565b600062000927620009218462000e8d565b62000e35565b905080838252602082019050828560208602820111156200094d576200094c620010ed565b5b60005b8581101562000981578162000966888262000a1f565b84526020840193506020830192505060018101905062000950565b5050509392505050565b6000815190506200099c81620012ed565b92915050565b600082601f830112620009ba57620009b9620010e8565b5b8151620009cc84826020860162000895565b91505092915050565b600082601f830112620009ed57620009ec620010e8565b5b8151620009ff84826020860162000910565b91505092915050565b60008151905062000a198162001307565b92915050565b60008151905062000a308162001321565b92915050565b60008060008060008060008060008060006101608c8e03121562000a5f5762000a5e620010f7565b5b600062000a6f8e828f0162000a1f565b9b5050602062000a828e828f0162000a1f565b9a5050604062000a958e828f0162000a1f565b995050606062000aa88e828f0162000a1f565b985050608062000abb8e828f0162000a08565b97505060a062000ace8e828f0162000a08565b96505060c062000ae18e828f016200098b565b95505060e062000af48e828f016200098b565b94505061010062000b088e828f0162000a08565b9350506101208c015167ffffffffffffffff81111562000b2d5762000b2c620010f2565b5b62000b3b8e828f01620009a2565b9250506101408c015167ffffffffffffffff81111562000b605762000b5f620010f2565b5b62000b6e8e828f01620009d5565b9150509295989b509295989b9093969950565b62000b8c8162000f2a565b82525050565b600062000ba1602c8362000ebc565b915062000bae826200110d565b604082019050919050565b600062000bc860108362000ebc565b915062000bd5826200115c565b602082019050919050565b600062000bef60208362000ebc565b915062000bfc8262001185565b602082019050919050565b600062000c1660328362000ebc565b915062000c2382620011ae565b604082019050919050565b600062000c3d60318362000ebc565b915062000c4a82620011fd565b604082019050919050565b600062000c64602b8362000ebc565b915062000c71826200124c565b604082019050919050565b600062000c8b601a8362000ebc565b915062000c98826200129b565b602082019050919050565b600062000cb2601d8362000ebc565b915062000cbf82620012c4565b602082019050919050565b62000cd58162000f68565b82525050565b600060208201905062000cf2600083018462000b81565b92915050565b600060408201905062000d0f600083018562000b81565b62000d1e602083018462000cca565b9392505050565b6000602082019050818103600083015262000d408162000b92565b9050919050565b6000602082019050818103600083015262000d628162000bb9565b9050919050565b6000602082019050818103600083015262000d848162000be0565b9050919050565b6000602082019050818103600083015262000da68162000c07565b9050919050565b6000602082019050818103600083015262000dc88162000c2e565b9050919050565b6000602082019050818103600083015262000dea8162000c55565b9050919050565b6000602082019050818103600083015262000e0c8162000c7c565b9050919050565b6000602082019050818103600083015262000e2e8162000ca3565b9050919050565b600062000e4162000e54565b905062000e4f828262000fa8565b919050565b6000604051905090565b600067ffffffffffffffff82111562000e7c5762000e7b620010b9565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000eab5762000eaa620010b9565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000eda8262000f68565b915062000ee78362000f68565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000f1f5762000f1e6200102c565b5b828201905092915050565b600062000f378262000f48565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000f8b57607f821691505b6020821081141562000fa25762000fa16200105b565b5b50919050565b62000fb382620010fc565b810181811067ffffffffffffffff8211171562000fd55762000fd4620010b9565b5b80604052505050565b600062000feb8262000f68565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200102157620010206200102c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f4d65647573613a2063616e206e6f742068617665206d6f72652064657620726560008201527f7365727665207468616e20737570706c79000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b620012f88162000f2a565b81146200130457600080fd5b50565b620013128162000f3e565b81146200131e57600080fd5b50565b6200132c8162000f68565b81146200133857600080fd5b50565b60805160601c60a05160601c60c05160e0516101005161012051610140516101605161018051615f39620013ff600039600061190b015260008181611238015281816115c0015281816116290152818161214a0152818161272d015281816127a30152612f090152600061202c015260008181610e3101526117a7015260008181611b0f01526122270152600081816112c70152611fc601526000818161139a01526114af015260008181611c0d0152612f9701526000612f5b0152615f396000f3fe6080604052600436106102815760003560e01c806370a082311161014f578063a475b5dd116100c1578063e19330ba1161007a578063e19330ba1461096f578063e33b7de31461099a578063e985e9c5146109c5578063ef9a7d4714610a02578063f2fde38b14610a2d578063fa9b701814610a565761028b565b8063a475b5dd1461085f578063b88d4fde14610876578063c38f76171461089f578063c87b56dd146108ca578063cb774d4714610907578063ce7c2ac2146109325761028b565b80638be8a57b116101135780638be8a57b1461075e5780638da5cb5b1461077a57806394985ddd146107a557806395d89b41146107ce5780639852595c146107f9578063a22cb465146108365761028b565b806370a082311461068b578063715018a6146106c85780637bd01fe0146106df5780638456cb591461070a5780638b83209b146107215761028b565b80632d913bfb116101f357806344dbb571116101ac57806344dbb571146105675780634f6ccce7146105925780635125010d146105cf5780635c975abb146105f85780636352211e146106235780636dce2d71146106605761028b565b80632d913bfb146104785780632f745c59146104a35780633a98ef39146104e05780633b4b13811461050b5780633f4ba83a1461052757806342842e0e1461053e5761028b565b806314bf742c1161024557806314bf742c1461038957806318160ddd146103a557806319165587146103d05780631eef9d2c146103f9578063235b6ea11461042457806323b872dd1461044f5761028b565b806301ffc9a71461029057806306fdde03146102cd578063081812fc146102f8578063095ea7b3146103355780631367a8881461035e5761028b565b3661028b57600080fd5b600080fd5b34801561029c57600080fd5b506102b760048036038101906102b29190614089565b610a81565b6040516102c49190614931565b60405180910390f35b3480156102d957600080fd5b506102e2610a93565b6040516102ef91906149d5565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a91906140e3565b610b25565b60405161032c9190614863565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613f8f565b610baa565b005b34801561036a57600080fd5b50610373610cc2565b6040516103809190614931565b60405180910390f35b6103a3600480360381019061039e9190613fcf565b610d1d565b005b3480156103b157600080fd5b506103ba610fc1565b6040516103c79190614ed7565b60405180910390f35b3480156103dc57600080fd5b506103f760048036038101906103f29190613e0c565b610fce565b005b34801561040557600080fd5b5061040e611236565b60405161041b9190614ed7565b60405180910390f35b34801561043057600080fd5b5061043961125a565b6040516104469190614ed7565b60405180910390f35b34801561045b57600080fd5b5061047660048036038101906104719190613e79565b611265565b005b34801561048457600080fd5b5061048d6112c5565b60405161049a9190614ed7565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190613f8f565b6112e9565b6040516104d79190614ed7565b60405180910390f35b3480156104ec57600080fd5b506104f561138e565b6040516105029190614ed7565b60405180910390f35b610525600480360381019061052091906140e3565b611398565b005b34801561053357600080fd5b5061053c611407565b005b34801561054a57600080fd5b5061056560048036038101906105609190613e79565b61148d565b005b34801561057357600080fd5b5061057c6114ad565b6040516105899190614ed7565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906140e3565b6114d1565b6040516105c69190614ed7565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613f8f565b611542565b005b34801561060457600080fd5b5061060d6116dc565b60405161061a9190614931565b60405180910390f35b34801561062f57600080fd5b5061064a600480360381019061064591906140e3565b6116f3565b6040516106579190614863565b60405180910390f35b34801561066c57600080fd5b506106756117a5565b604051610682919061494c565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190613ddf565b6117c9565b6040516106bf9190614ed7565b60405180910390f35b3480156106d457600080fd5b506106dd611881565b005b3480156106eb57600080fd5b506106f4611909565b6040516107019190614ed7565b60405180910390f35b34801561071657600080fd5b5061071f61192d565b005b34801561072d57600080fd5b50610748600480360381019061074391906140e3565b6119b3565b6040516107559190614863565b60405180910390f35b61077860048036038101906107739190613fcf565b6119fb565b005b34801561078657600080fd5b5061078f611be1565b60405161079c9190614863565b60405180910390f35b3480156107b157600080fd5b506107cc60048036038101906107c79190614049565b611c0b565b005b3480156107da57600080fd5b506107e3611ca7565b6040516107f091906149d5565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613ddf565b611d39565b60405161082d9190614ed7565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613f4f565b611d82565b005b34801561086b57600080fd5b50610874611f03565b005b34801561088257600080fd5b5061089d60048036038101906108989190613ecc565b61205c565b005b3480156108ab57600080fd5b506108b46120be565b6040516108c19190614ed7565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec91906140e3565b6120c4565b6040516108fe91906149d5565b60405180910390f35b34801561091357600080fd5b5061091c6121d6565b6040516109299190614ed7565b60405180910390f35b34801561093e57600080fd5b5061095960048036038101906109549190613ddf565b6121dc565b6040516109669190614ed7565b60405180910390f35b34801561097b57600080fd5b50610984612225565b604051610991919061494c565b60405180910390f35b3480156109a657600080fd5b506109af612249565b6040516109bc9190614ed7565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e79190613e39565b612253565b6040516109f99190614931565b60405180910390f35b348015610a0e57600080fd5b50610a176122e7565b604051610a249190614931565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f9190613ddf565b612342565b005b348015610a6257600080fd5b50610a6b61243a565b604051610a789190614ed7565b60405180910390f35b6000610a8c8261243f565b9050919050565b606060008054610aa2906151b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace906151b3565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b6000610b30826124b9565b610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690614d97565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb5826116f3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d90614e57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c45612525565b73ffffffffffffffffffffffffffffffffffffffff161480610c745750610c7381610c6e612525565b612253565b5b610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90614c97565b60405180910390fd5b610cbd838361252d565b505050565b600060126000610cd0612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6001151560136000610d2d612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf906149f7565b60405180910390fd5b6000610dc2612525565b604051602001610dd29190614863565b604051602081830303815290604052805190602001209050610e56838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f0000000000000000000000000000000000000000000000000000000000000000836125e6565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614ab7565b60405180910390fd5b610e9f600161269c565b600160136000610ead612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000341115610fbc576000610f11612525565b73ffffffffffffffffffffffffffffffffffffffff1634604051610f349061484e565b60006040518083038185875af1925050503d8060008114610f71576040519150601f19603f3d011682016040523d82523d6000602084013e610f76565b606091505b5050905080610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190614c57565b60405180910390fd5b505b505050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104790614b37565b60405180910390fd5b6000600c54476110609190614f96565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846110f2919061501d565b6110fc9190614fec565b6111069190615077565b9050600081141561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614c17565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111979190614f96565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546111e89190614f96565b600c819055506111f88382612852565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056838260405161122992919061487e565b60405180910390a1505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6658d15e1762800081565b611276611270612525565b82612946565b6112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac90614e77565b60405180910390fd5b6112c0838383612a24565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006112f4836117c9565b8210611335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132c90614a77565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600b54905090565b7f00000000000000000000000000000000000000000000000000000000000000004210156113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614eb7565b60405180910390fd5b61140481612c80565b50565b61140f612525565b73ffffffffffffffffffffffffffffffffffffffff1661142d611be1565b73ffffffffffffffffffffffffffffffffffffffff1614611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614db7565b60405180910390fd5b61148b612ce0565b565b6114a88383836040518060200160405280600081525061205c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006114db610fc1565b821061151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151390614e97565b60405180910390fd5b600882815481106115305761152f615360565b5b90600052602060002001549050919050565b61154a611be1565b73ffffffffffffffffffffffffffffffffffffffff16611568612525565b73ffffffffffffffffffffffffffffffffffffffff16146115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614d57565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006115e7610fc1565b10611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90614d17565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081611651610fc1565b61165b9190614f96565b111561169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390614a37565b60405180910390fd5b60005b818110156116c3576116b083612d82565b80806116bb90615216565b91505061169f565b50806014546116d29190615077565b6014819055505050565b6000601060009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390614cd7565b60405180910390fd5b80915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614cb7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611889612525565b73ffffffffffffffffffffffffffffffffffffffff166118a7611be1565b73ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614db7565b60405180910390fd5b6119076000612d9c565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b611935612525565b73ffffffffffffffffffffffffffffffffffffffff16611953611be1565b73ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090614db7565b60405180910390fd5b6119b1612e62565b565b6000600f82815481106119c9576119c8615360565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6001151560126000611a0b612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90614bb7565b60405180910390fd5b6000611aa0612525565b604051602001611ab09190614863565b604051602081830303815290604052805190602001209050611b34838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f0000000000000000000000000000000000000000000000000000000000000000836125e6565b611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90614c37565b60405180910390fd5b611b7d6001612c80565b600160126000611b8b612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614e17565b60405180910390fd5b611ca38282612f05565b5050565b606060018054611cb6906151b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce2906151b3565b8015611d2f5780601f10611d0457610100808354040283529160200191611d2f565b820191906000526020600020905b815481529060010190602001808311611d1257829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d8a612525565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614b77565b60405180910390fd5b8060056000611e05612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eb2612525565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef79190614931565b60405180910390a35050565b611f0b611be1565b73ffffffffffffffffffffffffffffffffffffffff16611f29612525565b73ffffffffffffffffffffffffffffffffffffffff1614611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7690614e37565b60405180910390fd5b600060155414611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb90614a57565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000421015612027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201e90614b17565b60405180910390fd5b6120597f0000000000000000000000000000000000000000000000000000000000000000671bc16d674ec80000612f57565b50565b61206d612067612525565b83612946565b6120ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a390614e77565b60405180910390fd5b6120b8848484846130b9565b50505050565b60145481565b60606120cf826124b9565b61210e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210590614df7565b60405180910390fd5b6000612118613115565b90506000601554141561214657604051806060016040528060358152602001615e99603591399150506121d1565b60007f0000000000000000000000000000000000000000000000000000000000000000601554856121779190614f96565b6121819190615273565b905060008251116121a157604051806020016040528060008152506121cc565b816121ab82613135565b6040516020016121bc92919061481f565b6040516020818303038152906040525b925050505b919050565b60155481565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601360006122f5612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b61234a612525565b73ffffffffffffffffffffffffffffffffffffffff16612368611be1565b73ffffffffffffffffffffffffffffffffffffffff16146123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614db7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242590614ad7565b60405180910390fd5b61243781612d9c565b50565b601481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124b257506124b182613296565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125a0836116f3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082905060005b855181101561268e57600086828151811061260d5761260c615360565b5b6020026020010151905080831161264e5782816040516020016126319291906147c7565b60405160208183030381529060405280519060200120925061267a565b80836040516020016126619291906147c7565b6040516020818303038152906040528051906020012092505b50808061268690615216565b9150506125ef565b508381149150509392505050565b6126a46116dc565b156126e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126db90614c77565b60405180910390fd5b6014811115612728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614d37565b60405180910390fd5b6014547f00000000000000000000000000000000000000000000000000000000000000006127569190615077565b61275e610fc1565b1061279e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279590614d17565b60405180910390fd5b6014547f00000000000000000000000000000000000000000000000000000000000000006127cc9190615077565b816127d5610fc1565b6127df9190614f96565b1115612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281790614a37565b60405180910390fd5b60005b8181101561284e5761283b612836612525565b612d82565b808061284690615216565b915050612823565b5050565b80471015612895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288c90614bd7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128bb9061484e565b60006040518083038185875af1925050503d80600081146128f8576040519150601f19603f3d011682016040523d82523d6000602084013e6128fd565b606091505b5050905080612941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293890614b97565b60405180910390fd5b505050565b6000612951826124b9565b612990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298790614bf7565b60405180910390fd5b600061299b836116f3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a0a57508373ffffffffffffffffffffffffffffffffffffffff166129f284610b25565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a1b5750612a1a8185612253565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a44826116f3565b73ffffffffffffffffffffffffffffffffffffffff1614612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190614dd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0190614b57565b60405180910390fd5b612b15838383613378565b612b2060008261252d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b709190615077565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc79190614f96565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b34816658d15e17628000612c94919061501d565b14612cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccb90614cf7565b60405180910390fd5b612cdd8161269c565b50565b612ce86116dc565b612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90614a17565b60405180910390fd5b6000601060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d6b612525565b604051612d789190614863565b60405180910390a1565b6000612d8c610fc1565b9050612d988282613388565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e6a6116dc565b15612eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea190614c77565b60405180910390fd5b6001601060006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612eee612525565b604051612efb9190614863565b60405180910390a1565b60007f000000000000000000000000000000000000000000000000000000000000000082612f339190615273565b905060008114612f495780601581905550612f52565b60016015819055505b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612fcb929190614967565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612ff8939291906148f3565b602060405180830381600087803b15801561301257600080fd5b505af1158015613026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304a919061401c565b50600061306d8460003060116000898152602001908152602001600020546133a6565b90506001601160008681526020019081526020016000205461308f9190614f96565b60116000868152602001908152602001600020819055506130b084826133e2565b91505092915050565b6130c4848484612a24565b6130d084848484613415565b61310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614a97565b60405180910390fd5b50505050565b6060604051806060016040528060368152602001615ece60369139905090565b6060600082141561317d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613291565b600082905060005b600082146131af57808061319890615216565b915050600a826131a89190614fec565b9150613185565b60008167ffffffffffffffff8111156131cb576131ca61538f565b5b6040519080825280601f01601f1916602001820160405280156131fd5781602001600182028036833780820191505090505b5090505b6000851461328a576001826132169190615077565b9150600a856132259190615273565b60306132319190614f96565b60f81b81838151811061324757613246615360565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132839190614fec565b9450613201565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061336157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133715750613370826135ac565b5b9050919050565b613383838383613616565b505050565b6133a282826040518060200160405280600081525061372a565b5050565b6000848484846040516020016133bf9493929190614990565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016133f79291906147f3565b60405160208183030381529060405280519060200120905092915050565b60006134368473ffffffffffffffffffffffffffffffffffffffff16613785565b1561359f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261345f612525565b8786866040518563ffffffff1660e01b815260040161348194939291906148a7565b602060405180830381600087803b15801561349b57600080fd5b505af19250505080156134cc57506040513d601f19601f820116820180604052508101906134c991906140b6565b60015b61354f573d80600081146134fc576040519150601f19603f3d011682016040523d82523d6000602084013e613501565b606091505b50600081511415613547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353e90614a97565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135a4565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613621838383613798565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136645761365f8161379d565b6136a3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136a2576136a183826137e6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e6576136e181613953565b613725565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613724576137238282613a24565b5b5b505050565b6137348383613aa3565b6137416000848484613415565b613780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377790614a97565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137f3846117c9565b6137fd9190615077565b90506000600760008481526020019081526020016000205490508181146138e2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139679190615077565b905060006009600084815260200190815260200160002054905060006008838154811061399757613996615360565b5b9060005260206000200154905080600883815481106139b9576139b8615360565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a0857613a07615331565b5b6001900381819060005260206000200160009055905550505050565b6000613a2f836117c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0a90614d77565b60405180910390fd5b613b1c816124b9565b15613b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5390614af7565b60405180910390fd5b613b6860008383613378565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613bb89190614f96565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613c84613c7f84614f17565b614ef2565b905082815260208101848484011115613ca057613c9f6153cd565b5b613cab848285615171565b509392505050565b600081359050613cc281615e0e565b92915050565b600081359050613cd781615e25565b92915050565b60008083601f840112613cf357613cf26153c3565b5b8235905067ffffffffffffffff811115613d1057613d0f6153be565b5b602083019150836020820283011115613d2c57613d2b6153c8565b5b9250929050565b600081359050613d4281615e3c565b92915050565b600081519050613d5781615e3c565b92915050565b600081359050613d6c81615e53565b92915050565b600081359050613d8181615e6a565b92915050565b600081519050613d9681615e6a565b92915050565b600082601f830112613db157613db06153c3565b5b8135613dc1848260208601613c71565b91505092915050565b600081359050613dd981615e81565b92915050565b600060208284031215613df557613df46153d7565b5b6000613e0384828501613cb3565b91505092915050565b600060208284031215613e2257613e216153d7565b5b6000613e3084828501613cc8565b91505092915050565b60008060408385031215613e5057613e4f6153d7565b5b6000613e5e85828601613cb3565b9250506020613e6f85828601613cb3565b9150509250929050565b600080600060608486031215613e9257613e916153d7565b5b6000613ea086828701613cb3565b9350506020613eb186828701613cb3565b9250506040613ec286828701613dca565b9150509250925092565b60008060008060808587031215613ee657613ee56153d7565b5b6000613ef487828801613cb3565b9450506020613f0587828801613cb3565b9350506040613f1687828801613dca565b925050606085013567ffffffffffffffff811115613f3757613f366153d2565b5b613f4387828801613d9c565b91505092959194509250565b60008060408385031215613f6657613f656153d7565b5b6000613f7485828601613cb3565b9250506020613f8585828601613d33565b9150509250929050565b60008060408385031215613fa657613fa56153d7565b5b6000613fb485828601613cb3565b9250506020613fc585828601613dca565b9150509250929050565b60008060208385031215613fe657613fe56153d7565b5b600083013567ffffffffffffffff811115614004576140036153d2565b5b61401085828601613cdd565b92509250509250929050565b600060208284031215614032576140316153d7565b5b600061404084828501613d48565b91505092915050565b600080604083850312156140605761405f6153d7565b5b600061406e85828601613d5d565b925050602061407f85828601613dca565b9150509250929050565b60006020828403121561409f5761409e6153d7565b5b60006140ad84828501613d72565b91505092915050565b6000602082840312156140cc576140cb6153d7565b5b60006140da84828501613d87565b91505092915050565b6000602082840312156140f9576140f86153d7565b5b600061410784828501613dca565b91505092915050565b6141198161513b565b82525050565b614128816150ab565b82525050565b614137816150cf565b82525050565b614146816150db565b82525050565b61415d614158826150db565b61525f565b82525050565b600061416e82614f48565b6141788185614f5e565b9350614188818560208601615180565b614191816153dc565b840191505092915050565b60006141a782614f53565b6141b18185614f7a565b93506141c1818560208601615180565b6141ca816153dc565b840191505092915050565b60006141e082614f53565b6141ea8185614f8b565b93506141fa818560208601615180565b80840191505092915050565b6000614213602683614f7a565b915061421e826153ed565b604082019050919050565b6000614236601483614f7a565b91506142418261543c565b602082019050919050565b6000614259602583614f7a565b915061426482615465565b604082019050919050565b600061427c601883614f7a565b9150614287826154b4565b602082019050919050565b600061429f602b83614f7a565b91506142aa826154dd565b604082019050919050565b60006142c2603283614f7a565b91506142cd8261552c565b604082019050919050565b60006142e5602683614f7a565b91506142f08261557b565b604082019050919050565b6000614308602683614f7a565b9150614313826155ca565b604082019050919050565b600061432b601c83614f7a565b915061433682615619565b602082019050919050565b600061434e602083614f7a565b915061435982615642565b602082019050919050565b6000614371602683614f7a565b915061437c8261566b565b604082019050919050565b6000614394602483614f7a565b915061439f826156ba565b604082019050919050565b60006143b7601983614f7a565b91506143c282615709565b602082019050919050565b60006143da603a83614f7a565b91506143e582615732565b604082019050919050565b60006143fd602783614f7a565b915061440882615781565b604082019050919050565b6000614420601d83614f7a565b915061442b826157d0565b602082019050919050565b6000614443602c83614f7a565b915061444e826157f9565b604082019050919050565b6000614466602b83614f7a565b915061447182615848565b604082019050919050565b6000614489602783614f7a565b915061449482615897565b604082019050919050565b60006144ac602283614f7a565b91506144b7826158e6565b604082019050919050565b60006144cf601083614f7a565b91506144da82615935565b602082019050919050565b60006144f2603883614f7a565b91506144fd8261595e565b604082019050919050565b6000614515602a83614f7a565b9150614520826159ad565b604082019050919050565b6000614538602983614f7a565b9150614543826159fc565b604082019050919050565b600061455b601b83614f7a565b915061456682615a4b565b602082019050919050565b600061457e601983614f7a565b915061458982615a74565b602082019050919050565b60006145a1602383614f7a565b91506145ac82615a9d565b604082019050919050565b60006145c4601e83614f7a565b91506145cf82615aec565b602082019050919050565b60006145e7602083614f7a565b91506145f282615b15565b602082019050919050565b600061460a602c83614f7a565b915061461582615b3e565b604082019050919050565b600061462d600583614f8b565b915061463882615b8d565b600582019050919050565b6000614650602083614f7a565b915061465b82615bb6565b602082019050919050565b6000614673602983614f7a565b915061467e82615bdf565b604082019050919050565b6000614696602f83614f7a565b91506146a182615c2e565b604082019050919050565b60006146b9601f83614f7a565b91506146c482615c7d565b602082019050919050565b60006146dc602183614f7a565b91506146e782615ca6565b604082019050919050565b60006146ff602183614f7a565b915061470a82615cf5565b604082019050919050565b6000614722600083614f6f565b915061472d82615d44565b600082019050919050565b6000614745603183614f7a565b915061475082615d47565b604082019050919050565b6000614768602c83614f7a565b915061477382615d96565b604082019050919050565b600061478b601c83614f7a565b915061479682615de5565b602082019050919050565b6147aa81615131565b82525050565b6147c16147bc82615131565b615269565b82525050565b60006147d3828561414c565b6020820191506147e3828461414c565b6020820191508190509392505050565b60006147ff828561414c565b60208201915061480f82846147b0565b6020820191508190509392505050565b600061482b82856141d5565b915061483782846141d5565b915061484282614620565b91508190509392505050565b600061485982614715565b9150819050919050565b6000602082019050614878600083018461411f565b92915050565b60006040820190506148936000830185614110565b6148a060208301846147a1565b9392505050565b60006080820190506148bc600083018761411f565b6148c9602083018661411f565b6148d660408301856147a1565b81810360608301526148e88184614163565b905095945050505050565b6000606082019050614908600083018661411f565b61491560208301856147a1565b81810360408301526149278184614163565b9050949350505050565b6000602082019050614946600083018461412e565b92915050565b6000602082019050614961600083018461413d565b92915050565b600060408201905061497c600083018561413d565b61498960208301846147a1565b9392505050565b60006080820190506149a5600083018761413d565b6149b260208301866147a1565b6149bf604083018561411f565b6149cc60608301846147a1565b95945050505050565b600060208201905081810360008301526149ef818461419c565b905092915050565b60006020820190508181036000830152614a1081614206565b9050919050565b60006020820190508181036000830152614a3081614229565b9050919050565b60006020820190508181036000830152614a508161424c565b9050919050565b60006020820190508181036000830152614a708161426f565b9050919050565b60006020820190508181036000830152614a9081614292565b9050919050565b60006020820190508181036000830152614ab0816142b5565b9050919050565b60006020820190508181036000830152614ad0816142d8565b9050919050565b60006020820190508181036000830152614af0816142fb565b9050919050565b60006020820190508181036000830152614b108161431e565b9050919050565b60006020820190508181036000830152614b3081614341565b9050919050565b60006020820190508181036000830152614b5081614364565b9050919050565b60006020820190508181036000830152614b7081614387565b9050919050565b60006020820190508181036000830152614b90816143aa565b9050919050565b60006020820190508181036000830152614bb0816143cd565b9050919050565b60006020820190508181036000830152614bd0816143f0565b9050919050565b60006020820190508181036000830152614bf081614413565b9050919050565b60006020820190508181036000830152614c1081614436565b9050919050565b60006020820190508181036000830152614c3081614459565b9050919050565b60006020820190508181036000830152614c508161447c565b9050919050565b60006020820190508181036000830152614c708161449f565b9050919050565b60006020820190508181036000830152614c90816144c2565b9050919050565b60006020820190508181036000830152614cb0816144e5565b9050919050565b60006020820190508181036000830152614cd081614508565b9050919050565b60006020820190508181036000830152614cf08161452b565b9050919050565b60006020820190508181036000830152614d108161454e565b9050919050565b60006020820190508181036000830152614d3081614571565b9050919050565b60006020820190508181036000830152614d5081614594565b9050919050565b60006020820190508181036000830152614d70816145b7565b9050919050565b60006020820190508181036000830152614d90816145da565b9050919050565b60006020820190508181036000830152614db0816145fd565b9050919050565b60006020820190508181036000830152614dd081614643565b9050919050565b60006020820190508181036000830152614df081614666565b9050919050565b60006020820190508181036000830152614e1081614689565b9050919050565b60006020820190508181036000830152614e30816146ac565b9050919050565b60006020820190508181036000830152614e50816146cf565b9050919050565b60006020820190508181036000830152614e70816146f2565b9050919050565b60006020820190508181036000830152614e9081614738565b9050919050565b60006020820190508181036000830152614eb08161475b565b9050919050565b60006020820190508181036000830152614ed08161477e565b9050919050565b6000602082019050614eec60008301846147a1565b92915050565b6000614efc614f0d565b9050614f0882826151e5565b919050565b6000604051905090565b600067ffffffffffffffff821115614f3257614f3161538f565b5b614f3b826153dc565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fa182615131565b9150614fac83615131565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe157614fe06152a4565b5b828201905092915050565b6000614ff782615131565b915061500283615131565b925082615012576150116152d3565b5b828204905092915050565b600061502882615131565b915061503383615131565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506c5761506b6152a4565b5b828202905092915050565b600061508282615131565b915061508d83615131565b9250828210156150a05761509f6152a4565b5b828203905092915050565b60006150b682615111565b9050919050565b60006150c882615111565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151468261514d565b9050919050565b60006151588261515f565b9050919050565b600061516a82615111565b9050919050565b82818337600083830152505050565b60005b8381101561519e578082015181840152602081019050615183565b838111156151ad576000848401525b50505050565b600060028204905060018216806151cb57607f821691505b602082108114156151df576151de615302565b5b50919050565b6151ee826153dc565b810181811067ffffffffffffffff8211171561520d5761520c61538f565b5b80604052505050565b600061522182615131565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615254576152536152a4565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061527e82615131565b915061528983615131565b925082615299576152986152d3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d65647573613a206f6e6c79206f6e652066726565206d696e7420706572206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4d65647573613a206d696e74206578636565647320617661696c61626c65207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20616c72656164792072657665616c65640000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d65647573613a20696e76616c69642070726f6f6620666f722066726565206d60008201527f696e74696e670000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d65647573613a206e6f7420726561647920746f2062652072657665616c6564600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f4d65647573613a206f6e6c79206f6e65206561726c79206d696e74207065722060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20696e76616c69642070726f6f6620666f72206561726c792060008201527f6d696e74696e6700000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a206368616e67652073656e7420756e7375636365737366756c60008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20746f6f206c6974746c65206574682073656e740000000000600082015250565b7f4d65647573613a2073616c652068617320736f6c64206f757400000000000000600082015250565b7f4d65647573613a206d696e7420616d6f756e742065786365656473206d61786960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a206f6e6c7920646576732063616e20646576206d696e740000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4d65647573613a206f6e6c7920746865206f776e65722063616e20726576656160008201527f6c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d65647573613a2073616c6520686173206e6f74207374617274656400000000600082015250565b615e17816150ab565b8114615e2257600080fd5b50565b615e2e816150bd565b8114615e3957600080fd5b50565b615e45816150cf565b8114615e5057600080fd5b50565b615e5c816150db565b8114615e6757600080fd5b50565b615e73816150e5565b8114615e7e57600080fd5b50565b615e8a81615131565b8114615e9557600080fd5b5056fe697066733a2f2f516d537a3277647a50754776427131745138397252316b386e3872537446636b44627a4243444131415a72457164697066733a2f2f516d56324479344d6268315654375a3177313156446865514c687978386f716b6768374c6d7077444e474a52504b2fa26469706673582212200fb2667f19587ba360a72f5b97efa413386f58da0ee66ff7ccbd715fa92453de64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000061afbd40000000000000000000000000000000000000000000000000000000000002a3001c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c4485670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b92000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002c178bd7a3f50112fbd2c7e1bdb3a41966e19ff80000000000000000000000009d5025b327e6b863e5050141c987d988c07fd8b20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000019
Deployed Bytecode
0x6080604052600436106102815760003560e01c806370a082311161014f578063a475b5dd116100c1578063e19330ba1161007a578063e19330ba1461096f578063e33b7de31461099a578063e985e9c5146109c5578063ef9a7d4714610a02578063f2fde38b14610a2d578063fa9b701814610a565761028b565b8063a475b5dd1461085f578063b88d4fde14610876578063c38f76171461089f578063c87b56dd146108ca578063cb774d4714610907578063ce7c2ac2146109325761028b565b80638be8a57b116101135780638be8a57b1461075e5780638da5cb5b1461077a57806394985ddd146107a557806395d89b41146107ce5780639852595c146107f9578063a22cb465146108365761028b565b806370a082311461068b578063715018a6146106c85780637bd01fe0146106df5780638456cb591461070a5780638b83209b146107215761028b565b80632d913bfb116101f357806344dbb571116101ac57806344dbb571146105675780634f6ccce7146105925780635125010d146105cf5780635c975abb146105f85780636352211e146106235780636dce2d71146106605761028b565b80632d913bfb146104785780632f745c59146104a35780633a98ef39146104e05780633b4b13811461050b5780633f4ba83a1461052757806342842e0e1461053e5761028b565b806314bf742c1161024557806314bf742c1461038957806318160ddd146103a557806319165587146103d05780631eef9d2c146103f9578063235b6ea11461042457806323b872dd1461044f5761028b565b806301ffc9a71461029057806306fdde03146102cd578063081812fc146102f8578063095ea7b3146103355780631367a8881461035e5761028b565b3661028b57600080fd5b600080fd5b34801561029c57600080fd5b506102b760048036038101906102b29190614089565b610a81565b6040516102c49190614931565b60405180910390f35b3480156102d957600080fd5b506102e2610a93565b6040516102ef91906149d5565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a91906140e3565b610b25565b60405161032c9190614863565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613f8f565b610baa565b005b34801561036a57600080fd5b50610373610cc2565b6040516103809190614931565b60405180910390f35b6103a3600480360381019061039e9190613fcf565b610d1d565b005b3480156103b157600080fd5b506103ba610fc1565b6040516103c79190614ed7565b60405180910390f35b3480156103dc57600080fd5b506103f760048036038101906103f29190613e0c565b610fce565b005b34801561040557600080fd5b5061040e611236565b60405161041b9190614ed7565b60405180910390f35b34801561043057600080fd5b5061043961125a565b6040516104469190614ed7565b60405180910390f35b34801561045b57600080fd5b5061047660048036038101906104719190613e79565b611265565b005b34801561048457600080fd5b5061048d6112c5565b60405161049a9190614ed7565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190613f8f565b6112e9565b6040516104d79190614ed7565b60405180910390f35b3480156104ec57600080fd5b506104f561138e565b6040516105029190614ed7565b60405180910390f35b610525600480360381019061052091906140e3565b611398565b005b34801561053357600080fd5b5061053c611407565b005b34801561054a57600080fd5b5061056560048036038101906105609190613e79565b61148d565b005b34801561057357600080fd5b5061057c6114ad565b6040516105899190614ed7565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906140e3565b6114d1565b6040516105c69190614ed7565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613f8f565b611542565b005b34801561060457600080fd5b5061060d6116dc565b60405161061a9190614931565b60405180910390f35b34801561062f57600080fd5b5061064a600480360381019061064591906140e3565b6116f3565b6040516106579190614863565b60405180910390f35b34801561066c57600080fd5b506106756117a5565b604051610682919061494c565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190613ddf565b6117c9565b6040516106bf9190614ed7565b60405180910390f35b3480156106d457600080fd5b506106dd611881565b005b3480156106eb57600080fd5b506106f4611909565b6040516107019190614ed7565b60405180910390f35b34801561071657600080fd5b5061071f61192d565b005b34801561072d57600080fd5b50610748600480360381019061074391906140e3565b6119b3565b6040516107559190614863565b60405180910390f35b61077860048036038101906107739190613fcf565b6119fb565b005b34801561078657600080fd5b5061078f611be1565b60405161079c9190614863565b60405180910390f35b3480156107b157600080fd5b506107cc60048036038101906107c79190614049565b611c0b565b005b3480156107da57600080fd5b506107e3611ca7565b6040516107f091906149d5565b60405180910390f35b34801561080557600080fd5b50610820600480360381019061081b9190613ddf565b611d39565b60405161082d9190614ed7565b60405180910390f35b34801561084257600080fd5b5061085d60048036038101906108589190613f4f565b611d82565b005b34801561086b57600080fd5b50610874611f03565b005b34801561088257600080fd5b5061089d60048036038101906108989190613ecc565b61205c565b005b3480156108ab57600080fd5b506108b46120be565b6040516108c19190614ed7565b60405180910390f35b3480156108d657600080fd5b506108f160048036038101906108ec91906140e3565b6120c4565b6040516108fe91906149d5565b60405180910390f35b34801561091357600080fd5b5061091c6121d6565b6040516109299190614ed7565b60405180910390f35b34801561093e57600080fd5b5061095960048036038101906109549190613ddf565b6121dc565b6040516109669190614ed7565b60405180910390f35b34801561097b57600080fd5b50610984612225565b604051610991919061494c565b60405180910390f35b3480156109a657600080fd5b506109af612249565b6040516109bc9190614ed7565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e79190613e39565b612253565b6040516109f99190614931565b60405180910390f35b348015610a0e57600080fd5b50610a176122e7565b604051610a249190614931565b60405180910390f35b348015610a3957600080fd5b50610a546004803603810190610a4f9190613ddf565b612342565b005b348015610a6257600080fd5b50610a6b61243a565b604051610a789190614ed7565b60405180910390f35b6000610a8c8261243f565b9050919050565b606060008054610aa2906151b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ace906151b3565b8015610b1b5780601f10610af057610100808354040283529160200191610b1b565b820191906000526020600020905b815481529060010190602001808311610afe57829003601f168201915b5050505050905090565b6000610b30826124b9565b610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6690614d97565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb5826116f3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d90614e57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c45612525565b73ffffffffffffffffffffffffffffffffffffffff161480610c745750610c7381610c6e612525565b612253565b5b610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa90614c97565b60405180910390fd5b610cbd838361252d565b505050565b600060126000610cd0612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b6001151560136000610d2d612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf906149f7565b60405180910390fd5b6000610dc2612525565b604051602001610dd29190614863565b604051602081830303815290604052805190602001209050610e56838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f1c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c44836125e6565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614ab7565b60405180910390fd5b610e9f600161269c565b600160136000610ead612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000341115610fbc576000610f11612525565b73ffffffffffffffffffffffffffffffffffffffff1634604051610f349061484e565b60006040518083038185875af1925050503d8060008114610f71576040519150601f19603f3d011682016040523d82523d6000602084013e610f76565b606091505b5050905080610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190614c57565b60405180910390fd5b505b505050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104790614b37565b60405180910390fd5b6000600c54476110609190614f96565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846110f2919061501d565b6110fc9190614fec565b6111069190615077565b9050600081141561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390614c17565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111979190614f96565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546111e89190614f96565b600c819055506111f88382612852565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056838260405161122992919061487e565b60405180910390a1505050565b7f00000000000000000000000000000000000000000000000000000000000009c481565b6658d15e1762800081565b611276611270612525565b82612946565b6112b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ac90614e77565b60405180910390fd5b6112c0838383612a24565b505050565b7f0000000000000000000000000000000000000000000000000000000061b2604081565b60006112f4836117c9565b8210611335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132c90614a77565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600b54905090565b7f0000000000000000000000000000000000000000000000000000000061afbd404210156113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614eb7565b60405180910390fd5b61140481612c80565b50565b61140f612525565b73ffffffffffffffffffffffffffffffffffffffff1661142d611be1565b73ffffffffffffffffffffffffffffffffffffffff1614611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614db7565b60405180910390fd5b61148b612ce0565b565b6114a88383836040518060200160405280600081525061205c565b505050565b7f0000000000000000000000000000000000000000000000000000000061afbd4081565b60006114db610fc1565b821061151c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151390614e97565b60405180910390fd5b600882815481106115305761152f615360565b5b90600052602060002001549050919050565b61154a611be1565b73ffffffffffffffffffffffffffffffffffffffff16611568612525565b73ffffffffffffffffffffffffffffffffffffffff16146115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b590614d57565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c46115e7610fc1565b10611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90614d17565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c481611651610fc1565b61165b9190614f96565b111561169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390614a37565b60405180910390fd5b60005b818110156116c3576116b083612d82565b80806116bb90615216565b91505061169f565b50806014546116d29190615077565b6014819055505050565b6000601060009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390614cd7565b60405180910390fd5b80915050919050565b7f1c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c4481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614cb7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611889612525565b73ffffffffffffffffffffffffffffffffffffffff166118a7611be1565b73ffffffffffffffffffffffffffffffffffffffff16146118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614db7565b60405180910390fd5b6119076000612d9c565b565b7f00000000000000000000000000000000000000000000000000000000000001f481565b611935612525565b73ffffffffffffffffffffffffffffffffffffffff16611953611be1565b73ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090614db7565b60405180910390fd5b6119b1612e62565b565b6000600f82815481106119c9576119c8615360565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6001151560126000611a0b612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90614bb7565b60405180910390fd5b6000611aa0612525565b604051602001611ab09190614863565b604051602081830303815290604052805190602001209050611b34838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f85670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b92836125e6565b611b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6a90614c37565b60405180910390fd5b611b7d6001612c80565b600160126000611b8b612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090614e17565b60405180910390fd5b611ca38282612f05565b5050565b606060018054611cb6906151b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce2906151b3565b8015611d2f5780601f10611d0457610100808354040283529160200191611d2f565b820191906000526020600020905b815481529060010190602001808311611d1257829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d8a612525565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614b77565b60405180910390fd5b8060056000611e05612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611eb2612525565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef79190614931565b60405180910390a35050565b611f0b611be1565b73ffffffffffffffffffffffffffffffffffffffff16611f29612525565b73ffffffffffffffffffffffffffffffffffffffff1614611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7690614e37565b60405180910390fd5b600060155414611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb90614a57565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000061b26040421015612027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201e90614b17565b60405180910390fd5b6120597faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445671bc16d674ec80000612f57565b50565b61206d612067612525565b83612946565b6120ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a390614e77565b60405180910390fd5b6120b8848484846130b9565b50505050565b60145481565b60606120cf826124b9565b61210e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210590614df7565b60405180910390fd5b6000612118613115565b90506000601554141561214657604051806060016040528060358152602001615e99603591399150506121d1565b60007f00000000000000000000000000000000000000000000000000000000000009c4601554856121779190614f96565b6121819190615273565b905060008251116121a157604051806020016040528060008152506121cc565b816121ab82613135565b6040516020016121bc92919061481f565b6040516020818303038152906040525b925050505b919050565b60155481565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f85670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b9281565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601360006122f5612525565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b61234a612525565b73ffffffffffffffffffffffffffffffffffffffff16612368611be1565b73ffffffffffffffffffffffffffffffffffffffff16146123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590614db7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561242e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242590614ad7565b60405180910390fd5b61243781612d9c565b50565b601481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124b257506124b182613296565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125a0836116f3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082905060005b855181101561268e57600086828151811061260d5761260c615360565b5b6020026020010151905080831161264e5782816040516020016126319291906147c7565b60405160208183030381529060405280519060200120925061267a565b80836040516020016126619291906147c7565b6040516020818303038152906040528051906020012092505b50808061268690615216565b9150506125ef565b508381149150509392505050565b6126a46116dc565b156126e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126db90614c77565b60405180910390fd5b6014811115612728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614d37565b60405180910390fd5b6014547f00000000000000000000000000000000000000000000000000000000000009c46127569190615077565b61275e610fc1565b1061279e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279590614d17565b60405180910390fd5b6014547f00000000000000000000000000000000000000000000000000000000000009c46127cc9190615077565b816127d5610fc1565b6127df9190614f96565b1115612820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281790614a37565b60405180910390fd5b60005b8181101561284e5761283b612836612525565b612d82565b808061284690615216565b915050612823565b5050565b80471015612895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288c90614bd7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128bb9061484e565b60006040518083038185875af1925050503d80600081146128f8576040519150601f19603f3d011682016040523d82523d6000602084013e6128fd565b606091505b5050905080612941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293890614b97565b60405180910390fd5b505050565b6000612951826124b9565b612990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298790614bf7565b60405180910390fd5b600061299b836116f3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a0a57508373ffffffffffffffffffffffffffffffffffffffff166129f284610b25565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a1b5750612a1a8185612253565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a44826116f3565b73ffffffffffffffffffffffffffffffffffffffff1614612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190614dd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0190614b57565b60405180910390fd5b612b15838383613378565b612b2060008261252d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b709190615077565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc79190614f96565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b34816658d15e17628000612c94919061501d565b14612cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccb90614cf7565b60405180910390fd5b612cdd8161269c565b50565b612ce86116dc565b612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90614a17565b60405180910390fd5b6000601060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d6b612525565b604051612d789190614863565b60405180910390a1565b6000612d8c610fc1565b9050612d988282613388565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e6a6116dc565b15612eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea190614c77565b60405180910390fd5b6001601060006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612eee612525565b604051612efb9190614863565b60405180910390a1565b60007f00000000000000000000000000000000000000000000000000000000000009c482612f339190615273565b905060008114612f495780601581905550612f52565b60016015819055505b505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612fcb929190614967565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612ff8939291906148f3565b602060405180830381600087803b15801561301257600080fd5b505af1158015613026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304a919061401c565b50600061306d8460003060116000898152602001908152602001600020546133a6565b90506001601160008681526020019081526020016000205461308f9190614f96565b60116000868152602001908152602001600020819055506130b084826133e2565b91505092915050565b6130c4848484612a24565b6130d084848484613415565b61310f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614a97565b60405180910390fd5b50505050565b6060604051806060016040528060368152602001615ece60369139905090565b6060600082141561317d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613291565b600082905060005b600082146131af57808061319890615216565b915050600a826131a89190614fec565b9150613185565b60008167ffffffffffffffff8111156131cb576131ca61538f565b5b6040519080825280601f01601f1916602001820160405280156131fd5781602001600182028036833780820191505090505b5090505b6000851461328a576001826132169190615077565b9150600a856132259190615273565b60306132319190614f96565b60f81b81838151811061324757613246615360565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132839190614fec565b9450613201565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061336157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133715750613370826135ac565b5b9050919050565b613383838383613616565b505050565b6133a282826040518060200160405280600081525061372a565b5050565b6000848484846040516020016133bf9493929190614990565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016133f79291906147f3565b60405160208183030381529060405280519060200120905092915050565b60006134368473ffffffffffffffffffffffffffffffffffffffff16613785565b1561359f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261345f612525565b8786866040518563ffffffff1660e01b815260040161348194939291906148a7565b602060405180830381600087803b15801561349b57600080fd5b505af19250505080156134cc57506040513d601f19601f820116820180604052508101906134c991906140b6565b60015b61354f573d80600081146134fc576040519150601f19603f3d011682016040523d82523d6000602084013e613501565b606091505b50600081511415613547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353e90614a97565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135a4565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613621838383613798565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136645761365f8161379d565b6136a3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136a2576136a183826137e6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e6576136e181613953565b613725565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613724576137238282613a24565b5b5b505050565b6137348383613aa3565b6137416000848484613415565b613780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377790614a97565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137f3846117c9565b6137fd9190615077565b90506000600760008481526020019081526020016000205490508181146138e2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139679190615077565b905060006009600084815260200190815260200160002054905060006008838154811061399757613996615360565b5b9060005260206000200154905080600883815481106139b9576139b8615360565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a0857613a07615331565b5b6001900381819060005260206000200160009055905550505050565b6000613a2f836117c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0a90614d77565b60405180910390fd5b613b1c816124b9565b15613b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5390614af7565b60405180910390fd5b613b6860008383613378565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613bb89190614f96565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613c84613c7f84614f17565b614ef2565b905082815260208101848484011115613ca057613c9f6153cd565b5b613cab848285615171565b509392505050565b600081359050613cc281615e0e565b92915050565b600081359050613cd781615e25565b92915050565b60008083601f840112613cf357613cf26153c3565b5b8235905067ffffffffffffffff811115613d1057613d0f6153be565b5b602083019150836020820283011115613d2c57613d2b6153c8565b5b9250929050565b600081359050613d4281615e3c565b92915050565b600081519050613d5781615e3c565b92915050565b600081359050613d6c81615e53565b92915050565b600081359050613d8181615e6a565b92915050565b600081519050613d9681615e6a565b92915050565b600082601f830112613db157613db06153c3565b5b8135613dc1848260208601613c71565b91505092915050565b600081359050613dd981615e81565b92915050565b600060208284031215613df557613df46153d7565b5b6000613e0384828501613cb3565b91505092915050565b600060208284031215613e2257613e216153d7565b5b6000613e3084828501613cc8565b91505092915050565b60008060408385031215613e5057613e4f6153d7565b5b6000613e5e85828601613cb3565b9250506020613e6f85828601613cb3565b9150509250929050565b600080600060608486031215613e9257613e916153d7565b5b6000613ea086828701613cb3565b9350506020613eb186828701613cb3565b9250506040613ec286828701613dca565b9150509250925092565b60008060008060808587031215613ee657613ee56153d7565b5b6000613ef487828801613cb3565b9450506020613f0587828801613cb3565b9350506040613f1687828801613dca565b925050606085013567ffffffffffffffff811115613f3757613f366153d2565b5b613f4387828801613d9c565b91505092959194509250565b60008060408385031215613f6657613f656153d7565b5b6000613f7485828601613cb3565b9250506020613f8585828601613d33565b9150509250929050565b60008060408385031215613fa657613fa56153d7565b5b6000613fb485828601613cb3565b9250506020613fc585828601613dca565b9150509250929050565b60008060208385031215613fe657613fe56153d7565b5b600083013567ffffffffffffffff811115614004576140036153d2565b5b61401085828601613cdd565b92509250509250929050565b600060208284031215614032576140316153d7565b5b600061404084828501613d48565b91505092915050565b600080604083850312156140605761405f6153d7565b5b600061406e85828601613d5d565b925050602061407f85828601613dca565b9150509250929050565b60006020828403121561409f5761409e6153d7565b5b60006140ad84828501613d72565b91505092915050565b6000602082840312156140cc576140cb6153d7565b5b60006140da84828501613d87565b91505092915050565b6000602082840312156140f9576140f86153d7565b5b600061410784828501613dca565b91505092915050565b6141198161513b565b82525050565b614128816150ab565b82525050565b614137816150cf565b82525050565b614146816150db565b82525050565b61415d614158826150db565b61525f565b82525050565b600061416e82614f48565b6141788185614f5e565b9350614188818560208601615180565b614191816153dc565b840191505092915050565b60006141a782614f53565b6141b18185614f7a565b93506141c1818560208601615180565b6141ca816153dc565b840191505092915050565b60006141e082614f53565b6141ea8185614f8b565b93506141fa818560208601615180565b80840191505092915050565b6000614213602683614f7a565b915061421e826153ed565b604082019050919050565b6000614236601483614f7a565b91506142418261543c565b602082019050919050565b6000614259602583614f7a565b915061426482615465565b604082019050919050565b600061427c601883614f7a565b9150614287826154b4565b602082019050919050565b600061429f602b83614f7a565b91506142aa826154dd565b604082019050919050565b60006142c2603283614f7a565b91506142cd8261552c565b604082019050919050565b60006142e5602683614f7a565b91506142f08261557b565b604082019050919050565b6000614308602683614f7a565b9150614313826155ca565b604082019050919050565b600061432b601c83614f7a565b915061433682615619565b602082019050919050565b600061434e602083614f7a565b915061435982615642565b602082019050919050565b6000614371602683614f7a565b915061437c8261566b565b604082019050919050565b6000614394602483614f7a565b915061439f826156ba565b604082019050919050565b60006143b7601983614f7a565b91506143c282615709565b602082019050919050565b60006143da603a83614f7a565b91506143e582615732565b604082019050919050565b60006143fd602783614f7a565b915061440882615781565b604082019050919050565b6000614420601d83614f7a565b915061442b826157d0565b602082019050919050565b6000614443602c83614f7a565b915061444e826157f9565b604082019050919050565b6000614466602b83614f7a565b915061447182615848565b604082019050919050565b6000614489602783614f7a565b915061449482615897565b604082019050919050565b60006144ac602283614f7a565b91506144b7826158e6565b604082019050919050565b60006144cf601083614f7a565b91506144da82615935565b602082019050919050565b60006144f2603883614f7a565b91506144fd8261595e565b604082019050919050565b6000614515602a83614f7a565b9150614520826159ad565b604082019050919050565b6000614538602983614f7a565b9150614543826159fc565b604082019050919050565b600061455b601b83614f7a565b915061456682615a4b565b602082019050919050565b600061457e601983614f7a565b915061458982615a74565b602082019050919050565b60006145a1602383614f7a565b91506145ac82615a9d565b604082019050919050565b60006145c4601e83614f7a565b91506145cf82615aec565b602082019050919050565b60006145e7602083614f7a565b91506145f282615b15565b602082019050919050565b600061460a602c83614f7a565b915061461582615b3e565b604082019050919050565b600061462d600583614f8b565b915061463882615b8d565b600582019050919050565b6000614650602083614f7a565b915061465b82615bb6565b602082019050919050565b6000614673602983614f7a565b915061467e82615bdf565b604082019050919050565b6000614696602f83614f7a565b91506146a182615c2e565b604082019050919050565b60006146b9601f83614f7a565b91506146c482615c7d565b602082019050919050565b60006146dc602183614f7a565b91506146e782615ca6565b604082019050919050565b60006146ff602183614f7a565b915061470a82615cf5565b604082019050919050565b6000614722600083614f6f565b915061472d82615d44565b600082019050919050565b6000614745603183614f7a565b915061475082615d47565b604082019050919050565b6000614768602c83614f7a565b915061477382615d96565b604082019050919050565b600061478b601c83614f7a565b915061479682615de5565b602082019050919050565b6147aa81615131565b82525050565b6147c16147bc82615131565b615269565b82525050565b60006147d3828561414c565b6020820191506147e3828461414c565b6020820191508190509392505050565b60006147ff828561414c565b60208201915061480f82846147b0565b6020820191508190509392505050565b600061482b82856141d5565b915061483782846141d5565b915061484282614620565b91508190509392505050565b600061485982614715565b9150819050919050565b6000602082019050614878600083018461411f565b92915050565b60006040820190506148936000830185614110565b6148a060208301846147a1565b9392505050565b60006080820190506148bc600083018761411f565b6148c9602083018661411f565b6148d660408301856147a1565b81810360608301526148e88184614163565b905095945050505050565b6000606082019050614908600083018661411f565b61491560208301856147a1565b81810360408301526149278184614163565b9050949350505050565b6000602082019050614946600083018461412e565b92915050565b6000602082019050614961600083018461413d565b92915050565b600060408201905061497c600083018561413d565b61498960208301846147a1565b9392505050565b60006080820190506149a5600083018761413d565b6149b260208301866147a1565b6149bf604083018561411f565b6149cc60608301846147a1565b95945050505050565b600060208201905081810360008301526149ef818461419c565b905092915050565b60006020820190508181036000830152614a1081614206565b9050919050565b60006020820190508181036000830152614a3081614229565b9050919050565b60006020820190508181036000830152614a508161424c565b9050919050565b60006020820190508181036000830152614a708161426f565b9050919050565b60006020820190508181036000830152614a9081614292565b9050919050565b60006020820190508181036000830152614ab0816142b5565b9050919050565b60006020820190508181036000830152614ad0816142d8565b9050919050565b60006020820190508181036000830152614af0816142fb565b9050919050565b60006020820190508181036000830152614b108161431e565b9050919050565b60006020820190508181036000830152614b3081614341565b9050919050565b60006020820190508181036000830152614b5081614364565b9050919050565b60006020820190508181036000830152614b7081614387565b9050919050565b60006020820190508181036000830152614b90816143aa565b9050919050565b60006020820190508181036000830152614bb0816143cd565b9050919050565b60006020820190508181036000830152614bd0816143f0565b9050919050565b60006020820190508181036000830152614bf081614413565b9050919050565b60006020820190508181036000830152614c1081614436565b9050919050565b60006020820190508181036000830152614c3081614459565b9050919050565b60006020820190508181036000830152614c508161447c565b9050919050565b60006020820190508181036000830152614c708161449f565b9050919050565b60006020820190508181036000830152614c90816144c2565b9050919050565b60006020820190508181036000830152614cb0816144e5565b9050919050565b60006020820190508181036000830152614cd081614508565b9050919050565b60006020820190508181036000830152614cf08161452b565b9050919050565b60006020820190508181036000830152614d108161454e565b9050919050565b60006020820190508181036000830152614d3081614571565b9050919050565b60006020820190508181036000830152614d5081614594565b9050919050565b60006020820190508181036000830152614d70816145b7565b9050919050565b60006020820190508181036000830152614d90816145da565b9050919050565b60006020820190508181036000830152614db0816145fd565b9050919050565b60006020820190508181036000830152614dd081614643565b9050919050565b60006020820190508181036000830152614df081614666565b9050919050565b60006020820190508181036000830152614e1081614689565b9050919050565b60006020820190508181036000830152614e30816146ac565b9050919050565b60006020820190508181036000830152614e50816146cf565b9050919050565b60006020820190508181036000830152614e70816146f2565b9050919050565b60006020820190508181036000830152614e9081614738565b9050919050565b60006020820190508181036000830152614eb08161475b565b9050919050565b60006020820190508181036000830152614ed08161477e565b9050919050565b6000602082019050614eec60008301846147a1565b92915050565b6000614efc614f0d565b9050614f0882826151e5565b919050565b6000604051905090565b600067ffffffffffffffff821115614f3257614f3161538f565b5b614f3b826153dc565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fa182615131565b9150614fac83615131565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fe157614fe06152a4565b5b828201905092915050565b6000614ff782615131565b915061500283615131565b925082615012576150116152d3565b5b828204905092915050565b600061502882615131565b915061503383615131565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506c5761506b6152a4565b5b828202905092915050565b600061508282615131565b915061508d83615131565b9250828210156150a05761509f6152a4565b5b828203905092915050565b60006150b682615111565b9050919050565b60006150c882615111565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006151468261514d565b9050919050565b60006151588261515f565b9050919050565b600061516a82615111565b9050919050565b82818337600083830152505050565b60005b8381101561519e578082015181840152602081019050615183565b838111156151ad576000848401525b50505050565b600060028204905060018216806151cb57607f821691505b602082108114156151df576151de615302565b5b50919050565b6151ee826153dc565b810181811067ffffffffffffffff8211171561520d5761520c61538f565b5b80604052505050565b600061522182615131565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615254576152536152a4565b5b600182019050919050565b6000819050919050565b6000819050919050565b600061527e82615131565b915061528983615131565b925082615299576152986152d3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d65647573613a206f6e6c79206f6e652066726565206d696e7420706572206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4d65647573613a206d696e74206578636565647320617661696c61626c65207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20616c72656164792072657665616c65640000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d65647573613a20696e76616c69642070726f6f6620666f722066726565206d60008201527f696e74696e670000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d65647573613a206e6f7420726561647920746f2062652072657665616c6564600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f4d65647573613a206f6e6c79206f6e65206561726c79206d696e74207065722060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20696e76616c69642070726f6f6620666f72206561726c792060008201527f6d696e74696e6700000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a206368616e67652073656e7420756e7375636365737366756c60008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a20746f6f206c6974746c65206574682073656e740000000000600082015250565b7f4d65647573613a2073616c652068617320736f6c64206f757400000000000000600082015250565b7f4d65647573613a206d696e7420616d6f756e742065786365656473206d61786960008201527f6d756d0000000000000000000000000000000000000000000000000000000000602082015250565b7f4d65647573613a206f6e6c7920646576732063616e20646576206d696e740000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f4d65647573613a206f6e6c7920746865206f776e65722063616e20726576656160008201527f6c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d65647573613a2073616c6520686173206e6f74207374617274656400000000600082015250565b615e17816150ab565b8114615e2257600080fd5b50565b615e2e816150bd565b8114615e3957600080fd5b50565b615e45816150cf565b8114615e5057600080fd5b50565b615e5c816150db565b8114615e6757600080fd5b50565b615e73816150e5565b8114615e7e57600080fd5b50565b615e8a81615131565b8114615e9557600080fd5b5056fe697066733a2f2f516d537a3277647a50754776427131745138397252316b386e3872537446636b44627a4243444131415a72457164697066733a2f2f516d56324479344d6268315654375a3177313156446865514c687978386f716b6768374c6d7077444e474a52504b2fa26469706673582212200fb2667f19587ba360a72f5b97efa413386f58da0ee66ff7ccbd715fa92453de64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000061afbd40000000000000000000000000000000000000000000000000000000000002a3001c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c4485670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b92000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000020000000000000000000000002c178bd7a3f50112fbd2c7e1bdb3a41966e19ff80000000000000000000000009d5025b327e6b863e5050141c987d988c07fd8b20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000019
-----Decoded View---------------
Arg [0] : tokenCount (uint256): 2500
Arg [1] : devReserve (uint256): 500
Arg [2] : saleStartTime (uint256): 1638907200
Arg [3] : revealTerm (uint256): 172800
Arg [4] : freeMintersMerkleRoot (bytes32): 0x1c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c44
Arg [5] : earlyMintersMerkleRoot (bytes32): 0x85670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b92
Arg [6] : vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [7] : linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [8] : hashKey (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [9] : members (address[]): 0x2c178Bd7a3f50112FBd2c7E1BDB3a41966E19fF8,0x9D5025B327E6B863E5050141C987d988c07fd8B2
Arg [10] : shares (uint256[]): 75,25
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [2] : 0000000000000000000000000000000000000000000000000000000061afbd40
Arg [3] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [4] : 1c6b47357b40648448664cdf5ea32b1738b35f8d84314a4e4b1157fbfebf5c44
Arg [5] : 85670acf8e77f155acfaeb1eef8dd9ef978dbf2846e3900827600013636e0b92
Arg [6] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [7] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [8] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [10] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [12] : 0000000000000000000000002c178bd7a3f50112fbd2c7e1bdb3a41966e19ff8
Arg [13] : 0000000000000000000000009d5025b327e6b863e5050141c987d988c07fd8b2
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000019
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.