Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
1124
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.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.9; 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 "@openzeppelin/contracts/utils/Counters.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; contract NFT is ERC721, Pausable, Ownable, ERC721Burnable, VRFConsumerBase { using Counters for Counters.Counter; using SafeERC20 for IERC20; event RandomNumberReceived(uint256 randomNumber); // ERC-2981: NFT Royalty Standard bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint256 public immutable numberOfBreeds; uint256 public immutable maxSupplyPerBreed; uint256 public immutable maxSupply; address public immutable developerAddress; uint256 public immutable developerAllocation; Counters.Counter private _mintedTotalSupplyCounter; // breedIndex => minted tokens per breed mapping(uint256 => Counters.Counter) private _mintedBreedCounter; string private _tokenBaseURI; string private _contractURI; uint256 private _randomness; bool private _randomnessHasBeenSet; address private _royaltyReceipientAddress; uint256 private _royaltyPercentageBasisPoints; // Chainlink configuration. bytes32 internal keyHash; uint256 internal fee; constructor( address[] memory specialMintAddresses_, uint256[] memory specialMintAllocations_, uint256 numberOfBreeds_, uint256 maxSupplyPerBreed_, address royaltyReceipientAddress_, uint256 royaltyPercentageBasisPoints_, string[] memory uris_, address[] memory chainlinkAddresses_, bytes32 keyHash_, uint256 fee_ ) ERC721("Vailiens", "VAILIENS") VRFConsumerBase(chainlinkAddresses_[0], chainlinkAddresses_[1]) { developerAddress = specialMintAddresses_[0]; developerAllocation = specialMintAllocations_[0]; maxSupply = numberOfBreeds_ * maxSupplyPerBreed_; numberOfBreeds = numberOfBreeds_; maxSupplyPerBreed = maxSupplyPerBreed_; _tokenBaseURI = uris_[0]; _contractURI = uris_[1]; _royaltyReceipientAddress = royaltyReceipientAddress_; _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; keyHash = keyHash_; fee = fee_; } function mintedTotalSupply() public view returns (uint256) { return _mintedTotalSupplyCounter.current(); } function mintedBreedSupply(uint256 breedIndex) public view returns (uint256) { require(breedIndex < numberOfBreeds, "breedIndex out of bounds"); return _mintedBreedCounter[breedIndex].current(); } 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 { emit RandomNumberReceived(randomness); 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) public onlyOwner { token.safeTransfer(owner(), amount); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function calculateIndexToMint(uint256 breedIndex) internal view returns (uint256) { uint256 offset = (mintedBreedSupply(breedIndex) + _randomness) % maxSupplyPerBreed; return (maxSupplyPerBreed * breedIndex) + offset; } // All tokens are minted using the random offset. // Tokens can only be minted once, even if burned. function mint(uint256 breedIndex, address to_) public onlyOwner { require(_randomnessHasBeenSet, "Randomness must be set before minting"); require(mintedTotalSupply() < maxSupply, "Max supply minted"); require( mintedBreedSupply(breedIndex) < maxSupplyPerBreed, "Max supply for breed minted" ); uint256 indexToMint = calculateIndexToMint(breedIndex); // It's the responsibility of the minting script to select an even distribution of breeds for these special allocations. // The special allocations are automatically subject to the random offset. // The first developerAllocation tokens must be given to developerAddress. if (mintedTotalSupply() < developerAllocation) { require(to_ == developerAddress, "First batch for developer"); } _safeMint(to_, indexToMint); _mintedBreedCounter[breedIndex].increment(); _mintedTotalSupplyCounter.increment(); } // Provide an array of addresses and a corresponding array of quantities. function mintBatch( uint256[] calldata breedIndexes, address[] calldata addresses, uint256[] calldata quantities ) external onlyOwner { require( breedIndexes.length == addresses.length && addresses.length == quantities.length, "Input array lengths not equal" ); for (uint256 i = 0; i < addresses.length; i++) { for (uint256 j = 0; j < quantities[i]; j++) { mint(breedIndexes[i], addresses[i]); } } } 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 setRoyaltyPercentageBasisPoints( uint256 royaltyPercentageBasisPoints_ ) public onlyOwner { _royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; } function setRoyaltyReceipientAddress( address payable royaltyReceipientAddress_ ) public onlyOwner { _royaltyReceipientAddress = royaltyReceipientAddress_; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { uint256 royalty = (_salePrice * _royaltyPercentageBasisPoints) / 10000; return (_royaltyReceipientAddress, royalty); } // Contract-level metadata for OpenSea. function setContractURI(string calldata contractURI_) public onlyOwner { _contractURI = contractURI_; } // Contract-level metadata for OpenSea. function contractURI() public view returns (string memory) { return _contractURI; } function _baseURI() internal view override returns (string memory) { return _tokenBaseURI; } 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 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 pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constuctor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously.) * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBase expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomness the VRF output */ function fulfillRandomness( bytes32 requestId, uint256 randomness ) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 constant private USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness( bytes32 _keyHash, uint256 _fee ) internal returns ( bytes32 requestId ) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface immutable internal LINK; address immutable private vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor( address _vrfCoordinator, address _link ) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness( bytes32 requestId, uint256 randomness ) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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":"address[]","name":"specialMintAddresses_","type":"address[]"},{"internalType":"uint256[]","name":"specialMintAllocations_","type":"uint256[]"},{"internalType":"uint256","name":"numberOfBreeds_","type":"uint256"},{"internalType":"uint256","name":"maxSupplyPerBreed_","type":"uint256"},{"internalType":"address","name":"royaltyReceipientAddress_","type":"address"},{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"},{"internalType":"string[]","name":"uris_","type":"string[]"},{"internalType":"address[]","name":"chainlinkAddresses_","type":"address[]"},{"internalType":"bytes32","name":"keyHash_","type":"bytes32"},{"internalType":"uint256","name":"fee_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"randomNumber","type":"uint256"}],"name":"RandomNumberReceived","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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyPerBreed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"breedIndex","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"breedIndexes","type":"uint256[]"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"breedIndex","type":"uint256"}],"name":"mintedBreedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedTotalSupply","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":"numberOfBreeds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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
6101606040523480156200001257600080fd5b5060405162006040380380620060408339818101604052810190620000389190620009cd565b826000815181106200004f576200004e62000b3f565b5b6020026020010151836001815181106200006e576200006d62000b3f565b5b60200260200101516040518060400160405280600881526020017f5661696c69656e730000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f5641494c49454e530000000000000000000000000000000000000000000000008152508160009080519060200190620000fa929190620003fd565b50806001908051906020019062000113929190620003fd565b5050506000600660006101000a81548160ff02191690831515021790555062000151620001456200032f60201b60201c565b6200033760201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505089600081518110620001d257620001d162000b3f565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166101208173ffffffffffffffffffffffffffffffffffffffff16815250508860008151811062000225576200022462000b3f565b5b60200260200101516101408181525050868862000243919062000b9d565b61010081815250508760c081815250508660e081815250508360008151811062000272576200027162000b3f565b5b6020026020010151600a908051906020019062000291929190620003fd565b5083600181518110620002a957620002a862000b3f565b5b6020026020010151600b9080519060200190620002c8929190620003fd565b5085600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600e8190555081600f81905550806010819055505050505050505050505062000c63565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200040b9062000c2d565b90600052602060002090601f0160209004810192826200042f57600085556200047b565b82601f106200044a57805160ff19168380011785556200047b565b828001600101855582156200047b579182015b828111156200047a5782518255916020019190600101906200045d565b5b5090506200048a91906200048e565b5090565b5b80821115620004a95760008160009055506001016200048f565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200051182620004c6565b810181811067ffffffffffffffff82111715620005335762000532620004d7565b5b80604052505050565b600062000548620004ad565b905062000556828262000506565b919050565b600067ffffffffffffffff821115620005795762000578620004d7565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005bc826200058f565b9050919050565b620005ce81620005af565b8114620005da57600080fd5b50565b600081519050620005ee81620005c3565b92915050565b60006200060b62000605846200055b565b6200053c565b905080838252602082019050602084028301858111156200063157620006306200058a565b5b835b818110156200065e5780620006498882620005dd565b84526020840193505060208101905062000633565b5050509392505050565b600082601f83011262000680576200067f620004c1565b5b815162000692848260208601620005f4565b91505092915050565b600067ffffffffffffffff821115620006b957620006b8620004d7565b5b602082029050602081019050919050565b6000819050919050565b620006df81620006ca565b8114620006eb57600080fd5b50565b600081519050620006ff81620006d4565b92915050565b60006200071c62000716846200069b565b6200053c565b905080838252602082019050602084028301858111156200074257620007416200058a565b5b835b818110156200076f57806200075a8882620006ee565b84526020840193505060208101905062000744565b5050509392505050565b600082601f830112620007915762000790620004c1565b5b8151620007a384826020860162000705565b91505092915050565b600067ffffffffffffffff821115620007ca57620007c9620004d7565b5b602082029050602081019050919050565b600080fd5b600067ffffffffffffffff821115620007fe57620007fd620004d7565b5b6200080982620004c6565b9050602081019050919050565b60005b838110156200083657808201518184015260208101905062000819565b8381111562000846576000848401525b50505050565b6000620008636200085d84620007e0565b6200053c565b905082815260208101848484011115620008825762000881620007db565b5b6200088f84828562000816565b509392505050565b600082601f830112620008af57620008ae620004c1565b5b8151620008c18482602086016200084c565b91505092915050565b6000620008e1620008db84620007ac565b6200053c565b905080838252602082019050602084028301858111156200090757620009066200058a565b5b835b818110156200095557805167ffffffffffffffff81111562000930576200092f620004c1565b5b8086016200093f898262000897565b8552602085019450505060208101905062000909565b5050509392505050565b600082601f830112620009775762000976620004c1565b5b815162000989848260208601620008ca565b91505092915050565b6000819050919050565b620009a78162000992565b8114620009b357600080fd5b50565b600081519050620009c7816200099c565b92915050565b6000806000806000806000806000806101408b8d031215620009f457620009f3620004b7565b5b60008b015167ffffffffffffffff81111562000a155762000a14620004bc565b5b62000a238d828e0162000668565b9a505060208b015167ffffffffffffffff81111562000a475762000a46620004bc565b5b62000a558d828e0162000779565b995050604062000a688d828e01620006ee565b985050606062000a7b8d828e01620006ee565b975050608062000a8e8d828e01620005dd565b96505060a062000aa18d828e01620006ee565b95505060c08b015167ffffffffffffffff81111562000ac55762000ac4620004bc565b5b62000ad38d828e016200095f565b94505060e08b015167ffffffffffffffff81111562000af75762000af6620004bc565b5b62000b058d828e0162000668565b93505061010062000b198d828e01620009b6565b92505061012062000b2d8d828e01620006ee565b9150509295989b9194979a5092959850565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000baa82620006ca565b915062000bb783620006ca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000bf35762000bf262000b6e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000c4657607f821691505b6020821081141562000c5d5762000c5c62000bfe565b5b50919050565b60805160a05160c05160e05161010051610120516101405161534362000cfd60003960008181610e1a01526113b90152600081816113e801526118db0152600081816112d901526118ff015260008181610c5e015281816113420152818161264c0152612691015260008181610846015261153f01526000818161117201526128c90152600081816119be015261288d01526153436000f3fe608060405234801561001057600080fd5b506004361061023c5760003560e01c8063715018a61161013b578063b88d4fde116100b8578063dbdff2c11161007c578063dbdff2c114610668578063e042e98c14610686578063e8a3d485146106a2578063e985e9c5146106c0578063f2fde38b146106f05761023c565b8063b88d4fde146105c4578063bcba6939146105e0578063c87b56dd146105fc578063caccd7f71461062c578063d5abeb011461064a5761023c565b806394bf804d116100ff57806394bf804d1461052057806395d89b411461053c578063a171edac1461055a578063a22cb4651461058a578063aaae7b86146105a65761023c565b8063715018a6146104b65780638456cb59146104c05780638da5cb5b146104ca578063938e3d7b146104e857806394985ddd146105045761023c565b80632a55205a116101c95780635c975abb1161018d5780635c975abb146103fe5780635ce681b21461041c57806362feff3a146104385780636352211e1461045657806370a08231146104865761023c565b80632a55205a1461036d5780633f4ba83a1461039e57806342842e0e146103a857806342966c68146103c45780634cd4cd20146103e05761023c565b806306fdde031161021057806306fdde03146102c9578063081812fc146102e7578063095ea7b314610317578063160954d81461033357806323b872dd146103515761023c565b80629ee39c1461024157806301ffc9a71461025d57806302350cec1461028d57806304abee9e146102ab575b600080fd5b61025b60048036038101906102569190613456565b61070c565b005b610277600480360381019061027291906134db565b6107cc565b6040516102849190613523565b60405180910390f35b61029561082d565b6040516102a29190613523565b60405180910390f35b6102b3610844565b6040516102c09190613557565b60405180910390f35b6102d1610868565b6040516102de919061360b565b60405180910390f35b61030160048036038101906102fc9190613659565b6108fa565b60405161030e91906136a7565b60405180910390f35b610331600480360381019061032c91906136ee565b61097f565b005b61033b610a97565b6040516103489190613557565b60405180910390f35b61036b6004803603810190610366919061372e565b610aa8565b005b61038760048036038101906103829190613781565b610b08565b6040516103959291906137c1565b60405180910390f35b6103a6610b5a565b005b6103c260048036038101906103bd919061372e565b610be0565b005b6103de60048036038101906103d99190613659565b610c00565b005b6103e8610c5c565b6040516103f59190613557565b60405180910390f35b610406610c80565b6040516104139190613523565b60405180910390f35b610436600480360381019061043191906138a5565b610c97565b005b610440610e18565b60405161044d9190613557565b60405180910390f35b610470600480360381019061046b9190613659565b610e3c565b60405161047d91906136a7565b60405180910390f35b6104a0600480360381019061049b9190613959565b610eee565b6040516104ad9190613557565b60405180910390f35b6104be610fa6565b005b6104c861102e565b005b6104d26110b4565b6040516104df91906136a7565b60405180910390f35b61050260048036038101906104fd91906139dc565b6110de565b005b61051e60048036038101906105199190613a5f565b611170565b005b61053a60048036038101906105359190613a9f565b61120c565b005b6105446114a9565b604051610551919061360b565b60405180910390f35b610574600480360381019061056f9190613659565b61153b565b6040516105819190613557565b60405180910390f35b6105a4600480360381019061059f9190613b0b565b6115c1565b005b6105ae611742565b6040516105bb9190613557565b60405180910390f35b6105de60048036038101906105d99190613c7b565b61174c565b005b6105fa60048036038101906105f59190613d3c565b6117ae565b005b61061660048036038101906106119190613659565b611860565b604051610623919061360b565b60405180910390f35b6106346118d9565b60405161064191906136a7565b60405180910390f35b6106526118fd565b60405161065f9190613557565b60405180910390f35b610670611921565b60405161067d9190613d8b565b60405180910390f35b6106a0600480360381019061069b9190613659565b611ab9565b005b6106aa611b3f565b6040516106b7919061360b565b60405180910390f35b6106da60048036038101906106d59190613da6565b611bd1565b6040516106e79190613523565b60405180910390f35b61070a60048036038101906107059190613959565b611c65565b005b610714611d5d565b73ffffffffffffffffffffffffffffffffffffffff166107326110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f90613e32565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610826575061082582611d65565b5b9050919050565b6000600d60009054906101000a900460ff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606000805461087790613e81565b80601f01602080910402602001604051908101604052809291908181526020018280546108a390613e81565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b600061090582611e47565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90613f25565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098a82610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613fb7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1a611d5d565b73ffffffffffffffffffffffffffffffffffffffff161480610a495750610a4881610a43611d5d565b611bd1565b5b610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90614049565b60405180910390fd5b610a928383611eb3565b505050565b6000610aa36008611f6c565b905090565b610ab9610ab3611d5d565b82611f7a565b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef906140db565b60405180910390fd5b610b03838383612058565b505050565b6000806000612710600e5485610b1e919061412a565b610b2891906141b3565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610b62611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610b806110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90613e32565b60405180910390fd5b610bde6122b4565b565b610bfb8383836040518060200160405280600081525061174c565b505050565b610c11610c0b611d5d565b82611f7a565b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790614256565b60405180910390fd5b610c5981612356565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600660009054906101000a900460ff16905090565b610c9f611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610cbd6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a90613e32565b60405180910390fd5b8383905086869050148015610d2d57508181905084849050145b610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906142c2565b60405180910390fd5b60005b84849050811015610e0f5760005b838383818110610d9057610d8f6142e2565b5b90506020020135811015610dfb57610de8888884818110610db457610db36142e2565b5b90506020020135878785818110610dce57610dcd6142e2565b5b9050602002016020810190610de39190613959565b61120c565b8080610df390614311565b915050610d7d565b508080610e0790614311565b915050610d6f565b50505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906143cc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f569061445e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fae611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610fcc6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613e32565b60405180910390fd5b61102c6000612467565b565b611036611d5d565b73ffffffffffffffffffffffffffffffffffffffff166110546110b4565b73ffffffffffffffffffffffffffffffffffffffff16146110aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a190613e32565b60405180910390fd5b6110b261252d565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110e6611d5d565b73ffffffffffffffffffffffffffffffffffffffff166111046110b4565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115190613e32565b60405180910390fd5b8181600b919061116b929190613341565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906144ca565b60405180910390fd5b61120882826125d0565b5050565b611214611d5d565b73ffffffffffffffffffffffffffffffffffffffff166112326110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613e32565b60405180910390fd5b600d60009054906101000a900460ff166112d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ce9061455c565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000611300610a97565b10611340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611337906145c8565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000061136a8361153b565b106113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190614634565b60405180910390fd5b60006113b583612647565b90507f00000000000000000000000000000000000000000000000000000000000000006113e0610a97565b1015611475577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b906146a0565b60405180910390fd5b5b61147f82826126cc565b61149a600960008581526020019081526020016000206126ea565b6114a460086126ea565b505050565b6060600180546114b890613e81565b80601f01602080910402602001604051908101604052809291908181526020018280546114e490613e81565b80156115315780601f1061150657610100808354040283529160200191611531565b820191906000526020600020905b81548152906001019060200180831161151457829003601f168201915b5050505050905090565b60007f0000000000000000000000000000000000000000000000000000000000000000821061159f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115969061470c565b60405180910390fd5b6115ba60096000848152602001908152602001600020611f6c565b9050919050565b6115c9611d5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e90614778565b60405180910390fd5b8060056000611644611d5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f1611d5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117369190613523565b60405180910390a35050565b6000600c54905090565b61175d611757611d5d565b83611f7a565b61179c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611793906140db565b60405180910390fd5b6117a884848484612700565b50505050565b6117b6611d5d565b73ffffffffffffffffffffffffffffffffffffffff166117d46110b4565b73ffffffffffffffffffffffffffffffffffffffff161461182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190613e32565b60405180910390fd5b61185c6118356110b4565b828473ffffffffffffffffffffffffffffffffffffffff1661275c9092919063ffffffff16565b5050565b606061186b82611e47565b6118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a19061480a565b60405180910390fd5b6118b3826127e2565b6040516020016118c391906148b2565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061192b611d5d565b73ffffffffffffffffffffffffffffffffffffffff166119496110b4565b73ffffffffffffffffffffffffffffffffffffffff161461199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690613e32565b60405180910390fd5b600d60009054906101000a900460ff16156119b957600080fd5b6010547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a1591906136a7565b60206040518083038186803b158015611a2d57600080fd5b505afa158015611a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6591906148e9565b1015611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d90614962565b60405180910390fd5b611ab4600f54601054612889565b905090565b611ac1611d5d565b73ffffffffffffffffffffffffffffffffffffffff16611adf6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90613e32565b60405180910390fd5b80600e8190555050565b6060600b8054611b4e90613e81565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7a90613e81565b8015611bc75780601f10611b9c57610100808354040283529160200191611bc7565b820191906000526020600020905b815481529060010190602001808311611baa57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c6d611d5d565b73ffffffffffffffffffffffffffffffffffffffff16611c8b6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890613e32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d48906149f4565b60405180910390fd5b611d5a81612467565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e405750611e3f826129eb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f2683610e3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611f8582611e47565b611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb90614a86565b60405180910390fd5b6000611fcf83610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203e57508373ffffffffffffffffffffffffffffffffffffffff16612026846108fa565b73ffffffffffffffffffffffffffffffffffffffff16145b8061204f575061204e8185611bd1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661207882610e3c565b73ffffffffffffffffffffffffffffffffffffffff16146120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590614b18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213590614baa565b60405180910390fd5b612149838383612a55565b612154600082611eb3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a49190614bca565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fb9190614bfe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6122bc610c80565b6122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614ca0565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61233f611d5d565b60405161234c91906136a7565b60405180910390a1565b600061236182610e3c565b905061236f81600084612a55565b61237a600083611eb3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ca9190614bca565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612535610c80565b15612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c90614d0c565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125b9611d5d565b6040516125c691906136a7565b60405180910390a1565b7fe9a9868fdaf3f6179fe8012374366a6b13cc9596ad26ee37a06f12c548d633c3816040516125ff9190613557565b60405180910390a1600d60009054906101000a900460ff161561262157600080fd5b80600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b6000807f0000000000000000000000000000000000000000000000000000000000000000600c546126778561153b565b6126819190614bfe565b61268b9190614d2c565b905080837f00000000000000000000000000000000000000000000000000000000000000006126ba919061412a565b6126c49190614bfe565b915050919050565b6126e6828260405180602001604052806000815250612aad565b5050565b6001816000016000828254019250508190555050565b61270b848484612058565b61271784848484612b08565b612756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274d90614dcf565b60405180910390fd5b50505050565b6127dd8363a9059cbb60e01b848460405160240161277b9291906137c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c9f565b505050565b60606127ed82611e47565b61282c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128239061480a565b60405180910390fd5b6000612836612d66565b905060008151116128565760405180602001604052806000815250612881565b8061286084612df8565b604051602001612871929190614def565b6040516020818303038152906040525b915050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016128fd929190614e13565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161292a93929190614e91565b602060405180830381600087803b15801561294457600080fd5b505af1158015612958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297c9190614ee4565b50600061299f846000306007600089815260200190815260200160002054612f59565b9050600160076000868152602001908152602001600020546129c19190614bfe565b60076000868152602001908152602001600020819055506129e28482612f95565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a5d610c80565b15612a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490614d0c565b60405180910390fd5b612aa8838383612fc8565b505050565b612ab78383612fcd565b612ac46000848484612b08565b612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90614dcf565b60405180910390fd5b505050565b6000612b298473ffffffffffffffffffffffffffffffffffffffff1661319b565b15612c92578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b52611d5d565b8786866040518563ffffffff1660e01b8152600401612b749493929190614f11565b602060405180830381600087803b158015612b8e57600080fd5b505af1925050508015612bbf57506040513d601f19601f82011682018060405250810190612bbc9190614f72565b60015b612c42573d8060008114612bef576040519150601f19603f3d011682016040523d82523d6000602084013e612bf4565b606091505b50600081511415612c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3190614dcf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c97565b600190505b949350505050565b6000612d01826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131ae9092919063ffffffff16565b9050600081511115612d615780806020019051810190612d219190614ee4565b612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5790615011565b60405180910390fd5b5b505050565b6060600a8054612d7590613e81565b80601f0160208091040260200160405190810160405280929190818152602001828054612da190613e81565b8015612dee5780601f10612dc357610100808354040283529160200191612dee565b820191906000526020600020905b815481529060010190602001808311612dd157829003601f168201915b5050505050905090565b60606000821415612e40576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f54565b600082905060005b60008214612e72578080612e5b90614311565b915050600a82612e6b91906141b3565b9150612e48565b60008167ffffffffffffffff811115612e8e57612e8d613b50565b5b6040519080825280601f01601f191660200182016040528015612ec05781602001600182028036833780820191505090505b5090505b60008514612f4d57600182612ed99190614bca565b9150600a85612ee89190614d2c565b6030612ef49190614bfe565b60f81b818381518110612f0a57612f096142e2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f4691906141b3565b9450612ec4565b8093505050505b919050565b600084848484604051602001612f729493929190615031565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001612faa9291906150b8565b60405160208183030381529060405280519060200120905092915050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561303d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303490615130565b60405180910390fd5b61304681611e47565b15613086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307d9061519c565b60405180910390fd5b61309260008383612a55565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e29190614bfe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606131bd84846000856131c6565b90509392505050565b60608247101561320b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132029061522e565b60405180910390fd5b6132148561319b565b613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a9061529a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161327c91906152f6565b60006040518083038185875af1925050503d80600081146132b9576040519150601f19603f3d011682016040523d82523d6000602084013e6132be565b606091505b50915091506132ce8282866132da565b92505050949350505050565b606083156132ea5782905061333a565b6000835111156132fd5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613331919061360b565b60405180910390fd5b9392505050565b82805461334d90613e81565b90600052602060002090601f01602090048101928261336f57600085556133b6565b82601f1061338857803560ff19168380011785556133b6565b828001600101855582156133b6579182015b828111156133b557823582559160200191906001019061339a565b5b5090506133c391906133c7565b5090565b5b808211156133e05760008160009055506001016133c8565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613423826133f8565b9050919050565b61343381613418565b811461343e57600080fd5b50565b6000813590506134508161342a565b92915050565b60006020828403121561346c5761346b6133ee565b5b600061347a84828501613441565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134b881613483565b81146134c357600080fd5b50565b6000813590506134d5816134af565b92915050565b6000602082840312156134f1576134f06133ee565b5b60006134ff848285016134c6565b91505092915050565b60008115159050919050565b61351d81613508565b82525050565b60006020820190506135386000830184613514565b92915050565b6000819050919050565b6135518161353e565b82525050565b600060208201905061356c6000830184613548565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135ac578082015181840152602081019050613591565b838111156135bb576000848401525b50505050565b6000601f19601f8301169050919050565b60006135dd82613572565b6135e7818561357d565b93506135f781856020860161358e565b613600816135c1565b840191505092915050565b6000602082019050818103600083015261362581846135d2565b905092915050565b6136368161353e565b811461364157600080fd5b50565b6000813590506136538161362d565b92915050565b60006020828403121561366f5761366e6133ee565b5b600061367d84828501613644565b91505092915050565b6000613691826133f8565b9050919050565b6136a181613686565b82525050565b60006020820190506136bc6000830184613698565b92915050565b6136cb81613686565b81146136d657600080fd5b50565b6000813590506136e8816136c2565b92915050565b60008060408385031215613705576137046133ee565b5b6000613713858286016136d9565b925050602061372485828601613644565b9150509250929050565b600080600060608486031215613747576137466133ee565b5b6000613755868287016136d9565b9350506020613766868287016136d9565b925050604061377786828701613644565b9150509250925092565b60008060408385031215613798576137976133ee565b5b60006137a685828601613644565b92505060206137b785828601613644565b9150509250929050565b60006040820190506137d66000830185613698565b6137e36020830184613548565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261380f5761380e6137ea565b5b8235905067ffffffffffffffff81111561382c5761382b6137ef565b5b602083019150836020820283011115613848576138476137f4565b5b9250929050565b60008083601f840112613865576138646137ea565b5b8235905067ffffffffffffffff811115613882576138816137ef565b5b60208301915083602082028301111561389e5761389d6137f4565b5b9250929050565b600080600080600080606087890312156138c2576138c16133ee565b5b600087013567ffffffffffffffff8111156138e0576138df6133f3565b5b6138ec89828a016137f9565b9650965050602087013567ffffffffffffffff81111561390f5761390e6133f3565b5b61391b89828a0161384f565b9450945050604087013567ffffffffffffffff81111561393e5761393d6133f3565b5b61394a89828a016137f9565b92509250509295509295509295565b60006020828403121561396f5761396e6133ee565b5b600061397d848285016136d9565b91505092915050565b60008083601f84011261399c5761399b6137ea565b5b8235905067ffffffffffffffff8111156139b9576139b86137ef565b5b6020830191508360018202830111156139d5576139d46137f4565b5b9250929050565b600080602083850312156139f3576139f26133ee565b5b600083013567ffffffffffffffff811115613a1157613a106133f3565b5b613a1d85828601613986565b92509250509250929050565b6000819050919050565b613a3c81613a29565b8114613a4757600080fd5b50565b600081359050613a5981613a33565b92915050565b60008060408385031215613a7657613a756133ee565b5b6000613a8485828601613a4a565b9250506020613a9585828601613644565b9150509250929050565b60008060408385031215613ab657613ab56133ee565b5b6000613ac485828601613644565b9250506020613ad5858286016136d9565b9150509250929050565b613ae881613508565b8114613af357600080fd5b50565b600081359050613b0581613adf565b92915050565b60008060408385031215613b2257613b216133ee565b5b6000613b30858286016136d9565b9250506020613b4185828601613af6565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b88826135c1565b810181811067ffffffffffffffff82111715613ba757613ba6613b50565b5b80604052505050565b6000613bba6133e4565b9050613bc68282613b7f565b919050565b600067ffffffffffffffff821115613be657613be5613b50565b5b613bef826135c1565b9050602081019050919050565b82818337600083830152505050565b6000613c1e613c1984613bcb565b613bb0565b905082815260208101848484011115613c3a57613c39613b4b565b5b613c45848285613bfc565b509392505050565b600082601f830112613c6257613c616137ea565b5b8135613c72848260208601613c0b565b91505092915050565b60008060008060808587031215613c9557613c946133ee565b5b6000613ca3878288016136d9565b9450506020613cb4878288016136d9565b9350506040613cc587828801613644565b925050606085013567ffffffffffffffff811115613ce657613ce56133f3565b5b613cf287828801613c4d565b91505092959194509250565b6000613d0982613686565b9050919050565b613d1981613cfe565b8114613d2457600080fd5b50565b600081359050613d3681613d10565b92915050565b60008060408385031215613d5357613d526133ee565b5b6000613d6185828601613d27565b9250506020613d7285828601613644565b9150509250929050565b613d8581613a29565b82525050565b6000602082019050613da06000830184613d7c565b92915050565b60008060408385031215613dbd57613dbc6133ee565b5b6000613dcb858286016136d9565b9250506020613ddc858286016136d9565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e1c60208361357d565b9150613e2782613de6565b602082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e9957607f821691505b60208210811415613ead57613eac613e52565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f0f602c8361357d565b9150613f1a82613eb3565b604082019050919050565b60006020820190508181036000830152613f3e81613f02565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fa160218361357d565b9150613fac82613f45565b604082019050919050565b60006020820190508181036000830152613fd081613f94565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061403360388361357d565b915061403e82613fd7565b604082019050919050565b6000602082019050818103600083015261406281614026565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006140c560318361357d565b91506140d082614069565b604082019050919050565b600060208201905081810360008301526140f4816140b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141358261353e565b91506141408361353e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614179576141786140fb565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141be8261353e565b91506141c98361353e565b9250826141d9576141d8614184565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061424060308361357d565b915061424b826141e4565b604082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f496e707574206172726179206c656e67746873206e6f7420657175616c000000600082015250565b60006142ac601d8361357d565b91506142b782614276565b602082019050919050565b600060208201905081810360008301526142db8161429f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061431c8261353e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561434f5761434e6140fb565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143b660298361357d565b91506143c18261435a565b604082019050919050565b600060208201905081810360008301526143e5816143a9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614448602a8361357d565b9150614453826143ec565b604082019050919050565b600060208201905081810360008301526144778161443b565b9050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b60006144b4601f8361357d565b91506144bf8261447e565b602082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b600061454660258361357d565b9150614551826144ea565b604082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f4d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b60006145b260118361357d565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b7f4d617820737570706c7920666f72206272656564206d696e7465640000000000600082015250565b600061461e601b8361357d565b9150614629826145e8565b602082019050919050565b6000602082019050818103600083015261464d81614611565b9050919050565b7f466972737420626174636820666f7220646576656c6f70657200000000000000600082015250565b600061468a60198361357d565b915061469582614654565b602082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b7f6272656564496e646578206f7574206f6620626f756e64730000000000000000600082015250565b60006146f660188361357d565b9150614701826146c0565b602082019050919050565b60006020820190508181036000830152614725816146e9565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061476260198361357d565b915061476d8261472c565b602082019050919050565b6000602082019050818103600083015261479181614755565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147f4602f8361357d565b91506147ff82614798565b604082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b600081905092915050565b600061484082613572565b61484a818561482a565b935061485a81856020860161358e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061489c60058361482a565b91506148a782614866565b600582019050919050565b60006148be8284614835565b91506148c98261488f565b915081905092915050565b6000815190506148e38161362d565b92915050565b6000602082840312156148ff576148fe6133ee565b5b600061490d848285016148d4565b91505092915050565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b600061494c600f8361357d565b915061495782614916565b602082019050919050565b6000602082019050818103600083015261497b8161493f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149de60268361357d565b91506149e982614982565b604082019050919050565b60006020820190508181036000830152614a0d816149d1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a70602c8361357d565b9150614a7b82614a14565b604082019050919050565b60006020820190508181036000830152614a9f81614a63565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614b0260298361357d565b9150614b0d82614aa6565b604082019050919050565b60006020820190508181036000830152614b3181614af5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b9460248361357d565b9150614b9f82614b38565b604082019050919050565b60006020820190508181036000830152614bc381614b87565b9050919050565b6000614bd58261353e565b9150614be08361353e565b925082821015614bf357614bf26140fb565b5b828203905092915050565b6000614c098261353e565b9150614c148361353e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4957614c486140fb565b5b828201905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614c8a60148361357d565b9150614c9582614c54565b602082019050919050565b60006020820190508181036000830152614cb981614c7d565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614cf660108361357d565b9150614d0182614cc0565b602082019050919050565b60006020820190508181036000830152614d2581614ce9565b9050919050565b6000614d378261353e565b9150614d428361353e565b925082614d5257614d51614184565b5b828206905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614db960328361357d565b9150614dc482614d5d565b604082019050919050565b60006020820190508181036000830152614de881614dac565b9050919050565b6000614dfb8285614835565b9150614e078284614835565b91508190509392505050565b6000604082019050614e286000830185613d7c565b614e356020830184613548565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000614e6382614e3c565b614e6d8185614e47565b9350614e7d81856020860161358e565b614e86816135c1565b840191505092915050565b6000606082019050614ea66000830186613698565b614eb36020830185613548565b8181036040830152614ec58184614e58565b9050949350505050565b600081519050614ede81613adf565b92915050565b600060208284031215614efa57614ef96133ee565b5b6000614f0884828501614ecf565b91505092915050565b6000608082019050614f266000830187613698565b614f336020830186613698565b614f406040830185613548565b8181036060830152614f528184614e58565b905095945050505050565b600081519050614f6c816134af565b92915050565b600060208284031215614f8857614f876133ee565b5b6000614f9684828501614f5d565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614ffb602a8361357d565b915061500682614f9f565b604082019050919050565b6000602082019050818103600083015261502a81614fee565b9050919050565b60006080820190506150466000830187613d7c565b6150536020830186613548565b6150606040830185613698565b61506d6060830184613548565b95945050505050565b6000819050919050565b61509161508c82613a29565b615076565b82525050565b6000819050919050565b6150b26150ad8261353e565b615097565b82525050565b60006150c48285615080565b6020820191506150d482846150a1565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061511a60208361357d565b9150615125826150e4565b602082019050919050565b600060208201905081810360008301526151498161510d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615186601c8361357d565b915061519182615150565b602082019050919050565b600060208201905081810360008301526151b581615179565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061521860268361357d565b9150615223826151bc565b604082019050919050565b600060208201905081810360008301526152478161520b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615284601d8361357d565b915061528f8261524e565b602082019050919050565b600060208201905081810360008301526152b381615277565b9050919050565b600081905092915050565b60006152d082614e3c565b6152da81856152ba565b93506152ea81856020860161358e565b80840191505092915050565b600061530282846152c5565b91508190509291505056fea2646970667358221220cfe827cab2a363257b3602606739943a21cfd6085a56d1a0fec944dc4fcdda4a64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000006ecd8aadecedd8cf850789908ddab3a11e5a537100000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002e0aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f4556714434593551516f677356625a4261575a4c495a61516759756c4c69576e744b6d6a47624a6e6355632f000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f6d4e357344537a706e5a507268785141422d306a3767732d71737366694f57594b554e33387a3044414430000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023c5760003560e01c8063715018a61161013b578063b88d4fde116100b8578063dbdff2c11161007c578063dbdff2c114610668578063e042e98c14610686578063e8a3d485146106a2578063e985e9c5146106c0578063f2fde38b146106f05761023c565b8063b88d4fde146105c4578063bcba6939146105e0578063c87b56dd146105fc578063caccd7f71461062c578063d5abeb011461064a5761023c565b806394bf804d116100ff57806394bf804d1461052057806395d89b411461053c578063a171edac1461055a578063a22cb4651461058a578063aaae7b86146105a65761023c565b8063715018a6146104b65780638456cb59146104c05780638da5cb5b146104ca578063938e3d7b146104e857806394985ddd146105045761023c565b80632a55205a116101c95780635c975abb1161018d5780635c975abb146103fe5780635ce681b21461041c57806362feff3a146104385780636352211e1461045657806370a08231146104865761023c565b80632a55205a1461036d5780633f4ba83a1461039e57806342842e0e146103a857806342966c68146103c45780634cd4cd20146103e05761023c565b806306fdde031161021057806306fdde03146102c9578063081812fc146102e7578063095ea7b314610317578063160954d81461033357806323b872dd146103515761023c565b80629ee39c1461024157806301ffc9a71461025d57806302350cec1461028d57806304abee9e146102ab575b600080fd5b61025b60048036038101906102569190613456565b61070c565b005b610277600480360381019061027291906134db565b6107cc565b6040516102849190613523565b60405180910390f35b61029561082d565b6040516102a29190613523565b60405180910390f35b6102b3610844565b6040516102c09190613557565b60405180910390f35b6102d1610868565b6040516102de919061360b565b60405180910390f35b61030160048036038101906102fc9190613659565b6108fa565b60405161030e91906136a7565b60405180910390f35b610331600480360381019061032c91906136ee565b61097f565b005b61033b610a97565b6040516103489190613557565b60405180910390f35b61036b6004803603810190610366919061372e565b610aa8565b005b61038760048036038101906103829190613781565b610b08565b6040516103959291906137c1565b60405180910390f35b6103a6610b5a565b005b6103c260048036038101906103bd919061372e565b610be0565b005b6103de60048036038101906103d99190613659565b610c00565b005b6103e8610c5c565b6040516103f59190613557565b60405180910390f35b610406610c80565b6040516104139190613523565b60405180910390f35b610436600480360381019061043191906138a5565b610c97565b005b610440610e18565b60405161044d9190613557565b60405180910390f35b610470600480360381019061046b9190613659565b610e3c565b60405161047d91906136a7565b60405180910390f35b6104a0600480360381019061049b9190613959565b610eee565b6040516104ad9190613557565b60405180910390f35b6104be610fa6565b005b6104c861102e565b005b6104d26110b4565b6040516104df91906136a7565b60405180910390f35b61050260048036038101906104fd91906139dc565b6110de565b005b61051e60048036038101906105199190613a5f565b611170565b005b61053a60048036038101906105359190613a9f565b61120c565b005b6105446114a9565b604051610551919061360b565b60405180910390f35b610574600480360381019061056f9190613659565b61153b565b6040516105819190613557565b60405180910390f35b6105a4600480360381019061059f9190613b0b565b6115c1565b005b6105ae611742565b6040516105bb9190613557565b60405180910390f35b6105de60048036038101906105d99190613c7b565b61174c565b005b6105fa60048036038101906105f59190613d3c565b6117ae565b005b61061660048036038101906106119190613659565b611860565b604051610623919061360b565b60405180910390f35b6106346118d9565b60405161064191906136a7565b60405180910390f35b6106526118fd565b60405161065f9190613557565b60405180910390f35b610670611921565b60405161067d9190613d8b565b60405180910390f35b6106a0600480360381019061069b9190613659565b611ab9565b005b6106aa611b3f565b6040516106b7919061360b565b60405180910390f35b6106da60048036038101906106d59190613da6565b611bd1565b6040516106e79190613523565b60405180910390f35b61070a60048036038101906107059190613959565b611c65565b005b610714611d5d565b73ffffffffffffffffffffffffffffffffffffffff166107326110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077f90613e32565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610826575061082582611d65565b5b9050919050565b6000600d60009054906101000a900460ff16905090565b7f000000000000000000000000000000000000000000000000000000000000000681565b60606000805461087790613e81565b80601f01602080910402602001604051908101604052809291908181526020018280546108a390613e81565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b600061090582611e47565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90613f25565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098a82610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613fb7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1a611d5d565b73ffffffffffffffffffffffffffffffffffffffff161480610a495750610a4881610a43611d5d565b611bd1565b5b610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90614049565b60405180910390fd5b610a928383611eb3565b505050565b6000610aa36008611f6c565b905090565b610ab9610ab3611d5d565b82611f7a565b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef906140db565b60405180910390fd5b610b03838383612058565b505050565b6000806000612710600e5485610b1e919061412a565b610b2891906141b3565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610b62611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610b806110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcd90613e32565b60405180910390fd5b610bde6122b4565b565b610bfb8383836040518060200160405280600081525061174c565b505050565b610c11610c0b611d5d565b82611f7a565b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790614256565b60405180910390fd5b610c5981612356565b50565b7f00000000000000000000000000000000000000000000000000000000000005dc81565b6000600660009054906101000a900460ff16905090565b610c9f611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610cbd6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a90613e32565b60405180910390fd5b8383905086869050148015610d2d57508181905084849050145b610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906142c2565b60405180910390fd5b60005b84849050811015610e0f5760005b838383818110610d9057610d8f6142e2565b5b90506020020135811015610dfb57610de8888884818110610db457610db36142e2565b5b90506020020135878785818110610dce57610dcd6142e2565b5b9050602002016020810190610de39190613959565b61120c565b8080610df390614311565b915050610d7d565b508080610e0790614311565b915050610d6f565b50505050505050565b7f00000000000000000000000000000000000000000000000000000000000000b481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906143cc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f569061445e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610fae611d5d565b73ffffffffffffffffffffffffffffffffffffffff16610fcc6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990613e32565b60405180910390fd5b61102c6000612467565b565b611036611d5d565b73ffffffffffffffffffffffffffffffffffffffff166110546110b4565b73ffffffffffffffffffffffffffffffffffffffff16146110aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a190613e32565b60405180910390fd5b6110b261252d565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6110e6611d5d565b73ffffffffffffffffffffffffffffffffffffffff166111046110b4565b73ffffffffffffffffffffffffffffffffffffffff161461115a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115190613e32565b60405180910390fd5b8181600b919061116b929190613341565b505050565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f5906144ca565b60405180910390fd5b61120882826125d0565b5050565b611214611d5d565b73ffffffffffffffffffffffffffffffffffffffff166112326110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613e32565b60405180910390fd5b600d60009054906101000a900460ff166112d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ce9061455c565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000002328611300610a97565b10611340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611337906145c8565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000005dc61136a8361153b565b106113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190614634565b60405180910390fd5b60006113b583612647565b90507f00000000000000000000000000000000000000000000000000000000000000b46113e0610a97565b1015611475577f000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b906146a0565b60405180910390fd5b5b61147f82826126cc565b61149a600960008581526020019081526020016000206126ea565b6114a460086126ea565b505050565b6060600180546114b890613e81565b80601f01602080910402602001604051908101604052809291908181526020018280546114e490613e81565b80156115315780601f1061150657610100808354040283529160200191611531565b820191906000526020600020905b81548152906001019060200180831161151457829003601f168201915b5050505050905090565b60007f0000000000000000000000000000000000000000000000000000000000000006821061159f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115969061470c565b60405180910390fd5b6115ba60096000848152602001908152602001600020611f6c565b9050919050565b6115c9611d5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e90614778565b60405180910390fd5b8060056000611644611d5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116f1611d5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117369190613523565b60405180910390a35050565b6000600c54905090565b61175d611757611d5d565b83611f7a565b61179c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611793906140db565b60405180910390fd5b6117a884848484612700565b50505050565b6117b6611d5d565b73ffffffffffffffffffffffffffffffffffffffff166117d46110b4565b73ffffffffffffffffffffffffffffffffffffffff161461182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190613e32565b60405180910390fd5b61185c6118356110b4565b828473ffffffffffffffffffffffffffffffffffffffff1661275c9092919063ffffffff16565b5050565b606061186b82611e47565b6118aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a19061480a565b60405180910390fd5b6118b3826127e2565b6040516020016118c391906148b2565b6040516020818303038152906040529050919050565b7f000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b81565b7f000000000000000000000000000000000000000000000000000000000000232881565b600061192b611d5d565b73ffffffffffffffffffffffffffffffffffffffff166119496110b4565b73ffffffffffffffffffffffffffffffffffffffff161461199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690613e32565b60405180910390fd5b600d60009054906101000a900460ff16156119b957600080fd5b6010547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a1591906136a7565b60206040518083038186803b158015611a2d57600080fd5b505afa158015611a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6591906148e9565b1015611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d90614962565b60405180910390fd5b611ab4600f54601054612889565b905090565b611ac1611d5d565b73ffffffffffffffffffffffffffffffffffffffff16611adf6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90613e32565b60405180910390fd5b80600e8190555050565b6060600b8054611b4e90613e81565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7a90613e81565b8015611bc75780601f10611b9c57610100808354040283529160200191611bc7565b820191906000526020600020905b815481529060010190602001808311611baa57829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c6d611d5d565b73ffffffffffffffffffffffffffffffffffffffff16611c8b6110b4565b73ffffffffffffffffffffffffffffffffffffffff1614611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890613e32565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d48906149f4565b60405180910390fd5b611d5a81612467565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e405750611e3f826129eb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f2683610e3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611f8582611e47565b611fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbb90614a86565b60405180910390fd5b6000611fcf83610e3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203e57508373ffffffffffffffffffffffffffffffffffffffff16612026846108fa565b73ffffffffffffffffffffffffffffffffffffffff16145b8061204f575061204e8185611bd1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661207882610e3c565b73ffffffffffffffffffffffffffffffffffffffff16146120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590614b18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213590614baa565b60405180910390fd5b612149838383612a55565b612154600082611eb3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a49190614bca565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fb9190614bfe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6122bc610c80565b6122fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f290614ca0565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61233f611d5d565b60405161234c91906136a7565b60405180910390a1565b600061236182610e3c565b905061236f81600084612a55565b61237a600083611eb3565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ca9190614bca565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612535610c80565b15612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c90614d0c565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125b9611d5d565b6040516125c691906136a7565b60405180910390a1565b7fe9a9868fdaf3f6179fe8012374366a6b13cc9596ad26ee37a06f12c548d633c3816040516125ff9190613557565b60405180910390a1600d60009054906101000a900460ff161561262157600080fd5b80600c819055506001600d60006101000a81548160ff0219169083151502179055505050565b6000807f00000000000000000000000000000000000000000000000000000000000005dc600c546126778561153b565b6126819190614bfe565b61268b9190614d2c565b905080837f00000000000000000000000000000000000000000000000000000000000005dc6126ba919061412a565b6126c49190614bfe565b915050919050565b6126e6828260405180602001604052806000815250612aad565b5050565b6001816000016000828254019250508190555050565b61270b848484612058565b61271784848484612b08565b612756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274d90614dcf565b60405180910390fd5b50505050565b6127dd8363a9059cbb60e01b848460405160240161277b9291906137c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c9f565b505050565b60606127ed82611e47565b61282c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128239061480a565b60405180910390fd5b6000612836612d66565b905060008151116128565760405180602001604052806000815250612881565b8061286084612df8565b604051602001612871929190614def565b6040516020818303038152906040525b915050919050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016128fd929190614e13565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161292a93929190614e91565b602060405180830381600087803b15801561294457600080fd5b505af1158015612958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297c9190614ee4565b50600061299f846000306007600089815260200190815260200160002054612f59565b9050600160076000868152602001908152602001600020546129c19190614bfe565b60076000868152602001908152602001600020819055506129e28482612f95565b91505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a5d610c80565b15612a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490614d0c565b60405180910390fd5b612aa8838383612fc8565b505050565b612ab78383612fcd565b612ac46000848484612b08565b612b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afa90614dcf565b60405180910390fd5b505050565b6000612b298473ffffffffffffffffffffffffffffffffffffffff1661319b565b15612c92578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b52611d5d565b8786866040518563ffffffff1660e01b8152600401612b749493929190614f11565b602060405180830381600087803b158015612b8e57600080fd5b505af1925050508015612bbf57506040513d601f19601f82011682018060405250810190612bbc9190614f72565b60015b612c42573d8060008114612bef576040519150601f19603f3d011682016040523d82523d6000602084013e612bf4565b606091505b50600081511415612c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3190614dcf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c97565b600190505b949350505050565b6000612d01826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131ae9092919063ffffffff16565b9050600081511115612d615780806020019051810190612d219190614ee4565b612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5790615011565b60405180910390fd5b5b505050565b6060600a8054612d7590613e81565b80601f0160208091040260200160405190810160405280929190818152602001828054612da190613e81565b8015612dee5780601f10612dc357610100808354040283529160200191612dee565b820191906000526020600020905b815481529060010190602001808311612dd157829003601f168201915b5050505050905090565b60606000821415612e40576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f54565b600082905060005b60008214612e72578080612e5b90614311565b915050600a82612e6b91906141b3565b9150612e48565b60008167ffffffffffffffff811115612e8e57612e8d613b50565b5b6040519080825280601f01601f191660200182016040528015612ec05781602001600182028036833780820191505090505b5090505b60008514612f4d57600182612ed99190614bca565b9150600a85612ee89190614d2c565b6030612ef49190614bfe565b60f81b818381518110612f0a57612f096142e2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f4691906141b3565b9450612ec4565b8093505050505b919050565b600084848484604051602001612f729493929190615031565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001612faa9291906150b8565b60405160208183030381529060405280519060200120905092915050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561303d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303490615130565b60405180910390fd5b61304681611e47565b15613086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307d9061519c565b60405180910390fd5b61309260008383612a55565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130e29190614bfe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606131bd84846000856131c6565b90509392505050565b60608247101561320b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132029061522e565b60405180910390fd5b6132148561319b565b613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a9061529a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161327c91906152f6565b60006040518083038185875af1925050503d80600081146132b9576040519150601f19603f3d011682016040523d82523d6000602084013e6132be565b606091505b50915091506132ce8282866132da565b92505050949350505050565b606083156132ea5782905061333a565b6000835111156132fd5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613331919061360b565b60405180910390fd5b9392505050565b82805461334d90613e81565b90600052602060002090601f01602090048101928261336f57600085556133b6565b82601f1061338857803560ff19168380011785556133b6565b828001600101855582156133b6579182015b828111156133b557823582559160200191906001019061339a565b5b5090506133c391906133c7565b5090565b5b808211156133e05760008160009055506001016133c8565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613423826133f8565b9050919050565b61343381613418565b811461343e57600080fd5b50565b6000813590506134508161342a565b92915050565b60006020828403121561346c5761346b6133ee565b5b600061347a84828501613441565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134b881613483565b81146134c357600080fd5b50565b6000813590506134d5816134af565b92915050565b6000602082840312156134f1576134f06133ee565b5b60006134ff848285016134c6565b91505092915050565b60008115159050919050565b61351d81613508565b82525050565b60006020820190506135386000830184613514565b92915050565b6000819050919050565b6135518161353e565b82525050565b600060208201905061356c6000830184613548565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135ac578082015181840152602081019050613591565b838111156135bb576000848401525b50505050565b6000601f19601f8301169050919050565b60006135dd82613572565b6135e7818561357d565b93506135f781856020860161358e565b613600816135c1565b840191505092915050565b6000602082019050818103600083015261362581846135d2565b905092915050565b6136368161353e565b811461364157600080fd5b50565b6000813590506136538161362d565b92915050565b60006020828403121561366f5761366e6133ee565b5b600061367d84828501613644565b91505092915050565b6000613691826133f8565b9050919050565b6136a181613686565b82525050565b60006020820190506136bc6000830184613698565b92915050565b6136cb81613686565b81146136d657600080fd5b50565b6000813590506136e8816136c2565b92915050565b60008060408385031215613705576137046133ee565b5b6000613713858286016136d9565b925050602061372485828601613644565b9150509250929050565b600080600060608486031215613747576137466133ee565b5b6000613755868287016136d9565b9350506020613766868287016136d9565b925050604061377786828701613644565b9150509250925092565b60008060408385031215613798576137976133ee565b5b60006137a685828601613644565b92505060206137b785828601613644565b9150509250929050565b60006040820190506137d66000830185613698565b6137e36020830184613548565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261380f5761380e6137ea565b5b8235905067ffffffffffffffff81111561382c5761382b6137ef565b5b602083019150836020820283011115613848576138476137f4565b5b9250929050565b60008083601f840112613865576138646137ea565b5b8235905067ffffffffffffffff811115613882576138816137ef565b5b60208301915083602082028301111561389e5761389d6137f4565b5b9250929050565b600080600080600080606087890312156138c2576138c16133ee565b5b600087013567ffffffffffffffff8111156138e0576138df6133f3565b5b6138ec89828a016137f9565b9650965050602087013567ffffffffffffffff81111561390f5761390e6133f3565b5b61391b89828a0161384f565b9450945050604087013567ffffffffffffffff81111561393e5761393d6133f3565b5b61394a89828a016137f9565b92509250509295509295509295565b60006020828403121561396f5761396e6133ee565b5b600061397d848285016136d9565b91505092915050565b60008083601f84011261399c5761399b6137ea565b5b8235905067ffffffffffffffff8111156139b9576139b86137ef565b5b6020830191508360018202830111156139d5576139d46137f4565b5b9250929050565b600080602083850312156139f3576139f26133ee565b5b600083013567ffffffffffffffff811115613a1157613a106133f3565b5b613a1d85828601613986565b92509250509250929050565b6000819050919050565b613a3c81613a29565b8114613a4757600080fd5b50565b600081359050613a5981613a33565b92915050565b60008060408385031215613a7657613a756133ee565b5b6000613a8485828601613a4a565b9250506020613a9585828601613644565b9150509250929050565b60008060408385031215613ab657613ab56133ee565b5b6000613ac485828601613644565b9250506020613ad5858286016136d9565b9150509250929050565b613ae881613508565b8114613af357600080fd5b50565b600081359050613b0581613adf565b92915050565b60008060408385031215613b2257613b216133ee565b5b6000613b30858286016136d9565b9250506020613b4185828601613af6565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b88826135c1565b810181811067ffffffffffffffff82111715613ba757613ba6613b50565b5b80604052505050565b6000613bba6133e4565b9050613bc68282613b7f565b919050565b600067ffffffffffffffff821115613be657613be5613b50565b5b613bef826135c1565b9050602081019050919050565b82818337600083830152505050565b6000613c1e613c1984613bcb565b613bb0565b905082815260208101848484011115613c3a57613c39613b4b565b5b613c45848285613bfc565b509392505050565b600082601f830112613c6257613c616137ea565b5b8135613c72848260208601613c0b565b91505092915050565b60008060008060808587031215613c9557613c946133ee565b5b6000613ca3878288016136d9565b9450506020613cb4878288016136d9565b9350506040613cc587828801613644565b925050606085013567ffffffffffffffff811115613ce657613ce56133f3565b5b613cf287828801613c4d565b91505092959194509250565b6000613d0982613686565b9050919050565b613d1981613cfe565b8114613d2457600080fd5b50565b600081359050613d3681613d10565b92915050565b60008060408385031215613d5357613d526133ee565b5b6000613d6185828601613d27565b9250506020613d7285828601613644565b9150509250929050565b613d8581613a29565b82525050565b6000602082019050613da06000830184613d7c565b92915050565b60008060408385031215613dbd57613dbc6133ee565b5b6000613dcb858286016136d9565b9250506020613ddc858286016136d9565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e1c60208361357d565b9150613e2782613de6565b602082019050919050565b60006020820190508181036000830152613e4b81613e0f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e9957607f821691505b60208210811415613ead57613eac613e52565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f0f602c8361357d565b9150613f1a82613eb3565b604082019050919050565b60006020820190508181036000830152613f3e81613f02565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fa160218361357d565b9150613fac82613f45565b604082019050919050565b60006020820190508181036000830152613fd081613f94565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061403360388361357d565b915061403e82613fd7565b604082019050919050565b6000602082019050818103600083015261406281614026565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006140c560318361357d565b91506140d082614069565b604082019050919050565b600060208201905081810360008301526140f4816140b8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141358261353e565b91506141408361353e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614179576141786140fb565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141be8261353e565b91506141c98361353e565b9250826141d9576141d8614184565b5b828204905092915050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061424060308361357d565b915061424b826141e4565b604082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f496e707574206172726179206c656e67746873206e6f7420657175616c000000600082015250565b60006142ac601d8361357d565b91506142b782614276565b602082019050919050565b600060208201905081810360008301526142db8161429f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061431c8261353e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561434f5761434e6140fb565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143b660298361357d565b91506143c18261435a565b604082019050919050565b600060208201905081810360008301526143e5816143a9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614448602a8361357d565b9150614453826143ec565b604082019050919050565b600060208201905081810360008301526144778161443b565b9050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b60006144b4601f8361357d565b91506144bf8261447e565b602082019050919050565b600060208201905081810360008301526144e3816144a7565b9050919050565b7f52616e646f6d6e657373206d75737420626520736574206265666f7265206d6960008201527f6e74696e67000000000000000000000000000000000000000000000000000000602082015250565b600061454660258361357d565b9150614551826144ea565b604082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f4d617820737570706c79206d696e746564000000000000000000000000000000600082015250565b60006145b260118361357d565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b7f4d617820737570706c7920666f72206272656564206d696e7465640000000000600082015250565b600061461e601b8361357d565b9150614629826145e8565b602082019050919050565b6000602082019050818103600083015261464d81614611565b9050919050565b7f466972737420626174636820666f7220646576656c6f70657200000000000000600082015250565b600061468a60198361357d565b915061469582614654565b602082019050919050565b600060208201905081810360008301526146b98161467d565b9050919050565b7f6272656564496e646578206f7574206f6620626f756e64730000000000000000600082015250565b60006146f660188361357d565b9150614701826146c0565b602082019050919050565b60006020820190508181036000830152614725816146e9565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061476260198361357d565b915061476d8261472c565b602082019050919050565b6000602082019050818103600083015261479181614755565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147f4602f8361357d565b91506147ff82614798565b604082019050919050565b60006020820190508181036000830152614823816147e7565b9050919050565b600081905092915050565b600061484082613572565b61484a818561482a565b935061485a81856020860161358e565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061489c60058361482a565b91506148a782614866565b600582019050919050565b60006148be8284614835565b91506148c98261488f565b915081905092915050565b6000815190506148e38161362d565b92915050565b6000602082840312156148ff576148fe6133ee565b5b600061490d848285016148d4565b91505092915050565b7f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000600082015250565b600061494c600f8361357d565b915061495782614916565b602082019050919050565b6000602082019050818103600083015261497b8161493f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006149de60268361357d565b91506149e982614982565b604082019050919050565b60006020820190508181036000830152614a0d816149d1565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614a70602c8361357d565b9150614a7b82614a14565b604082019050919050565b60006020820190508181036000830152614a9f81614a63565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614b0260298361357d565b9150614b0d82614aa6565b604082019050919050565b60006020820190508181036000830152614b3181614af5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614b9460248361357d565b9150614b9f82614b38565b604082019050919050565b60006020820190508181036000830152614bc381614b87565b9050919050565b6000614bd58261353e565b9150614be08361353e565b925082821015614bf357614bf26140fb565b5b828203905092915050565b6000614c098261353e565b9150614c148361353e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4957614c486140fb565b5b828201905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614c8a60148361357d565b9150614c9582614c54565b602082019050919050565b60006020820190508181036000830152614cb981614c7d565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614cf660108361357d565b9150614d0182614cc0565b602082019050919050565b60006020820190508181036000830152614d2581614ce9565b9050919050565b6000614d378261353e565b9150614d428361353e565b925082614d5257614d51614184565b5b828206905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614db960328361357d565b9150614dc482614d5d565b604082019050919050565b60006020820190508181036000830152614de881614dac565b9050919050565b6000614dfb8285614835565b9150614e078284614835565b91508190509392505050565b6000604082019050614e286000830185613d7c565b614e356020830184613548565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000614e6382614e3c565b614e6d8185614e47565b9350614e7d81856020860161358e565b614e86816135c1565b840191505092915050565b6000606082019050614ea66000830186613698565b614eb36020830185613548565b8181036040830152614ec58184614e58565b9050949350505050565b600081519050614ede81613adf565b92915050565b600060208284031215614efa57614ef96133ee565b5b6000614f0884828501614ecf565b91505092915050565b6000608082019050614f266000830187613698565b614f336020830186613698565b614f406040830185613548565b8181036060830152614f528184614e58565b905095945050505050565b600081519050614f6c816134af565b92915050565b600060208284031215614f8857614f876133ee565b5b6000614f9684828501614f5d565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614ffb602a8361357d565b915061500682614f9f565b604082019050919050565b6000602082019050818103600083015261502a81614fee565b9050919050565b60006080820190506150466000830187613d7c565b6150536020830186613548565b6150606040830185613698565b61506d6060830184613548565b95945050505050565b6000819050919050565b61509161508c82613a29565b615076565b82525050565b6000819050919050565b6150b26150ad8261353e565b615097565b82525050565b60006150c48285615080565b6020820191506150d482846150a1565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061511a60208361357d565b9150615125826150e4565b602082019050919050565b600060208201905081810360008301526151498161510d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615186601c8361357d565b915061519182615150565b602082019050919050565b600060208201905081810360008301526151b581615179565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061521860268361357d565b9150615223826151bc565b604082019050919050565b600060208201905081810360008301526152478161520b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615284601d8361357d565b915061528f8261524e565b602082019050919050565b600060208201905081810360008301526152b381615277565b9050919050565b600081905092915050565b60006152d082614e3c565b6152da81856152ba565b93506152ea81856020860161358e565b80840191505092915050565b600061530282846152c5565b91508190509291505056fea2646970667358221220cfe827cab2a363257b3602606739943a21cfd6085a56d1a0fec944dc4fcdda4a64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000006ecd8aadecedd8cf850789908ddab3a11e5a537100000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002e0aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000b40000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f4556714434593551516f677356625a4261575a4c495a61516759756c4c69576e744b6d6a47624a6e6355632f000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f6d4e357344537a706e5a507268785141422d306a3767732d71737366694f57594b554e33387a3044414430000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
-----Decoded View---------------
Arg [0] : specialMintAddresses_ (address[]): 0xbb31aC1eca8E6007775DAEF2ACc433EB0f30454B
Arg [1] : specialMintAllocations_ (uint256[]): 180
Arg [2] : numberOfBreeds_ (uint256): 6
Arg [3] : maxSupplyPerBreed_ (uint256): 1500
Arg [4] : royaltyReceipientAddress_ (address): 0x6ECD8AAdeCEdD8cF850789908ddAb3A11E5A5371
Arg [5] : royaltyPercentageBasisPoints_ (uint256): 500
Arg [6] : uris_ (string[]): https://arweave.net/EVqD4Y5QQogsVbZBaWZLIZaQgYulLiWntKmjGbJncUc/,https://arweave.net/mN5sDSzpnZPrhxQAB-0j7gs-qssfiOWYKUN38z0DAD0
Arg [7] : chainlinkAddresses_ (address[]): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952,0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [8] : keyHash_ (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [9] : fee_ (uint256): 2000000000000000000
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [4] : 0000000000000000000000006ecd8aadecedd8cf850789908ddab3a11e5a5371
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [7] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [8] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [9] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [13] : 00000000000000000000000000000000000000000000000000000000000000b4
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [16] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [18] : 68747470733a2f2f617277656176652e6e65742f4556714434593551516f6773
Arg [19] : 56625a4261575a4c495a61516759756c4c69576e744b6d6a47624a6e6355632f
Arg [20] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [21] : 68747470733a2f2f617277656176652e6e65742f6d4e357344537a706e5a5072
Arg [22] : 68785141422d306a3767732d71737366694f57594b554e33387a304441443000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [24] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [25] : 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.