ERC-721
NFT
Overview
Max Total Supply
24,994 CLNST
Holders
5,432
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CLNSTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Colonists
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./IColonistPowerup.sol"; contract Colonists is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; uint256 public maxTokenSupply; uint256 public mintPrice = 0.025 ether; uint256 public rerollPrice = 0.0125 ether; uint256 public maxPresaleMintsPerWallet = 4; uint256 public mintsPerSpecies = 5000; bool public saleIsActive = false; bool public preSaleIsActive = false; bool public rerollIsActive = false; string public baseURI; string public provenance; uint256 public startingIndexBlock; uint256 public startingIndex; address[7] private _shareholders; uint[7] private _shares; IColonistPowerup private powerupContractInstance; mapping (address => uint256) private _presaleMints; event PaymentReleased(address to, uint256 amount); event TraitRerolled(uint256 tokenId, string trait, uint256 powerupTokenId); constructor(string memory name, string memory symbol, uint256 maxColonistSupply) ERC721(name, symbol) { maxTokenSupply = maxColonistSupply; _shareholders[0] = 0x8c223D865Bc7Ff45757936325A992ec15d803FFD; // Hunter _shareholders[1] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure-Seeker _shareholders[2] = 0x77e04a00c36874aE346A5bEA2462CF4fBB45D0d1; // Camilla _shareholders[3] = 0x41Ea80aB06F477403dD7dD55D30F54cA25A47b5C; // Anthony _shareholders[4] = 0x230FcED7feAeD9DfFC256B93B8F0c9195a743c89; // Andy _shareholders[5] = 0x31Ed4b569Ab5F004A30761D166f608b6D24C34F5; // Christian _shareholders[6] = 0xE2419b85D9CB8a0e4c43F00AA2882AEA5587bAf3; // Ash _shares[0] = 5000; _shares[1] = 3000; _shares[2] = 500; _shares[3] = 500; _shares[4] = 400; _shares[5] = 400; _shares[6] = 200; } function setPowerupContractAddress(address powerupContractAddress) public onlyOwner { powerupContractInstance = IColonistPowerup(powerupContractAddress); } function setMaxTokenSupply(uint256 maxColonistSupply) public onlyOwner { maxTokenSupply = maxColonistSupply; } function setMintPrice(uint256 newPrice) public onlyOwner { mintPrice = newPrice; } function setRerollPrice(uint256 newPrice) public onlyOwner { rerollPrice = newPrice; } function setMaxPresaleMintsPerWallet(uint256 newLimit) public onlyOwner { maxPresaleMintsPerWallet = newLimit; } function setMintsPerSpecies(uint256 newMintsPerSpecies) public onlyOwner { mintsPerSpecies = newMintsPerSpecies; } function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner { Address.sendValue(to, amount); emit PaymentReleased(to, amount); } function withdraw(uint256 amount) public onlyOwner { require(address(this).balance >= amount, "Insufficient balance"); uint256 totalShares = 10000; for (uint256 i = 0; i < 7; i++) { uint256 payment = amount * _shares[i] / totalShares; Address.sendValue(payable(_shareholders[i]), payment); emit PaymentReleased(_shareholders[i], payment); } } /* * Mint reserved NFTs for giveaways, devs, etc. */ function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner { uint256 supply = _tokenIdCounter.current(); for (uint256 i = 1; i <= reservedAmount; i++) { _safeMint(mintAddress, supply + i); _tokenIdCounter.increment(); } } /* * Pause sale if active, make active if paused. */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /* * Pause pre-sale if active, make active if paused. */ function flipPreSaleState() public onlyOwner { preSaleIsActive = !preSaleIsActive; } /* * Pause rerolling if active, make active if paused. */ function flipRerollState() public onlyOwner { rerollIsActive = !rerollIsActive; } function mintOneColonist() public payable { _mintColonists(1); } function mintTwoColonists() public payable { _mintColonists(2); } function mintThreeColonists() public payable { _mintColonists(3); } function mintFourColonists() public payable { _mintColonists(4); } function mintTenColonists() public payable { _mintColonists(10); } function mintTwentyColonists() public payable { _mintColonists(20); } /* * Mint Colonist NFTs, woot! */ function _mintColonists(uint256 numberOfTokens) internal { require(saleIsActive || preSaleIsActive, "Sale must be active to mint colonists"); require(totalSupply() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available colonists"); require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); if (! saleIsActive) { _validatePreSaleWalletLimit(numberOfTokens); } for(uint256 i = 0; i < numberOfTokens; i++) { uint256 mintIndex = _tokenIdCounter.current() + 1; if (mintIndex <= maxTokenSupply) { _tokenIdCounter.increment(); _safeMint(msg.sender, mintIndex); } } // If we haven't set the starting index, set the starting index block. if (startingIndexBlock == 0) { startingIndexBlock = block.number; } } function _validatePreSaleWalletLimit(uint256 numberOfTokens) internal { // Validate that max per wallet pre-sale limit is not exceeded uint256 balance = balanceOf(msg.sender); if (balance > 0) { uint256 currentSpecies = _tokenIdCounter.current() / mintsPerSpecies; uint256 lastMintedSpecies = (tokenOfOwnerByIndex(msg.sender, balance - 1) - 1) / mintsPerSpecies; if (currentSpecies != lastMintedSpecies) { // reset pre-sale mints _presaleMints[msg.sender] = 0; } } require(_presaleMints[msg.sender] + numberOfTokens <= maxPresaleMintsPerWallet, "Max colonists per wallet limit exceeded"); _presaleMints[msg.sender] += numberOfTokens; } function walletOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function rerollTrait(uint256 tokenId, string memory trait, uint256 powerupTokenId) public payable { require(rerollIsActive, "Rerolling is not currently active"); require(rerollPrice <= msg.value, "Ether value sent is not correct"); require(_isApprovedOrOwner(_msgSender(), tokenId), "Caller is not owner nor approved"); if (powerupTokenId != 0) { require(powerupContractInstance.ownerOf(powerupTokenId) == msg.sender, "Caller is not owner of power up token ID"); powerupContractInstance.burn(powerupTokenId); } emit TraitRerolled(tokenId, trait, powerupTokenId); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } /** * Set the starting index for the collection. */ function setStartingIndex() public onlyOwner { require(startingIndex == 0, "Starting index is already set"); require(startingIndexBlock != 0, "Starting index block must be set"); startingIndex = uint(blockhash(startingIndexBlock)) % maxTokenSupply; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes). if (block.number - startingIndexBlock > 255) { startingIndex = uint(blockhash(block.number - 1)) % maxTokenSupply; } // Prevent default sequence. if (startingIndex == 0) { startingIndex = 1; } } /** * Set the starting index block for the collection. Usually, this will be set after the first sale mint. */ function emergencySetStartingIndexBlock() public onlyOwner { require(startingIndex == 0, "Starting index is already set"); startingIndexBlock = block.number; } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { provenance = provenanceHash; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface IColonistPowerup { /** * @dev Burns `tokenId`. See {ERC721-_burn}. */ function burn(uint256 tokenId) external; /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxColonistSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"trait","type":"string"},{"indexed":false,"internalType":"uint256","name":"powerupTokenId","type":"uint256"}],"name":"TraitRerolled","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"},{"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipRerollState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPresaleMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFourColonists","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintOneColonist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintTenColonists","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintThreeColonists","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTwentyColonists","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTwoColonists","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintsPerSpecies","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":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rerollIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rerollPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"trait","type":"string"},{"internalType":"uint256","name":"powerupTokenId","type":"uint256"}],"name":"rerollTrait","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMaxPresaleMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxColonistSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintsPerSpecies","type":"uint256"}],"name":"setMintsPerSpecies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"powerupContractAddress","type":"address"}],"name":"setPowerupContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setRerollPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526658d15e17628000600d55662c68af0bb14000600e556004600f556113886010556000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506000601160026101000a81548160ff0219169083151502179055503480156200008357600080fd5b5060405162006908380380620069088339818101604052810190620000a99190620006c9565b82828160009080519060200190620000c392919062000584565b508060019080519060200190620000dc92919062000584565b5050506000620000fa6200057c640100000000026401000000009004565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600c81905550738c223d865bc7ff45757936325a992ec15d803ffd6016600060078110620001cd57620001cc6200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360166001600781106200023957620002386200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507377e04a00c36874ae346a5bea2462cf4fbb45d0d16016600260078110620002a557620002a46200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507341ea80ab06f477403dd7dd55d30f54ca25a47b5c60166003600781106200031157620003106200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073230fced7feaed9dffc256b93b8f0c9195a743c8960166004600781106200037d576200037c6200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507331ed4b569ab5f004a30761d166f608b6d24c34f56016600560078110620003e957620003e86200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e2419b85d9cb8a0e4c43f00aa2882aea5587baf360166006600781106200045557620004546200089d565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611388601d600060078110620004af57620004ae6200089d565b5b0181905550610bb8601d600160078110620004cf57620004ce6200089d565b5b01819055506101f4601d600260078110620004ef57620004ee6200089d565b5b01819055506101f4601d6003600781106200050f576200050e6200089d565b5b0181905550610190601d6004600781106200052f576200052e6200089d565b5b0181905550610190601d6005600781106200054f576200054e6200089d565b5b018190555060c8601d6006600781106200056e576200056d6200089d565b5b01819055505050506200093a565b600033905090565b828054620005929062000802565b90600052602060002090601f016020900481019282620005b6576000855562000602565b82601f10620005d157805160ff191683800117855562000602565b8280016001018555821562000602579182015b8281111562000601578251825591602001919060010190620005e4565b5b50905062000611919062000615565b5090565b5b808211156200063057600081600090555060010162000616565b5090565b60006200064b62000645846200078c565b62000763565b9050828152602081018484840111156200066a576200066962000900565b5b62000677848285620007cc565b509392505050565b600082601f830112620006975762000696620008fb565b5b8151620006a984826020860162000634565b91505092915050565b600081519050620006c38162000920565b92915050565b600080600060608486031215620006e557620006e46200090a565b5b600084015167ffffffffffffffff81111562000706576200070562000905565b5b62000714868287016200067f565b935050602084015167ffffffffffffffff81111562000738576200073762000905565b5b62000746868287016200067f565b92505060406200075986828701620006b2565b9150509250925092565b60006200076f62000782565b90506200077d828262000838565b919050565b6000604051905090565b600067ffffffffffffffff821115620007aa57620007a9620008cc565b5b620007b5826200090f565b9050602081019050919050565b6000819050919050565b60005b83811015620007ec578082015181840152602081019050620007cf565b83811115620007fc576000848401525b50505050565b600060028204905060018216806200081b57607f821691505b602082108114156200083257620008316200086e565b5b50919050565b62000843826200090f565b810181811067ffffffffffffffff82111715620008655762000864620008cc565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200092b81620007c2565b81146200093757600080fd5b50565b615fbe806200094a6000396000f3fe608060405260043610610388576000357c010000000000000000000000000000000000000000000000000000000090048063715018a6116101e3578063b88d4fde11610114578063e985e9c5116100b2578063f03255491161008c578063f032554914610b94578063f2fde38b14610bab578063f489e49614610bd4578063f4a0a52814610bfd57610388565b8063e985e9c514610b15578063e986655014610b52578063eb8d244414610b6957610388565b8063c87b56dd116100ee578063c87b56dd14610a66578063cb774d4714610aa3578063e36d649814610ace578063e677d60114610af957610388565b8063b88d4fde146109e9578063c2439eed14610a12578063c82b694214610a3b57610388565b80638da5cb5b116101815780639d980bd21161015b5780639d980bd214610962578063a22cb4651461098d578063b07ed982146109b6578063b6ab6ef1146109df57610388565b80638da5cb5b14610902578063953fcb4f1461092d57806395d89b411461093757610388565b8063761575da116101bd578063761575da146108a15780637d17fcbe146108ab57806380296c5a146108c25780638881396c146108d957610388565b8063715018a6146108575780637396e3d31461086e57806375a4e2ac1461089757610388565b806342842e0e116102bd57806355f804b31161025b5780636352211e116102355780636352211e146107875780636817c76c146107c45780636c0360eb146107ef57806370a082311461081a57610388565b806355f804b31461072b57806356fa95951461075457806360b02f701461075e57610388565b8063466635a411610297578063466635a41461066f5780634d7313a41461069a5780634f6ccce7146106c357806350f7c2041461070057610388565b806342842e0e146105e057806342966c6814610609578063438b63001461063257610388565b80631f0234d81161032a5780632f35e11f116103045780632f35e11f146105575780632f745c59146105825780633474160b146105bf57806334918dfd146105c957610388565b80631f0234d8146104da57806323b872dd146105055780632e1a7d4d1461052e57610388565b8063095ea7b311610366578063095ea7b3146104325780630f7309e81461045b578063109695231461048657806318160ddd146104af57610388565b806301ffc9a71461038d57806306fdde03146103ca578063081812fc146103f5575b600080fd5b34801561039957600080fd5b506103b460048036038101906103af91906144b3565b610c26565b6040516103c19190614d4a565b60405180910390f35b3480156103d657600080fd5b506103df610c38565b6040516103ec9190614d65565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190614556565b610cca565b6040516104299190614c6f565b60405180910390f35b34801561043e57600080fd5b5061045960048036038101906104549190614473565b610d4f565b005b34801561046757600080fd5b50610470610e67565b60405161047d9190614d65565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a8919061450d565b610ef5565b005b3480156104bb57600080fd5b506104c4610f8b565b6040516104d19190615167565b60405180910390f35b3480156104e657600080fd5b506104ef610f98565b6040516104fc9190614d4a565b60405180910390f35b34801561051157600080fd5b5061052c6004803603810190610527919061435d565b610fab565b005b34801561053a57600080fd5b5061055560048036038101906105509190614556565b61100b565b005b34801561056357600080fd5b5061056c6111ea565b6040516105799190615167565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a49190614473565b6111f0565b6040516105b69190615167565b60405180910390f35b6105c7611295565b005b3480156105d557600080fd5b506105de6112a1565b005b3480156105ec57600080fd5b506106076004803603810190610602919061435d565b611349565b005b34801561061557600080fd5b50610630600480360381019061062b9190614556565b611369565b005b34801561063e57600080fd5b50610659600480360381019061065491906142c3565b6113c5565b6040516106669190614d28565b60405180910390f35b34801561067b57600080fd5b50610684611473565b6040516106919190615167565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906145c3565b611479565b005b3480156106cf57600080fd5b506106ea60048036038101906106e59190614556565b61153c565b6040516106f79190615167565b60405180910390f35b34801561070c57600080fd5b506107156115ad565b6040516107229190615167565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d919061450d565b6115b3565b005b61075c611649565b005b34801561076a57600080fd5b5061078560048036038101906107809190614583565b611655565b005b34801561079357600080fd5b506107ae60048036038101906107a99190614556565b611725565b6040516107bb9190614c6f565b60405180910390f35b3480156107d057600080fd5b506107d96117d7565b6040516107e69190615167565b60405180910390f35b3480156107fb57600080fd5b506108046117dd565b6040516108119190614d65565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c91906142c3565b61186b565b60405161084e9190615167565b60405180910390f35b34801561086357600080fd5b5061086c611923565b005b34801561087a57600080fd5b50610895600480360381019061089091906142c3565b611a60565b005b61089f611b20565b005b6108a9611b2c565b005b3480156108b757600080fd5b506108c0611b38565b005b3480156108ce57600080fd5b506108d7611c02565b005b3480156108e557600080fd5b5061090060048036038101906108fb9190614556565b611caa565b005b34801561090e57600080fd5b50610917611d30565b6040516109249190614c6f565b60405180910390f35b610935611d5a565b005b34801561094357600080fd5b5061094c611d66565b6040516109599190614d65565b60405180910390f35b34801561096e57600080fd5b50610977611df8565b6040516109849190615167565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190614433565b611dfe565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190614556565b611f7f565b005b6109e7612005565b005b3480156109f557600080fd5b50610a106004803603810190610a0b91906143b0565b612011565b005b348015610a1e57600080fd5b50610a396004803603810190610a349190614556565b612073565b005b348015610a4757600080fd5b50610a506120f9565b604051610a5d9190614d4a565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190614556565b61210c565b604051610a9a9190614d65565b60405180910390f35b348015610aaf57600080fd5b50610ab86121b3565b604051610ac59190615167565b60405180910390f35b348015610ada57600080fd5b50610ae36121b9565b604051610af09190615167565b60405180910390f35b610b136004803603810190610b0e9190614603565b6121bf565b005b348015610b2157600080fd5b50610b3c6004803603810190610b37919061431d565b6124c9565b604051610b499190614d4a565b60405180910390f35b348015610b5e57600080fd5b50610b6761255d565b005b348015610b7557600080fd5b50610b7e6126d1565b604051610b8b9190614d4a565b60405180910390f35b348015610ba057600080fd5b50610ba96126e4565b005b348015610bb757600080fd5b50610bd26004803603810190610bcd91906142c3565b61278c565b005b348015610be057600080fd5b50610bfb6004803603810190610bf69190614556565b612938565b005b348015610c0957600080fd5b50610c246004803603810190610c1f9190614556565b6129be565b005b6000610c3182612a44565b9050919050565b606060008054610c47906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c73906154e1565b8015610cc05780601f10610c9557610100808354040283529160200191610cc0565b820191906000526020600020905b815481529060010190602001808311610ca357829003601f168201915b5050505050905090565b6000610cd582612abe565b610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b90614fe7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5a82611725565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290615067565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dea612b2a565b73ffffffffffffffffffffffffffffffffffffffff161480610e195750610e1881610e13612b2a565b6124c9565b5b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614f67565b60405180910390fd5b610e628383612b32565b505050565b60138054610e74906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea0906154e1565b8015610eed5780601f10610ec257610100808354040283529160200191610eed565b820191906000526020600020905b815481529060010190602001808311610ed057829003601f168201915b505050505081565b610efd612b2a565b73ffffffffffffffffffffffffffffffffffffffff16610f1b611d30565b73ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890615007565b60405180910390fd5b8060139080519060200190610f879291906140ad565b5050565b6000600880549050905090565b601160019054906101000a900460ff1681565b610fbc610fb6612b2a565b82612beb565b610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906150e7565b60405180910390fd5b611006838383612cc9565b505050565b611013612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611031611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615007565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff163110156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614ea7565b60405180910390fd5b6000612710905060005b60078110156111e557600082601d836007811061110b5761110a61567a565b5b0154856111189190615355565b6111229190615324565b90506111636016836007811061113b5761113a61567a565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612f25565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601683600781106111985761119761567a565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111c9929190614cff565b60405180910390a15080806111dd90615544565b9150506110eb565b505050565b600f5481565b60006111fb8361186b565b821061123c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123390614d87565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61129f600a613030565b565b6112a9612b2a565b73ffffffffffffffffffffffffffffffffffffffff166112c7611d30565b73ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490615007565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b61136483838360405180602001604052806000815250612011565b505050565b61137a611374612b2a565b82612beb565b6113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090615147565b60405180910390fd5b6113c2816131c9565b50565b606060006113d28361186b565b905060008167ffffffffffffffff8111156113f0576113ef6156a9565b5b60405190808252806020026020018201604052801561141e5781602001602082028036833780820191505090505b50905060005b828110156114685761143685826111f0565b8282815181106114495761144861567a565b5b602002602001018181525050808061146090615544565b915050611424565b508092505050919050565b60105481565b611481612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661149f611d30565b73ffffffffffffffffffffffffffffffffffffffff16146114f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ec90615007565b60405180910390fd5b6114ff8183612f25565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051611530929190614c8a565b60405180910390a15050565b6000611546610f8b565b8210611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90615107565b60405180910390fd5b6008828154811061159b5761159a61567a565b5b90600052602060002001549050919050565b600c5481565b6115bb612b2a565b73ffffffffffffffffffffffffffffffffffffffff166115d9611d30565b73ffffffffffffffffffffffffffffffffffffffff161461162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690615007565b60405180910390fd5b80601290805190602001906116459291906140ad565b5050565b6116536014613030565b565b61165d612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661167b611d30565b73ffffffffffffffffffffffffffffffffffffffff16146116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890615007565b60405180910390fd5b60006116dd600b6132da565b90506000600190505b83811161171f576117028382846116fd91906152ce565b6132e8565b61170c600b613306565b808061171790615544565b9150506116e6565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614fa7565b60405180910390fd5b80915050919050565b600d5481565b601280546117ea906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611816906154e1565b80156118635780601f1061183857610100808354040283529160200191611863565b820191906000526020600020905b81548152906001019060200180831161184657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390614f87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61192b612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611949611d30565b73ffffffffffffffffffffffffffffffffffffffff161461199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690615007565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611a68612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611a86611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad390615007565b60405180910390fd5b80602460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b2a6002613030565b565b611b366004613030565b565b611b40612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611b5e611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab90615007565b60405180910390fd5b600060155414611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614f47565b60405180910390fd5b43601481905550565b611c0a612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611c28611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590615007565b60405180910390fd5b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b611cb2612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611cd0611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1d90615007565b60405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d646003613030565b565b606060018054611d75906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611da1906154e1565b8015611dee5780601f10611dc357610100808354040283529160200191611dee565b820191906000526020600020905b815481529060010190602001808311611dd157829003601f168201915b5050505050905090565b600e5481565b611e06612b2a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6b90614e87565b60405180910390fd5b8060056000611e81612b2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f2e612b2a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f739190614d4a565b60405180910390a35050565b611f87612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611fa5611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff290615007565b60405180910390fd5b80600c8190555050565b61200f6001613030565b565b61202261201c612b2a565b83612beb565b612061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612058906150e7565b60405180910390fd5b61206d8484848461331c565b50505050565b61207b612b2a565b73ffffffffffffffffffffffffffffffffffffffff16612099611d30565b73ffffffffffffffffffffffffffffffffffffffff16146120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690615007565b60405180910390fd5b8060108190555050565b601160029054906101000a900460ff1681565b606061211782612abe565b612156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214d90615047565b60405180910390fd5b6000612160613378565b9050600081511161218057604051806020016040528060008152506121ab565b8061218a8461340a565b60405160200161219b929190614c36565b6040516020818303038152906040525b915050919050565b60155481565b60145481565b601160029054906101000a900460ff1661220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590614dc7565b60405180910390fd5b34600e541115612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90614ec7565b60405180910390fd5b61226461225e612b2a565b84612beb565b6122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a906150a7565b60405180910390fd5b60008114612489573373ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016123399190615167565b60206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238991906142f0565b73ffffffffffffffffffffffffffffffffffffffff16146123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614e27565b60405180910390fd5b602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016124569190615167565b600060405180830381600087803b15801561247057600080fd5b505af1158015612484573d6000803e3d6000fd5b505050505b7fd74c042e294151c5400ce1a8d5afa0e0ccf45c6e373f611ba916acbba4c6202c8383836040516124bc93929190615182565b60405180910390a1505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612565612b2a565b73ffffffffffffffffffffffffffffffffffffffff16612583611d30565b73ffffffffffffffffffffffffffffffffffffffff16146125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615007565b60405180910390fd5b60006015541461261e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261590614f47565b60405180910390fd5b60006014541415612664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265b906150c7565b60405180910390fd5b600c546014544060019004612679919061558d565b60158190555060ff6014544361268f91906153af565b11156126bb57600c546001436126a591906153af565b40600190046126b4919061558d565b6015819055505b600060155414156126cf5760016015819055505b565b601160009054906101000a900460ff1681565b6126ec612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661270a611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790615007565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b612794612b2a565b73ffffffffffffffffffffffffffffffffffffffff166127b2611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90615007565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286f90614e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612940612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661295e611d30565b73ffffffffffffffffffffffffffffffffffffffff16146129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab90615007565b60405180910390fd5b80600e8190555050565b6129c6612b2a565b73ffffffffffffffffffffffffffffffffffffffff166129e4611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3190615007565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ab75750612ab68261358a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ba583611725565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612bf682612abe565b612c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2c90614f27565b60405180910390fd5b6000612c4083611725565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612caf57508373ffffffffffffffffffffffffffffffffffffffff16612c9784610cca565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cc05750612cbf81856124c9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ce982611725565b73ffffffffffffffffffffffffffffffffffffffff1614612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3690615027565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da690614e67565b60405180910390fd5b612dba83838361366c565b612dc5600082612b32565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e1591906153af565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e6c91906152ce565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7690614f07565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612fa590614c5a565b60006040518083038185875af1925050503d8060008114612fe2576040519150601f19603f3d011682016040523d82523d6000602084013e612fe7565b606091505b505090508061302b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302290614ee7565b60405180910390fd5b505050565b601160009054906101000a900460ff16806130575750601160019054906101000a900460ff165b613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308d90615087565b60405180910390fd5b600c54816130a2610f8b565b6130ac91906152ce565b11156130ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e490615127565b60405180910390fd5b3481600d546130fc9190615355565b111561313d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313490614ec7565b60405180910390fd5b601160009054906101000a900460ff1661315b5761315a8161367c565b5b60005b818110156131b25760006001613174600b6132da565b61317e91906152ce565b9050600c54811161319e57613193600b613306565b61319d33826132e8565b5b5080806131aa90615544565b91505061315e565b50600060145414156131c657436014819055505b50565b60006131d482611725565b90506131e28160008461366c565b6131ed600083612b32565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461323d91906153af565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b613302828260405180602001604052806000815250613819565b5050565b6001816000016000828254019250508190555050565b613327848484612cc9565b61333384848484613874565b613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990614da7565b60405180910390fd5b50505050565b606060128054613387906154e1565b80601f01602080910402602001604051908101604052809291908181526020018280546133b3906154e1565b80156134005780601f106133d557610100808354040283529160200191613400565b820191906000526020600020905b8154815290600101906020018083116133e357829003601f168201915b5050505050905090565b60606000821415613452576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613585565b600082905060005b6000821461348457808061346d90615544565b915050600a8261347d9190615324565b915061345a565b60008167ffffffffffffffff8111156134a05761349f6156a9565b5b6040519080825280601f01601f1916602001820160405280156134d25781602001600182028036833780820191505090505b5090505b6000851461357e576001826134eb91906153af565b9150600a856134fa919061558d565b603061350691906152ce565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061353b5761353a61567a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135779190615324565b94506134d6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061365557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613665575061366482613a43565b5b9050919050565b613677838383613aad565b505050565b60006136873361186b565b905060008111156137305760006010546136a1600b6132da565b6136ab9190615324565b9050600060105460016136ca336001876136c591906153af565b6111f0565b6136d491906153af565b6136de9190615324565b905080821461372d576000602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505b600f5482602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461377e91906152ce565b11156137bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b690614de7565b60405180910390fd5b81602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461380e91906152ce565b925050819055505050565b6138238383613bc1565b6138306000848484613874565b61386f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386690614da7565b60405180910390fd5b505050565b60006138958473ffffffffffffffffffffffffffffffffffffffff16613d8f565b15613a36578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138be612b2a565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016138fc9493929190614cb3565b602060405180830381600087803b15801561391657600080fd5b505af192505050801561394757506040513d601f19601f8201168201806040525081019061394491906144e0565b60015b6139ca573d8060008114613977576040519150601f19603f3d011682016040523d82523d6000602084013e61397c565b606091505b506000815114156139c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b990614da7565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a3b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613ab8838383613da2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613afb57613af681613da7565b613b3a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b3957613b388382613df0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b7d57613b7881613f5d565b613bbc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613bbb57613bba828261402e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c2890614fc7565b60405180910390fd5b613c3a81612abe565b15613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7190614e47565b60405180910390fd5b613c866000838361366c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cd691906152ce565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613dfd8461186b565b613e0791906153af565b9050600060076000848152602001908152602001600020549050818114613eec576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f7191906153af565b9050600060096000848152602001908152602001600020549050600060088381548110613fa157613fa061567a565b5b906000526020600020015490508060088381548110613fc357613fc261567a565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806140125761401161564b565b5b6001900381819060005260206000200160009055905550505050565b60006140398361186b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546140b9906154e1565b90600052602060002090601f0160209004810192826140db5760008555614122565b82601f106140f457805160ff1916838001178555614122565b82800160010185558215614122579182015b82811115614121578251825591602001919060010190614106565b5b50905061412f9190614133565b5090565b5b8082111561414c576000816000905550600101614134565b5090565b600061416361415e846151e5565b6151c0565b90508281526020810184848401111561417f5761417e6156dd565b5b61418a84828561549f565b509392505050565b60006141a56141a084615216565b6151c0565b9050828152602081018484840111156141c1576141c06156dd565b5b6141cc84828561549f565b509392505050565b6000813590506141e381615f15565b92915050565b6000815190506141f881615f15565b92915050565b60008135905061420d81615f2c565b92915050565b60008135905061422281615f43565b92915050565b60008135905061423781615f5a565b92915050565b60008151905061424c81615f5a565b92915050565b600082601f830112614267576142666156d8565b5b8135614277848260208601614150565b91505092915050565b600082601f830112614295576142946156d8565b5b81356142a5848260208601614192565b91505092915050565b6000813590506142bd81615f71565b92915050565b6000602082840312156142d9576142d86156e7565b5b60006142e7848285016141d4565b91505092915050565b600060208284031215614306576143056156e7565b5b6000614314848285016141e9565b91505092915050565b60008060408385031215614334576143336156e7565b5b6000614342858286016141d4565b9250506020614353858286016141d4565b9150509250929050565b600080600060608486031215614376576143756156e7565b5b6000614384868287016141d4565b9350506020614395868287016141d4565b92505060406143a6868287016142ae565b9150509250925092565b600080600080608085870312156143ca576143c96156e7565b5b60006143d8878288016141d4565b94505060206143e9878288016141d4565b93505060406143fa878288016142ae565b925050606085013567ffffffffffffffff81111561441b5761441a6156e2565b5b61442787828801614252565b91505092959194509250565b6000806040838503121561444a576144496156e7565b5b6000614458858286016141d4565b925050602061446985828601614213565b9150509250929050565b6000806040838503121561448a576144896156e7565b5b6000614498858286016141d4565b92505060206144a9858286016142ae565b9150509250929050565b6000602082840312156144c9576144c86156e7565b5b60006144d784828501614228565b91505092915050565b6000602082840312156144f6576144f56156e7565b5b60006145048482850161423d565b91505092915050565b600060208284031215614523576145226156e7565b5b600082013567ffffffffffffffff811115614541576145406156e2565b5b61454d84828501614280565b91505092915050565b60006020828403121561456c5761456b6156e7565b5b600061457a848285016142ae565b91505092915050565b6000806040838503121561459a576145996156e7565b5b60006145a8858286016142ae565b92505060206145b9858286016141d4565b9150509250929050565b600080604083850312156145da576145d96156e7565b5b60006145e8858286016142ae565b92505060206145f9858286016141fe565b9150509250929050565b60008060006060848603121561461c5761461b6156e7565b5b600061462a868287016142ae565b935050602084013567ffffffffffffffff81111561464b5761464a6156e2565b5b61465786828701614280565b9250506040614668868287016142ae565b9150509250925092565b600061467e8383614c18565b60208301905092915050565b61469381615469565b82525050565b6146a2816153e3565b82525050565b60006146b382615257565b6146bd8185615285565b93506146c883615247565b8060005b838110156146f95781516146e08882614672565b97506146eb83615278565b9250506001810190506146cc565b5085935050505092915050565b61470f81615407565b82525050565b600061472082615262565b61472a8185615296565b935061473a8185602086016154ae565b614743816156ec565b840191505092915050565b60006147598261526d565b61476381856152b2565b93506147738185602086016154ae565b61477c816156ec565b840191505092915050565b60006147928261526d565b61479c81856152c3565b93506147ac8185602086016154ae565b80840191505092915050565b60006147c5602b836152b2565b91506147d0826156fd565b604082019050919050565b60006147e86032836152b2565b91506147f38261574c565b604082019050919050565b600061480b6021836152b2565b91506148168261579b565b604082019050919050565b600061482e6027836152b2565b9150614839826157ea565b604082019050919050565b60006148516026836152b2565b915061485c82615839565b604082019050919050565b60006148746028836152b2565b915061487f82615888565b604082019050919050565b6000614897601c836152b2565b91506148a2826158d7565b602082019050919050565b60006148ba6024836152b2565b91506148c582615900565b604082019050919050565b60006148dd6019836152b2565b91506148e88261594f565b602082019050919050565b60006149006014836152b2565b915061490b82615978565b602082019050919050565b6000614923601f836152b2565b915061492e826159a1565b602082019050919050565b6000614946603a836152b2565b9150614951826159ca565b604082019050919050565b6000614969601d836152b2565b915061497482615a19565b602082019050919050565b600061498c602c836152b2565b915061499782615a42565b604082019050919050565b60006149af601d836152b2565b91506149ba82615a91565b602082019050919050565b60006149d26038836152b2565b91506149dd82615aba565b604082019050919050565b60006149f5602a836152b2565b9150614a0082615b09565b604082019050919050565b6000614a186029836152b2565b9150614a2382615b58565b604082019050919050565b6000614a3b6020836152b2565b9150614a4682615ba7565b602082019050919050565b6000614a5e602c836152b2565b9150614a6982615bd0565b604082019050919050565b6000614a816020836152b2565b9150614a8c82615c1f565b602082019050919050565b6000614aa46029836152b2565b9150614aaf82615c48565b604082019050919050565b6000614ac7602f836152b2565b9150614ad282615c97565b604082019050919050565b6000614aea6021836152b2565b9150614af582615ce6565b604082019050919050565b6000614b0d6025836152b2565b9150614b1882615d35565b604082019050919050565b6000614b306020836152b2565b9150614b3b82615d84565b602082019050919050565b6000614b536020836152b2565b9150614b5e82615dad565b602082019050919050565b6000614b766000836152a7565b9150614b8182615dd6565b600082019050919050565b6000614b996031836152b2565b9150614ba482615dd9565b604082019050919050565b6000614bbc602c836152b2565b9150614bc782615e28565b604082019050919050565b6000614bdf602d836152b2565b9150614bea82615e77565b604082019050919050565b6000614c026030836152b2565b9150614c0d82615ec6565b604082019050919050565b614c218161545f565b82525050565b614c308161545f565b82525050565b6000614c428285614787565b9150614c4e8284614787565b91508190509392505050565b6000614c6582614b69565b9150819050919050565b6000602082019050614c846000830184614699565b92915050565b6000604082019050614c9f600083018561468a565b614cac6020830184614c27565b9392505050565b6000608082019050614cc86000830187614699565b614cd56020830186614699565b614ce26040830185614c27565b8181036060830152614cf48184614715565b905095945050505050565b6000604082019050614d146000830185614699565b614d216020830184614c27565b9392505050565b60006020820190508181036000830152614d4281846146a8565b905092915050565b6000602082019050614d5f6000830184614706565b92915050565b60006020820190508181036000830152614d7f818461474e565b905092915050565b60006020820190508181036000830152614da0816147b8565b9050919050565b60006020820190508181036000830152614dc0816147db565b9050919050565b60006020820190508181036000830152614de0816147fe565b9050919050565b60006020820190508181036000830152614e0081614821565b9050919050565b60006020820190508181036000830152614e2081614844565b9050919050565b60006020820190508181036000830152614e4081614867565b9050919050565b60006020820190508181036000830152614e608161488a565b9050919050565b60006020820190508181036000830152614e80816148ad565b9050919050565b60006020820190508181036000830152614ea0816148d0565b9050919050565b60006020820190508181036000830152614ec0816148f3565b9050919050565b60006020820190508181036000830152614ee081614916565b9050919050565b60006020820190508181036000830152614f0081614939565b9050919050565b60006020820190508181036000830152614f208161495c565b9050919050565b60006020820190508181036000830152614f408161497f565b9050919050565b60006020820190508181036000830152614f60816149a2565b9050919050565b60006020820190508181036000830152614f80816149c5565b9050919050565b60006020820190508181036000830152614fa0816149e8565b9050919050565b60006020820190508181036000830152614fc081614a0b565b9050919050565b60006020820190508181036000830152614fe081614a2e565b9050919050565b6000602082019050818103600083015261500081614a51565b9050919050565b6000602082019050818103600083015261502081614a74565b9050919050565b6000602082019050818103600083015261504081614a97565b9050919050565b6000602082019050818103600083015261506081614aba565b9050919050565b6000602082019050818103600083015261508081614add565b9050919050565b600060208201905081810360008301526150a081614b00565b9050919050565b600060208201905081810360008301526150c081614b23565b9050919050565b600060208201905081810360008301526150e081614b46565b9050919050565b6000602082019050818103600083015261510081614b8c565b9050919050565b6000602082019050818103600083015261512081614baf565b9050919050565b6000602082019050818103600083015261514081614bd2565b9050919050565b6000602082019050818103600083015261516081614bf5565b9050919050565b600060208201905061517c6000830184614c27565b92915050565b60006060820190506151976000830186614c27565b81810360208301526151a9818561474e565b90506151b86040830184614c27565b949350505050565b60006151ca6151db565b90506151d68282615513565b919050565b6000604051905090565b600067ffffffffffffffff821115615200576151ff6156a9565b5b615209826156ec565b9050602081019050919050565b600067ffffffffffffffff821115615231576152306156a9565b5b61523a826156ec565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d98261545f565b91506152e48361545f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615319576153186155be565b5b828201905092915050565b600061532f8261545f565b915061533a8361545f565b92508261534a576153496155ed565b5b828204905092915050565b60006153608261545f565b915061536b8361545f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153a4576153a36155be565b5b828202905092915050565b60006153ba8261545f565b91506153c58361545f565b9250828210156153d8576153d76155be565b5b828203905092915050565b60006153ee8261543f565b9050919050565b60006154008261543f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006154748261547b565b9050919050565b60006154868261548d565b9050919050565b60006154988261543f565b9050919050565b82818337600083830152505050565b60005b838110156154cc5780820151818401526020810190506154b1565b838111156154db576000848401525b50505050565b600060028204905060018216806154f957607f821691505b6020821081141561550d5761550c61561c565b5b50919050565b61551c826156ec565b810181811067ffffffffffffffff8211171561553b5761553a6156a9565b5b80604052505050565b600061554f8261545f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615582576155816155be565b5b600182019050919050565b60006155988261545f565b91506155a38361545f565b9250826155b3576155b26155ed565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5265726f6c6c696e67206973206e6f742063757272656e746c7920616374697660008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820636f6c6f6e69737473207065722077616c6c6574206c696d6974206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206f6620706f7765722075702060008201527f746f6b656e204944000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420636f6c6f60008201527f6e69737473000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520636f6c6f6e6973747300000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615f1e816153e3565b8114615f2957600080fd5b50565b615f35816153f5565b8114615f4057600080fd5b50565b615f4c81615407565b8114615f5757600080fd5b50565b615f6381615413565b8114615f6e57600080fd5b50565b615f7a8161545f565b8114615f8557600080fd5b5056fea26469706673582212204f8e690de795b56accd461a66a9b477f29f7847d60a9374c968cfbc0ac5c250a64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000009436f6c6f6e6973747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c4e5354000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610388576000357c010000000000000000000000000000000000000000000000000000000090048063715018a6116101e3578063b88d4fde11610114578063e985e9c5116100b2578063f03255491161008c578063f032554914610b94578063f2fde38b14610bab578063f489e49614610bd4578063f4a0a52814610bfd57610388565b8063e985e9c514610b15578063e986655014610b52578063eb8d244414610b6957610388565b8063c87b56dd116100ee578063c87b56dd14610a66578063cb774d4714610aa3578063e36d649814610ace578063e677d60114610af957610388565b8063b88d4fde146109e9578063c2439eed14610a12578063c82b694214610a3b57610388565b80638da5cb5b116101815780639d980bd21161015b5780639d980bd214610962578063a22cb4651461098d578063b07ed982146109b6578063b6ab6ef1146109df57610388565b80638da5cb5b14610902578063953fcb4f1461092d57806395d89b411461093757610388565b8063761575da116101bd578063761575da146108a15780637d17fcbe146108ab57806380296c5a146108c25780638881396c146108d957610388565b8063715018a6146108575780637396e3d31461086e57806375a4e2ac1461089757610388565b806342842e0e116102bd57806355f804b31161025b5780636352211e116102355780636352211e146107875780636817c76c146107c45780636c0360eb146107ef57806370a082311461081a57610388565b806355f804b31461072b57806356fa95951461075457806360b02f701461075e57610388565b8063466635a411610297578063466635a41461066f5780634d7313a41461069a5780634f6ccce7146106c357806350f7c2041461070057610388565b806342842e0e146105e057806342966c6814610609578063438b63001461063257610388565b80631f0234d81161032a5780632f35e11f116103045780632f35e11f146105575780632f745c59146105825780633474160b146105bf57806334918dfd146105c957610388565b80631f0234d8146104da57806323b872dd146105055780632e1a7d4d1461052e57610388565b8063095ea7b311610366578063095ea7b3146104325780630f7309e81461045b578063109695231461048657806318160ddd146104af57610388565b806301ffc9a71461038d57806306fdde03146103ca578063081812fc146103f5575b600080fd5b34801561039957600080fd5b506103b460048036038101906103af91906144b3565b610c26565b6040516103c19190614d4a565b60405180910390f35b3480156103d657600080fd5b506103df610c38565b6040516103ec9190614d65565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190614556565b610cca565b6040516104299190614c6f565b60405180910390f35b34801561043e57600080fd5b5061045960048036038101906104549190614473565b610d4f565b005b34801561046757600080fd5b50610470610e67565b60405161047d9190614d65565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a8919061450d565b610ef5565b005b3480156104bb57600080fd5b506104c4610f8b565b6040516104d19190615167565b60405180910390f35b3480156104e657600080fd5b506104ef610f98565b6040516104fc9190614d4a565b60405180910390f35b34801561051157600080fd5b5061052c6004803603810190610527919061435d565b610fab565b005b34801561053a57600080fd5b5061055560048036038101906105509190614556565b61100b565b005b34801561056357600080fd5b5061056c6111ea565b6040516105799190615167565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a49190614473565b6111f0565b6040516105b69190615167565b60405180910390f35b6105c7611295565b005b3480156105d557600080fd5b506105de6112a1565b005b3480156105ec57600080fd5b506106076004803603810190610602919061435d565b611349565b005b34801561061557600080fd5b50610630600480360381019061062b9190614556565b611369565b005b34801561063e57600080fd5b50610659600480360381019061065491906142c3565b6113c5565b6040516106669190614d28565b60405180910390f35b34801561067b57600080fd5b50610684611473565b6040516106919190615167565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906145c3565b611479565b005b3480156106cf57600080fd5b506106ea60048036038101906106e59190614556565b61153c565b6040516106f79190615167565b60405180910390f35b34801561070c57600080fd5b506107156115ad565b6040516107229190615167565b60405180910390f35b34801561073757600080fd5b50610752600480360381019061074d919061450d565b6115b3565b005b61075c611649565b005b34801561076a57600080fd5b5061078560048036038101906107809190614583565b611655565b005b34801561079357600080fd5b506107ae60048036038101906107a99190614556565b611725565b6040516107bb9190614c6f565b60405180910390f35b3480156107d057600080fd5b506107d96117d7565b6040516107e69190615167565b60405180910390f35b3480156107fb57600080fd5b506108046117dd565b6040516108119190614d65565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c91906142c3565b61186b565b60405161084e9190615167565b60405180910390f35b34801561086357600080fd5b5061086c611923565b005b34801561087a57600080fd5b50610895600480360381019061089091906142c3565b611a60565b005b61089f611b20565b005b6108a9611b2c565b005b3480156108b757600080fd5b506108c0611b38565b005b3480156108ce57600080fd5b506108d7611c02565b005b3480156108e557600080fd5b5061090060048036038101906108fb9190614556565b611caa565b005b34801561090e57600080fd5b50610917611d30565b6040516109249190614c6f565b60405180910390f35b610935611d5a565b005b34801561094357600080fd5b5061094c611d66565b6040516109599190614d65565b60405180910390f35b34801561096e57600080fd5b50610977611df8565b6040516109849190615167565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190614433565b611dfe565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190614556565b611f7f565b005b6109e7612005565b005b3480156109f557600080fd5b50610a106004803603810190610a0b91906143b0565b612011565b005b348015610a1e57600080fd5b50610a396004803603810190610a349190614556565b612073565b005b348015610a4757600080fd5b50610a506120f9565b604051610a5d9190614d4a565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190614556565b61210c565b604051610a9a9190614d65565b60405180910390f35b348015610aaf57600080fd5b50610ab86121b3565b604051610ac59190615167565b60405180910390f35b348015610ada57600080fd5b50610ae36121b9565b604051610af09190615167565b60405180910390f35b610b136004803603810190610b0e9190614603565b6121bf565b005b348015610b2157600080fd5b50610b3c6004803603810190610b37919061431d565b6124c9565b604051610b499190614d4a565b60405180910390f35b348015610b5e57600080fd5b50610b6761255d565b005b348015610b7557600080fd5b50610b7e6126d1565b604051610b8b9190614d4a565b60405180910390f35b348015610ba057600080fd5b50610ba96126e4565b005b348015610bb757600080fd5b50610bd26004803603810190610bcd91906142c3565b61278c565b005b348015610be057600080fd5b50610bfb6004803603810190610bf69190614556565b612938565b005b348015610c0957600080fd5b50610c246004803603810190610c1f9190614556565b6129be565b005b6000610c3182612a44565b9050919050565b606060008054610c47906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c73906154e1565b8015610cc05780601f10610c9557610100808354040283529160200191610cc0565b820191906000526020600020905b815481529060010190602001808311610ca357829003601f168201915b5050505050905090565b6000610cd582612abe565b610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b90614fe7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d5a82611725565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc290615067565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dea612b2a565b73ffffffffffffffffffffffffffffffffffffffff161480610e195750610e1881610e13612b2a565b6124c9565b5b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614f67565b60405180910390fd5b610e628383612b32565b505050565b60138054610e74906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea0906154e1565b8015610eed5780601f10610ec257610100808354040283529160200191610eed565b820191906000526020600020905b815481529060010190602001808311610ed057829003601f168201915b505050505081565b610efd612b2a565b73ffffffffffffffffffffffffffffffffffffffff16610f1b611d30565b73ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890615007565b60405180910390fd5b8060139080519060200190610f879291906140ad565b5050565b6000600880549050905090565b601160019054906101000a900460ff1681565b610fbc610fb6612b2a565b82612beb565b610ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff2906150e7565b60405180910390fd5b611006838383612cc9565b505050565b611013612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611031611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615007565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff163110156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614ea7565b60405180910390fd5b6000612710905060005b60078110156111e557600082601d836007811061110b5761110a61567a565b5b0154856111189190615355565b6111229190615324565b90506111636016836007811061113b5761113a61567a565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612f25565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601683600781106111985761119761567a565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111c9929190614cff565b60405180910390a15080806111dd90615544565b9150506110eb565b505050565b600f5481565b60006111fb8361186b565b821061123c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123390614d87565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61129f600a613030565b565b6112a9612b2a565b73ffffffffffffffffffffffffffffffffffffffff166112c7611d30565b73ffffffffffffffffffffffffffffffffffffffff161461131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490615007565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b61136483838360405180602001604052806000815250612011565b505050565b61137a611374612b2a565b82612beb565b6113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090615147565b60405180910390fd5b6113c2816131c9565b50565b606060006113d28361186b565b905060008167ffffffffffffffff8111156113f0576113ef6156a9565b5b60405190808252806020026020018201604052801561141e5781602001602082028036833780820191505090505b50905060005b828110156114685761143685826111f0565b8282815181106114495761144861567a565b5b602002602001018181525050808061146090615544565b915050611424565b508092505050919050565b60105481565b611481612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661149f611d30565b73ffffffffffffffffffffffffffffffffffffffff16146114f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ec90615007565b60405180910390fd5b6114ff8183612f25565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051611530929190614c8a565b60405180910390a15050565b6000611546610f8b565b8210611587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157e90615107565b60405180910390fd5b6008828154811061159b5761159a61567a565b5b90600052602060002001549050919050565b600c5481565b6115bb612b2a565b73ffffffffffffffffffffffffffffffffffffffff166115d9611d30565b73ffffffffffffffffffffffffffffffffffffffff161461162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690615007565b60405180910390fd5b80601290805190602001906116459291906140ad565b5050565b6116536014613030565b565b61165d612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661167b611d30565b73ffffffffffffffffffffffffffffffffffffffff16146116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890615007565b60405180910390fd5b60006116dd600b6132da565b90506000600190505b83811161171f576117028382846116fd91906152ce565b6132e8565b61170c600b613306565b808061171790615544565b9150506116e6565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590614fa7565b60405180910390fd5b80915050919050565b600d5481565b601280546117ea906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611816906154e1565b80156118635780601f1061183857610100808354040283529160200191611863565b820191906000526020600020905b81548152906001019060200180831161184657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390614f87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61192b612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611949611d30565b73ffffffffffffffffffffffffffffffffffffffff161461199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690615007565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611a68612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611a86611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad390615007565b60405180910390fd5b80602460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b2a6002613030565b565b611b366004613030565b565b611b40612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611b5e611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab90615007565b60405180910390fd5b600060155414611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614f47565b60405180910390fd5b43601481905550565b611c0a612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611c28611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7590615007565b60405180910390fd5b601160029054906101000a900460ff1615601160026101000a81548160ff021916908315150217905550565b611cb2612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611cd0611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1d90615007565b60405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d646003613030565b565b606060018054611d75906154e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611da1906154e1565b8015611dee5780601f10611dc357610100808354040283529160200191611dee565b820191906000526020600020905b815481529060010190602001808311611dd157829003601f168201915b5050505050905090565b600e5481565b611e06612b2a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6b90614e87565b60405180910390fd5b8060056000611e81612b2a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f2e612b2a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f739190614d4a565b60405180910390a35050565b611f87612b2a565b73ffffffffffffffffffffffffffffffffffffffff16611fa5611d30565b73ffffffffffffffffffffffffffffffffffffffff1614611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff290615007565b60405180910390fd5b80600c8190555050565b61200f6001613030565b565b61202261201c612b2a565b83612beb565b612061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612058906150e7565b60405180910390fd5b61206d8484848461331c565b50505050565b61207b612b2a565b73ffffffffffffffffffffffffffffffffffffffff16612099611d30565b73ffffffffffffffffffffffffffffffffffffffff16146120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690615007565b60405180910390fd5b8060108190555050565b601160029054906101000a900460ff1681565b606061211782612abe565b612156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214d90615047565b60405180910390fd5b6000612160613378565b9050600081511161218057604051806020016040528060008152506121ab565b8061218a8461340a565b60405160200161219b929190614c36565b6040516020818303038152906040525b915050919050565b60155481565b60145481565b601160029054906101000a900460ff1661220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590614dc7565b60405180910390fd5b34600e541115612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224a90614ec7565b60405180910390fd5b61226461225e612b2a565b84612beb565b6122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a906150a7565b60405180910390fd5b60008114612489573373ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016123399190615167565b60206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238991906142f0565b73ffffffffffffffffffffffffffffffffffffffff16146123df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d690614e27565b60405180910390fd5b602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016124569190615167565b600060405180830381600087803b15801561247057600080fd5b505af1158015612484573d6000803e3d6000fd5b505050505b7fd74c042e294151c5400ce1a8d5afa0e0ccf45c6e373f611ba916acbba4c6202c8383836040516124bc93929190615182565b60405180910390a1505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612565612b2a565b73ffffffffffffffffffffffffffffffffffffffff16612583611d30565b73ffffffffffffffffffffffffffffffffffffffff16146125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d090615007565b60405180910390fd5b60006015541461261e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261590614f47565b60405180910390fd5b60006014541415612664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265b906150c7565b60405180910390fd5b600c546014544060019004612679919061558d565b60158190555060ff6014544361268f91906153af565b11156126bb57600c546001436126a591906153af565b40600190046126b4919061558d565b6015819055505b600060155414156126cf5760016015819055505b565b601160009054906101000a900460ff1681565b6126ec612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661270a611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790615007565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b612794612b2a565b73ffffffffffffffffffffffffffffffffffffffff166127b2611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ff90615007565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286f90614e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612940612b2a565b73ffffffffffffffffffffffffffffffffffffffff1661295e611d30565b73ffffffffffffffffffffffffffffffffffffffff16146129b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ab90615007565b60405180910390fd5b80600e8190555050565b6129c6612b2a565b73ffffffffffffffffffffffffffffffffffffffff166129e4611d30565b73ffffffffffffffffffffffffffffffffffffffff1614612a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3190615007565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ab75750612ab68261358a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ba583611725565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612bf682612abe565b612c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2c90614f27565b60405180910390fd5b6000612c4083611725565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612caf57508373ffffffffffffffffffffffffffffffffffffffff16612c9784610cca565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cc05750612cbf81856124c9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ce982611725565b73ffffffffffffffffffffffffffffffffffffffff1614612d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3690615027565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da690614e67565b60405180910390fd5b612dba83838361366c565b612dc5600082612b32565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e1591906153af565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e6c91906152ce565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff16311015612f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7690614f07565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612fa590614c5a565b60006040518083038185875af1925050503d8060008114612fe2576040519150601f19603f3d011682016040523d82523d6000602084013e612fe7565b606091505b505090508061302b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302290614ee7565b60405180910390fd5b505050565b601160009054906101000a900460ff16806130575750601160019054906101000a900460ff165b613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308d90615087565b60405180910390fd5b600c54816130a2610f8b565b6130ac91906152ce565b11156130ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e490615127565b60405180910390fd5b3481600d546130fc9190615355565b111561313d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313490614ec7565b60405180910390fd5b601160009054906101000a900460ff1661315b5761315a8161367c565b5b60005b818110156131b25760006001613174600b6132da565b61317e91906152ce565b9050600c54811161319e57613193600b613306565b61319d33826132e8565b5b5080806131aa90615544565b91505061315e565b50600060145414156131c657436014819055505b50565b60006131d482611725565b90506131e28160008461366c565b6131ed600083612b32565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461323d91906153af565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b613302828260405180602001604052806000815250613819565b5050565b6001816000016000828254019250508190555050565b613327848484612cc9565b61333384848484613874565b613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990614da7565b60405180910390fd5b50505050565b606060128054613387906154e1565b80601f01602080910402602001604051908101604052809291908181526020018280546133b3906154e1565b80156134005780601f106133d557610100808354040283529160200191613400565b820191906000526020600020905b8154815290600101906020018083116133e357829003601f168201915b5050505050905090565b60606000821415613452576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613585565b600082905060005b6000821461348457808061346d90615544565b915050600a8261347d9190615324565b915061345a565b60008167ffffffffffffffff8111156134a05761349f6156a9565b5b6040519080825280601f01601f1916602001820160405280156134d25781602001600182028036833780820191505090505b5090505b6000851461357e576001826134eb91906153af565b9150600a856134fa919061558d565b603061350691906152ce565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061353b5761353a61567a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135779190615324565b94506134d6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061365557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613665575061366482613a43565b5b9050919050565b613677838383613aad565b505050565b60006136873361186b565b905060008111156137305760006010546136a1600b6132da565b6136ab9190615324565b9050600060105460016136ca336001876136c591906153af565b6111f0565b6136d491906153af565b6136de9190615324565b905080821461372d576000602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b50505b600f5482602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461377e91906152ce565b11156137bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b690614de7565b60405180910390fd5b81602560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461380e91906152ce565b925050819055505050565b6138238383613bc1565b6138306000848484613874565b61386f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386690614da7565b60405180910390fd5b505050565b60006138958473ffffffffffffffffffffffffffffffffffffffff16613d8f565b15613a36578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138be612b2a565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016138fc9493929190614cb3565b602060405180830381600087803b15801561391657600080fd5b505af192505050801561394757506040513d601f19601f8201168201806040525081019061394491906144e0565b60015b6139ca573d8060008114613977576040519150601f19603f3d011682016040523d82523d6000602084013e61397c565b606091505b506000815114156139c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139b990614da7565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a3b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613ab8838383613da2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613afb57613af681613da7565b613b3a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b3957613b388382613df0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b7d57613b7881613f5d565b613bbc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613bbb57613bba828261402e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c2890614fc7565b60405180910390fd5b613c3a81612abe565b15613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7190614e47565b60405180910390fd5b613c866000838361366c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cd691906152ce565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613dfd8461186b565b613e0791906153af565b9050600060076000848152602001908152602001600020549050818114613eec576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f7191906153af565b9050600060096000848152602001908152602001600020549050600060088381548110613fa157613fa061567a565b5b906000526020600020015490508060088381548110613fc357613fc261567a565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806140125761401161564b565b5b6001900381819060005260206000200160009055905550505050565b60006140398361186b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546140b9906154e1565b90600052602060002090601f0160209004810192826140db5760008555614122565b82601f106140f457805160ff1916838001178555614122565b82800160010185558215614122579182015b82811115614121578251825591602001919060010190614106565b5b50905061412f9190614133565b5090565b5b8082111561414c576000816000905550600101614134565b5090565b600061416361415e846151e5565b6151c0565b90508281526020810184848401111561417f5761417e6156dd565b5b61418a84828561549f565b509392505050565b60006141a56141a084615216565b6151c0565b9050828152602081018484840111156141c1576141c06156dd565b5b6141cc84828561549f565b509392505050565b6000813590506141e381615f15565b92915050565b6000815190506141f881615f15565b92915050565b60008135905061420d81615f2c565b92915050565b60008135905061422281615f43565b92915050565b60008135905061423781615f5a565b92915050565b60008151905061424c81615f5a565b92915050565b600082601f830112614267576142666156d8565b5b8135614277848260208601614150565b91505092915050565b600082601f830112614295576142946156d8565b5b81356142a5848260208601614192565b91505092915050565b6000813590506142bd81615f71565b92915050565b6000602082840312156142d9576142d86156e7565b5b60006142e7848285016141d4565b91505092915050565b600060208284031215614306576143056156e7565b5b6000614314848285016141e9565b91505092915050565b60008060408385031215614334576143336156e7565b5b6000614342858286016141d4565b9250506020614353858286016141d4565b9150509250929050565b600080600060608486031215614376576143756156e7565b5b6000614384868287016141d4565b9350506020614395868287016141d4565b92505060406143a6868287016142ae565b9150509250925092565b600080600080608085870312156143ca576143c96156e7565b5b60006143d8878288016141d4565b94505060206143e9878288016141d4565b93505060406143fa878288016142ae565b925050606085013567ffffffffffffffff81111561441b5761441a6156e2565b5b61442787828801614252565b91505092959194509250565b6000806040838503121561444a576144496156e7565b5b6000614458858286016141d4565b925050602061446985828601614213565b9150509250929050565b6000806040838503121561448a576144896156e7565b5b6000614498858286016141d4565b92505060206144a9858286016142ae565b9150509250929050565b6000602082840312156144c9576144c86156e7565b5b60006144d784828501614228565b91505092915050565b6000602082840312156144f6576144f56156e7565b5b60006145048482850161423d565b91505092915050565b600060208284031215614523576145226156e7565b5b600082013567ffffffffffffffff811115614541576145406156e2565b5b61454d84828501614280565b91505092915050565b60006020828403121561456c5761456b6156e7565b5b600061457a848285016142ae565b91505092915050565b6000806040838503121561459a576145996156e7565b5b60006145a8858286016142ae565b92505060206145b9858286016141d4565b9150509250929050565b600080604083850312156145da576145d96156e7565b5b60006145e8858286016142ae565b92505060206145f9858286016141fe565b9150509250929050565b60008060006060848603121561461c5761461b6156e7565b5b600061462a868287016142ae565b935050602084013567ffffffffffffffff81111561464b5761464a6156e2565b5b61465786828701614280565b9250506040614668868287016142ae565b9150509250925092565b600061467e8383614c18565b60208301905092915050565b61469381615469565b82525050565b6146a2816153e3565b82525050565b60006146b382615257565b6146bd8185615285565b93506146c883615247565b8060005b838110156146f95781516146e08882614672565b97506146eb83615278565b9250506001810190506146cc565b5085935050505092915050565b61470f81615407565b82525050565b600061472082615262565b61472a8185615296565b935061473a8185602086016154ae565b614743816156ec565b840191505092915050565b60006147598261526d565b61476381856152b2565b93506147738185602086016154ae565b61477c816156ec565b840191505092915050565b60006147928261526d565b61479c81856152c3565b93506147ac8185602086016154ae565b80840191505092915050565b60006147c5602b836152b2565b91506147d0826156fd565b604082019050919050565b60006147e86032836152b2565b91506147f38261574c565b604082019050919050565b600061480b6021836152b2565b91506148168261579b565b604082019050919050565b600061482e6027836152b2565b9150614839826157ea565b604082019050919050565b60006148516026836152b2565b915061485c82615839565b604082019050919050565b60006148746028836152b2565b915061487f82615888565b604082019050919050565b6000614897601c836152b2565b91506148a2826158d7565b602082019050919050565b60006148ba6024836152b2565b91506148c582615900565b604082019050919050565b60006148dd6019836152b2565b91506148e88261594f565b602082019050919050565b60006149006014836152b2565b915061490b82615978565b602082019050919050565b6000614923601f836152b2565b915061492e826159a1565b602082019050919050565b6000614946603a836152b2565b9150614951826159ca565b604082019050919050565b6000614969601d836152b2565b915061497482615a19565b602082019050919050565b600061498c602c836152b2565b915061499782615a42565b604082019050919050565b60006149af601d836152b2565b91506149ba82615a91565b602082019050919050565b60006149d26038836152b2565b91506149dd82615aba565b604082019050919050565b60006149f5602a836152b2565b9150614a0082615b09565b604082019050919050565b6000614a186029836152b2565b9150614a2382615b58565b604082019050919050565b6000614a3b6020836152b2565b9150614a4682615ba7565b602082019050919050565b6000614a5e602c836152b2565b9150614a6982615bd0565b604082019050919050565b6000614a816020836152b2565b9150614a8c82615c1f565b602082019050919050565b6000614aa46029836152b2565b9150614aaf82615c48565b604082019050919050565b6000614ac7602f836152b2565b9150614ad282615c97565b604082019050919050565b6000614aea6021836152b2565b9150614af582615ce6565b604082019050919050565b6000614b0d6025836152b2565b9150614b1882615d35565b604082019050919050565b6000614b306020836152b2565b9150614b3b82615d84565b602082019050919050565b6000614b536020836152b2565b9150614b5e82615dad565b602082019050919050565b6000614b766000836152a7565b9150614b8182615dd6565b600082019050919050565b6000614b996031836152b2565b9150614ba482615dd9565b604082019050919050565b6000614bbc602c836152b2565b9150614bc782615e28565b604082019050919050565b6000614bdf602d836152b2565b9150614bea82615e77565b604082019050919050565b6000614c026030836152b2565b9150614c0d82615ec6565b604082019050919050565b614c218161545f565b82525050565b614c308161545f565b82525050565b6000614c428285614787565b9150614c4e8284614787565b91508190509392505050565b6000614c6582614b69565b9150819050919050565b6000602082019050614c846000830184614699565b92915050565b6000604082019050614c9f600083018561468a565b614cac6020830184614c27565b9392505050565b6000608082019050614cc86000830187614699565b614cd56020830186614699565b614ce26040830185614c27565b8181036060830152614cf48184614715565b905095945050505050565b6000604082019050614d146000830185614699565b614d216020830184614c27565b9392505050565b60006020820190508181036000830152614d4281846146a8565b905092915050565b6000602082019050614d5f6000830184614706565b92915050565b60006020820190508181036000830152614d7f818461474e565b905092915050565b60006020820190508181036000830152614da0816147b8565b9050919050565b60006020820190508181036000830152614dc0816147db565b9050919050565b60006020820190508181036000830152614de0816147fe565b9050919050565b60006020820190508181036000830152614e0081614821565b9050919050565b60006020820190508181036000830152614e2081614844565b9050919050565b60006020820190508181036000830152614e4081614867565b9050919050565b60006020820190508181036000830152614e608161488a565b9050919050565b60006020820190508181036000830152614e80816148ad565b9050919050565b60006020820190508181036000830152614ea0816148d0565b9050919050565b60006020820190508181036000830152614ec0816148f3565b9050919050565b60006020820190508181036000830152614ee081614916565b9050919050565b60006020820190508181036000830152614f0081614939565b9050919050565b60006020820190508181036000830152614f208161495c565b9050919050565b60006020820190508181036000830152614f408161497f565b9050919050565b60006020820190508181036000830152614f60816149a2565b9050919050565b60006020820190508181036000830152614f80816149c5565b9050919050565b60006020820190508181036000830152614fa0816149e8565b9050919050565b60006020820190508181036000830152614fc081614a0b565b9050919050565b60006020820190508181036000830152614fe081614a2e565b9050919050565b6000602082019050818103600083015261500081614a51565b9050919050565b6000602082019050818103600083015261502081614a74565b9050919050565b6000602082019050818103600083015261504081614a97565b9050919050565b6000602082019050818103600083015261506081614aba565b9050919050565b6000602082019050818103600083015261508081614add565b9050919050565b600060208201905081810360008301526150a081614b00565b9050919050565b600060208201905081810360008301526150c081614b23565b9050919050565b600060208201905081810360008301526150e081614b46565b9050919050565b6000602082019050818103600083015261510081614b8c565b9050919050565b6000602082019050818103600083015261512081614baf565b9050919050565b6000602082019050818103600083015261514081614bd2565b9050919050565b6000602082019050818103600083015261516081614bf5565b9050919050565b600060208201905061517c6000830184614c27565b92915050565b60006060820190506151976000830186614c27565b81810360208301526151a9818561474e565b90506151b86040830184614c27565b949350505050565b60006151ca6151db565b90506151d68282615513565b919050565b6000604051905090565b600067ffffffffffffffff821115615200576151ff6156a9565b5b615209826156ec565b9050602081019050919050565b600067ffffffffffffffff821115615231576152306156a9565b5b61523a826156ec565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006152d98261545f565b91506152e48361545f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615319576153186155be565b5b828201905092915050565b600061532f8261545f565b915061533a8361545f565b92508261534a576153496155ed565b5b828204905092915050565b60006153608261545f565b915061536b8361545f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153a4576153a36155be565b5b828202905092915050565b60006153ba8261545f565b91506153c58361545f565b9250828210156153d8576153d76155be565b5b828203905092915050565b60006153ee8261543f565b9050919050565b60006154008261543f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006154748261547b565b9050919050565b60006154868261548d565b9050919050565b60006154988261543f565b9050919050565b82818337600083830152505050565b60005b838110156154cc5780820151818401526020810190506154b1565b838111156154db576000848401525b50505050565b600060028204905060018216806154f957607f821691505b6020821081141561550d5761550c61561c565b5b50919050565b61551c826156ec565b810181811067ffffffffffffffff8211171561553b5761553a6156a9565b5b80604052505050565b600061554f8261545f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615582576155816155be565b5b600182019050919050565b60006155988261545f565b91506155a38361545f565b9250826155b3576155b26155ed565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5265726f6c6c696e67206973206e6f742063757272656e746c7920616374697660008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820636f6c6f6e69737473207065722077616c6c6574206c696d6974206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206f6620706f7765722075702060008201527f746f6b656e204944000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420636f6c6f60008201527f6e69737473000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520636f6c6f6e6973747300000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615f1e816153e3565b8114615f2957600080fd5b50565b615f35816153f5565b8114615f4057600080fd5b50565b615f4c81615407565b8114615f5757600080fd5b50565b615f6381615413565b8114615f6e57600080fd5b50565b615f7a8161545f565b8114615f8557600080fd5b5056fea26469706673582212204f8e690de795b56accd461a66a9b477f29f7847d60a9374c968cfbc0ac5c250a64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000009436f6c6f6e6973747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c4e5354000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Colonists
Arg [1] : symbol (string): CLNST
Arg [2] : maxColonistSupply (uint256): 5000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 436f6c6f6e697374730000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 434c4e5354000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.