Overview
TokenID
444
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFT
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract NFT is ERC721, Pausable, Ownable, ERC721Burnable, VRFConsumerBase { using SafeERC20 for IERC20; // ERC-2981: NFT Royalty Standard bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint256 public immutable maxSupply; uint256 public pauseCutoffDays; uint256 public mintWhitelistSetTime; string private _tokenBaseURI; bool private _tokenBaseURILocked; uint256 private _randomness; bool private _randomnessHasBeenSet; address private _royaltyReceipientAddress; uint256 private _royaltyPercentageBasisPoints; // Chainlink configuration. bytes32 internal keyHash; uint256 internal fee; // Merkle root mint whitelist // hash(address, [inputIndexes]) // use inputIndexes as input to random function (with chainlink) to get the offset -> tokenId bytes32 public mintWhitelistMerkleRoot; bytes32 public metadataHash; //Mint address => hasMinted mapping(address => bool) private _hasMinted; event MetadataHashSet(bytes32 metadataHash); constructor( uint256 maxSupply_, address royaltyReceipientAddress_, uint256 royaltyPercentageBasisPoints_, address[] memory chainlinkAddresses_, bytes32 keyHash_, uint256 fee_, uint256 pauseCutoffDays_ ) ERC721("Anata NFT", "ANATA") VRFConsumerBase(chainlinkAddresses_[0], chainlinkAddresses_[1]) { maxSupply = maxSupply_; _royaltyReceipientAddress = royaltyReceipientAddress_; _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; keyHash = keyHash_; fee = fee_; pauseCutoffDays = pauseCutoffDays_; } function setMetadataHash(bytes32 metadataHash_) external onlyOwner { metadataHash = metadataHash_; emit MetadataHashSet(metadataHash_); } function getRandomness() public view returns (uint256) { return _randomness; } function getRandomnessHasBeenSet() public view returns (bool) { return _randomnessHasBeenSet; } // Requests randomness. function getRandomNumber() public onlyOwner returns (bytes32 requestId) { require(!_randomnessHasBeenSet); require(LINK.balanceOf(address(this)) >= fee, "Not enough LINK"); return requestRandomness(keyHash, fee); } // Callback function used by VRF Coordinator. // This function is used to generate a random seed value to be used as the offset for minting. function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override { require(!_randomnessHasBeenSet); _randomness = randomness; _randomnessHasBeenSet = true; } // A withdraw function to avoid locking ERC20 tokens in the contract forever. // Tokens can only be withdrawn by the owner, to the owner. function transferERC20Token(IERC20 token, uint256 amount) external onlyOwner { token.safeTransfer(owner(), amount); } function pause() external onlyOwner { require( mintWhitelistSetTime == 0 || block.timestamp < (mintWhitelistSetTime + pauseCutoffDays * 1 days), "Can only pause until the cutoff" ); _pause(); } function unpause() external onlyOwner { _unpause(); } function setMintWhitelistMerkleRoot(bytes32 mintWhitelistMerkleRoot_) external onlyOwner { require( mintWhitelistMerkleRoot == 0, "Mint merkle root can only be set once" ); mintWhitelistMerkleRoot = mintWhitelistMerkleRoot_; mintWhitelistSetTime = block.timestamp; } function _mintHash(uint256[] calldata inputIndexes_, address bidder_) internal pure returns (bytes32) { return keccak256(abi.encode(inputIndexes_, bidder_)); } function _calculateTokenIdToMint(uint256 inputIndex_) internal view returns (uint256) { return (inputIndex_ + _randomness) % maxSupply; } // All tokens are minted using the random offset. // Tokens can only be minted once, even if burned. function mint(uint256[] calldata inputIndexes_, bytes32[] calldata proof_) external whenNotPaused { require(mintWhitelistMerkleRoot != 0, "Mint merkle root not set"); require(_randomnessHasBeenSet, "Randomness must be set before minting"); // Can only mint if we haven't already minted to this address: require(!_hasMinted[msg.sender], "Sender has already minted"); // Check the proof is valid bytes32 leaf = _mintHash(inputIndexes_, msg.sender); require( MerkleProof.verify(proof_, mintWhitelistMerkleRoot, leaf), "Mint proof invalid" ); _hasMinted[msg.sender] = true; for (uint256 i = 0; i < inputIndexes_.length; i++) { uint256 tokenIdToMint = _calculateTokenIdToMint(inputIndexes_[i]); _safeMint(msg.sender, tokenIdToMint); } } function setRoyaltyPercentageBasisPoints( uint256 royaltyPercentageBasisPoints_ ) external onlyOwner { _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; } function setRoyaltyReceipientAddress( address payable royaltyReceipientAddress_ ) external onlyOwner { _royaltyReceipientAddress = royaltyReceipientAddress_; } function setTokenBaseURI(string calldata tokenBaseURI_) external onlyOwner { require(!_tokenBaseURILocked, "Token base URI is locked"); _tokenBaseURI = tokenBaseURI_; } function lockTokenBaseURI() external onlyOwner { require(!_tokenBaseURILocked, "Token base URI is locked"); _tokenBaseURILocked = true; } function tokenBaseURILocked() public view returns (bool) { return _tokenBaseURILocked; } function royaltyInfo(uint256 tokenId_, uint256 salePrice_) external view returns (address receiver, uint256 royaltyAmount) { uint256 royalty = (salePrice_ * _royaltyPercentageBasisPoints) / 10000; return (_royaltyReceipientAddress, royalty); } function _baseURI() internal view override returns (string memory) { return _tokenBaseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(super.tokenURI(tokenId), ".json")); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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; 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)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"address","name":"royaltyReceipientAddress_","type":"address"},{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"},{"internalType":"address[]","name":"chainlinkAddresses_","type":"address[]"},{"internalType":"bytes32","name":"keyHash_","type":"bytes32"},{"internalType":"uint256","name":"fee_","type":"uint256"},{"internalType":"uint256","name":"pauseCutoffDays_","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":false,"internalType":"bytes32","name":"metadataHash","type":"bytes32"}],"name":"MetadataHashSet","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":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":[{"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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRandomness","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomnessHasBeenSet","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":[],"name":"lockTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"inputIndexes_","type":"uint256[]"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintWhitelistSetTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pauseCutoffDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"bytes32","name":"metadataHash_","type":"bytes32"}],"name":"setMetadataHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mintWhitelistMerkleRoot_","type":"bytes32"}],"name":"setMintWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"}],"name":"setRoyaltyPercentageBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"royaltyReceipientAddress_","type":"address"}],"name":"setRoyaltyReceipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenBaseURI_","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferERC20Token","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":"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"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162005c5338038062005c5383398181016040528101906200003791906200060e565b836000815181106200004e576200004d620006e0565b5b6020026020010151846001815181106200006d576200006c620006e0565b5b60200260200101516040518060400160405280600981526020017f416e617461204e465400000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f414e4154410000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f9929190620002fa565b50806001908051906020019062000112929190620002fa565b5050506000600660006101000a81548160ff02191690831515021790555062000150620001446200022c60201b60201c565b6200023460201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050508660c0818152505085600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600e8190555082600f8190555081601081905550806008819055505050505050505062000774565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000308906200073e565b90600052602060002090601f0160209004810192826200032c576000855562000378565b82601f106200034757805160ff191683800117855562000378565b8280016001018555821562000378579182015b82811115620003775782518255916020019190600101906200035a565b5b5090506200038791906200038b565b5090565b5b80821115620003a65760008160009055506001016200038c565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620003d381620003be565b8114620003df57600080fd5b50565b600081519050620003f381620003c8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042682620003f9565b9050919050565b620004388162000419565b81146200044457600080fd5b50565b60008151905062000458816200042d565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004ae8262000463565b810181811067ffffffffffffffff82111715620004d057620004cf62000474565b5b80604052505050565b6000620004e5620003aa565b9050620004f38282620004a3565b919050565b600067ffffffffffffffff82111562000516576200051562000474565b5b602082029050602081019050919050565b600080fd5b6000620005436200053d84620004f8565b620004d9565b9050808382526020820190506020840283018581111562000569576200056862000527565b5b835b8181101562000596578062000581888262000447565b8452602084019350506020810190506200056b565b5050509392505050565b600082601f830112620005b857620005b76200045e565b5b8151620005ca8482602086016200052c565b91505092915050565b6000819050919050565b620005e881620005d3565b8114620005f457600080fd5b50565b6000815190506200060881620005dd565b92915050565b600080600080600080600060e0888a03121562000630576200062f620003b4565b5b6000620006408a828b01620003e2565b9750506020620006538a828b0162000447565b9650506040620006668a828b01620003e2565b955050606088015167ffffffffffffffff8111156200068a5762000689620003b9565b5b620006988a828b01620005a0565b9450506080620006ab8a828b01620005f7565b93505060a0620006be8a828b01620003e2565b92505060c0620006d18a828b01620003e2565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200075757607f821691505b602082108114156200076e576200076d6200070f565b5b50919050565b60805160a05160c05161549a620007b96000396000818161183f01526124cf01526000818161155801526128a10152600081816118fe0152612865015261549a6000f3fe608060405234801561001057600080fd5b506004361061023b5760003560e01c8063898527151161013b578063b88d4fde116100b8578063dbdff2c11161007c578063dbdff2c11461063f578063e042e98c1461065d578063e1e2022014610679578063e985e9c514610697578063f2fde38b146106c75761023b565b8063b88d4fde1461059b578063bcba6939146105b7578063c5a1d7f0146105d3578063c87b56dd146105f1578063d5abeb01146106215761023b565b806394985ddd116100ff57806394985ddd1461050957806395d89b4114610525578063a22cb46514610543578063aaae7b861461055f578063ac3aa4631461057d5761023b565b806389852715146104795780638b6423ce146104975780638da5cb5b146104b35780638ef79e91146104d157806390578c81146104ed5761023b565b80633f4ba83a116101c957806370a082311161018d57806370a082311461040d578063715018a61461043d578063796d81be1461044757806382776b9c146104655780638456cb591461046f5761023b565b80633f4ba83a1461037d57806342842e0e1461038757806342966c68146103a35780635c975abb146103bf5780636352211e146103dd5761023b565b806306fdde031161021057806306fdde03146102c6578063081812fc146102e4578063095ea7b31461031457806323b872dd146103305780632a55205a1461034c5761023b565b80624df087146102405780629ee39c1461025c57806301ffc9a71461027857806302350cec146102a8575b600080fd5b61025a60048036038101906102559190613495565b6106e3565b005b61027660048036038101906102719190613520565b6107b7565b005b610292600480360381019061028d91906135a5565b610877565b60405161029f91906135ed565b60405180910390f35b6102b06108d8565b6040516102bd91906135ed565b60405180910390f35b6102ce6108ef565b6040516102db91906136a1565b60405180910390f35b6102fe60048036038101906102f991906136f9565b610981565b60405161030b9190613747565b60405180910390f35b61032e6004803603810190610329919061378e565b610a06565b005b61034a600480360381019061034591906137ce565b610b1e565b005b61036660048036038101906103619190613821565b610b7e565b604051610374929190613870565b60405180910390f35b610385610bd0565b005b6103a1600480360381019061039c91906137ce565b610c56565b005b6103bd60048036038101906103b891906136f9565b610c76565b005b6103c7610cd2565b6040516103d491906135ed565b60405180910390f35b6103f760048036038101906103f291906136f9565b610ce9565b6040516104049190613747565b60405180910390f35b61042760048036038101906104229190613899565b610d9b565b60405161043491906138c6565b60405180910390f35b610445610e53565b005b61044f610edb565b60405161045c91906138c6565b60405180910390f35b61046d610ee1565b005b610477610fca565b005b6104816110bc565b60405161048e91906135ed565b60405180910390f35b6104b160048036038101906104ac919061399c565b6110d3565b005b6104bb61138d565b6040516104c89190613747565b60405180910390f35b6104eb60048036038101906104e69190613a73565b6113b7565b005b61050760048036038101906105029190613495565b611499565b005b610523600480360381019061051e9190613ac0565b611556565b005b61052d6115f2565b60405161053a91906136a1565b60405180910390f35b61055d60048036038101906105589190613b2c565b611684565b005b61056761169a565b60405161057491906138c6565b60405180910390f35b6105856116a4565b6040516105929190613b7b565b60405180910390f35b6105b560048036038101906105b09190613cc6565b6116aa565b005b6105d160048036038101906105cc9190613d87565b61170c565b005b6105db6117be565b6040516105e89190613b7b565b60405180910390f35b61060b600480360381019061060691906136f9565b6117c4565b60405161061891906136a1565b60405180910390f35b61062961183d565b60405161063691906138c6565b60405180910390f35b610647611861565b6040516106549190613b7b565b60405180910390f35b610677600480360381019061067291906136f9565b6119ea565b005b610681611a70565b60405161068e91906138c6565b60405180910390f35b6106b160048036038101906106ac9190613dc7565b611a76565b6040516106be91906135ed565b60405180910390f35b6106e160048036038101906106dc9190613899565b611b0a565b005b6106eb611c02565b73ffffffffffffffffffffffffffffffffffffffff1661070961138d565b73ffffffffffffffffffffffffffffffffffffffff161461075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690613e53565b60405180910390fd5b6000801b601154146107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90613ee5565b60405180910390fd5b806011819055504260098190555050565b6107bf611c02565b73ffffffffffffffffffffffffffffffffffffffff166107dd61138d565b73ffffffffffffffffffffffffffffffffffffffff1614610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082a90613e53565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d157506108d082611c0a565b5b9050919050565b6000600d60009054906101000a900460ff16905090565b6060600080546108fe90613f34565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90613f34565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b600061098c82611cec565b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613fd8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1182610ce9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a799061406a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa1611c02565b73ffffffffffffffffffffffffffffffffffffffff161480610ad05750610acf81610aca611c02565b611a76565b5b610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b06906140fc565b60405180910390fd5b610b198383611d58565b505050565b610b2f610b29611c02565b82611e11565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b659061418e565b60405180910390fd5b610b79838383611eef565b505050565b6000806000612710600e5485610b9491906141dd565b610b9e9190614266565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610bd8611c02565b73ffffffffffffffffffffffffffffffffffffffff16610bf661138d565b73ffffffffffffffffffffffffffffffffffffffff1614610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4390613e53565b60405180910390fd5b610c54612156565b565b610c71838383604051806020016040528060008152506116aa565b505050565b610c87610c81611c02565b82611e11565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614309565b60405180910390fd5b610ccf816121f8565b50565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d899061439b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e039061442d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e5b611c02565b73ffffffffffffffffffffffffffffffffffffffff16610e7961138d565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690613e53565b60405180910390fd5b610ed96000612315565b565b60095481565b610ee9611c02565b73ffffffffffffffffffffffffffffffffffffffff16610f0761138d565b73ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613e53565b60405180910390fd5b600b60009054906101000a900460ff1615610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490614499565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b610fd2611c02565b73ffffffffffffffffffffffffffffffffffffffff16610ff061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90613e53565b60405180910390fd5b6000600954148061107357506201518060085461106391906141dd565b60095461107091906144b9565b42105b6110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a99061455b565b60405180910390fd5b6110ba6123db565b565b6000600b60009054906101000a900460ff16905090565b6110db610cd2565b1561111b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611112906145c7565b60405180910390fd5b6000801b6011541415611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90614633565b60405180910390fd5b600d60009054906101000a900460ff166111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a9906146c5565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690614731565b60405180910390fd5b600061124c85853361247e565b905061129c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601154836124b4565b6112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d29061479d565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b85859050811015611385576000611365878784818110611359576113586147bd565b5b905060200201356124cb565b9050611371338261250d565b50808061137d906147ec565b915050611336565b505050505050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113bf611c02565b73ffffffffffffffffffffffffffffffffffffffff166113dd61138d565b73ffffffffffffffffffffffffffffffffffffffff1614611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a90613e53565b60405180910390fd5b600b60009054906101000a900460ff1615611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614499565b60405180910390fd5b8181600a91906114949291906133a8565b505050565b6114a1611c02565b73ffffffffffffffffffffffffffffffffffffffff166114bf61138d565b73ffffffffffffffffffffffffffffffffffffffff1614611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90613e53565b60405180910390fd5b806012819055507fc5900deaecce8c58edbdd0726968f722e08cc4390ffd6c41c54bc82b2f5d7ef08160405161154b9190613b7b565b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614881565b60405180910390fd5b6115ee828261252b565b5050565b60606001805461160190613f34565b80601f016020809104026020016040519081016040528092919081815260200182805461162d90613f34565b801561167a5780601f1061164f5761010080835404028352916020019161167a565b820191906000526020600020905b81548152906001019060200180831161165d57829003601f168201915b5050505050905090565b61169661168f611c02565b838361256b565b5050565b6000600c54905090565b60115481565b6116bb6116b5611c02565b83611e11565b6116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f19061418e565b60405180910390fd5b611706848484846126d8565b50505050565b611714611c02565b73ffffffffffffffffffffffffffffffffffffffff1661173261138d565b73ffffffffffffffffffffffffffffffffffffffff1614611788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177f90613e53565b60405180910390fd5b6117ba61179361138d565b828473ffffffffffffffffffffffffffffffffffffffff166127349092919063ffffffff16565b5050565b60125481565b60606117cf82611cec565b61180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590614913565b60405180910390fd5b611817826127ba565b60405160200161182791906149bb565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061186b611c02565b73ffffffffffffffffffffffffffffffffffffffff1661188961138d565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613e53565b60405180910390fd5b600d60009054906101000a900460ff16156118f957600080fd5b6010547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119559190613747565b602060405180830381865afa158015611972573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199691906149f2565b10156119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90614a6b565b60405180910390fd5b6119e5600f54601054612861565b905090565b6119f2611c02565b73ffffffffffffffffffffffffffffffffffffffff16611a1061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d90613e53565b60405180910390fd5b80600e8190555050565b60085481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b12611c02565b73ffffffffffffffffffffffffffffffffffffffff16611b3061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613e53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90614afd565b60405180910390fd5b611bff81612315565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ce55750611ce4826129b4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dcb83610ce9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e1c82611cec565b611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5290614b8f565b60405180910390fd5b6000611e6683610ce9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed557508373ffffffffffffffffffffffffffffffffffffffff16611ebd84610981565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ee65750611ee58185611a76565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f0f82610ce9565b73ffffffffffffffffffffffffffffffffffffffff1614611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614c21565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90614cb3565b60405180910390fd5b611fe0838383612a1e565b611feb600082611d58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203b9190614cd3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209291906144b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612151838383612a76565b505050565b61215e610cd2565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490614d53565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121e1611c02565b6040516121ee9190613747565b60405180910390a1565b600061220382610ce9565b905061221181600084612a1e565b61221c600083611d58565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461226c9190614cd3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461231181600084612a76565b5050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123e3610cd2565b15612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a906145c7565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612467611c02565b6040516124749190613747565b60405180910390a1565b600083838360405160200161249593929190614de5565b6040516020818303038152906040528051906020012090509392505050565b6000826124c18584612a7b565b1490509392505050565b60007f0000000000000000000000000000000000000000000000000000000000000000600c54836124fc91906144b9565b6125069190614e17565b9050919050565b612527828260405180602001604052806000815250612af0565b5050565b600d60009054906101000a900460ff161561254557600080fd5b80600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d190614e94565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126cb91906135ed565b60405180910390a3505050565b6126e3848484611eef565b6126ef84848484612b4b565b61272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614f26565b60405180910390fd5b50505050565b6127b58363a9059cbb60e01b8484604051602401612753929190613870565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612cd3565b505050565b60606127c582611cec565b612804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fb90614913565b60405180910390fd5b600061280e612d9a565b9050600081511161282e5760405180602001604052806000815250612859565b8061283884612e2c565b604051602001612849929190614f46565b6040516020818303038152906040525b915050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016128d5929190614f6a565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161290293929190614fe8565b6020604051808303816000875af1158015612921573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612945919061503b565b506000612968846000306007600089815260200190815260200160002054612f8d565b90506001600760008681526020019081526020016000205461298a91906144b9565b60076000868152602001908152602001600020819055506129ab8482612fc9565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a26610cd2565b15612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d906145c7565b60405180910390fd5b612a71838383612ffc565b505050565b505050565b60008082905060005b8451811015612ae5576000858281518110612aa257612aa16147bd565b5b60200260200101519050808311612ac457612abd8382613001565b9250612ad1565b612ace8184613001565b92505b508080612add906147ec565b915050612a84565b508091505092915050565b612afa8383613018565b612b076000848484612b4b565b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90614f26565b60405180910390fd5b505050565b6000612b6c8473ffffffffffffffffffffffffffffffffffffffff166131f2565b15612cc6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b95611c02565b8786866040518563ffffffff1660e01b8152600401612bb79493929190615068565b6020604051808303816000875af1925050508015612bf357506040513d601f19601f82011682018060405250810190612bf091906150c9565b60015b612c76573d8060008114612c23576040519150601f19603f3d011682016040523d82523d6000602084013e612c28565b606091505b50600081511415612c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6590614f26565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ccb565b600190505b949350505050565b6000612d35826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166132159092919063ffffffff16565b9050600081511115612d955780806020019051810190612d55919061503b565b612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90615168565b60405180910390fd5b5b505050565b6060600a8054612da990613f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612dd590613f34565b8015612e225780601f10612df757610100808354040283529160200191612e22565b820191906000526020600020905b815481529060010190602001808311612e0557829003601f168201915b5050505050905090565b60606000821415612e74576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f88565b600082905060005b60008214612ea6578080612e8f906147ec565b915050600a82612e9f9190614266565b9150612e7c565b60008167ffffffffffffffff811115612ec257612ec1613b9b565b5b6040519080825280601f01601f191660200182016040528015612ef45781602001600182028036833780820191505090505b5090505b60008514612f8157600182612f0d9190614cd3565b9150600a85612f1c9190614e17565b6030612f2891906144b9565b60f81b818381518110612f3e57612f3d6147bd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f7a9190614266565b9450612ef8565b8093505050505b919050565b600084848484604051602001612fa69493929190615188565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001612fde92919061520f565b60405160208183030381529060405280519060200120905092915050565b505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307f90615287565b60405180910390fd5b61309181611cec565b156130d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c8906152f3565b60405180910390fd5b6130dd60008383612a1e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312d91906144b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ee60008383612a76565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613224848460008561322d565b90509392505050565b606082471015613272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326990615385565b60405180910390fd5b61327b856131f2565b6132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b1906153f1565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516132e3919061544d565b60006040518083038185875af1925050503d8060008114613320576040519150601f19603f3d011682016040523d82523d6000602084013e613325565b606091505b5091509150613335828286613341565b92505050949350505050565b60608315613351578290506133a1565b6000835111156133645782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339891906136a1565b60405180910390fd5b9392505050565b8280546133b490613f34565b90600052602060002090601f0160209004810192826133d6576000855561341d565b82601f106133ef57803560ff191683800117855561341d565b8280016001018555821561341d579182015b8281111561341c578235825591602001919060010190613401565b5b50905061342a919061342e565b5090565b5b8082111561344757600081600090555060010161342f565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6134728161345f565b811461347d57600080fd5b50565b60008135905061348f81613469565b92915050565b6000602082840312156134ab576134aa613455565b5b60006134b984828501613480565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134ed826134c2565b9050919050565b6134fd816134e2565b811461350857600080fd5b50565b60008135905061351a816134f4565b92915050565b60006020828403121561353657613535613455565b5b60006135448482850161350b565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135828161354d565b811461358d57600080fd5b50565b60008135905061359f81613579565b92915050565b6000602082840312156135bb576135ba613455565b5b60006135c984828501613590565b91505092915050565b60008115159050919050565b6135e7816135d2565b82525050565b600060208201905061360260008301846135de565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613642578082015181840152602081019050613627565b83811115613651576000848401525b50505050565b6000601f19601f8301169050919050565b600061367382613608565b61367d8185613613565b935061368d818560208601613624565b61369681613657565b840191505092915050565b600060208201905081810360008301526136bb8184613668565b905092915050565b6000819050919050565b6136d6816136c3565b81146136e157600080fd5b50565b6000813590506136f3816136cd565b92915050565b60006020828403121561370f5761370e613455565b5b600061371d848285016136e4565b91505092915050565b6000613731826134c2565b9050919050565b61374181613726565b82525050565b600060208201905061375c6000830184613738565b92915050565b61376b81613726565b811461377657600080fd5b50565b60008135905061378881613762565b92915050565b600080604083850312156137a5576137a4613455565b5b60006137b385828601613779565b92505060206137c4858286016136e4565b9150509250929050565b6000806000606084860312156137e7576137e6613455565b5b60006137f586828701613779565b935050602061380686828701613779565b9250506040613817868287016136e4565b9150509250925092565b6000806040838503121561383857613837613455565b5b6000613846858286016136e4565b9250506020613857858286016136e4565b9150509250929050565b61386a816136c3565b82525050565b60006040820190506138856000830185613738565b6138926020830184613861565b9392505050565b6000602082840312156138af576138ae613455565b5b60006138bd84828501613779565b91505092915050565b60006020820190506138db6000830184613861565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613906576139056138e1565b5b8235905067ffffffffffffffff811115613923576139226138e6565b5b60208301915083602082028301111561393f5761393e6138eb565b5b9250929050565b60008083601f84011261395c5761395b6138e1565b5b8235905067ffffffffffffffff811115613979576139786138e6565b5b602083019150836020820283011115613995576139946138eb565b5b9250929050565b600080600080604085870312156139b6576139b5613455565b5b600085013567ffffffffffffffff8111156139d4576139d361345a565b5b6139e0878288016138f0565b9450945050602085013567ffffffffffffffff811115613a0357613a0261345a565b5b613a0f87828801613946565b925092505092959194509250565b60008083601f840112613a3357613a326138e1565b5b8235905067ffffffffffffffff811115613a5057613a4f6138e6565b5b602083019150836001820283011115613a6c57613a6b6138eb565b5b9250929050565b60008060208385031215613a8a57613a89613455565b5b600083013567ffffffffffffffff811115613aa857613aa761345a565b5b613ab485828601613a1d565b92509250509250929050565b60008060408385031215613ad757613ad6613455565b5b6000613ae585828601613480565b9250506020613af6858286016136e4565b9150509250929050565b613b09816135d2565b8114613b1457600080fd5b50565b600081359050613b2681613b00565b92915050565b60008060408385031215613b4357613b42613455565b5b6000613b5185828601613779565b9250506020613b6285828601613b17565b9150509250929050565b613b758161345f565b82525050565b6000602082019050613b906000830184613b6c565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bd382613657565b810181811067ffffffffffffffff82111715613bf257613bf1613b9b565b5b80604052505050565b6000613c0561344b565b9050613c118282613bca565b919050565b600067ffffffffffffffff821115613c3157613c30613b9b565b5b613c3a82613657565b9050602081019050919050565b82818337600083830152505050565b6000613c69613c6484613c16565b613bfb565b905082815260208101848484011115613c8557613c84613b96565b5b613c90848285613c47565b509392505050565b600082601f830112613cad57613cac6138e1565b5b8135613cbd848260208601613c56565b91505092915050565b60008060008060808587031215613ce057613cdf613455565b5b6000613cee87828801613779565b9450506020613cff87828801613779565b9350506040613d10878288016136e4565b925050606085013567ffffffffffffffff811115613d3157613d3061345a565b5b613d3d87828801613c98565b91505092959194509250565b6000613d5482613726565b9050919050565b613d6481613d49565b8114613d6f57600080fd5b50565b600081359050613d8181613d5b565b92915050565b60008060408385031215613d9e57613d9d613455565b5b6000613dac85828601613d72565b9250506020613dbd858286016136e4565b9150509250929050565b60008060408385031215613dde57613ddd613455565b5b6000613dec85828601613779565b9250506020613dfd85828601613779565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e3d602083613613565b9150613e4882613e07565b602082019050919050565b60006020820190508181036000830152613e6c81613e30565b9050919050565b7f4d696e74206d65726b6c6520726f6f742063616e206f6e6c792062652073657460008201527f206f6e6365000000000000000000000000000000000000000000000000000000602082015250565b6000613ecf602583613613565b9150613eda82613e73565b604082019050919050565b60006020820190508181036000830152613efe81613ec2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f4c57607f821691505b60208210811415613f6057613f5f613f05565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fc2602c83613613565b9150613fcd82613f66565b604082019050919050565b60006020820190508181036000830152613ff181613fb5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614054602183613613565b915061405f82613ff8565b604082019050919050565b6000602082019050818103600083015261408381614047565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140e6603883613613565b91506140f18261408a565b604082019050919050565b60006020820190508181036000830152614115816140d9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614178603183613613565b91506141838261411c565b604082019050919050565b600060208201905081810360008301526141a78161416b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141e8826136c3565b91506141f3836136c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422c5761422b6141ae565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614271826136c3565b915061427c836136c3565b92508261428c5761428b614237565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006142f3603083613613565b91506142fe82614297565b604082019050919050565b60006020820190508181036000830152614322816142e6565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614385602983613613565b915061439082614329565b604082019050919050565b600060208201905081810360008301526143b481614378565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614417602a83613613565b9150614422826143bb565b604082019050919050565b600060208201905081810360008301526144468161440a565b9050919050565b7f546f6b656e206261736520555249206973206c6f636b65640000000000000000600082015250565b6000614483601883613613565b915061448e8261444d565b602082019050919050565b600060208201905081810360008301526144b281614476565b9050919050565b60006144c4826136c3565b91506144cf836136c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614504576145036141ae565b5b828201905092915050565b7f43616e206f6e6c7920706175736520756e74696c20746865206375746f666600600082015250565b6000614545601f83613613565b91506145508261450f565b602082019050919050565b6000602082019050818103600083015261457481614538565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145b1601083613613565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b7f4d696e74206d65726b6c6520726f6f74206e6f74207365740000000000000000600082015250565b600061461d601883613613565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b60006146af602583613613565b91506146ba82614653565b604082019050919050565b600060208201905081810360008301526146de816146a2565b9050919050565b7f53656e6465722068617320616c7265616479206d696e74656400000000000000600082015250565b600061471b601983613613565b9150614726826146e5565b602082019050919050565b6000602082019050818103600083015261474a8161470e565b9050919050565b7f4d696e742070726f6f6620696e76616c69640000000000000000000000000000600082015250565b6000614787601283613613565b915061479282614751565b602082019050919050565b600060208201905081810360008301526147b68161477a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147f7826136c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561482a576148296141ae565b5b600182019050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b600061486b601f83613613565b915061487682614835565b602082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148fd602f83613613565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600081905092915050565b600061494982613608565b6149538185614933565b9350614963818560208601613624565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006149a5600583614933565b91506149b08261496f565b600582019050919050565b60006149c7828461493e565b91506149d282614998565b915081905092915050565b6000815190506149ec816136cd565b92915050565b600060208284031215614a0857614a07613455565b5b6000614a16848285016149dd565b91505092915050565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b6000614a55600f83613613565b9150614a6082614a1f565b602082019050919050565b60006020820190508181036000830152614a8481614a48565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ae7602683613613565b9150614af282614a8b565b604082019050919050565b60006020820190508181036000830152614b1681614ada565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b79602c83613613565b9150614b8482614b1d565b604082019050919050565b60006020820190508181036000830152614ba881614b6c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c0b602583613613565b9150614c1682614baf565b604082019050919050565b60006020820190508181036000830152614c3a81614bfe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c9d602483613613565b9150614ca882614c41565b604082019050919050565b60006020820190508181036000830152614ccc81614c90565b9050919050565b6000614cde826136c3565b9150614ce9836136c3565b925082821015614cfc57614cfb6141ae565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d3d601483613613565b9150614d4882614d07565b602082019050919050565b60006020820190508181036000830152614d6c81614d30565b9050919050565b600082825260208201905092915050565b600080fd5b6000614d958385614d73565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614dc857614dc7614d84565b5b602083029250614dd9838584613c47565b82840190509392505050565b60006040820190508181036000830152614e00818587614d89565b9050614e0f6020830184613738565b949350505050565b6000614e22826136c3565b9150614e2d836136c3565b925082614e3d57614e3c614237565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e7e601983613613565b9150614e8982614e48565b602082019050919050565b60006020820190508181036000830152614ead81614e71565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f10603283613613565b9150614f1b82614eb4565b604082019050919050565b60006020820190508181036000830152614f3f81614f03565b9050919050565b6000614f52828561493e565b9150614f5e828461493e565b91508190509392505050565b6000604082019050614f7f6000830185613b6c565b614f8c6020830184613861565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000614fba82614f93565b614fc48185614f9e565b9350614fd4818560208601613624565b614fdd81613657565b840191505092915050565b6000606082019050614ffd6000830186613738565b61500a6020830185613861565b818103604083015261501c8184614faf565b9050949350505050565b60008151905061503581613b00565b92915050565b60006020828403121561505157615050613455565b5b600061505f84828501615026565b91505092915050565b600060808201905061507d6000830187613738565b61508a6020830186613738565b6150976040830185613861565b81810360608301526150a98184614faf565b905095945050505050565b6000815190506150c381613579565b92915050565b6000602082840312156150df576150de613455565b5b60006150ed848285016150b4565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615152602a83613613565b915061515d826150f6565b604082019050919050565b6000602082019050818103600083015261518181615145565b9050919050565b600060808201905061519d6000830187613b6c565b6151aa6020830186613861565b6151b76040830185613738565b6151c46060830184613861565b95945050505050565b6000819050919050565b6151e86151e38261345f565b6151cd565b82525050565b6000819050919050565b615209615204826136c3565b6151ee565b82525050565b600061521b82856151d7565b60208201915061522b82846151f8565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615271602083613613565b915061527c8261523b565b602082019050919050565b600060208201905081810360008301526152a081615264565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152dd601c83613613565b91506152e8826152a7565b602082019050919050565b6000602082019050818103600083015261530c816152d0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061536f602683613613565b915061537a82615313565b604082019050919050565b6000602082019050818103600083015261539e81615362565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006153db601d83613613565b91506153e6826153a5565b602082019050919050565b6000602082019050818103600083015261540a816153ce565b9050919050565b600081905092915050565b600061542782614f93565b6154318185615411565b9350615441818560208601613624565b80840191505092915050565b6000615459828461541c565b91508190509291505056fea2646970667358221220c0394d67901d1d897fcd86ae6cf421829abe8ecb500659ab3c2b90046473a19c64736f6c634300080c003300000000000000000000000000000000000000000000000000000000000007d000000000000000000000000031aa794e016e7ab71ca8e7456f0d33817039366600000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000e0aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000001f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023b5760003560e01c8063898527151161013b578063b88d4fde116100b8578063dbdff2c11161007c578063dbdff2c11461063f578063e042e98c1461065d578063e1e2022014610679578063e985e9c514610697578063f2fde38b146106c75761023b565b8063b88d4fde1461059b578063bcba6939146105b7578063c5a1d7f0146105d3578063c87b56dd146105f1578063d5abeb01146106215761023b565b806394985ddd116100ff57806394985ddd1461050957806395d89b4114610525578063a22cb46514610543578063aaae7b861461055f578063ac3aa4631461057d5761023b565b806389852715146104795780638b6423ce146104975780638da5cb5b146104b35780638ef79e91146104d157806390578c81146104ed5761023b565b80633f4ba83a116101c957806370a082311161018d57806370a082311461040d578063715018a61461043d578063796d81be1461044757806382776b9c146104655780638456cb591461046f5761023b565b80633f4ba83a1461037d57806342842e0e1461038757806342966c68146103a35780635c975abb146103bf5780636352211e146103dd5761023b565b806306fdde031161021057806306fdde03146102c6578063081812fc146102e4578063095ea7b31461031457806323b872dd146103305780632a55205a1461034c5761023b565b80624df087146102405780629ee39c1461025c57806301ffc9a71461027857806302350cec146102a8575b600080fd5b61025a60048036038101906102559190613495565b6106e3565b005b61027660048036038101906102719190613520565b6107b7565b005b610292600480360381019061028d91906135a5565b610877565b60405161029f91906135ed565b60405180910390f35b6102b06108d8565b6040516102bd91906135ed565b60405180910390f35b6102ce6108ef565b6040516102db91906136a1565b60405180910390f35b6102fe60048036038101906102f991906136f9565b610981565b60405161030b9190613747565b60405180910390f35b61032e6004803603810190610329919061378e565b610a06565b005b61034a600480360381019061034591906137ce565b610b1e565b005b61036660048036038101906103619190613821565b610b7e565b604051610374929190613870565b60405180910390f35b610385610bd0565b005b6103a1600480360381019061039c91906137ce565b610c56565b005b6103bd60048036038101906103b891906136f9565b610c76565b005b6103c7610cd2565b6040516103d491906135ed565b60405180910390f35b6103f760048036038101906103f291906136f9565b610ce9565b6040516104049190613747565b60405180910390f35b61042760048036038101906104229190613899565b610d9b565b60405161043491906138c6565b60405180910390f35b610445610e53565b005b61044f610edb565b60405161045c91906138c6565b60405180910390f35b61046d610ee1565b005b610477610fca565b005b6104816110bc565b60405161048e91906135ed565b60405180910390f35b6104b160048036038101906104ac919061399c565b6110d3565b005b6104bb61138d565b6040516104c89190613747565b60405180910390f35b6104eb60048036038101906104e69190613a73565b6113b7565b005b61050760048036038101906105029190613495565b611499565b005b610523600480360381019061051e9190613ac0565b611556565b005b61052d6115f2565b60405161053a91906136a1565b60405180910390f35b61055d60048036038101906105589190613b2c565b611684565b005b61056761169a565b60405161057491906138c6565b60405180910390f35b6105856116a4565b6040516105929190613b7b565b60405180910390f35b6105b560048036038101906105b09190613cc6565b6116aa565b005b6105d160048036038101906105cc9190613d87565b61170c565b005b6105db6117be565b6040516105e89190613b7b565b60405180910390f35b61060b600480360381019061060691906136f9565b6117c4565b60405161061891906136a1565b60405180910390f35b61062961183d565b60405161063691906138c6565b60405180910390f35b610647611861565b6040516106549190613b7b565b60405180910390f35b610677600480360381019061067291906136f9565b6119ea565b005b610681611a70565b60405161068e91906138c6565b60405180910390f35b6106b160048036038101906106ac9190613dc7565b611a76565b6040516106be91906135ed565b60405180910390f35b6106e160048036038101906106dc9190613899565b611b0a565b005b6106eb611c02565b73ffffffffffffffffffffffffffffffffffffffff1661070961138d565b73ffffffffffffffffffffffffffffffffffffffff161461075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690613e53565b60405180910390fd5b6000801b601154146107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90613ee5565b60405180910390fd5b806011819055504260098190555050565b6107bf611c02565b73ffffffffffffffffffffffffffffffffffffffff166107dd61138d565b73ffffffffffffffffffffffffffffffffffffffff1614610833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082a90613e53565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d157506108d082611c0a565b5b9050919050565b6000600d60009054906101000a900460ff16905090565b6060600080546108fe90613f34565b80601f016020809104026020016040519081016040528092919081815260200182805461092a90613f34565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b600061098c82611cec565b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c290613fd8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1182610ce9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a799061406a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa1611c02565b73ffffffffffffffffffffffffffffffffffffffff161480610ad05750610acf81610aca611c02565b611a76565b5b610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b06906140fc565b60405180910390fd5b610b198383611d58565b505050565b610b2f610b29611c02565b82611e11565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b659061418e565b60405180910390fd5b610b79838383611eef565b505050565b6000806000612710600e5485610b9491906141dd565b610b9e9190614266565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610bd8611c02565b73ffffffffffffffffffffffffffffffffffffffff16610bf661138d565b73ffffffffffffffffffffffffffffffffffffffff1614610c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4390613e53565b60405180910390fd5b610c54612156565b565b610c71838383604051806020016040528060008152506116aa565b505050565b610c87610c81611c02565b82611e11565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614309565b60405180910390fd5b610ccf816121f8565b50565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d899061439b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e039061442d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e5b611c02565b73ffffffffffffffffffffffffffffffffffffffff16610e7961138d565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690613e53565b60405180910390fd5b610ed96000612315565b565b60095481565b610ee9611c02565b73ffffffffffffffffffffffffffffffffffffffff16610f0761138d565b73ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613e53565b60405180910390fd5b600b60009054906101000a900460ff1615610fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa490614499565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b610fd2611c02565b73ffffffffffffffffffffffffffffffffffffffff16610ff061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90613e53565b60405180910390fd5b6000600954148061107357506201518060085461106391906141dd565b60095461107091906144b9565b42105b6110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a99061455b565b60405180910390fd5b6110ba6123db565b565b6000600b60009054906101000a900460ff16905090565b6110db610cd2565b1561111b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611112906145c7565b60405180910390fd5b6000801b6011541415611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90614633565b60405180910390fd5b600d60009054906101000a900460ff166111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a9906146c5565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690614731565b60405180910390fd5b600061124c85853361247e565b905061129c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601154836124b4565b6112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d29061479d565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b85859050811015611385576000611365878784818110611359576113586147bd565b5b905060200201356124cb565b9050611371338261250d565b50808061137d906147ec565b915050611336565b505050505050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113bf611c02565b73ffffffffffffffffffffffffffffffffffffffff166113dd61138d565b73ffffffffffffffffffffffffffffffffffffffff1614611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a90613e53565b60405180910390fd5b600b60009054906101000a900460ff1615611483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147a90614499565b60405180910390fd5b8181600a91906114949291906133a8565b505050565b6114a1611c02565b73ffffffffffffffffffffffffffffffffffffffff166114bf61138d565b73ffffffffffffffffffffffffffffffffffffffff1614611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90613e53565b60405180910390fd5b806012819055507fc5900deaecce8c58edbdd0726968f722e08cc4390ffd6c41c54bc82b2f5d7ef08160405161154b9190613b7b565b60405180910390a150565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90614881565b60405180910390fd5b6115ee828261252b565b5050565b60606001805461160190613f34565b80601f016020809104026020016040519081016040528092919081815260200182805461162d90613f34565b801561167a5780601f1061164f5761010080835404028352916020019161167a565b820191906000526020600020905b81548152906001019060200180831161165d57829003601f168201915b5050505050905090565b61169661168f611c02565b838361256b565b5050565b6000600c54905090565b60115481565b6116bb6116b5611c02565b83611e11565b6116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f19061418e565b60405180910390fd5b611706848484846126d8565b50505050565b611714611c02565b73ffffffffffffffffffffffffffffffffffffffff1661173261138d565b73ffffffffffffffffffffffffffffffffffffffff1614611788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177f90613e53565b60405180910390fd5b6117ba61179361138d565b828473ffffffffffffffffffffffffffffffffffffffff166127349092919063ffffffff16565b5050565b60125481565b60606117cf82611cec565b61180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590614913565b60405180910390fd5b611817826127ba565b60405160200161182791906149bb565b6040516020818303038152906040529050919050565b7f00000000000000000000000000000000000000000000000000000000000007d081565b600061186b611c02565b73ffffffffffffffffffffffffffffffffffffffff1661188961138d565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613e53565b60405180910390fd5b600d60009054906101000a900460ff16156118f957600080fd5b6010547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119559190613747565b602060405180830381865afa158015611972573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199691906149f2565b10156119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90614a6b565b60405180910390fd5b6119e5600f54601054612861565b905090565b6119f2611c02565b73ffffffffffffffffffffffffffffffffffffffff16611a1061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d90613e53565b60405180910390fd5b80600e8190555050565b60085481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b12611c02565b73ffffffffffffffffffffffffffffffffffffffff16611b3061138d565b73ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613e53565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed90614afd565b60405180910390fd5b611bff81612315565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ce55750611ce4826129b4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611dcb83610ce9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e1c82611cec565b611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5290614b8f565b60405180910390fd5b6000611e6683610ce9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed557508373ffffffffffffffffffffffffffffffffffffffff16611ebd84610981565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ee65750611ee58185611a76565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f0f82610ce9565b73ffffffffffffffffffffffffffffffffffffffff1614611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c90614c21565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc90614cb3565b60405180910390fd5b611fe0838383612a1e565b611feb600082611d58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203b9190614cd3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209291906144b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612151838383612a76565b505050565b61215e610cd2565b61219d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219490614d53565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121e1611c02565b6040516121ee9190613747565b60405180910390a1565b600061220382610ce9565b905061221181600084612a1e565b61221c600083611d58565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461226c9190614cd3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461231181600084612a76565b5050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123e3610cd2565b15612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a906145c7565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612467611c02565b6040516124749190613747565b60405180910390a1565b600083838360405160200161249593929190614de5565b6040516020818303038152906040528051906020012090509392505050565b6000826124c18584612a7b565b1490509392505050565b60007f00000000000000000000000000000000000000000000000000000000000007d0600c54836124fc91906144b9565b6125069190614e17565b9050919050565b612527828260405180602001604052806000815250612af0565b5050565b600d60009054906101000a900460ff161561254557600080fd5b80600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d190614e94565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126cb91906135ed565b60405180910390a3505050565b6126e3848484611eef565b6126ef84848484612b4b565b61272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272590614f26565b60405180910390fd5b50505050565b6127b58363a9059cbb60e01b8484604051602401612753929190613870565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612cd3565b505050565b60606127c582611cec565b612804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fb90614913565b60405180910390fd5b600061280e612d9a565b9050600081511161282e5760405180602001604052806000815250612859565b8061283884612e2c565b604051602001612849929190614f46565b6040516020818303038152906040525b915050919050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016128d5929190614f6a565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161290293929190614fe8565b6020604051808303816000875af1158015612921573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612945919061503b565b506000612968846000306007600089815260200190815260200160002054612f8d565b90506001600760008681526020019081526020016000205461298a91906144b9565b60076000868152602001908152602001600020819055506129ab8482612fc9565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a26610cd2565b15612a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5d906145c7565b60405180910390fd5b612a71838383612ffc565b505050565b505050565b60008082905060005b8451811015612ae5576000858281518110612aa257612aa16147bd565b5b60200260200101519050808311612ac457612abd8382613001565b9250612ad1565b612ace8184613001565b92505b508080612add906147ec565b915050612a84565b508091505092915050565b612afa8383613018565b612b076000848484612b4b565b612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90614f26565b60405180910390fd5b505050565b6000612b6c8473ffffffffffffffffffffffffffffffffffffffff166131f2565b15612cc6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b95611c02565b8786866040518563ffffffff1660e01b8152600401612bb79493929190615068565b6020604051808303816000875af1925050508015612bf357506040513d601f19601f82011682018060405250810190612bf091906150c9565b60015b612c76573d8060008114612c23576040519150601f19603f3d011682016040523d82523d6000602084013e612c28565b606091505b50600081511415612c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6590614f26565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ccb565b600190505b949350505050565b6000612d35826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166132159092919063ffffffff16565b9050600081511115612d955780806020019051810190612d55919061503b565b612d94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8b90615168565b60405180910390fd5b5b505050565b6060600a8054612da990613f34565b80601f0160208091040260200160405190810160405280929190818152602001828054612dd590613f34565b8015612e225780601f10612df757610100808354040283529160200191612e22565b820191906000526020600020905b815481529060010190602001808311612e0557829003601f168201915b5050505050905090565b60606000821415612e74576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f88565b600082905060005b60008214612ea6578080612e8f906147ec565b915050600a82612e9f9190614266565b9150612e7c565b60008167ffffffffffffffff811115612ec257612ec1613b9b565b5b6040519080825280601f01601f191660200182016040528015612ef45781602001600182028036833780820191505090505b5090505b60008514612f8157600182612f0d9190614cd3565b9150600a85612f1c9190614e17565b6030612f2891906144b9565b60f81b818381518110612f3e57612f3d6147bd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f7a9190614266565b9450612ef8565b8093505050505b919050565b600084848484604051602001612fa69493929190615188565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001612fde92919061520f565b60405160208183030381529060405280519060200120905092915050565b505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307f90615287565b60405180910390fd5b61309181611cec565b156130d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c8906152f3565b60405180910390fd5b6130dd60008383612a1e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312d91906144b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ee60008383612a76565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613224848460008561322d565b90509392505050565b606082471015613272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326990615385565b60405180910390fd5b61327b856131f2565b6132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b1906153f1565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516132e3919061544d565b60006040518083038185875af1925050503d8060008114613320576040519150601f19603f3d011682016040523d82523d6000602084013e613325565b606091505b5091509150613335828286613341565b92505050949350505050565b60608315613351578290506133a1565b6000835111156133645782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339891906136a1565b60405180910390fd5b9392505050565b8280546133b490613f34565b90600052602060002090601f0160209004810192826133d6576000855561341d565b82601f106133ef57803560ff191683800117855561341d565b8280016001018555821561341d579182015b8281111561341c578235825591602001919060010190613401565b5b50905061342a919061342e565b5090565b5b8082111561344757600081600090555060010161342f565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6134728161345f565b811461347d57600080fd5b50565b60008135905061348f81613469565b92915050565b6000602082840312156134ab576134aa613455565b5b60006134b984828501613480565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134ed826134c2565b9050919050565b6134fd816134e2565b811461350857600080fd5b50565b60008135905061351a816134f4565b92915050565b60006020828403121561353657613535613455565b5b60006135448482850161350b565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135828161354d565b811461358d57600080fd5b50565b60008135905061359f81613579565b92915050565b6000602082840312156135bb576135ba613455565b5b60006135c984828501613590565b91505092915050565b60008115159050919050565b6135e7816135d2565b82525050565b600060208201905061360260008301846135de565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613642578082015181840152602081019050613627565b83811115613651576000848401525b50505050565b6000601f19601f8301169050919050565b600061367382613608565b61367d8185613613565b935061368d818560208601613624565b61369681613657565b840191505092915050565b600060208201905081810360008301526136bb8184613668565b905092915050565b6000819050919050565b6136d6816136c3565b81146136e157600080fd5b50565b6000813590506136f3816136cd565b92915050565b60006020828403121561370f5761370e613455565b5b600061371d848285016136e4565b91505092915050565b6000613731826134c2565b9050919050565b61374181613726565b82525050565b600060208201905061375c6000830184613738565b92915050565b61376b81613726565b811461377657600080fd5b50565b60008135905061378881613762565b92915050565b600080604083850312156137a5576137a4613455565b5b60006137b385828601613779565b92505060206137c4858286016136e4565b9150509250929050565b6000806000606084860312156137e7576137e6613455565b5b60006137f586828701613779565b935050602061380686828701613779565b9250506040613817868287016136e4565b9150509250925092565b6000806040838503121561383857613837613455565b5b6000613846858286016136e4565b9250506020613857858286016136e4565b9150509250929050565b61386a816136c3565b82525050565b60006040820190506138856000830185613738565b6138926020830184613861565b9392505050565b6000602082840312156138af576138ae613455565b5b60006138bd84828501613779565b91505092915050565b60006020820190506138db6000830184613861565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613906576139056138e1565b5b8235905067ffffffffffffffff811115613923576139226138e6565b5b60208301915083602082028301111561393f5761393e6138eb565b5b9250929050565b60008083601f84011261395c5761395b6138e1565b5b8235905067ffffffffffffffff811115613979576139786138e6565b5b602083019150836020820283011115613995576139946138eb565b5b9250929050565b600080600080604085870312156139b6576139b5613455565b5b600085013567ffffffffffffffff8111156139d4576139d361345a565b5b6139e0878288016138f0565b9450945050602085013567ffffffffffffffff811115613a0357613a0261345a565b5b613a0f87828801613946565b925092505092959194509250565b60008083601f840112613a3357613a326138e1565b5b8235905067ffffffffffffffff811115613a5057613a4f6138e6565b5b602083019150836001820283011115613a6c57613a6b6138eb565b5b9250929050565b60008060208385031215613a8a57613a89613455565b5b600083013567ffffffffffffffff811115613aa857613aa761345a565b5b613ab485828601613a1d565b92509250509250929050565b60008060408385031215613ad757613ad6613455565b5b6000613ae585828601613480565b9250506020613af6858286016136e4565b9150509250929050565b613b09816135d2565b8114613b1457600080fd5b50565b600081359050613b2681613b00565b92915050565b60008060408385031215613b4357613b42613455565b5b6000613b5185828601613779565b9250506020613b6285828601613b17565b9150509250929050565b613b758161345f565b82525050565b6000602082019050613b906000830184613b6c565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bd382613657565b810181811067ffffffffffffffff82111715613bf257613bf1613b9b565b5b80604052505050565b6000613c0561344b565b9050613c118282613bca565b919050565b600067ffffffffffffffff821115613c3157613c30613b9b565b5b613c3a82613657565b9050602081019050919050565b82818337600083830152505050565b6000613c69613c6484613c16565b613bfb565b905082815260208101848484011115613c8557613c84613b96565b5b613c90848285613c47565b509392505050565b600082601f830112613cad57613cac6138e1565b5b8135613cbd848260208601613c56565b91505092915050565b60008060008060808587031215613ce057613cdf613455565b5b6000613cee87828801613779565b9450506020613cff87828801613779565b9350506040613d10878288016136e4565b925050606085013567ffffffffffffffff811115613d3157613d3061345a565b5b613d3d87828801613c98565b91505092959194509250565b6000613d5482613726565b9050919050565b613d6481613d49565b8114613d6f57600080fd5b50565b600081359050613d8181613d5b565b92915050565b60008060408385031215613d9e57613d9d613455565b5b6000613dac85828601613d72565b9250506020613dbd858286016136e4565b9150509250929050565b60008060408385031215613dde57613ddd613455565b5b6000613dec85828601613779565b9250506020613dfd85828601613779565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e3d602083613613565b9150613e4882613e07565b602082019050919050565b60006020820190508181036000830152613e6c81613e30565b9050919050565b7f4d696e74206d65726b6c6520726f6f742063616e206f6e6c792062652073657460008201527f206f6e6365000000000000000000000000000000000000000000000000000000602082015250565b6000613ecf602583613613565b9150613eda82613e73565b604082019050919050565b60006020820190508181036000830152613efe81613ec2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f4c57607f821691505b60208210811415613f6057613f5f613f05565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fc2602c83613613565b9150613fcd82613f66565b604082019050919050565b60006020820190508181036000830152613ff181613fb5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614054602183613613565b915061405f82613ff8565b604082019050919050565b6000602082019050818103600083015261408381614047565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140e6603883613613565b91506140f18261408a565b604082019050919050565b60006020820190508181036000830152614115816140d9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614178603183613613565b91506141838261411c565b604082019050919050565b600060208201905081810360008301526141a78161416b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141e8826136c3565b91506141f3836136c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561422c5761422b6141ae565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614271826136c3565b915061427c836136c3565b92508261428c5761428b614237565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006142f3603083613613565b91506142fe82614297565b604082019050919050565b60006020820190508181036000830152614322816142e6565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614385602983613613565b915061439082614329565b604082019050919050565b600060208201905081810360008301526143b481614378565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614417602a83613613565b9150614422826143bb565b604082019050919050565b600060208201905081810360008301526144468161440a565b9050919050565b7f546f6b656e206261736520555249206973206c6f636b65640000000000000000600082015250565b6000614483601883613613565b915061448e8261444d565b602082019050919050565b600060208201905081810360008301526144b281614476565b9050919050565b60006144c4826136c3565b91506144cf836136c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614504576145036141ae565b5b828201905092915050565b7f43616e206f6e6c7920706175736520756e74696c20746865206375746f666600600082015250565b6000614545601f83613613565b91506145508261450f565b602082019050919050565b6000602082019050818103600083015261457481614538565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006145b1601083613613565b91506145bc8261457b565b602082019050919050565b600060208201905081810360008301526145e0816145a4565b9050919050565b7f4d696e74206d65726b6c6520726f6f74206e6f74207365740000000000000000600082015250565b600061461d601883613613565b9150614628826145e7565b602082019050919050565b6000602082019050818103600083015261464c81614610565b9050919050565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b60006146af602583613613565b91506146ba82614653565b604082019050919050565b600060208201905081810360008301526146de816146a2565b9050919050565b7f53656e6465722068617320616c7265616479206d696e74656400000000000000600082015250565b600061471b601983613613565b9150614726826146e5565b602082019050919050565b6000602082019050818103600083015261474a8161470e565b9050919050565b7f4d696e742070726f6f6620696e76616c69640000000000000000000000000000600082015250565b6000614787601283613613565b915061479282614751565b602082019050919050565b600060208201905081810360008301526147b68161477a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147f7826136c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561482a576148296141ae565b5b600182019050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b600061486b601f83613613565b915061487682614835565b602082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006148fd602f83613613565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600081905092915050565b600061494982613608565b6149538185614933565b9350614963818560208601613624565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006149a5600583614933565b91506149b08261496f565b600582019050919050565b60006149c7828461493e565b91506149d282614998565b915081905092915050565b6000815190506149ec816136cd565b92915050565b600060208284031215614a0857614a07613455565b5b6000614a16848285016149dd565b91505092915050565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b6000614a55600f83613613565b9150614a6082614a1f565b602082019050919050565b60006020820190508181036000830152614a8481614a48565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ae7602683613613565b9150614af282614a8b565b604082019050919050565b60006020820190508181036000830152614b1681614ada565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b79602c83613613565b9150614b8482614b1d565b604082019050919050565b60006020820190508181036000830152614ba881614b6c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614c0b602583613613565b9150614c1682614baf565b604082019050919050565b60006020820190508181036000830152614c3a81614bfe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614c9d602483613613565b9150614ca882614c41565b604082019050919050565b60006020820190508181036000830152614ccc81614c90565b9050919050565b6000614cde826136c3565b9150614ce9836136c3565b925082821015614cfc57614cfb6141ae565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614d3d601483613613565b9150614d4882614d07565b602082019050919050565b60006020820190508181036000830152614d6c81614d30565b9050919050565b600082825260208201905092915050565b600080fd5b6000614d958385614d73565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614dc857614dc7614d84565b5b602083029250614dd9838584613c47565b82840190509392505050565b60006040820190508181036000830152614e00818587614d89565b9050614e0f6020830184613738565b949350505050565b6000614e22826136c3565b9150614e2d836136c3565b925082614e3d57614e3c614237565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e7e601983613613565b9150614e8982614e48565b602082019050919050565b60006020820190508181036000830152614ead81614e71565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f10603283613613565b9150614f1b82614eb4565b604082019050919050565b60006020820190508181036000830152614f3f81614f03565b9050919050565b6000614f52828561493e565b9150614f5e828461493e565b91508190509392505050565b6000604082019050614f7f6000830185613b6c565b614f8c6020830184613861565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000614fba82614f93565b614fc48185614f9e565b9350614fd4818560208601613624565b614fdd81613657565b840191505092915050565b6000606082019050614ffd6000830186613738565b61500a6020830185613861565b818103604083015261501c8184614faf565b9050949350505050565b60008151905061503581613b00565b92915050565b60006020828403121561505157615050613455565b5b600061505f84828501615026565b91505092915050565b600060808201905061507d6000830187613738565b61508a6020830186613738565b6150976040830185613861565b81810360608301526150a98184614faf565b905095945050505050565b6000815190506150c381613579565b92915050565b6000602082840312156150df576150de613455565b5b60006150ed848285016150b4565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615152602a83613613565b915061515d826150f6565b604082019050919050565b6000602082019050818103600083015261518181615145565b9050919050565b600060808201905061519d6000830187613b6c565b6151aa6020830186613861565b6151b76040830185613738565b6151c46060830184613861565b95945050505050565b6000819050919050565b6151e86151e38261345f565b6151cd565b82525050565b6000819050919050565b615209615204826136c3565b6151ee565b82525050565b600061521b82856151d7565b60208201915061522b82846151f8565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615271602083613613565b915061527c8261523b565b602082019050919050565b600060208201905081810360008301526152a081615264565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006152dd601c83613613565b91506152e8826152a7565b602082019050919050565b6000602082019050818103600083015261530c816152d0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061536f602683613613565b915061537a82615313565b604082019050919050565b6000602082019050818103600083015261539e81615362565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006153db601d83613613565b91506153e6826153a5565b602082019050919050565b6000602082019050818103600083015261540a816153ce565b9050919050565b600081905092915050565b600061542782614f93565b6154318185615411565b9350615441818560208601613624565b80840191505092915050565b6000615459828461541c565b91508190509291505056fea2646970667358221220c0394d67901d1d897fcd86ae6cf421829abe8ecb500659ab3c2b90046473a19c64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000031aa794e016e7ab71ca8e7456f0d33817039366600000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000e0aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000001f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 2000
Arg [1] : royaltyReceipientAddress_ (address): 0x31aa794e016e7Ab71Ca8E7456F0D338170393666
Arg [2] : royaltyPercentageBasisPoints_ (uint256): 500
Arg [3] : chainlinkAddresses_ (address[]): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952,0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [4] : keyHash_ (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : fee_ (uint256): 2000000000000000000
Arg [6] : pauseCutoffDays_ (uint256): 31
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [1] : 00000000000000000000000031aa794e016e7ab71ca8e7456f0d338170393666
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [9] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Loading...
Loading
Loading...
Loading
[ 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.