ERC-721
Overview
Max Total Supply
343 AWAKE
Holders
118
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
3 AWAKELoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
AwakenedKingdom
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import './ERC2981Royalties.sol'; import './common/ContextMixin.sol'; import './IGenesisSeedReader.sol'; contract AwakenedKingdom is ERC721Enumerable, ERC2981Royalties, Ownable, Pausable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; address payable private _treasury; address private _champion; uint256 public mintFee; string private _baseMetadataURI; uint256 public maxCount; uint256 public maxCountPerWallet; /// @dev Randomized DNA for every Champion deck mapping(uint256 => bytes32) public genesisSeeds; /// @dev This flag is set to true after all Champion card holders have been given decks in this contract. Must be true to mint bool public isInitialized; /** * @dev When we began this project Moonriver did not have VRF support so we manually set the random value * using the block hash exactly three blocks AFTER a cohort has been incremented. * Random values can only be set for previous cohorts to prevent cheating, even by the dev team */ struct Cohort { uint256[] ids; bytes32 randomHash; uint256 lastBlockNumber; } uint16 public currentCohort = 1; mapping(uint16 => Cohort) public cohorts; mapping(uint256 => uint16) private _nftCohorts; mapping(uint256 => string) private _cohortBaseURIs; event DeckMinted(uint256 indexed id, bytes32 indexed genesisSeed); event CohortNumberIncremented(uint256 indexed cohortNumber); event CohortRandomHashSet(uint256 indexed cohortNumber, bytes32 indexed randomHash); /** * @param treasury_ The address that will receive all funds for resales * @param champions_ The address of the AwakenedChampion * @param maxCount_ Max allowed NFTs * @param maxCountPerWallet_ The address that will receive all funds for resales * @param mintFee_ The amount to mint if you don't have a Mint Pass * @param baseURI_ The Metadata URI where assets are stored * @param royalties value (between 0 and 10000) */ constructor( address payable treasury_, address champions_, uint256 maxCount_, uint256 maxCountPerWallet_, uint256 mintFee_, string memory baseURI_, uint256 royalties ) ERC721('Awakened Deck', 'AWAKE') { _treasury = treasury_; _champion = champions_; mintFee = mintFee_; maxCount = maxCount_; maxCountPerWallet = maxCountPerWallet_; _baseMetadataURI = baseURI_; _setRoyalties(treasury_, royalties); _pause(); } /// @dev Call this before initializing contract to migrate Champions over. Batches are required to avoid out of gas errors. /// @param end - The last ID to mint for a batch. Batches start with the ID from the current totalSupply + 1 to keep the IDs in sync with the Champions function giveDecksToChampions(uint256 end) public { require(!isInitialized, 'AwakenedKingdom: contract has already been initiated'); uint256 startId = _tokenIds.current() + 1; require(end >= startId, 'End must be gt the current supply'); for (uint256 id = startId; id <= end; id++) { address nftOwner = IERC721(_champion).ownerOf(id); _mintDeck(1, nftOwner); bytes32 genSeed = IGenesisSeedReader(_champion).genesisSeeds(id); assert(bytes32(0) != genSeed); genesisSeeds[id] = genSeed; } } function initialize() public onlyOwner { require(_tokenIds.current() == IERC721Enumerable(_champion).totalSupply(), 'Total supply mismatch'); isInitialized = true; if (paused()) { unpause(); } incrementCohort(); } /** * @dev Step One: Increment cohort so new minters go into the next one. * Must increment before you set the genesis seeds of the current cohort to prevent cheating. **/ function incrementCohort() public onlyOwner { Cohort storage cohort = cohorts[currentCohort]; cohort.lastBlockNumber = block.number; currentCohort += 1; emit CohortNumberIncremented(currentCohort); } /** * @dev Step Two: Call this one time for every cohort that is before the current one. * Cannot call it on the current cohort. Cannot call it more than once per cohort. * @param cohortNumber a previous cohort * @param randomHash the blockhash exactly 3 blocks after the cohort's last block number **/ function setCohortRandomValue(uint16 cohortNumber, bytes32 randomHash) public onlyOwner { require(cohortNumber < currentCohort, 'Can only call for a previous cohort'); require(bytes32(0) != randomHash, 'Random hash cannot be 0'); Cohort storage cohort = cohorts[cohortNumber]; require(bytes32(0) == cohort.randomHash, 'AwakenedKingdom: Cohort random value has already been set'); cohort.randomHash = randomHash; emit CohortRandomHashSet(cohortNumber, randomHash); } /** * @dev The ID length for a cohort number **/ function cohortLength(uint16 cohortNumber) public view returns (uint256) { return cohorts[cohortNumber].ids.length; } /** * @param cohortNum - Cohort number * @param index - The index of the ID in a cohort * @return uint **/ function cohortId(uint16 cohortNum, uint256 index) public view returns (uint256) { return cohorts[cohortNum].ids[index]; } /** * @dev Step Three: Generate genesis seeds for ids in each cohort, then manually use Genesis Seeds inside of * rendering engine, upload assets to IPFS, then update the metadata URI **/ function generateGenesisSeeds( uint16 cohortNumber, uint256 start, uint256 end ) public { Cohort storage cohort = cohorts[cohortNumber]; require(end <= cohort.ids.length, 'end must be lte to cohort length'); require( bytes32(0) != cohort.randomHash, 'AwakenedKingdom: Cohort does not have a random value. Call setCohortRandomValue first' ); for (uint256 i = start; i <= end; i++) { uint256 id = cohort.ids[i]; bytes32 seed = _setGenesisSeed(id, cohort.randomHash); emit DeckMinted(id, seed); } } /** * @param count How many NFT decks you would like to mint? **/ function mintDeck(uint256 count) public payable whenNotPaused returns (bool) { require(isInitialized, 'Contract must first be initialized'); require(msg.value == mintFee * count, 'AwakenedKingdom: Incorrect amount'); require(balanceOf(msg.sender) <= maxCountPerWallet, 'Above the max mint limit'); require(_tokenIds.current() + count <= maxCount, 'AwakenedKingdom: Max mint count reached'); _treasury.transfer(msg.value); _mintDeck(count, msg.sender); return true; } function canMint() external view returns (bool) { return !paused() && isInitialized; } function _setGenesisSeed(uint256 id, bytes32 randomValue) private returns (bytes32) { require(bytes32(0) == genesisSeeds[id], 'ID already has a Genesis Seed'); bytes32 seed = keccak256(abi.encodePacked(randomValue, id)); genesisSeeds[id] = seed; return seed; } function _mintDeck(uint256 count, address recipient) private returns (bool) { Cohort storage cohort = cohorts[currentCohort]; for (uint256 i; i < count; i++) { _tokenIds.increment(); uint256 nextId = _tokenIds.current(); _safeMint(recipient, nextId); _nftCohorts[nextId] = currentCohort; cohort.ids.push(nextId); } return true; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, ERC2981Base) returns (bool) { return super.supportsInterface(interfaceId); } function setBaseURI(string memory newBaseURI, uint256 cohortId_) public onlyOwner { _cohortBaseURIs[cohortId_] = newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'AwakenedKingdom: URI query for nonexistent token'); uint256 nftCohort = _nftCohorts[tokenId]; string memory baseURI = _cohortBaseURIs[nftCohort]; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import './ERC2981Base.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens abstract contract ERC2981Royalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, 'ERC2981Royalties: Too high'); _royalties = RoyaltyInfo(recipient, uint24(value)); } /// @inheritdoc IERC2981Royalties function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IGenesisSeedReader { function genesisSeeds(uint256 id) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import './IERC2981Royalties.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"treasury_","type":"address"},{"internalType":"address","name":"champions_","type":"address"},{"internalType":"uint256","name":"maxCount_","type":"uint256"},{"internalType":"uint256","name":"maxCountPerWallet_","type":"uint256"},{"internalType":"uint256","name":"mintFee_","type":"uint256"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"royalties","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":"uint256","name":"cohortNumber","type":"uint256"}],"name":"CohortNumberIncremented","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"cohortNumber","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"randomHash","type":"bytes32"}],"name":"CohortRandomHashSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"genesisSeed","type":"bytes32"}],"name":"DeckMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"cohortNum","type":"uint16"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"cohortId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"cohortNumber","type":"uint16"}],"name":"cohortLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"cohorts","outputs":[{"internalType":"bytes32","name":"randomHash","type":"bytes32"},{"internalType":"uint256","name":"lastBlockNumber","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCohort","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"cohortNumber","type":"uint16"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"generateGenesisSeeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"genesisSeeds","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"end","type":"uint256"}],"name":"giveDecksToChampions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incrementCohort","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintDeck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","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":"newBaseURI","type":"string"},{"internalType":"uint256","name":"cohortId_","type":"uint256"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"cohortNumber","type":"uint16"},{"internalType":"bytes32","name":"randomHash","type":"bytes32"}],"name":"setCohortRandomValue","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001601460016101000a81548161ffff021916908361ffff1602179055503480156200002f57600080fd5b506040516200621f3803806200621f833981810160405281019062000055919062000600565b6040518060400160405280600d81526020017f4177616b656e6564204465636b000000000000000000000000000000000000008152506040518060400160405280600581526020017f4157414b450000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d992919062000499565b508060019080519060200190620000f292919062000499565b50505062000115620001096200020f60201b60201c565b6200021760201b60201c565b6000600b60146101000a81548160ff02191690831515021790555086600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600f8190555084601181905550836012819055508160109080519060200190620001df92919062000499565b50620001f28782620002dd60201b60201c565b62000202620003ca60201b60201c565b50505050505050620009f9565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61271081111562000325576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031c9062000742565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b620003da6200048260201b60201c565b156200041d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004149062000764565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620004696200020f60201b60201c565b60405162000478919062000725565b60405180910390a1565b6000600b60149054906101000a900460ff16905090565b828054620004a7906200087e565b90600052602060002090601f016020900481019282620004cb576000855562000517565b82601f10620004e657805160ff191683800117855562000517565b8280016001018555821562000517579182015b8281111562000516578251825591602001919060010190620004f9565b5b5090506200052691906200052a565b5090565b5b80821115620005455760008160009055506001016200052b565b5090565b6000620005606200055a84620007af565b62000786565b9050828152602081018484840111156200057957600080fd5b6200058684828562000848565b509392505050565b6000815190506200059f81620009ab565b92915050565b600081519050620005b681620009c5565b92915050565b600082601f830112620005ce57600080fd5b8151620005e084826020860162000549565b91505092915050565b600081519050620005fa81620009df565b92915050565b600080600080600080600060e0888a0312156200061c57600080fd5b60006200062c8a828b01620005a5565b97505060206200063f8a828b016200058e565b9650506040620006528a828b01620005e9565b9550506060620006658a828b01620005e9565b9450506080620006788a828b01620005e9565b93505060a088015167ffffffffffffffff8111156200069657600080fd5b620006a48a828b01620005bc565b92505060c0620006b78a828b01620005e9565b91505092959891949750929550565b620006d181620007f6565b82525050565b6000620006e6601a83620007e5565b9150620006f38262000959565b602082019050919050565b60006200070d601083620007e5565b91506200071a8262000982565b602082019050919050565b60006020820190506200073c6000830184620006c6565b92915050565b600060208201905081810360008301526200075d81620006d7565b9050919050565b600060208201905081810360008301526200077f81620006fe565b9050919050565b600062000792620007a5565b9050620007a08282620008b4565b919050565b6000604051905090565b600067ffffffffffffffff821115620007cd57620007cc62000919565b5b620007d88262000948565b9050602081019050919050565b600082825260208201905092915050565b600062000803826200081e565b9050919050565b600062000817826200081e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620008685780820151818401526020810190506200084b565b8381111562000878576000848401525b50505050565b600060028204905060018216806200089757607f821691505b60208210811415620008ae57620008ad620008ea565b5b50919050565b620008bf8262000948565b810181811067ffffffffffffffff82111715620008e157620008e062000919565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b620009b681620007f6565b8114620009c257600080fd5b50565b620009d0816200080a565b8114620009dc57600080fd5b50565b620009ea816200083e565b8114620009f657600080fd5b50565b6158168062000a096000396000f3fe60806040526004361061023a5760003560e01c8063715018a61161012e578063b297d811116100ab578063e7a0edad1161006f578063e7a0edad14610874578063e985e9c5146108b1578063ee28b4a0146108ee578063f2fde38b1461091e578063fe313518146109475761023a565b8063b297d8111461077b578063b88d4fde146107b8578063beb9716d146107e1578063c87b56dd1461080c578063e0f9c970146108495761023a565b8063936b4d01116100f2578063936b4d011461069557806395d89b41146106d35780639ef2d87a146106fe578063a22cb46514610729578063adfa8daa146107525761023a565b8063715018a6146105fc5780638129fc1c146106135780638456cb591461062a57806388840918146106415780638da5cb5b1461066a5761023a565b80632a55205a116101bc57806342842e0e1161018057806342842e0e146104f15780634f6ccce71461051a5780635c975abb146105575780636352211e1461058257806370a08231146105bf5761023a565b80632a55205a1461041d5780632f745c591461045b578063392e53cd146104985780633ac151c0146104c35780633f4ba83a146104da5761023a565b8063095ea7b311610203578063095ea7b314610338578063116453131461036157806313966db51461039e57806318160ddd146103c957806323b872dd146103f45761023a565b80629f25ff1461023f57806301ffc9a71461026857806303a02818146102a557806306fdde03146102d0578063081812fc146102fb575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613cd8565b610970565b005b34801561027457600080fd5b5061028f600480360381019061028a9190613c86565b610a18565b60405161029c9190614529565b60405180910390f35b3480156102b157600080fd5b506102ba610a2a565b6040516102c791906149e5565b60405180910390f35b3480156102dc57600080fd5b506102e5610a30565b6040516102f29190614588565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613e1c565b610ac2565b60405161032f9190614499565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613c21565b610b47565b005b34801561036d57600080fd5b5061038860048036038101906103839190613e1c565b610c5f565b6040516103959190614544565b60405180910390f35b3480156103aa57600080fd5b506103b3610c77565b6040516103c091906149e5565b60405180910390f35b3480156103d557600080fd5b506103de610c7d565b6040516103eb91906149e5565b60405180910390f35b34801561040057600080fd5b5061041b60048036038101906104169190613b1b565b610c8a565b005b34801561042957600080fd5b50610444600480360381019061043f9190613e6e565b610cea565b604051610452929190614500565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190613c21565b610daa565b60405161048f91906149e5565b60405180910390f35b3480156104a457600080fd5b506104ad610e4f565b6040516104ba9190614529565b60405180910390f35b3480156104cf57600080fd5b506104d8610e62565b005b3480156104e657600080fd5b506104ef610f94565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613b1b565b61101a565b005b34801561052657600080fd5b50610541600480360381019061053c9190613e1c565b61103a565b60405161054e91906149e5565b60405180910390f35b34801561056357600080fd5b5061056c6110d1565b6040516105799190614529565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a49190613e1c565b6110e8565b6040516105b69190614499565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190613a8d565b61119a565b6040516105f391906149e5565b60405180910390f35b34801561060857600080fd5b50610611611252565b005b34801561061f57600080fd5b506106286112da565b005b34801561063657600080fd5b5061063f61147b565b005b34801561064d57600080fd5b5061066860048036038101906106639190613d55565b611501565b005b34801561067657600080fd5b5061067f6116c5565b60405161068c9190614499565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190613d2c565b6116ef565b6040516106ca92919061455f565b60405180910390f35b3480156106df57600080fd5b506106e8611713565b6040516106f59190614588565b60405180910390f35b34801561070a57600080fd5b506107136117a5565b60405161072091906149e5565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190613be5565b6117ab565b005b34801561075e57600080fd5b5061077960048036038101906107749190613dcd565b6117c1565b005b34801561078757600080fd5b506107a2600480360381019061079d9190613d2c565b611928565b6040516107af91906149e5565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613b6a565b611953565b005b3480156107ed57600080fd5b506107f66119b5565b6040516108039190614529565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613e1c565b6119dd565b6040516108409190614588565b60405180910390f35b34801561085557600080fd5b5061085e611b43565b60405161086b91906149ca565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190613d91565b611b57565b6040516108a891906149e5565b60405180910390f35b3480156108bd57600080fd5b506108d860048036038101906108d39190613adf565b611bc2565b6040516108e59190614529565b60405180910390f35b61090860048036038101906109039190613e1c565b611c56565b6040516109159190614529565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190613a8d565b611e61565b005b34801561095357600080fd5b5061096e60048036038101906109699190613e1c565b611f59565b005b6109786121eb565b73ffffffffffffffffffffffffffffffffffffffff166109966116c5565b73ffffffffffffffffffffffffffffffffffffffff16146109ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e39061488a565b60405180910390fd5b81601760008381526020019081526020016000209080519060200190610a13929190613848565b505050565b6000610a23826121f3565b9050919050565b60125481565b606060008054610a3f90614ce5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b90614ce5565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050505050905090565b6000610acd8261226d565b610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b039061486a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b52826110e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba906148ea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be26121eb565b73ffffffffffffffffffffffffffffffffffffffff161480610c115750610c1081610c0b6121eb565b611bc2565b5b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c47906147ea565b60405180910390fd5b610c5a83836122d9565b505050565b60136020528060005260406000206000915090505481565b600f5481565b6000600880549050905090565b610c9b610c956121eb565b82612392565b610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd19061490a565b60405180910390fd5b610ce5838383612470565b505050565b6000806000600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610d969190614b89565b610da09190614b58565b9150509250929050565b6000610db58361119a565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906145ea565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460009054906101000a900460ff1681565b610e6a6121eb565b73ffffffffffffffffffffffffffffffffffffffff16610e886116c5565b73ffffffffffffffffffffffffffffffffffffffff1614610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed59061488a565b60405180910390fd5b600060156000601460019054906101000a900461ffff1661ffff1661ffff16815260200190815260200160002090504381600201819055506001601460018282829054906101000a900461ffff16610f369190614aca565b92506101000a81548161ffff021916908361ffff160217905550601460019054906101000a900461ffff1661ffff167f9ecd567ba5cb1b563bec12d69b2cc57fa5f85e9acdcfe19a064ac199ec53cf9b60405160405180910390a250565b610f9c6121eb565b73ffffffffffffffffffffffffffffffffffffffff16610fba6116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061488a565b60405180910390fd5b6110186126cc565b565b61103583838360405180602001604052806000815250611953565b505050565b6000611044610c7d565b8210611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c9061492a565b60405180910390fd5b600882815481106110bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611191576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111889061482a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561120b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112029061480a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61125a6121eb565b73ffffffffffffffffffffffffffffffffffffffff166112786116c5565b73ffffffffffffffffffffffffffffffffffffffff16146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c59061488a565b60405180910390fd5b6112d8600061276e565b565b6112e26121eb565b73ffffffffffffffffffffffffffffffffffffffff166113006116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d9061488a565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113be57600080fd5b505afa1580156113d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f69190613e45565b611400600c612834565b14611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061468a565b60405180910390fd5b6001601460006101000a81548160ff0219169083151502179055506114636110d1565b1561147157611470610f94565b5b611479610e62565b565b6114836121eb565b73ffffffffffffffffffffffffffffffffffffffff166114a16116c5565b73ffffffffffffffffffffffffffffffffffffffff16146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee9061488a565b60405180910390fd5b6114ff612842565b565b6115096121eb565b73ffffffffffffffffffffffffffffffffffffffff166115276116c5565b73ffffffffffffffffffffffffffffffffffffffff161461157d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115749061488a565b60405180910390fd5b601460019054906101000a900461ffff1661ffff168261ffff16106115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce9061474a565b60405180910390fd5b806000801b141561161d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611614906146aa565b60405180910390fd5b6000601560008461ffff1661ffff168152602001908152602001600020905080600101546000801b14611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906145aa565b60405180910390fd5b818160010181905550818361ffff167f75347625cc940d3f2ad85c1f9a968b15605e292abeaa89150a90d3c6f23b3e1260405160405180910390a3505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60156020528060005260406000206000915090508060010154908060020154905082565b60606001805461172290614ce5565b80601f016020809104026020016040519081016040528092919081815260200182805461174e90614ce5565b801561179b5780601f106117705761010080835404028352916020019161179b565b820191906000526020600020905b81548152906001019060200180831161177e57829003601f168201915b5050505050905090565b60115481565b6117bd6117b66121eb565b83836128e5565b5050565b6000601560008561ffff1661ffff1681526020019081526020016000209050806000018054905082111561182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906148aa565b60405180910390fd5b80600101546000801b1415611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b9061494a565b60405180910390fd5b60008390505b8281116119215760008260000182815481106118bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905060006118dc828560010154612a52565b905080827f9ac2fb5123c8153650b3c462efa4f73ec1c6c8a1bd5c18f5689e3c0cdd9d1c5c60405160405180910390a35050808061191990614d48565b91505061187a565b5050505050565b6000601560008361ffff1661ffff168152602001908152602001600020600001805490509050919050565b61196461195e6121eb565b83612392565b6119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a9061490a565b60405180910390fd5b6119af84848484612afb565b50505050565b60006119bf6110d1565b1580156119d85750601460009054906101000a900460ff165b905090565b60606119e88261226d565b611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e9061478a565b60405180910390fd5b60006016600084815260200190815260200160002060009054906101000a900461ffff1661ffff1690506000601760008381526020019081526020016000208054611a7190614ce5565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9d90614ce5565b8015611aea5780601f10611abf57610100808354040283529160200191611aea565b820191906000526020600020905b815481529060010190602001808311611acd57829003601f168201915b505050505090506000815111611b0f5760405180602001604052806000815250611b3a565b80611b1985612b57565b604051602001611b2a929190614475565b6040516020818303038152906040525b92505050919050565b601460019054906101000a900461ffff1681565b6000601560008461ffff1661ffff1681526020019081526020016000206000018281548110611baf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611c606110d1565b15611ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c97906147aa565b60405180910390fd5b601460009054906101000a900460ff16611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906146ca565b60405180910390fd5b81600f54611cfd9190614b89565b3414611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d35906149aa565b60405180910390fd5b601254611d4a3361119a565b1115611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d829061462a565b60405180910390fd5b60115482611d99600c612834565b611da39190614b02565b1115611de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddb906147ca565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e4c573d6000803e3d6000fd5b50611e578233612d04565b5060019050919050565b611e696121eb565b73ffffffffffffffffffffffffffffffffffffffff16611e876116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed49061488a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f449061464a565b60405180910390fd5b611f568161276e565b50565b601460009054906101000a900460ff1615611fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa09061496a565b60405180910390fd5b60006001611fb7600c612834565b611fc19190614b02565b905080821015612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd9061498a565b60405180910390fd5b60008190505b8281116121e6576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161207091906149e5565b60206040518083038186803b15801561208857600080fd5b505afa15801561209c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c09190613ab6565b90506120cd600182612d04565b506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166311645313846040518263ffffffff1660e01b815260040161212b91906149e5565b602060405180830381600087803b15801561214557600080fd5b505af1158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d9190613c5d565b9050806000801b14156121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b806013600085815260200190815260200160002081905550505080806121de90614d48565b91505061200c565b505050565b600033905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612266575061226582612dea565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661234c836110e8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061239d8261226d565b6123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d39061472a565b60405180910390fd5b60006123e7836110e8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061245657508373ffffffffffffffffffffffffffffffffffffffff1661243e84610ac2565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246757506124668185611bc2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612490826110e8565b73ffffffffffffffffffffffffffffffffffffffff16146124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd906148ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254d906146ea565b60405180910390fd5b612561838383612e64565b61256c6000826122d9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125bc9190614be3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126139190614b02565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126d46110d1565b612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270a906145ca565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127576121eb565b6040516127649190614499565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b61284a6110d1565b1561288a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612881906147aa565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128ce6121eb565b6040516128db9190614499565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b9061470a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a459190614529565b60405180910390a3505050565b600060136000848152602001908152602001600020546000801b14612aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa39061476a565b60405180910390fd5b60008284604051602001612ac1929190614449565b6040516020818303038152906040528051906020012090508060136000868152602001908152602001600020819055508091505092915050565b612b06848484612470565b612b1284848484612f78565b612b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b489061460a565b60405180910390fd5b50505050565b60606000821415612b9f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cff565b600082905060005b60008214612bd1578080612bba90614d48565b915050600a82612bca9190614b58565b9150612ba7565b60008167ffffffffffffffff811115612c13577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c455781602001600182028036833780820191505090505b5090505b60008514612cf857600182612c5e9190614be3565b9150600a85612c6d9190614da5565b6030612c799190614b02565b60f81b818381518110612cb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf19190614b58565b9450612c49565b8093505050505b919050565b60008060156000601460019054906101000a900461ffff1661ffff1661ffff168152602001908152602001600020905060005b84811015612dde57612d49600c61310f565b6000612d55600c612834565b9050612d618582613125565b601460019054906101000a900461ffff166016600083815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555082600001819080600181540180825580915050600190039060005260206000200160009091909190915055508080612dd690614d48565b915050612d37565b50600191505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e5d5750612e5c82613143565b5b9050919050565b612e6f838383613225565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eb257612ead8161322a565b612ef1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ef057612eef8382613273565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f3457612f2f816133e0565b612f73565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f7257612f718282613523565b5b5b505050565b6000612f998473ffffffffffffffffffffffffffffffffffffffff166135a2565b15613102578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc26121eb565b8786866040518563ffffffff1660e01b8152600401612fe494939291906144b4565b602060405180830381600087803b158015612ffe57600080fd5b505af192505050801561302f57506040513d601f19601f8201168201806040525081019061302c9190613caf565b60015b6130b2573d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b506000815114156130aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a19061460a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613107565b600190505b949350505050565b6001816000016000828254019250508190555050565b61313f8282604051806020016040528060008152506135b5565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061320e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061321e575061321d82613610565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132808461119a565b61328a9190614be3565b905060006007600084815260200190815260200160002054905081811461336f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133f49190614be3565b905060006009600084815260200190815260200160002054905060006008838154811061344a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613492577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613507577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061352e8361119a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6135bf838361367a565b6135cc6000848484612f78565b61360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136029061460a565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e19061484a565b60405180910390fd5b6136f38161226d565b15613733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372a9061466a565b60405180910390fd5b61373f60008383612e64565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378f9190614b02565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461385490614ce5565b90600052602060002090601f01602090048101928261387657600085556138bd565b82601f1061388f57805160ff19168380011785556138bd565b828001600101855582156138bd579182015b828111156138bc5782518255916020019190600101906138a1565b5b5090506138ca91906138ce565b5090565b5b808211156138e75760008160009055506001016138cf565b5090565b60006138fe6138f984614a25565b614a00565b90508281526020810184848401111561391657600080fd5b613921848285614ca3565b509392505050565b600061393c61393784614a56565b614a00565b90508281526020810184848401111561395457600080fd5b61395f848285614ca3565b509392505050565b60008135905061397681615756565b92915050565b60008151905061398b81615756565b92915050565b6000813590506139a08161576d565b92915050565b6000813590506139b581615784565b92915050565b6000815190506139ca81615784565b92915050565b6000813590506139df8161579b565b92915050565b6000815190506139f48161579b565b92915050565b600082601f830112613a0b57600080fd5b8135613a1b8482602086016138eb565b91505092915050565b600082601f830112613a3557600080fd5b8135613a45848260208601613929565b91505092915050565b600081359050613a5d816157b2565b92915050565b600081359050613a72816157c9565b92915050565b600081519050613a87816157c9565b92915050565b600060208284031215613a9f57600080fd5b6000613aad84828501613967565b91505092915050565b600060208284031215613ac857600080fd5b6000613ad68482850161397c565b91505092915050565b60008060408385031215613af257600080fd5b6000613b0085828601613967565b9250506020613b1185828601613967565b9150509250929050565b600080600060608486031215613b3057600080fd5b6000613b3e86828701613967565b9350506020613b4f86828701613967565b9250506040613b6086828701613a63565b9150509250925092565b60008060008060808587031215613b8057600080fd5b6000613b8e87828801613967565b9450506020613b9f87828801613967565b9350506040613bb087828801613a63565b925050606085013567ffffffffffffffff811115613bcd57600080fd5b613bd9878288016139fa565b91505092959194509250565b60008060408385031215613bf857600080fd5b6000613c0685828601613967565b9250506020613c1785828601613991565b9150509250929050565b60008060408385031215613c3457600080fd5b6000613c4285828601613967565b9250506020613c5385828601613a63565b9150509250929050565b600060208284031215613c6f57600080fd5b6000613c7d848285016139bb565b91505092915050565b600060208284031215613c9857600080fd5b6000613ca6848285016139d0565b91505092915050565b600060208284031215613cc157600080fd5b6000613ccf848285016139e5565b91505092915050565b60008060408385031215613ceb57600080fd5b600083013567ffffffffffffffff811115613d0557600080fd5b613d1185828601613a24565b9250506020613d2285828601613a63565b9150509250929050565b600060208284031215613d3e57600080fd5b6000613d4c84828501613a4e565b91505092915050565b60008060408385031215613d6857600080fd5b6000613d7685828601613a4e565b9250506020613d87858286016139a6565b9150509250929050565b60008060408385031215613da457600080fd5b6000613db285828601613a4e565b9250506020613dc385828601613a63565b9150509250929050565b600080600060608486031215613de257600080fd5b6000613df086828701613a4e565b9350506020613e0186828701613a63565b9250506040613e1286828701613a63565b9150509250925092565b600060208284031215613e2e57600080fd5b6000613e3c84828501613a63565b91505092915050565b600060208284031215613e5757600080fd5b6000613e6584828501613a78565b91505092915050565b60008060408385031215613e8157600080fd5b6000613e8f85828601613a63565b9250506020613ea085828601613a63565b9150509250929050565b613eb381614c17565b82525050565b613ec281614c29565b82525050565b613ed181614c35565b82525050565b613ee8613ee382614c35565b614d91565b82525050565b6000613ef982614a87565b613f038185614a9d565b9350613f13818560208601614cb2565b613f1c81614e92565b840191505092915050565b6000613f3282614a92565b613f3c8185614aae565b9350613f4c818560208601614cb2565b613f5581614e92565b840191505092915050565b6000613f6b82614a92565b613f758185614abf565b9350613f85818560208601614cb2565b80840191505092915050565b6000613f9e603983614aae565b9150613fa982614ea3565b604082019050919050565b6000613fc1601483614aae565b9150613fcc82614ef2565b602082019050919050565b6000613fe4602b83614aae565b9150613fef82614f1b565b604082019050919050565b6000614007603283614aae565b915061401282614f6a565b604082019050919050565b600061402a601883614aae565b915061403582614fb9565b602082019050919050565b600061404d602683614aae565b915061405882614fe2565b604082019050919050565b6000614070601c83614aae565b915061407b82615031565b602082019050919050565b6000614093601583614aae565b915061409e8261505a565b602082019050919050565b60006140b6601783614aae565b91506140c182615083565b602082019050919050565b60006140d9602283614aae565b91506140e4826150ac565b604082019050919050565b60006140fc602483614aae565b9150614107826150fb565b604082019050919050565b600061411f601983614aae565b915061412a8261514a565b602082019050919050565b6000614142602c83614aae565b915061414d82615173565b604082019050919050565b6000614165602383614aae565b9150614170826151c2565b604082019050919050565b6000614188601d83614aae565b915061419382615211565b602082019050919050565b60006141ab603083614aae565b91506141b68261523a565b604082019050919050565b60006141ce601083614aae565b91506141d982615289565b602082019050919050565b60006141f1602783614aae565b91506141fc826152b2565b604082019050919050565b6000614214603883614aae565b915061421f82615301565b604082019050919050565b6000614237602a83614aae565b915061424282615350565b604082019050919050565b600061425a602983614aae565b91506142658261539f565b604082019050919050565b600061427d602083614aae565b9150614288826153ee565b602082019050919050565b60006142a0602c83614aae565b91506142ab82615417565b604082019050919050565b60006142c3602083614aae565b91506142ce82615466565b602082019050919050565b60006142e6602083614aae565b91506142f18261548f565b602082019050919050565b6000614309602983614aae565b9150614314826154b8565b604082019050919050565b600061432c602183614aae565b915061433782615507565b604082019050919050565b600061434f603183614aae565b915061435a82615556565b604082019050919050565b6000614372602c83614aae565b915061437d826155a5565b604082019050919050565b6000614395605583614aae565b91506143a0826155f4565b606082019050919050565b60006143b8603483614aae565b91506143c382615669565b604082019050919050565b60006143db602183614aae565b91506143e6826156b8565b604082019050919050565b60006143fe602183614aae565b915061440982615707565b604082019050919050565b61441d81614c6b565b82525050565b61442c81614c99565b82525050565b61444361443e82614c99565b614d9b565b82525050565b60006144558285613ed7565b6020820191506144658284614432565b6020820191508190509392505050565b60006144818285613f60565b915061448d8284613f60565b91508190509392505050565b60006020820190506144ae6000830184613eaa565b92915050565b60006080820190506144c96000830187613eaa565b6144d66020830186613eaa565b6144e36040830185614423565b81810360608301526144f58184613eee565b905095945050505050565b60006040820190506145156000830185613eaa565b6145226020830184614423565b9392505050565b600060208201905061453e6000830184613eb9565b92915050565b60006020820190506145596000830184613ec8565b92915050565b60006040820190506145746000830185613ec8565b6145816020830184614423565b9392505050565b600060208201905081810360008301526145a28184613f27565b905092915050565b600060208201905081810360008301526145c381613f91565b9050919050565b600060208201905081810360008301526145e381613fb4565b9050919050565b6000602082019050818103600083015261460381613fd7565b9050919050565b6000602082019050818103600083015261462381613ffa565b9050919050565b600060208201905081810360008301526146438161401d565b9050919050565b6000602082019050818103600083015261466381614040565b9050919050565b6000602082019050818103600083015261468381614063565b9050919050565b600060208201905081810360008301526146a381614086565b9050919050565b600060208201905081810360008301526146c3816140a9565b9050919050565b600060208201905081810360008301526146e3816140cc565b9050919050565b60006020820190508181036000830152614703816140ef565b9050919050565b6000602082019050818103600083015261472381614112565b9050919050565b6000602082019050818103600083015261474381614135565b9050919050565b6000602082019050818103600083015261476381614158565b9050919050565b600060208201905081810360008301526147838161417b565b9050919050565b600060208201905081810360008301526147a38161419e565b9050919050565b600060208201905081810360008301526147c3816141c1565b9050919050565b600060208201905081810360008301526147e3816141e4565b9050919050565b6000602082019050818103600083015261480381614207565b9050919050565b600060208201905081810360008301526148238161422a565b9050919050565b600060208201905081810360008301526148438161424d565b9050919050565b6000602082019050818103600083015261486381614270565b9050919050565b6000602082019050818103600083015261488381614293565b9050919050565b600060208201905081810360008301526148a3816142b6565b9050919050565b600060208201905081810360008301526148c3816142d9565b9050919050565b600060208201905081810360008301526148e3816142fc565b9050919050565b600060208201905081810360008301526149038161431f565b9050919050565b6000602082019050818103600083015261492381614342565b9050919050565b6000602082019050818103600083015261494381614365565b9050919050565b6000602082019050818103600083015261496381614388565b9050919050565b60006020820190508181036000830152614983816143ab565b9050919050565b600060208201905081810360008301526149a3816143ce565b9050919050565b600060208201905081810360008301526149c3816143f1565b9050919050565b60006020820190506149df6000830184614414565b92915050565b60006020820190506149fa6000830184614423565b92915050565b6000614a0a614a1b565b9050614a168282614d17565b919050565b6000604051905090565b600067ffffffffffffffff821115614a4057614a3f614e63565b5b614a4982614e92565b9050602081019050919050565b600067ffffffffffffffff821115614a7157614a70614e63565b5b614a7a82614e92565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ad582614c6b565b9150614ae083614c6b565b92508261ffff03821115614af757614af6614dd6565b5b828201905092915050565b6000614b0d82614c99565b9150614b1883614c99565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4d57614b4c614dd6565b5b828201905092915050565b6000614b6382614c99565b9150614b6e83614c99565b925082614b7e57614b7d614e05565b5b828204905092915050565b6000614b9482614c99565b9150614b9f83614c99565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd857614bd7614dd6565b5b828202905092915050565b6000614bee82614c99565b9150614bf983614c99565b925082821015614c0c57614c0b614dd6565b5b828203905092915050565b6000614c2282614c79565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614cd0578082015181840152602081019050614cb5565b83811115614cdf576000848401525b50505050565b60006002820490506001821680614cfd57607f821691505b60208210811415614d1157614d10614e34565b5b50919050565b614d2082614e92565b810181811067ffffffffffffffff82111715614d3f57614d3e614e63565b5b80604052505050565b6000614d5382614c99565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d8657614d85614dd6565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000614db082614c99565b9150614dbb83614c99565b925082614dcb57614dca614e05565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4177616b656e65644b696e67646f6d3a20436f686f72742072616e646f6d207660008201527f616c75652068617320616c7265616479206265656e2073657400000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f41626f766520746865206d6178206d696e74206c696d69740000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f546f74616c20737570706c79206d69736d617463680000000000000000000000600082015250565b7f52616e646f6d20686173682063616e6e6f742062652030000000000000000000600082015250565b7f436f6e7472616374206d75737420666972737420626520696e697469616c697a60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792063616c6c20666f7220612070726576696f757320636f6860008201527f6f72740000000000000000000000000000000000000000000000000000000000602082015250565b7f494420616c72656164792068617320612047656e657369732053656564000000600082015250565b7f4177616b656e65644b696e67646f6d3a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4177616b656e65644b696e67646f6d3a204d6178206d696e7420636f756e742060008201527f7265616368656400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f656e64206d757374206265206c746520746f20636f686f7274206c656e677468600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4177616b656e65644b696e67646f6d3a20436f686f727420646f6573206e6f7460008201527f206861766520612072616e646f6d2076616c75652e2043616c6c20736574436f60208201527f686f727452616e646f6d56616c75652066697273740000000000000000000000604082015250565b7f4177616b656e65644b696e67646f6d3a20636f6e74726163742068617320616c60008201527f7265616479206265656e20696e69746961746564000000000000000000000000602082015250565b7f456e64206d757374206265206774207468652063757272656e7420737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4177616b656e65644b696e67646f6d3a20496e636f727265637420616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b61575f81614c17565b811461576a57600080fd5b50565b61577681614c29565b811461578157600080fd5b50565b61578d81614c35565b811461579857600080fd5b50565b6157a481614c3f565b81146157af57600080fd5b50565b6157bb81614c6b565b81146157c657600080fd5b50565b6157d281614c99565b81146157dd57600080fd5b5056fea2646970667358221220e0fd69acf5e32b5c4d8e88d052a676b9f0b19cc9ee5458895354365bcbcb717d64736f6c634300080400330000000000000000000000002337b0b6992c80d22449b460e7920e770a68d6180000000000000000000000005210475c630f77d8f0e901f94197387c767a961100000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000003d9e0c79d2bc000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023a5760003560e01c8063715018a61161012e578063b297d811116100ab578063e7a0edad1161006f578063e7a0edad14610874578063e985e9c5146108b1578063ee28b4a0146108ee578063f2fde38b1461091e578063fe313518146109475761023a565b8063b297d8111461077b578063b88d4fde146107b8578063beb9716d146107e1578063c87b56dd1461080c578063e0f9c970146108495761023a565b8063936b4d01116100f2578063936b4d011461069557806395d89b41146106d35780639ef2d87a146106fe578063a22cb46514610729578063adfa8daa146107525761023a565b8063715018a6146105fc5780638129fc1c146106135780638456cb591461062a57806388840918146106415780638da5cb5b1461066a5761023a565b80632a55205a116101bc57806342842e0e1161018057806342842e0e146104f15780634f6ccce71461051a5780635c975abb146105575780636352211e1461058257806370a08231146105bf5761023a565b80632a55205a1461041d5780632f745c591461045b578063392e53cd146104985780633ac151c0146104c35780633f4ba83a146104da5761023a565b8063095ea7b311610203578063095ea7b314610338578063116453131461036157806313966db51461039e57806318160ddd146103c957806323b872dd146103f45761023a565b80629f25ff1461023f57806301ffc9a71461026857806303a02818146102a557806306fdde03146102d0578063081812fc146102fb575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613cd8565b610970565b005b34801561027457600080fd5b5061028f600480360381019061028a9190613c86565b610a18565b60405161029c9190614529565b60405180910390f35b3480156102b157600080fd5b506102ba610a2a565b6040516102c791906149e5565b60405180910390f35b3480156102dc57600080fd5b506102e5610a30565b6040516102f29190614588565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613e1c565b610ac2565b60405161032f9190614499565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613c21565b610b47565b005b34801561036d57600080fd5b5061038860048036038101906103839190613e1c565b610c5f565b6040516103959190614544565b60405180910390f35b3480156103aa57600080fd5b506103b3610c77565b6040516103c091906149e5565b60405180910390f35b3480156103d557600080fd5b506103de610c7d565b6040516103eb91906149e5565b60405180910390f35b34801561040057600080fd5b5061041b60048036038101906104169190613b1b565b610c8a565b005b34801561042957600080fd5b50610444600480360381019061043f9190613e6e565b610cea565b604051610452929190614500565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190613c21565b610daa565b60405161048f91906149e5565b60405180910390f35b3480156104a457600080fd5b506104ad610e4f565b6040516104ba9190614529565b60405180910390f35b3480156104cf57600080fd5b506104d8610e62565b005b3480156104e657600080fd5b506104ef610f94565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613b1b565b61101a565b005b34801561052657600080fd5b50610541600480360381019061053c9190613e1c565b61103a565b60405161054e91906149e5565b60405180910390f35b34801561056357600080fd5b5061056c6110d1565b6040516105799190614529565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a49190613e1c565b6110e8565b6040516105b69190614499565b60405180910390f35b3480156105cb57600080fd5b506105e660048036038101906105e19190613a8d565b61119a565b6040516105f391906149e5565b60405180910390f35b34801561060857600080fd5b50610611611252565b005b34801561061f57600080fd5b506106286112da565b005b34801561063657600080fd5b5061063f61147b565b005b34801561064d57600080fd5b5061066860048036038101906106639190613d55565b611501565b005b34801561067657600080fd5b5061067f6116c5565b60405161068c9190614499565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b79190613d2c565b6116ef565b6040516106ca92919061455f565b60405180910390f35b3480156106df57600080fd5b506106e8611713565b6040516106f59190614588565b60405180910390f35b34801561070a57600080fd5b506107136117a5565b60405161072091906149e5565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190613be5565b6117ab565b005b34801561075e57600080fd5b5061077960048036038101906107749190613dcd565b6117c1565b005b34801561078757600080fd5b506107a2600480360381019061079d9190613d2c565b611928565b6040516107af91906149e5565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613b6a565b611953565b005b3480156107ed57600080fd5b506107f66119b5565b6040516108039190614529565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613e1c565b6119dd565b6040516108409190614588565b60405180910390f35b34801561085557600080fd5b5061085e611b43565b60405161086b91906149ca565b60405180910390f35b34801561088057600080fd5b5061089b60048036038101906108969190613d91565b611b57565b6040516108a891906149e5565b60405180910390f35b3480156108bd57600080fd5b506108d860048036038101906108d39190613adf565b611bc2565b6040516108e59190614529565b60405180910390f35b61090860048036038101906109039190613e1c565b611c56565b6040516109159190614529565b60405180910390f35b34801561092a57600080fd5b5061094560048036038101906109409190613a8d565b611e61565b005b34801561095357600080fd5b5061096e60048036038101906109699190613e1c565b611f59565b005b6109786121eb565b73ffffffffffffffffffffffffffffffffffffffff166109966116c5565b73ffffffffffffffffffffffffffffffffffffffff16146109ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e39061488a565b60405180910390fd5b81601760008381526020019081526020016000209080519060200190610a13929190613848565b505050565b6000610a23826121f3565b9050919050565b60125481565b606060008054610a3f90614ce5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b90614ce5565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050505050905090565b6000610acd8261226d565b610b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b039061486a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b52826110e8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba906148ea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be26121eb565b73ffffffffffffffffffffffffffffffffffffffff161480610c115750610c1081610c0b6121eb565b611bc2565b5b610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c47906147ea565b60405180910390fd5b610c5a83836122d9565b505050565b60136020528060005260406000206000915090505481565b600f5481565b6000600880549050905090565b610c9b610c956121eb565b82612392565b610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd19061490a565b60405180910390fd5b610ce5838383612470565b505050565b6000806000600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610d969190614b89565b610da09190614b58565b9150509250929050565b6000610db58361119a565b8210610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906145ea565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460009054906101000a900460ff1681565b610e6a6121eb565b73ffffffffffffffffffffffffffffffffffffffff16610e886116c5565b73ffffffffffffffffffffffffffffffffffffffff1614610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed59061488a565b60405180910390fd5b600060156000601460019054906101000a900461ffff1661ffff1661ffff16815260200190815260200160002090504381600201819055506001601460018282829054906101000a900461ffff16610f369190614aca565b92506101000a81548161ffff021916908361ffff160217905550601460019054906101000a900461ffff1661ffff167f9ecd567ba5cb1b563bec12d69b2cc57fa5f85e9acdcfe19a064ac199ec53cf9b60405160405180910390a250565b610f9c6121eb565b73ffffffffffffffffffffffffffffffffffffffff16610fba6116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061488a565b60405180910390fd5b6110186126cc565b565b61103583838360405180602001604052806000815250611953565b505050565b6000611044610c7d565b8210611085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107c9061492a565b60405180910390fd5b600882815481106110bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600b60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611191576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111889061482a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561120b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112029061480a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61125a6121eb565b73ffffffffffffffffffffffffffffffffffffffff166112786116c5565b73ffffffffffffffffffffffffffffffffffffffff16146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c59061488a565b60405180910390fd5b6112d8600061276e565b565b6112e26121eb565b73ffffffffffffffffffffffffffffffffffffffff166113006116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d9061488a565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156113be57600080fd5b505afa1580156113d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f69190613e45565b611400600c612834565b14611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061468a565b60405180910390fd5b6001601460006101000a81548160ff0219169083151502179055506114636110d1565b1561147157611470610f94565b5b611479610e62565b565b6114836121eb565b73ffffffffffffffffffffffffffffffffffffffff166114a16116c5565b73ffffffffffffffffffffffffffffffffffffffff16146114f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ee9061488a565b60405180910390fd5b6114ff612842565b565b6115096121eb565b73ffffffffffffffffffffffffffffffffffffffff166115276116c5565b73ffffffffffffffffffffffffffffffffffffffff161461157d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115749061488a565b60405180910390fd5b601460019054906101000a900461ffff1661ffff168261ffff16106115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce9061474a565b60405180910390fd5b806000801b141561161d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611614906146aa565b60405180910390fd5b6000601560008461ffff1661ffff168152602001908152602001600020905080600101546000801b14611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906145aa565b60405180910390fd5b818160010181905550818361ffff167f75347625cc940d3f2ad85c1f9a968b15605e292abeaa89150a90d3c6f23b3e1260405160405180910390a3505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60156020528060005260406000206000915090508060010154908060020154905082565b60606001805461172290614ce5565b80601f016020809104026020016040519081016040528092919081815260200182805461174e90614ce5565b801561179b5780601f106117705761010080835404028352916020019161179b565b820191906000526020600020905b81548152906001019060200180831161177e57829003601f168201915b5050505050905090565b60115481565b6117bd6117b66121eb565b83836128e5565b5050565b6000601560008561ffff1661ffff1681526020019081526020016000209050806000018054905082111561182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906148aa565b60405180910390fd5b80600101546000801b1415611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b9061494a565b60405180910390fd5b60008390505b8281116119215760008260000182815481106118bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905060006118dc828560010154612a52565b905080827f9ac2fb5123c8153650b3c462efa4f73ec1c6c8a1bd5c18f5689e3c0cdd9d1c5c60405160405180910390a35050808061191990614d48565b91505061187a565b5050505050565b6000601560008361ffff1661ffff168152602001908152602001600020600001805490509050919050565b61196461195e6121eb565b83612392565b6119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a9061490a565b60405180910390fd5b6119af84848484612afb565b50505050565b60006119bf6110d1565b1580156119d85750601460009054906101000a900460ff165b905090565b60606119e88261226d565b611a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1e9061478a565b60405180910390fd5b60006016600084815260200190815260200160002060009054906101000a900461ffff1661ffff1690506000601760008381526020019081526020016000208054611a7190614ce5565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9d90614ce5565b8015611aea5780601f10611abf57610100808354040283529160200191611aea565b820191906000526020600020905b815481529060010190602001808311611acd57829003601f168201915b505050505090506000815111611b0f5760405180602001604052806000815250611b3a565b80611b1985612b57565b604051602001611b2a929190614475565b6040516020818303038152906040525b92505050919050565b601460019054906101000a900461ffff1681565b6000601560008461ffff1661ffff1681526020019081526020016000206000018281548110611baf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000611c606110d1565b15611ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c97906147aa565b60405180910390fd5b601460009054906101000a900460ff16611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906146ca565b60405180910390fd5b81600f54611cfd9190614b89565b3414611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d35906149aa565b60405180910390fd5b601254611d4a3361119a565b1115611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d829061462a565b60405180910390fd5b60115482611d99600c612834565b611da39190614b02565b1115611de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddb906147ca565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611e4c573d6000803e3d6000fd5b50611e578233612d04565b5060019050919050565b611e696121eb565b73ffffffffffffffffffffffffffffffffffffffff16611e876116c5565b73ffffffffffffffffffffffffffffffffffffffff1614611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed49061488a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f449061464a565b60405180910390fd5b611f568161276e565b50565b601460009054906101000a900460ff1615611fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa09061496a565b60405180910390fd5b60006001611fb7600c612834565b611fc19190614b02565b905080821015612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd9061498a565b60405180910390fd5b60008190505b8281116121e6576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161207091906149e5565b60206040518083038186803b15801561208857600080fd5b505afa15801561209c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c09190613ab6565b90506120cd600182612d04565b506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166311645313846040518263ffffffff1660e01b815260040161212b91906149e5565b602060405180830381600087803b15801561214557600080fd5b505af1158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d9190613c5d565b9050806000801b14156121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b806013600085815260200190815260200160002081905550505080806121de90614d48565b91505061200c565b505050565b600033905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612266575061226582612dea565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661234c836110e8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061239d8261226d565b6123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d39061472a565b60405180910390fd5b60006123e7836110e8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061245657508373ffffffffffffffffffffffffffffffffffffffff1661243e84610ac2565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246757506124668185611bc2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612490826110e8565b73ffffffffffffffffffffffffffffffffffffffff16146124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd906148ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254d906146ea565b60405180910390fd5b612561838383612e64565b61256c6000826122d9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125bc9190614be3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126139190614b02565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126d46110d1565b612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270a906145ca565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127576121eb565b6040516127649190614499565b60405180910390a1565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b61284a6110d1565b1561288a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612881906147aa565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128ce6121eb565b6040516128db9190614499565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294b9061470a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a459190614529565b60405180910390a3505050565b600060136000848152602001908152602001600020546000801b14612aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa39061476a565b60405180910390fd5b60008284604051602001612ac1929190614449565b6040516020818303038152906040528051906020012090508060136000868152602001908152602001600020819055508091505092915050565b612b06848484612470565b612b1284848484612f78565b612b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b489061460a565b60405180910390fd5b50505050565b60606000821415612b9f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cff565b600082905060005b60008214612bd1578080612bba90614d48565b915050600a82612bca9190614b58565b9150612ba7565b60008167ffffffffffffffff811115612c13577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c455781602001600182028036833780820191505090505b5090505b60008514612cf857600182612c5e9190614be3565b9150600a85612c6d9190614da5565b6030612c799190614b02565b60f81b818381518110612cb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf19190614b58565b9450612c49565b8093505050505b919050565b60008060156000601460019054906101000a900461ffff1661ffff1661ffff168152602001908152602001600020905060005b84811015612dde57612d49600c61310f565b6000612d55600c612834565b9050612d618582613125565b601460019054906101000a900461ffff166016600083815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555082600001819080600181540180825580915050600190039060005260206000200160009091909190915055508080612dd690614d48565b915050612d37565b50600191505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e5d5750612e5c82613143565b5b9050919050565b612e6f838383613225565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eb257612ead8161322a565b612ef1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ef057612eef8382613273565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f3457612f2f816133e0565b612f73565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f7257612f718282613523565b5b5b505050565b6000612f998473ffffffffffffffffffffffffffffffffffffffff166135a2565b15613102578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc26121eb565b8786866040518563ffffffff1660e01b8152600401612fe494939291906144b4565b602060405180830381600087803b158015612ffe57600080fd5b505af192505050801561302f57506040513d601f19601f8201168201806040525081019061302c9190613caf565b60015b6130b2573d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b506000815114156130aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a19061460a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613107565b600190505b949350505050565b6001816000016000828254019250508190555050565b61313f8282604051806020016040528060008152506135b5565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061320e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061321e575061321d82613610565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132808461119a565b61328a9190614be3565b905060006007600084815260200190815260200160002054905081811461336f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133f49190614be3565b905060006009600084815260200190815260200160002054905060006008838154811061344a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613492577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613507577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061352e8361119a565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6135bf838361367a565b6135cc6000848484612f78565b61360b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136029061460a565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e19061484a565b60405180910390fd5b6136f38161226d565b15613733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372a9061466a565b60405180910390fd5b61373f60008383612e64565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378f9190614b02565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461385490614ce5565b90600052602060002090601f01602090048101928261387657600085556138bd565b82601f1061388f57805160ff19168380011785556138bd565b828001600101855582156138bd579182015b828111156138bc5782518255916020019190600101906138a1565b5b5090506138ca91906138ce565b5090565b5b808211156138e75760008160009055506001016138cf565b5090565b60006138fe6138f984614a25565b614a00565b90508281526020810184848401111561391657600080fd5b613921848285614ca3565b509392505050565b600061393c61393784614a56565b614a00565b90508281526020810184848401111561395457600080fd5b61395f848285614ca3565b509392505050565b60008135905061397681615756565b92915050565b60008151905061398b81615756565b92915050565b6000813590506139a08161576d565b92915050565b6000813590506139b581615784565b92915050565b6000815190506139ca81615784565b92915050565b6000813590506139df8161579b565b92915050565b6000815190506139f48161579b565b92915050565b600082601f830112613a0b57600080fd5b8135613a1b8482602086016138eb565b91505092915050565b600082601f830112613a3557600080fd5b8135613a45848260208601613929565b91505092915050565b600081359050613a5d816157b2565b92915050565b600081359050613a72816157c9565b92915050565b600081519050613a87816157c9565b92915050565b600060208284031215613a9f57600080fd5b6000613aad84828501613967565b91505092915050565b600060208284031215613ac857600080fd5b6000613ad68482850161397c565b91505092915050565b60008060408385031215613af257600080fd5b6000613b0085828601613967565b9250506020613b1185828601613967565b9150509250929050565b600080600060608486031215613b3057600080fd5b6000613b3e86828701613967565b9350506020613b4f86828701613967565b9250506040613b6086828701613a63565b9150509250925092565b60008060008060808587031215613b8057600080fd5b6000613b8e87828801613967565b9450506020613b9f87828801613967565b9350506040613bb087828801613a63565b925050606085013567ffffffffffffffff811115613bcd57600080fd5b613bd9878288016139fa565b91505092959194509250565b60008060408385031215613bf857600080fd5b6000613c0685828601613967565b9250506020613c1785828601613991565b9150509250929050565b60008060408385031215613c3457600080fd5b6000613c4285828601613967565b9250506020613c5385828601613a63565b9150509250929050565b600060208284031215613c6f57600080fd5b6000613c7d848285016139bb565b91505092915050565b600060208284031215613c9857600080fd5b6000613ca6848285016139d0565b91505092915050565b600060208284031215613cc157600080fd5b6000613ccf848285016139e5565b91505092915050565b60008060408385031215613ceb57600080fd5b600083013567ffffffffffffffff811115613d0557600080fd5b613d1185828601613a24565b9250506020613d2285828601613a63565b9150509250929050565b600060208284031215613d3e57600080fd5b6000613d4c84828501613a4e565b91505092915050565b60008060408385031215613d6857600080fd5b6000613d7685828601613a4e565b9250506020613d87858286016139a6565b9150509250929050565b60008060408385031215613da457600080fd5b6000613db285828601613a4e565b9250506020613dc385828601613a63565b9150509250929050565b600080600060608486031215613de257600080fd5b6000613df086828701613a4e565b9350506020613e0186828701613a63565b9250506040613e1286828701613a63565b9150509250925092565b600060208284031215613e2e57600080fd5b6000613e3c84828501613a63565b91505092915050565b600060208284031215613e5757600080fd5b6000613e6584828501613a78565b91505092915050565b60008060408385031215613e8157600080fd5b6000613e8f85828601613a63565b9250506020613ea085828601613a63565b9150509250929050565b613eb381614c17565b82525050565b613ec281614c29565b82525050565b613ed181614c35565b82525050565b613ee8613ee382614c35565b614d91565b82525050565b6000613ef982614a87565b613f038185614a9d565b9350613f13818560208601614cb2565b613f1c81614e92565b840191505092915050565b6000613f3282614a92565b613f3c8185614aae565b9350613f4c818560208601614cb2565b613f5581614e92565b840191505092915050565b6000613f6b82614a92565b613f758185614abf565b9350613f85818560208601614cb2565b80840191505092915050565b6000613f9e603983614aae565b9150613fa982614ea3565b604082019050919050565b6000613fc1601483614aae565b9150613fcc82614ef2565b602082019050919050565b6000613fe4602b83614aae565b9150613fef82614f1b565b604082019050919050565b6000614007603283614aae565b915061401282614f6a565b604082019050919050565b600061402a601883614aae565b915061403582614fb9565b602082019050919050565b600061404d602683614aae565b915061405882614fe2565b604082019050919050565b6000614070601c83614aae565b915061407b82615031565b602082019050919050565b6000614093601583614aae565b915061409e8261505a565b602082019050919050565b60006140b6601783614aae565b91506140c182615083565b602082019050919050565b60006140d9602283614aae565b91506140e4826150ac565b604082019050919050565b60006140fc602483614aae565b9150614107826150fb565b604082019050919050565b600061411f601983614aae565b915061412a8261514a565b602082019050919050565b6000614142602c83614aae565b915061414d82615173565b604082019050919050565b6000614165602383614aae565b9150614170826151c2565b604082019050919050565b6000614188601d83614aae565b915061419382615211565b602082019050919050565b60006141ab603083614aae565b91506141b68261523a565b604082019050919050565b60006141ce601083614aae565b91506141d982615289565b602082019050919050565b60006141f1602783614aae565b91506141fc826152b2565b604082019050919050565b6000614214603883614aae565b915061421f82615301565b604082019050919050565b6000614237602a83614aae565b915061424282615350565b604082019050919050565b600061425a602983614aae565b91506142658261539f565b604082019050919050565b600061427d602083614aae565b9150614288826153ee565b602082019050919050565b60006142a0602c83614aae565b91506142ab82615417565b604082019050919050565b60006142c3602083614aae565b91506142ce82615466565b602082019050919050565b60006142e6602083614aae565b91506142f18261548f565b602082019050919050565b6000614309602983614aae565b9150614314826154b8565b604082019050919050565b600061432c602183614aae565b915061433782615507565b604082019050919050565b600061434f603183614aae565b915061435a82615556565b604082019050919050565b6000614372602c83614aae565b915061437d826155a5565b604082019050919050565b6000614395605583614aae565b91506143a0826155f4565b606082019050919050565b60006143b8603483614aae565b91506143c382615669565b604082019050919050565b60006143db602183614aae565b91506143e6826156b8565b604082019050919050565b60006143fe602183614aae565b915061440982615707565b604082019050919050565b61441d81614c6b565b82525050565b61442c81614c99565b82525050565b61444361443e82614c99565b614d9b565b82525050565b60006144558285613ed7565b6020820191506144658284614432565b6020820191508190509392505050565b60006144818285613f60565b915061448d8284613f60565b91508190509392505050565b60006020820190506144ae6000830184613eaa565b92915050565b60006080820190506144c96000830187613eaa565b6144d66020830186613eaa565b6144e36040830185614423565b81810360608301526144f58184613eee565b905095945050505050565b60006040820190506145156000830185613eaa565b6145226020830184614423565b9392505050565b600060208201905061453e6000830184613eb9565b92915050565b60006020820190506145596000830184613ec8565b92915050565b60006040820190506145746000830185613ec8565b6145816020830184614423565b9392505050565b600060208201905081810360008301526145a28184613f27565b905092915050565b600060208201905081810360008301526145c381613f91565b9050919050565b600060208201905081810360008301526145e381613fb4565b9050919050565b6000602082019050818103600083015261460381613fd7565b9050919050565b6000602082019050818103600083015261462381613ffa565b9050919050565b600060208201905081810360008301526146438161401d565b9050919050565b6000602082019050818103600083015261466381614040565b9050919050565b6000602082019050818103600083015261468381614063565b9050919050565b600060208201905081810360008301526146a381614086565b9050919050565b600060208201905081810360008301526146c3816140a9565b9050919050565b600060208201905081810360008301526146e3816140cc565b9050919050565b60006020820190508181036000830152614703816140ef565b9050919050565b6000602082019050818103600083015261472381614112565b9050919050565b6000602082019050818103600083015261474381614135565b9050919050565b6000602082019050818103600083015261476381614158565b9050919050565b600060208201905081810360008301526147838161417b565b9050919050565b600060208201905081810360008301526147a38161419e565b9050919050565b600060208201905081810360008301526147c3816141c1565b9050919050565b600060208201905081810360008301526147e3816141e4565b9050919050565b6000602082019050818103600083015261480381614207565b9050919050565b600060208201905081810360008301526148238161422a565b9050919050565b600060208201905081810360008301526148438161424d565b9050919050565b6000602082019050818103600083015261486381614270565b9050919050565b6000602082019050818103600083015261488381614293565b9050919050565b600060208201905081810360008301526148a3816142b6565b9050919050565b600060208201905081810360008301526148c3816142d9565b9050919050565b600060208201905081810360008301526148e3816142fc565b9050919050565b600060208201905081810360008301526149038161431f565b9050919050565b6000602082019050818103600083015261492381614342565b9050919050565b6000602082019050818103600083015261494381614365565b9050919050565b6000602082019050818103600083015261496381614388565b9050919050565b60006020820190508181036000830152614983816143ab565b9050919050565b600060208201905081810360008301526149a3816143ce565b9050919050565b600060208201905081810360008301526149c3816143f1565b9050919050565b60006020820190506149df6000830184614414565b92915050565b60006020820190506149fa6000830184614423565b92915050565b6000614a0a614a1b565b9050614a168282614d17565b919050565b6000604051905090565b600067ffffffffffffffff821115614a4057614a3f614e63565b5b614a4982614e92565b9050602081019050919050565b600067ffffffffffffffff821115614a7157614a70614e63565b5b614a7a82614e92565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614ad582614c6b565b9150614ae083614c6b565b92508261ffff03821115614af757614af6614dd6565b5b828201905092915050565b6000614b0d82614c99565b9150614b1883614c99565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b4d57614b4c614dd6565b5b828201905092915050565b6000614b6382614c99565b9150614b6e83614c99565b925082614b7e57614b7d614e05565b5b828204905092915050565b6000614b9482614c99565b9150614b9f83614c99565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bd857614bd7614dd6565b5b828202905092915050565b6000614bee82614c99565b9150614bf983614c99565b925082821015614c0c57614c0b614dd6565b5b828203905092915050565b6000614c2282614c79565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614cd0578082015181840152602081019050614cb5565b83811115614cdf576000848401525b50505050565b60006002820490506001821680614cfd57607f821691505b60208210811415614d1157614d10614e34565b5b50919050565b614d2082614e92565b810181811067ffffffffffffffff82111715614d3f57614d3e614e63565b5b80604052505050565b6000614d5382614c99565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d8657614d85614dd6565b5b600182019050919050565b6000819050919050565b6000819050919050565b6000614db082614c99565b9150614dbb83614c99565b925082614dcb57614dca614e05565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4177616b656e65644b696e67646f6d3a20436f686f72742072616e646f6d207660008201527f616c75652068617320616c7265616479206265656e2073657400000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f41626f766520746865206d6178206d696e74206c696d69740000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f546f74616c20737570706c79206d69736d617463680000000000000000000000600082015250565b7f52616e646f6d20686173682063616e6e6f742062652030000000000000000000600082015250565b7f436f6e7472616374206d75737420666972737420626520696e697469616c697a60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792063616c6c20666f7220612070726576696f757320636f6860008201527f6f72740000000000000000000000000000000000000000000000000000000000602082015250565b7f494420616c72656164792068617320612047656e657369732053656564000000600082015250565b7f4177616b656e65644b696e67646f6d3a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4177616b656e65644b696e67646f6d3a204d6178206d696e7420636f756e742060008201527f7265616368656400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f656e64206d757374206265206c746520746f20636f686f7274206c656e677468600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4177616b656e65644b696e67646f6d3a20436f686f727420646f6573206e6f7460008201527f206861766520612072616e646f6d2076616c75652e2043616c6c20736574436f60208201527f686f727452616e646f6d56616c75652066697273740000000000000000000000604082015250565b7f4177616b656e65644b696e67646f6d3a20636f6e74726163742068617320616c60008201527f7265616479206265656e20696e69746961746564000000000000000000000000602082015250565b7f456e64206d757374206265206774207468652063757272656e7420737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4177616b656e65644b696e67646f6d3a20496e636f727265637420616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b61575f81614c17565b811461576a57600080fd5b50565b61577681614c29565b811461578157600080fd5b50565b61578d81614c35565b811461579857600080fd5b50565b6157a481614c3f565b81146157af57600080fd5b50565b6157bb81614c6b565b81146157c657600080fd5b50565b6157d281614c99565b81146157dd57600080fd5b5056fea2646970667358221220e0fd69acf5e32b5c4d8e88d052a676b9f0b19cc9ee5458895354365bcbcb717d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002337b0b6992c80d22449b460e7920e770a68d6180000000000000000000000005210475c630f77d8f0e901f94197387c767a961100000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000003d9e0c79d2bc000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : treasury_ (address): 0x2337b0B6992C80d22449B460E7920E770a68d618
Arg [1] : champions_ (address): 0x5210475c630F77D8f0E901F94197387c767A9611
Arg [2] : maxCount_ (uint256): 1000
Arg [3] : maxCountPerWallet_ (uint256): 54
Arg [4] : mintFee_ (uint256): 4440000000000000000
Arg [5] : baseURI_ (string):
Arg [6] : royalties (uint256): 400
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000002337b0b6992c80d22449b460e7920e770a68d618
Arg [1] : 0000000000000000000000005210475c630f77d8f0e901f94197387c767a9611
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 0000000000000000000000000000000000000000000000003d9e0c79d2bc0000
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000190
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.