ERC-721
Overview
Max Total Supply
699 MXTTER
Holders
298
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MXTTERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MxtterAzarToken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/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/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; /** * __ __ __ __ ______ ______ ______ ______ * /\ "-./ \ /\_\_\_\ /\__ _\ /\__ _\ /\ ___\ /\ == \ * \ \ \-./\ \ \/_/\_\/_ \/_/\ \/ \/_/\ \/ \ \ __\ \ \ __< * \ \_\ \ \_\ /\_\/\_\ \ \_\ \ \_\ \ \_____\ \ \_\ \_\ * \/_/ \/_/ \/_/\/_/ \/_/ \/_/ \/_____/ \/_/ /_/ * * @title Token contract for Mxtter Azar public sale pieces * @dev This contract allows the distribution of Mxtter Azar public sale tokens * * * MXTTER X BLOCK::BLOCK * * Smart contract work done by joshpeters.eth */ contract MxtterAzarToken is ERC721, ERC721Enumerable, ERC721Burnable, PaymentSplitter, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bool public isPresaleActive; bool public isMintActive; uint256 public immutable mintPrice; // Merkle tree root bytes32 public root; // Tracks hash for each token mapping(uint256 => bytes32) private hashForToken; // Base URI string private uri; event NewToken(uint256 indexed tokenId, bytes32 tokenHash); constructor( uint256 _mintPrice, uint256 _tokenOffset, string memory _uri, address[] memory _payees, uint256[] memory _shares ) ERC721("MxtterAzarToken", "MXTTER") PaymentSplitter(_payees, _shares) { mintPrice = _mintPrice; uri = _uri; isPresaleActive = false; isMintActive = false; // update count to offset for(uint256 i = 0; i < _tokenOffset; i += 1) { _tokenIdCounter.increment(); } } // @dev Presale minting function. Mints token to sender. // @param proof Merkel tree proof function presaleMint(bytes32[] calldata proof) public payable { require(isPresaleActive, "Presale Not Active"); require(mintPrice == msg.value, "Incorrect Value"); require( MerkleProof.verify( proof, root, keccak256(abi.encodePacked(msg.sender)) ), "Caller not whitelisted" ); _mintToken(msg.sender); } // @dev Returns if an address is whitelisted for presale // @param proof Merkel tree proof // @param _address Address to check function isEligiblePresale(bytes32[] calldata proof, address _address) external view returns (bool) { if ( MerkleProof.verify( proof, root, keccak256(abi.encodePacked(_address)) ) ) { return true; } return false; } // @dev Main minting function. Mints token to sender. function mint() public payable { require(isMintActive, "Mint Not Active"); require(mintPrice == msg.value, "Incorrect Value"); _mintToken(msg.sender); } // @dev Gets a hash for a specific token // @param tokenId Token ID to get hash for // @return the hash function getTokenHash(uint256 tokenId) public view returns (bytes32) { return hashForToken[tokenId]; } // @dev Flips the ability to mint new tokens for presale function flipPresaleState() external onlyOwner { isPresaleActive = !isPresaleActive; } // @dev Flips the ability to mint new tokens for main sale function flipMintState() external onlyOwner { isMintActive = !isMintActive; } // @dev Allows to set the baseURI dynamically // @param uri The base uri for the metadata store function setBaseURI(string memory _uri) external onlyOwner { uri = _uri; } function setRoot(bytes32 _root) external onlyOwner { root = _root; } // @dev Private minting function for artist function mintToken(uint256 numberOfTokens, address to) external onlyOwner { for (uint256 i = 0; i < numberOfTokens; i++) { _mintToken(to); } } function _mintToken(address to) internal { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); bytes32 tokenHash = _getHash(tokenId); hashForToken[tokenId] = tokenHash; emit NewToken(tokenId, tokenHash); } function _getHash(uint256 tokenId) private view returns (bytes32) { return keccak256(abi.encodePacked(tokenId, blockhash(block.number - 1))); } function _baseURI() internal view override returns (string memory) { return uri; } // The following functions are overrides required by Solidity. 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: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_tokenOffset","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"tokenHash","type":"bytes32"}],"name":"NewToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPresaleState","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"isEligiblePresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mintToken","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162006aa838038062006aa8833981810160405281019062000037919062000890565b81816040518060400160405280600f81526020017f4d7874746572417a6172546f6b656e00000000000000000000000000000000008152506040518060400160405280600681526020017f4d585454455200000000000000000000000000000000000000000000000000008152508160009080519060200190620000bd929190620005fc565b508060019080519060200190620000d6929190620005fc565b505050805182511462000120576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001179062000a91565b60405180910390fd5b600082511162000167576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200015e9062000ad5565b60405180910390fd5b60005b82518110156200021e5762000208838281518110620001b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110620001f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151620002de60201b60201c565b8080620002159062000d24565b9150506200016a565b50505062000241620002356200051860201b60201c565b6200052060201b60201c565b8460808181525050826016908051906020019062000261929190620005fc565b506000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff02191690831515021790555060005b84811015620002d257620002bb6012620005e660201b620020951760201c565b600181620002ca919062000be7565b90506200029b565b50505050505062000f83565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003489062000a6f565b60405180910390fd5b6000811162000397576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200038e9062000af7565b60405180910390fd5b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200041c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004139062000ab3565b60405180910390fd5b600e829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a54620004d3919062000be7565b600a819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200050c92919062000a42565b60405180910390a15050565b600033905090565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200060a9062000cb8565b90600052602060002090601f0160209004810192826200062e57600085556200067a565b82601f106200064957805160ff19168380011785556200067a565b828001600101855582156200067a579182015b82811115620006795782518255916020019190600101906200065c565b5b5090506200068991906200068d565b5090565b5b80821115620006a85760008160009055506001016200068e565b5090565b6000620006c3620006bd8462000b42565b62000b19565b90508083825260208201905082856020860282011115620006e357600080fd5b60005b85811015620007175781620006fc8882620007db565b845260208401935060208301925050600181019050620006e6565b5050509392505050565b600062000738620007328462000b71565b62000b19565b905080838252602082019050828560208602820111156200075857600080fd5b60005b858110156200078c578162000771888262000879565b8452602084019350602083019250506001810190506200075b565b5050509392505050565b6000620007ad620007a78462000ba0565b62000b19565b905082815260208101848484011115620007c657600080fd5b620007d384828562000c82565b509392505050565b600081519050620007ec8162000f4f565b92915050565b600082601f8301126200080457600080fd5b815162000816848260208601620006ac565b91505092915050565b600082601f8301126200083157600080fd5b81516200084384826020860162000721565b91505092915050565b600082601f8301126200085e57600080fd5b81516200087084826020860162000796565b91505092915050565b6000815190506200088a8162000f69565b92915050565b600080600080600060a08688031215620008a957600080fd5b6000620008b98882890162000879565b9550506020620008cc8882890162000879565b945050604086015167ffffffffffffffff811115620008ea57600080fd5b620008f8888289016200084c565b935050606086015167ffffffffffffffff8111156200091657600080fd5b6200092488828901620007f2565b925050608086015167ffffffffffffffff8111156200094257600080fd5b62000950888289016200081f565b9150509295509295909350565b620009688162000c44565b82525050565b60006200097d602c8362000bd6565b91506200098a8262000e10565b604082019050919050565b6000620009a460328362000bd6565b9150620009b18262000e5f565b604082019050919050565b6000620009cb602b8362000bd6565b9150620009d88262000eae565b604082019050919050565b6000620009f2601a8362000bd6565b9150620009ff8262000efd565b602082019050919050565b600062000a19601d8362000bd6565b915062000a268262000f26565b602082019050919050565b62000a3c8162000c78565b82525050565b600060408201905062000a5960008301856200095d565b62000a68602083018462000a31565b9392505050565b6000602082019050818103600083015262000a8a816200096e565b9050919050565b6000602082019050818103600083015262000aac8162000995565b9050919050565b6000602082019050818103600083015262000ace81620009bc565b9050919050565b6000602082019050818103600083015262000af081620009e3565b9050919050565b6000602082019050818103600083015262000b128162000a0a565b9050919050565b600062000b2562000b38565b905062000b33828262000cee565b919050565b6000604051905090565b600067ffffffffffffffff82111562000b605762000b5f62000dd0565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b8f5762000b8e62000dd0565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000bbe5762000bbd62000dd0565b5b62000bc98262000dff565b9050602081019050919050565b600082825260208201905092915050565b600062000bf48262000c78565b915062000c018362000c78565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c395762000c3862000d72565b5b828201905092915050565b600062000c518262000c58565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000ca257808201518184015260208101905062000c85565b8381111562000cb2576000848401525b50505050565b6000600282049050600182168062000cd157607f821691505b6020821081141562000ce85762000ce762000da1565b5b50919050565b62000cf98262000dff565b810181811067ffffffffffffffff8211171562000d1b5762000d1a62000dd0565b5b80604052505050565b600062000d318262000c78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000d675762000d6662000d72565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000f5a8162000c44565b811462000f6657600080fd5b50565b62000f748162000c78565b811462000f8057600080fd5b50565b608051615afb62000fad60003960008181610cd40152818161167f0152611dd60152615afb6000f3fe6080604052600436106102555760003560e01c806370a0823111610139578063c87b56dd116100b6578063e33b7de31161007a578063e33b7de31461094a578063e985e9c514610975578063ebf0c717146109b2578063edc0c72c146109dd578063f2fde38b146109f9578063f81227d414610a225761029c565b8063c87b56dd1461082d578063c944ec841461086a578063ce7c2ac2146108a7578063d79779b2146108e4578063dab5f340146109215761029c565b80639852595c116100fd5780639852595c14610738578063a0cc0dc514610775578063a140ae23146107b2578063a22cb465146107db578063b88d4fde146108045761029c565b806370a0823114610651578063715018a61461068e5780638b83209b146106a55780638da5cb5b146106e257806395d89b411461070d5761029c565b8063406072a9116101d257806355f804b31161019657806355f804b31461055357806359c74f291461057c5780635b92ac0d1461059357806360d938dc146105be5780636352211e146105e95780636817c76c146106265761029c565b8063406072a91461045e57806342842e0e1461049b57806342966c68146104c457806348b75044146104ed5780634f6ccce7146105165761029c565b806318160ddd1161021957806318160ddd1461037957806319165587146103a457806323b872dd146103cd5780632f745c59146103f65780633a98ef39146104335761029c565b806301ffc9a7146102a157806306fdde03146102de578063081812fc14610309578063095ea7b3146103465780631249c58b1461036f5761029c565b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610283610a39565b3460405161029292919061490c565b60405180910390a1005b600080fd5b3480156102ad57600080fd5b506102c860048036038101906102c39190614092565b610a41565b6040516102d59190614935565b60405180910390f35b3480156102ea57600080fd5b506102f3610a53565b604051610300919061496b565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b919061418a565b610ae5565b60405161033d919061487c565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613f67565b610b6a565b005b610377610c82565b005b34801561038557600080fd5b5061038e610d3e565b60405161039b9190614d4d565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613dfc565b610d4b565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613e61565b610ef6565b005b34801561040257600080fd5b5061041d60048036038101906104189190613f67565b610f56565b60405161042a9190614d4d565b60405180910390f35b34801561043f57600080fd5b50610448610ffb565b6040516104559190614d4d565b60405180910390f35b34801561046a57600080fd5b506104856004803603810190610480919061410d565b611005565b6040516104929190614d4d565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613e61565b61108c565b005b3480156104d057600080fd5b506104eb60048036038101906104e6919061418a565b6110ac565b005b3480156104f957600080fd5b50610514600480360381019061050f919061410d565b611108565b005b34801561052257600080fd5b5061053d6004803603810190610538919061418a565b6113d0565b60405161054a9190614d4d565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190614149565b611467565b005b34801561058857600080fd5b506105916114fd565b005b34801561059f57600080fd5b506105a86115a5565b6040516105b59190614935565b60405180910390f35b3480156105ca57600080fd5b506105d36115b8565b6040516105e09190614935565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b919061418a565b6115cb565b60405161061d919061487c565b60405180910390f35b34801561063257600080fd5b5061063b61167d565b6040516106489190614d4d565b60405180910390f35b34801561065d57600080fd5b5061067860048036038101906106739190613dd3565b6116a1565b6040516106859190614d4d565b60405180910390f35b34801561069a57600080fd5b506106a3611759565b005b3480156106b157600080fd5b506106cc60048036038101906106c7919061418a565b6117e1565b6040516106d9919061487c565b60405180910390f35b3480156106ee57600080fd5b506106f761184f565b604051610704919061487c565b60405180910390f35b34801561071957600080fd5b50610722611879565b60405161072f919061496b565b60405180910390f35b34801561074457600080fd5b5061075f600480360381019061075a9190613dd3565b61190b565b60405161076c9190614d4d565b60405180910390f35b34801561078157600080fd5b5061079c6004803603810190610797919061418a565b611954565b6040516107a99190614950565b60405180910390f35b3480156107be57600080fd5b506107d960048036038101906107d491906141dc565b611971565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613f2b565b611a19565b005b34801561081057600080fd5b5061082b60048036038101906108269190613eb0565b611a2f565b005b34801561083957600080fd5b50610854600480360381019061084f919061418a565b611a91565b604051610861919061496b565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190613fe8565b611b38565b60405161089e9190614935565b60405180910390f35b3480156108b357600080fd5b506108ce60048036038101906108c99190613dd3565b611bc8565b6040516108db9190614d4d565b60405180910390f35b3480156108f057600080fd5b5061090b600480360381019061090691906140e4565b611c11565b6040516109189190614d4d565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190614069565b611c5a565b005b34801561095657600080fd5b5061095f611ce0565b60405161096c9190614d4d565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613e25565b611cea565b6040516109a99190614935565b60405180910390f35b3480156109be57600080fd5b506109c7611d7e565b6040516109d49190614950565b60405180910390f35b6109f760048036038101906109f29190613fa3565b611d84565b005b348015610a0557600080fd5b50610a206004803603810190610a1b9190613dd3565b611ef5565b005b348015610a2e57600080fd5b50610a37611fed565b005b600033905090565b6000610a4c826120ab565b9050919050565b606060008054610a629061506c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e9061506c565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082612125565b610b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2690614c0d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b75826115cb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdd90614c8d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c05610a39565b73ffffffffffffffffffffffffffffffffffffffff161480610c345750610c3381610c2e610a39565b611cea565b5b610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a90614b8d565b60405180910390fd5b610c7d8383612191565b505050565b601360019054906101000a900460ff16610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc89061498d565b60405180910390fd5b347f000000000000000000000000000000000000000000000000000000000000000014610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a906149ad565b60405180910390fd5b610d3c3361224a565b565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614a6d565b60405180910390fd5b6000610dd7611ce0565b47610de29190614e3d565b90506000610df98383610df48661190b565b6122ce565b90506000811415610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690614b4d565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e8e9190614e3d565b9250508190555080600b6000828254610ea79190614e3d565b92505081905550610eb8838261233c565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610ee9929190614897565b60405180910390a1505050565b610f07610f01610a39565b82612430565b610f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3d90614cad565b60405180910390fd5b610f5183838361250e565b505050565b6000610f61836116a1565b8210610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906149ed565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600a54905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6110a783838360405180602001604052806000815250611a2f565b505050565b6110bd6110b7610a39565b82612430565b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614d2d565b60405180910390fd5b6111058161276a565b50565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118190614a6d565b60405180910390fd5b600061119583611c11565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111ce919061487c565b60206040518083038186803b1580156111e657600080fd5b505afa1580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e91906141b3565b6112289190614e3d565b90506000611240838361123b8787611005565b6122ce565b90506000811415611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90614b4d565b60405180910390fd5b80601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113129190614e3d565b9250508190555080600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113689190614e3d565b9250508190555061137a84848361287b565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516113c292919061490c565b60405180910390a250505050565b60006113da610d3e565b821061141b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141290614ced565b60405180910390fd5b60088281548110611455577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61146f610a39565b73ffffffffffffffffffffffffffffffffffffffff1661148d61184f565b73ffffffffffffffffffffffffffffffffffffffff16146114e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114da90614c2d565b60405180910390fd5b80601690805190602001906114f9929190613b44565b5050565b611505610a39565b73ffffffffffffffffffffffffffffffffffffffff1661152361184f565b73ffffffffffffffffffffffffffffffffffffffff1614611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614c2d565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b601360019054906101000a900460ff1681565b601360009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90614bcd565b60405180910390fd5b80915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990614bad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611761610a39565b73ffffffffffffffffffffffffffffffffffffffff1661177f61184f565b73ffffffffffffffffffffffffffffffffffffffff16146117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc90614c2d565b60405180910390fd5b6117df6000612901565b565b6000600e828154811061181d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118889061506c565b80601f01602080910402602001604051908101604052809291908181526020018280546118b49061506c565b80156119015780601f106118d657610100808354040283529160200191611901565b820191906000526020600020905b8154815290600101906020018083116118e457829003601f168201915b5050505050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060156000838152602001908152602001600020549050919050565b611979610a39565b73ffffffffffffffffffffffffffffffffffffffff1661199761184f565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614c2d565b60405180910390fd5b60005b82811015611a1457611a018261224a565b8080611a0c906150cf565b9150506119f0565b505050565b611a2b611a24610a39565b83836129c7565b5050565b611a40611a3a610a39565b83612430565b611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7690614cad565b60405180910390fd5b611a8b84848484612b34565b50505050565b6060611a9c82612125565b611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614c6d565b60405180910390fd5b6000611ae5612b90565b90506000815111611b055760405180602001604052806000815250611b30565b80611b0f84612c22565b604051602001611b20929190614817565b6040516020818303038152906040525b915050919050565b6000611bae848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145484604051602001611b9391906147b9565b60405160208183030381529060405280519060200120612dcf565b15611bbc5760019050611bc1565b600090505b9392505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c62610a39565b73ffffffffffffffffffffffffffffffffffffffff16611c8061184f565b73ffffffffffffffffffffffffffffffffffffffff1614611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90614c2d565b60405180910390fd5b8060148190555050565b6000600b54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60145481565b601360009054906101000a900460ff16611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614b6d565b60405180910390fd5b347f000000000000000000000000000000000000000000000000000000000000000014611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c906149ad565b60405180910390fd5b611ea9828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145433604051602001611e8e91906147b9565b60405160208183030381529060405280519060200120612dcf565b611ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edf906149cd565b60405180910390fd5b611ef13361224a565b5050565b611efd610a39565b73ffffffffffffffffffffffffffffffffffffffff16611f1b61184f565b73ffffffffffffffffffffffffffffffffffffffff1614611f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6890614c2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614a2d565b60405180910390fd5b611fea81612901565b50565b611ff5610a39565b73ffffffffffffffffffffffffffffffffffffffff1661201361184f565b73ffffffffffffffffffffffffffffffffffffffff1614612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090614c2d565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061211e575061211d82612de6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612204836115cb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122566012612ec8565b90506122626012612095565b61226c8282612ed6565b600061227782612ef4565b9050806015600084815260200190815260200160002081905550817f909b7f363658120da065d86ce4965e673b3ecfef2158035b000e7cee46491895826040516122c19190614950565b60405180910390a2505050565b600081600a54600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561231f9190614ec4565b6123299190614e93565b6123339190614f1e565b90509392505050565b8047101561237f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237690614aed565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123a59061483b565b60006040518083038185875af1925050503d80600081146123e2576040519150601f19603f3d011682016040523d82523d6000602084013e6123e7565b606091505b505090508061242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242290614acd565b60405180910390fd5b505050565b600061243b82612125565b61247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614b2d565b60405180910390fd5b6000612485836115cb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124f457508373ffffffffffffffffffffffffffffffffffffffff166124dc84610ae5565b73ffffffffffffffffffffffffffffffffffffffff16145b8061250557506125048185611cea565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661252e826115cb565b73ffffffffffffffffffffffffffffffffffffffff1614612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b90614c4d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125eb90614a8d565b60405180910390fd5b6125ff838383612f33565b61260a600082612191565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461265a9190614f1e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b19190614e3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612775826115cb565b905061278381600084612f33565b61278e600083612191565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127de9190614f1e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6128fc8363a9059cbb60e01b848460405160240161289a92919061490c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f43565b505050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2d90614aad565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b279190614935565b60405180910390a3505050565b612b3f84848461250e565b612b4b8484848461300a565b612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190614a0d565b60405180910390fd5b50505050565b606060168054612b9f9061506c565b80601f0160208091040260200160405190810160405280929190818152602001828054612bcb9061506c565b8015612c185780601f10612bed57610100808354040283529160200191612c18565b820191906000526020600020905b815481529060010190602001808311612bfb57829003601f168201915b5050505050905090565b60606000821415612c6a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dca565b600082905060005b60008214612c9c578080612c85906150cf565b915050600a82612c959190614e93565b9150612c72565b60008167ffffffffffffffff811115612cde577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d105781602001600182028036833780820191505090505b5090505b60008514612dc357600182612d299190614f1e565b9150600a85612d389190615150565b6030612d449190614e3d565b60f81b818381518110612d80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dbc9190614e93565b9450612d14565b8093505050505b919050565b600082612ddc85846131a1565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eb157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ec15750612ec08261327a565b5b9050919050565b600081600001549050919050565b612ef08282604051806020016040528060008152506132e4565b5050565b600081600143612f049190614f1e565b40604051602001612f16929190614850565b604051602081830303815290604052805190602001209050919050565b612f3e83838361333f565b505050565b6000612fa5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166134539092919063ffffffff16565b90506000815111156130055780806020019051810190612fc59190614040565b613004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90614d0d565b60405180910390fd5b5b505050565b600061302b8473ffffffffffffffffffffffffffffffffffffffff1661346b565b15613194578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613054610a39565b8786866040518563ffffffff1660e01b815260040161307694939291906148c0565b602060405180830381600087803b15801561309057600080fd5b505af19250505080156130c157506040513d601f19601f820116820180604052508101906130be91906140bb565b60015b613144573d80600081146130f1576040519150601f19603f3d011682016040523d82523d6000602084013e6130f6565b606091505b5060008151141561313c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313390614a0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613199565b600190505b949350505050565b60008082905060005b845181101561326f5760008582815181106131ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161322f5782816040516020016132129291906147d4565b60405160208183030381529060405280519060200120925061325b565b80836040516020016132429291906147d4565b6040516020818303038152906040528051906020012092505b508080613267906150cf565b9150506131aa565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132ee838361347e565b6132fb600084848461300a565b61333a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333190614a0d565b60405180910390fd5b505050565b61334a83838361364c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561338d5761338881613651565b6133cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133cb576133ca838261369a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561340f5761340a81613807565b61344e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461344d5761344c828261394a565b5b5b505050565b606061346284846000856139c9565b90509392505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e590614bed565b60405180910390fd5b6134f781612125565b15613537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352e90614a4d565b60405180910390fd5b61354360008383612f33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135939190614e3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136a7846116a1565b6136b19190614f1e565b9050600060076000848152602001908152602001600020549050818114613796576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061381b9190614f1e565b9050600060096000848152602001908152602001600020549050600060088381548110613871577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106138b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061392e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613955836116a1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0590614b0d565b60405180910390fd5b613a178561346b565b613a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4d90614ccd565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613a7f9190614800565b60006040518083038185875af1925050503d8060008114613abc576040519150601f19603f3d011682016040523d82523d6000602084013e613ac1565b606091505b5091509150613ad1828286613add565b92505050949350505050565b60608315613aed57829050613b3d565b600083511115613b005782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b34919061496b565b60405180910390fd5b9392505050565b828054613b509061506c565b90600052602060002090601f016020900481019282613b725760008555613bb9565b82601f10613b8b57805160ff1916838001178555613bb9565b82800160010185558215613bb9579182015b82811115613bb8578251825591602001919060010190613b9d565b5b509050613bc69190613bca565b5090565b5b80821115613be3576000816000905550600101613bcb565b5090565b6000613bfa613bf584614d8d565b614d68565b905082815260208101848484011115613c1257600080fd5b613c1d84828561502a565b509392505050565b6000613c38613c3384614dbe565b614d68565b905082815260208101848484011115613c5057600080fd5b613c5b84828561502a565b509392505050565b600081359050613c7281615a24565b92915050565b600081359050613c8781615a3b565b92915050565b60008083601f840112613c9f57600080fd5b8235905067ffffffffffffffff811115613cb857600080fd5b602083019150836020820283011115613cd057600080fd5b9250929050565b600081359050613ce681615a52565b92915050565b600081519050613cfb81615a52565b92915050565b600081359050613d1081615a69565b92915050565b600081359050613d2581615a80565b92915050565b600081519050613d3a81615a80565b92915050565b600082601f830112613d5157600080fd5b8135613d61848260208601613be7565b91505092915050565b600081359050613d7981615a97565b92915050565b600082601f830112613d9057600080fd5b8135613da0848260208601613c25565b91505092915050565b600081359050613db881615aae565b92915050565b600081519050613dcd81615aae565b92915050565b600060208284031215613de557600080fd5b6000613df384828501613c63565b91505092915050565b600060208284031215613e0e57600080fd5b6000613e1c84828501613c78565b91505092915050565b60008060408385031215613e3857600080fd5b6000613e4685828601613c63565b9250506020613e5785828601613c63565b9150509250929050565b600080600060608486031215613e7657600080fd5b6000613e8486828701613c63565b9350506020613e9586828701613c63565b9250506040613ea686828701613da9565b9150509250925092565b60008060008060808587031215613ec657600080fd5b6000613ed487828801613c63565b9450506020613ee587828801613c63565b9350506040613ef687828801613da9565b925050606085013567ffffffffffffffff811115613f1357600080fd5b613f1f87828801613d40565b91505092959194509250565b60008060408385031215613f3e57600080fd5b6000613f4c85828601613c63565b9250506020613f5d85828601613cd7565b9150509250929050565b60008060408385031215613f7a57600080fd5b6000613f8885828601613c63565b9250506020613f9985828601613da9565b9150509250929050565b60008060208385031215613fb657600080fd5b600083013567ffffffffffffffff811115613fd057600080fd5b613fdc85828601613c8d565b92509250509250929050565b600080600060408486031215613ffd57600080fd5b600084013567ffffffffffffffff81111561401757600080fd5b61402386828701613c8d565b9350935050602061403686828701613c63565b9150509250925092565b60006020828403121561405257600080fd5b600061406084828501613cec565b91505092915050565b60006020828403121561407b57600080fd5b600061408984828501613d01565b91505092915050565b6000602082840312156140a457600080fd5b60006140b284828501613d16565b91505092915050565b6000602082840312156140cd57600080fd5b60006140db84828501613d2b565b91505092915050565b6000602082840312156140f657600080fd5b600061410484828501613d6a565b91505092915050565b6000806040838503121561412057600080fd5b600061412e85828601613d6a565b925050602061413f85828601613c63565b9150509250929050565b60006020828403121561415b57600080fd5b600082013567ffffffffffffffff81111561417557600080fd5b61418184828501613d7f565b91505092915050565b60006020828403121561419c57600080fd5b60006141aa84828501613da9565b91505092915050565b6000602082840312156141c557600080fd5b60006141d384828501613dbe565b91505092915050565b600080604083850312156141ef57600080fd5b60006141fd85828601613da9565b925050602061420e85828601613c63565b9150509250929050565b61422181614ff4565b82525050565b61423081614f52565b82525050565b61424761424282614f52565b615118565b82525050565b61425681614f76565b82525050565b61426581614f82565b82525050565b61427c61427782614f82565b61512a565b82525050565b600061428d82614def565b6142978185614e05565b93506142a7818560208601615039565b6142b08161523d565b840191505092915050565b60006142c682614def565b6142d08185614e16565b93506142e0818560208601615039565b80840191505092915050565b60006142f782614dfa565b6143018185614e21565b9350614311818560208601615039565b61431a8161523d565b840191505092915050565b600061433082614dfa565b61433a8185614e32565b935061434a818560208601615039565b80840191505092915050565b6000614363600f83614e21565b915061436e8261525b565b602082019050919050565b6000614386600f83614e21565b915061439182615284565b602082019050919050565b60006143a9601683614e21565b91506143b4826152ad565b602082019050919050565b60006143cc602b83614e21565b91506143d7826152d6565b604082019050919050565b60006143ef603283614e21565b91506143fa82615325565b604082019050919050565b6000614412602683614e21565b915061441d82615374565b604082019050919050565b6000614435601c83614e21565b9150614440826153c3565b602082019050919050565b6000614458602683614e21565b9150614463826153ec565b604082019050919050565b600061447b602483614e21565b91506144868261543b565b604082019050919050565b600061449e601983614e21565b91506144a98261548a565b602082019050919050565b60006144c1603a83614e21565b91506144cc826154b3565b604082019050919050565b60006144e4601d83614e21565b91506144ef82615502565b602082019050919050565b6000614507602683614e21565b91506145128261552b565b604082019050919050565b600061452a602c83614e21565b91506145358261557a565b604082019050919050565b600061454d602b83614e21565b9150614558826155c9565b604082019050919050565b6000614570601283614e21565b915061457b82615618565b602082019050919050565b6000614593603883614e21565b915061459e82615641565b604082019050919050565b60006145b6602a83614e21565b91506145c182615690565b604082019050919050565b60006145d9602983614e21565b91506145e4826156df565b604082019050919050565b60006145fc602083614e21565b91506146078261572e565b602082019050919050565b600061461f602c83614e21565b915061462a82615757565b604082019050919050565b6000614642602083614e21565b915061464d826157a6565b602082019050919050565b6000614665602983614e21565b9150614670826157cf565b604082019050919050565b6000614688602f83614e21565b91506146938261581e565b604082019050919050565b60006146ab602183614e21565b91506146b68261586d565b604082019050919050565b60006146ce600083614e16565b91506146d9826158bc565b600082019050919050565b60006146f1603183614e21565b91506146fc826158bf565b604082019050919050565b6000614714601d83614e21565b915061471f8261590e565b602082019050919050565b6000614737602c83614e21565b915061474282615937565b604082019050919050565b600061475a602a83614e21565b915061476582615986565b604082019050919050565b600061477d603083614e21565b9150614788826159d5565b604082019050919050565b61479c81614fea565b82525050565b6147b36147ae82614fea565b615146565b82525050565b60006147c58284614236565b60148201915081905092915050565b60006147e0828561426b565b6020820191506147f0828461426b565b6020820191508190509392505050565b600061480c82846142bb565b915081905092915050565b60006148238285614325565b915061482f8284614325565b91508190509392505050565b6000614846826146c1565b9150819050919050565b600061485c82856147a2565b60208201915061486c828461426b565b6020820191508190509392505050565b60006020820190506148916000830184614227565b92915050565b60006040820190506148ac6000830185614218565b6148b96020830184614793565b9392505050565b60006080820190506148d56000830187614227565b6148e26020830186614227565b6148ef6040830185614793565b81810360608301526149018184614282565b905095945050505050565b60006040820190506149216000830185614227565b61492e6020830184614793565b9392505050565b600060208201905061494a600083018461424d565b92915050565b6000602082019050614965600083018461425c565b92915050565b6000602082019050818103600083015261498581846142ec565b905092915050565b600060208201905081810360008301526149a681614356565b9050919050565b600060208201905081810360008301526149c681614379565b9050919050565b600060208201905081810360008301526149e68161439c565b9050919050565b60006020820190508181036000830152614a06816143bf565b9050919050565b60006020820190508181036000830152614a26816143e2565b9050919050565b60006020820190508181036000830152614a4681614405565b9050919050565b60006020820190508181036000830152614a6681614428565b9050919050565b60006020820190508181036000830152614a868161444b565b9050919050565b60006020820190508181036000830152614aa68161446e565b9050919050565b60006020820190508181036000830152614ac681614491565b9050919050565b60006020820190508181036000830152614ae6816144b4565b9050919050565b60006020820190508181036000830152614b06816144d7565b9050919050565b60006020820190508181036000830152614b26816144fa565b9050919050565b60006020820190508181036000830152614b468161451d565b9050919050565b60006020820190508181036000830152614b6681614540565b9050919050565b60006020820190508181036000830152614b8681614563565b9050919050565b60006020820190508181036000830152614ba681614586565b9050919050565b60006020820190508181036000830152614bc6816145a9565b9050919050565b60006020820190508181036000830152614be6816145cc565b9050919050565b60006020820190508181036000830152614c06816145ef565b9050919050565b60006020820190508181036000830152614c2681614612565b9050919050565b60006020820190508181036000830152614c4681614635565b9050919050565b60006020820190508181036000830152614c6681614658565b9050919050565b60006020820190508181036000830152614c868161467b565b9050919050565b60006020820190508181036000830152614ca68161469e565b9050919050565b60006020820190508181036000830152614cc6816146e4565b9050919050565b60006020820190508181036000830152614ce681614707565b9050919050565b60006020820190508181036000830152614d068161472a565b9050919050565b60006020820190508181036000830152614d268161474d565b9050919050565b60006020820190508181036000830152614d4681614770565b9050919050565b6000602082019050614d626000830184614793565b92915050565b6000614d72614d83565b9050614d7e828261509e565b919050565b6000604051905090565b600067ffffffffffffffff821115614da857614da761520e565b5b614db18261523d565b9050602081019050919050565b600067ffffffffffffffff821115614dd957614dd861520e565b5b614de28261523d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4882614fea565b9150614e5383614fea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8857614e87615181565b5b828201905092915050565b6000614e9e82614fea565b9150614ea983614fea565b925082614eb957614eb86151b0565b5b828204905092915050565b6000614ecf82614fea565b9150614eda83614fea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1357614f12615181565b5b828202905092915050565b6000614f2982614fea565b9150614f3483614fea565b925082821015614f4757614f46615181565b5b828203905092915050565b6000614f5d82614fca565b9050919050565b6000614f6f82614fca565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614fc382614f52565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614fff82615006565b9050919050565b600061501182615018565b9050919050565b600061502382614fca565b9050919050565b82818337600083830152505050565b60005b8381101561505757808201518184015260208101905061503c565b83811115615066576000848401525b50505050565b6000600282049050600182168061508457607f821691505b60208210811415615098576150976151df565b5b50919050565b6150a78261523d565b810181811067ffffffffffffffff821117156150c6576150c561520e565b5b80604052505050565b60006150da82614fea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561510d5761510c615181565b5b600182019050919050565b600061512382615134565b9050919050565b6000819050919050565b600061513f8261524e565b9050919050565b6000819050919050565b600061515b82614fea565b915061516683614fea565b925082615176576151756151b0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74204e6f74204163746976650000000000000000000000000000000000600082015250565b7f496e636f72726563742056616c75650000000000000000000000000000000000600082015250565b7f43616c6c6572206e6f742077686974656c697374656400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f50726573616c65204e6f74204163746976650000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615a2d81614f52565b8114615a3857600080fd5b50565b615a4481614f64565b8114615a4f57600080fd5b50565b615a5b81614f76565b8114615a6657600080fd5b50565b615a7281614f82565b8114615a7d57600080fd5b50565b615a8981614f8c565b8114615a9457600080fd5b50565b615aa081614fb8565b8114615aab57600080fd5b50565b615ab781614fea565b8114615ac257600080fd5b5056fea26469706673582212201fa1ecdfb51bdbd2e1266f1f7ae91407cf000003c7274d739fa8235e7352408164736f6c63430008040033000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000000000000000000000000000000000000000001300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f6d78747465722d617a61722d746573742e73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000005c835eb9ece4c2c5786251d787ca2ea8c5020b380000000000000000000000002b59e4eefed1fb2fcdde878a57f98c18199d3dde0000000000000000000000006c6af3b1a70df1e4596557da92b16ed812e27b580000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000000a
Deployed Bytecode
0x6080604052600436106102555760003560e01c806370a0823111610139578063c87b56dd116100b6578063e33b7de31161007a578063e33b7de31461094a578063e985e9c514610975578063ebf0c717146109b2578063edc0c72c146109dd578063f2fde38b146109f9578063f81227d414610a225761029c565b8063c87b56dd1461082d578063c944ec841461086a578063ce7c2ac2146108a7578063d79779b2146108e4578063dab5f340146109215761029c565b80639852595c116100fd5780639852595c14610738578063a0cc0dc514610775578063a140ae23146107b2578063a22cb465146107db578063b88d4fde146108045761029c565b806370a0823114610651578063715018a61461068e5780638b83209b146106a55780638da5cb5b146106e257806395d89b411461070d5761029c565b8063406072a9116101d257806355f804b31161019657806355f804b31461055357806359c74f291461057c5780635b92ac0d1461059357806360d938dc146105be5780636352211e146105e95780636817c76c146106265761029c565b8063406072a91461045e57806342842e0e1461049b57806342966c68146104c457806348b75044146104ed5780634f6ccce7146105165761029c565b806318160ddd1161021957806318160ddd1461037957806319165587146103a457806323b872dd146103cd5780632f745c59146103f65780633a98ef39146104335761029c565b806301ffc9a7146102a157806306fdde03146102de578063081812fc14610309578063095ea7b3146103465780631249c58b1461036f5761029c565b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610283610a39565b3460405161029292919061490c565b60405180910390a1005b600080fd5b3480156102ad57600080fd5b506102c860048036038101906102c39190614092565b610a41565b6040516102d59190614935565b60405180910390f35b3480156102ea57600080fd5b506102f3610a53565b604051610300919061496b565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b919061418a565b610ae5565b60405161033d919061487c565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613f67565b610b6a565b005b610377610c82565b005b34801561038557600080fd5b5061038e610d3e565b60405161039b9190614d4d565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613dfc565b610d4b565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613e61565b610ef6565b005b34801561040257600080fd5b5061041d60048036038101906104189190613f67565b610f56565b60405161042a9190614d4d565b60405180910390f35b34801561043f57600080fd5b50610448610ffb565b6040516104559190614d4d565b60405180910390f35b34801561046a57600080fd5b506104856004803603810190610480919061410d565b611005565b6040516104929190614d4d565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613e61565b61108c565b005b3480156104d057600080fd5b506104eb60048036038101906104e6919061418a565b6110ac565b005b3480156104f957600080fd5b50610514600480360381019061050f919061410d565b611108565b005b34801561052257600080fd5b5061053d6004803603810190610538919061418a565b6113d0565b60405161054a9190614d4d565b60405180910390f35b34801561055f57600080fd5b5061057a60048036038101906105759190614149565b611467565b005b34801561058857600080fd5b506105916114fd565b005b34801561059f57600080fd5b506105a86115a5565b6040516105b59190614935565b60405180910390f35b3480156105ca57600080fd5b506105d36115b8565b6040516105e09190614935565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b919061418a565b6115cb565b60405161061d919061487c565b60405180910390f35b34801561063257600080fd5b5061063b61167d565b6040516106489190614d4d565b60405180910390f35b34801561065d57600080fd5b5061067860048036038101906106739190613dd3565b6116a1565b6040516106859190614d4d565b60405180910390f35b34801561069a57600080fd5b506106a3611759565b005b3480156106b157600080fd5b506106cc60048036038101906106c7919061418a565b6117e1565b6040516106d9919061487c565b60405180910390f35b3480156106ee57600080fd5b506106f761184f565b604051610704919061487c565b60405180910390f35b34801561071957600080fd5b50610722611879565b60405161072f919061496b565b60405180910390f35b34801561074457600080fd5b5061075f600480360381019061075a9190613dd3565b61190b565b60405161076c9190614d4d565b60405180910390f35b34801561078157600080fd5b5061079c6004803603810190610797919061418a565b611954565b6040516107a99190614950565b60405180910390f35b3480156107be57600080fd5b506107d960048036038101906107d491906141dc565b611971565b005b3480156107e757600080fd5b5061080260048036038101906107fd9190613f2b565b611a19565b005b34801561081057600080fd5b5061082b60048036038101906108269190613eb0565b611a2f565b005b34801561083957600080fd5b50610854600480360381019061084f919061418a565b611a91565b604051610861919061496b565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190613fe8565b611b38565b60405161089e9190614935565b60405180910390f35b3480156108b357600080fd5b506108ce60048036038101906108c99190613dd3565b611bc8565b6040516108db9190614d4d565b60405180910390f35b3480156108f057600080fd5b5061090b600480360381019061090691906140e4565b611c11565b6040516109189190614d4d565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190614069565b611c5a565b005b34801561095657600080fd5b5061095f611ce0565b60405161096c9190614d4d565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613e25565b611cea565b6040516109a99190614935565b60405180910390f35b3480156109be57600080fd5b506109c7611d7e565b6040516109d49190614950565b60405180910390f35b6109f760048036038101906109f29190613fa3565b611d84565b005b348015610a0557600080fd5b50610a206004803603810190610a1b9190613dd3565b611ef5565b005b348015610a2e57600080fd5b50610a37611fed565b005b600033905090565b6000610a4c826120ab565b9050919050565b606060008054610a629061506c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8e9061506c565b8015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af082612125565b610b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2690614c0d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b75826115cb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdd90614c8d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c05610a39565b73ffffffffffffffffffffffffffffffffffffffff161480610c345750610c3381610c2e610a39565b611cea565b5b610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a90614b8d565b60405180910390fd5b610c7d8383612191565b505050565b601360019054906101000a900460ff16610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc89061498d565b60405180910390fd5b347f000000000000000000000000000000000000000000000000016345785d8a000014610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a906149ad565b60405180910390fd5b610d3c3361224a565b565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614a6d565b60405180910390fd5b6000610dd7611ce0565b47610de29190614e3d565b90506000610df98383610df48661190b565b6122ce565b90506000811415610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690614b4d565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e8e9190614e3d565b9250508190555080600b6000828254610ea79190614e3d565b92505081905550610eb8838261233c565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610ee9929190614897565b60405180910390a1505050565b610f07610f01610a39565b82612430565b610f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3d90614cad565b60405180910390fd5b610f5183838361250e565b505050565b6000610f61836116a1565b8210610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906149ed565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600a54905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6110a783838360405180602001604052806000815250611a2f565b505050565b6110bd6110b7610a39565b82612430565b6110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614d2d565b60405180910390fd5b6111058161276a565b50565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118190614a6d565b60405180910390fd5b600061119583611c11565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111ce919061487c565b60206040518083038186803b1580156111e657600080fd5b505afa1580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e91906141b3565b6112289190614e3d565b90506000611240838361123b8787611005565b6122ce565b90506000811415611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90614b4d565b60405180910390fd5b80601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113129190614e3d565b9250508190555080600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113689190614e3d565b9250508190555061137a84848361287b565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516113c292919061490c565b60405180910390a250505050565b60006113da610d3e565b821061141b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141290614ced565b60405180910390fd5b60088281548110611455577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61146f610a39565b73ffffffffffffffffffffffffffffffffffffffff1661148d61184f565b73ffffffffffffffffffffffffffffffffffffffff16146114e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114da90614c2d565b60405180910390fd5b80601690805190602001906114f9929190613b44565b5050565b611505610a39565b73ffffffffffffffffffffffffffffffffffffffff1661152361184f565b73ffffffffffffffffffffffffffffffffffffffff1614611579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157090614c2d565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b601360019054906101000a900460ff1681565b601360009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90614bcd565b60405180910390fd5b80915050919050565b7f000000000000000000000000000000000000000000000000016345785d8a000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990614bad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611761610a39565b73ffffffffffffffffffffffffffffffffffffffff1661177f61184f565b73ffffffffffffffffffffffffffffffffffffffff16146117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc90614c2d565b60405180910390fd5b6117df6000612901565b565b6000600e828154811061181d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118889061506c565b80601f01602080910402602001604051908101604052809291908181526020018280546118b49061506c565b80156119015780601f106118d657610100808354040283529160200191611901565b820191906000526020600020905b8154815290600101906020018083116118e457829003601f168201915b5050505050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600060156000838152602001908152602001600020549050919050565b611979610a39565b73ffffffffffffffffffffffffffffffffffffffff1661199761184f565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e490614c2d565b60405180910390fd5b60005b82811015611a1457611a018261224a565b8080611a0c906150cf565b9150506119f0565b505050565b611a2b611a24610a39565b83836129c7565b5050565b611a40611a3a610a39565b83612430565b611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7690614cad565b60405180910390fd5b611a8b84848484612b34565b50505050565b6060611a9c82612125565b611adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad290614c6d565b60405180910390fd5b6000611ae5612b90565b90506000815111611b055760405180602001604052806000815250611b30565b80611b0f84612c22565b604051602001611b20929190614817565b6040516020818303038152906040525b915050919050565b6000611bae848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145484604051602001611b9391906147b9565b60405160208183030381529060405280519060200120612dcf565b15611bbc5760019050611bc1565b600090505b9392505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611c62610a39565b73ffffffffffffffffffffffffffffffffffffffff16611c8061184f565b73ffffffffffffffffffffffffffffffffffffffff1614611cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccd90614c2d565b60405180910390fd5b8060148190555050565b6000600b54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60145481565b601360009054906101000a900460ff16611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614b6d565b60405180910390fd5b347f000000000000000000000000000000000000000000000000016345785d8a000014611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c906149ad565b60405180910390fd5b611ea9828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145433604051602001611e8e91906147b9565b60405160208183030381529060405280519060200120612dcf565b611ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edf906149cd565b60405180910390fd5b611ef13361224a565b5050565b611efd610a39565b73ffffffffffffffffffffffffffffffffffffffff16611f1b61184f565b73ffffffffffffffffffffffffffffffffffffffff1614611f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6890614c2d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd890614a2d565b60405180910390fd5b611fea81612901565b50565b611ff5610a39565b73ffffffffffffffffffffffffffffffffffffffff1661201361184f565b73ffffffffffffffffffffffffffffffffffffffff1614612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090614c2d565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061211e575061211d82612de6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612204836115cb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122566012612ec8565b90506122626012612095565b61226c8282612ed6565b600061227782612ef4565b9050806015600084815260200190815260200160002081905550817f909b7f363658120da065d86ce4965e673b3ecfef2158035b000e7cee46491895826040516122c19190614950565b60405180910390a2505050565b600081600a54600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561231f9190614ec4565b6123299190614e93565b6123339190614f1e565b90509392505050565b8047101561237f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237690614aed565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123a59061483b565b60006040518083038185875af1925050503d80600081146123e2576040519150601f19603f3d011682016040523d82523d6000602084013e6123e7565b606091505b505090508061242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242290614acd565b60405180910390fd5b505050565b600061243b82612125565b61247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247190614b2d565b60405180910390fd5b6000612485836115cb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124f457508373ffffffffffffffffffffffffffffffffffffffff166124dc84610ae5565b73ffffffffffffffffffffffffffffffffffffffff16145b8061250557506125048185611cea565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661252e826115cb565b73ffffffffffffffffffffffffffffffffffffffff1614612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b90614c4d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125eb90614a8d565b60405180910390fd5b6125ff838383612f33565b61260a600082612191565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461265a9190614f1e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b19190614e3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612775826115cb565b905061278381600084612f33565b61278e600083612191565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127de9190614f1e565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6128fc8363a9059cbb60e01b848460405160240161289a92919061490c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612f43565b505050565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2d90614aad565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b279190614935565b60405180910390a3505050565b612b3f84848461250e565b612b4b8484848461300a565b612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190614a0d565b60405180910390fd5b50505050565b606060168054612b9f9061506c565b80601f0160208091040260200160405190810160405280929190818152602001828054612bcb9061506c565b8015612c185780601f10612bed57610100808354040283529160200191612c18565b820191906000526020600020905b815481529060010190602001808311612bfb57829003601f168201915b5050505050905090565b60606000821415612c6a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dca565b600082905060005b60008214612c9c578080612c85906150cf565b915050600a82612c959190614e93565b9150612c72565b60008167ffffffffffffffff811115612cde577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d105781602001600182028036833780820191505090505b5090505b60008514612dc357600182612d299190614f1e565b9150600a85612d389190615150565b6030612d449190614e3d565b60f81b818381518110612d80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dbc9190614e93565b9450612d14565b8093505050505b919050565b600082612ddc85846131a1565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eb157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ec15750612ec08261327a565b5b9050919050565b600081600001549050919050565b612ef08282604051806020016040528060008152506132e4565b5050565b600081600143612f049190614f1e565b40604051602001612f16929190614850565b604051602081830303815290604052805190602001209050919050565b612f3e83838361333f565b505050565b6000612fa5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166134539092919063ffffffff16565b90506000815111156130055780806020019051810190612fc59190614040565b613004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90614d0d565b60405180910390fd5b5b505050565b600061302b8473ffffffffffffffffffffffffffffffffffffffff1661346b565b15613194578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613054610a39565b8786866040518563ffffffff1660e01b815260040161307694939291906148c0565b602060405180830381600087803b15801561309057600080fd5b505af19250505080156130c157506040513d601f19601f820116820180604052508101906130be91906140bb565b60015b613144573d80600081146130f1576040519150601f19603f3d011682016040523d82523d6000602084013e6130f6565b606091505b5060008151141561313c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313390614a0d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613199565b600190505b949350505050565b60008082905060005b845181101561326f5760008582815181106131ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161322f5782816040516020016132129291906147d4565b60405160208183030381529060405280519060200120925061325b565b80836040516020016132429291906147d4565b6040516020818303038152906040528051906020012092505b508080613267906150cf565b9150506131aa565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132ee838361347e565b6132fb600084848461300a565b61333a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333190614a0d565b60405180910390fd5b505050565b61334a83838361364c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561338d5761338881613651565b6133cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146133cb576133ca838261369a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561340f5761340a81613807565b61344e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461344d5761344c828261394a565b5b5b505050565b606061346284846000856139c9565b90509392505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e590614bed565b60405180910390fd5b6134f781612125565b15613537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352e90614a4d565b60405180910390fd5b61354360008383612f33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135939190614e3d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016136a7846116a1565b6136b19190614f1e565b9050600060076000848152602001908152602001600020549050818114613796576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061381b9190614f1e565b9050600060096000848152602001908152602001600020549050600060088381548110613871577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106138b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061392e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613955836116a1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0590614b0d565b60405180910390fd5b613a178561346b565b613a56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4d90614ccd565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613a7f9190614800565b60006040518083038185875af1925050503d8060008114613abc576040519150601f19603f3d011682016040523d82523d6000602084013e613ac1565b606091505b5091509150613ad1828286613add565b92505050949350505050565b60608315613aed57829050613b3d565b600083511115613b005782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b34919061496b565b60405180910390fd5b9392505050565b828054613b509061506c565b90600052602060002090601f016020900481019282613b725760008555613bb9565b82601f10613b8b57805160ff1916838001178555613bb9565b82800160010185558215613bb9579182015b82811115613bb8578251825591602001919060010190613b9d565b5b509050613bc69190613bca565b5090565b5b80821115613be3576000816000905550600101613bcb565b5090565b6000613bfa613bf584614d8d565b614d68565b905082815260208101848484011115613c1257600080fd5b613c1d84828561502a565b509392505050565b6000613c38613c3384614dbe565b614d68565b905082815260208101848484011115613c5057600080fd5b613c5b84828561502a565b509392505050565b600081359050613c7281615a24565b92915050565b600081359050613c8781615a3b565b92915050565b60008083601f840112613c9f57600080fd5b8235905067ffffffffffffffff811115613cb857600080fd5b602083019150836020820283011115613cd057600080fd5b9250929050565b600081359050613ce681615a52565b92915050565b600081519050613cfb81615a52565b92915050565b600081359050613d1081615a69565b92915050565b600081359050613d2581615a80565b92915050565b600081519050613d3a81615a80565b92915050565b600082601f830112613d5157600080fd5b8135613d61848260208601613be7565b91505092915050565b600081359050613d7981615a97565b92915050565b600082601f830112613d9057600080fd5b8135613da0848260208601613c25565b91505092915050565b600081359050613db881615aae565b92915050565b600081519050613dcd81615aae565b92915050565b600060208284031215613de557600080fd5b6000613df384828501613c63565b91505092915050565b600060208284031215613e0e57600080fd5b6000613e1c84828501613c78565b91505092915050565b60008060408385031215613e3857600080fd5b6000613e4685828601613c63565b9250506020613e5785828601613c63565b9150509250929050565b600080600060608486031215613e7657600080fd5b6000613e8486828701613c63565b9350506020613e9586828701613c63565b9250506040613ea686828701613da9565b9150509250925092565b60008060008060808587031215613ec657600080fd5b6000613ed487828801613c63565b9450506020613ee587828801613c63565b9350506040613ef687828801613da9565b925050606085013567ffffffffffffffff811115613f1357600080fd5b613f1f87828801613d40565b91505092959194509250565b60008060408385031215613f3e57600080fd5b6000613f4c85828601613c63565b9250506020613f5d85828601613cd7565b9150509250929050565b60008060408385031215613f7a57600080fd5b6000613f8885828601613c63565b9250506020613f9985828601613da9565b9150509250929050565b60008060208385031215613fb657600080fd5b600083013567ffffffffffffffff811115613fd057600080fd5b613fdc85828601613c8d565b92509250509250929050565b600080600060408486031215613ffd57600080fd5b600084013567ffffffffffffffff81111561401757600080fd5b61402386828701613c8d565b9350935050602061403686828701613c63565b9150509250925092565b60006020828403121561405257600080fd5b600061406084828501613cec565b91505092915050565b60006020828403121561407b57600080fd5b600061408984828501613d01565b91505092915050565b6000602082840312156140a457600080fd5b60006140b284828501613d16565b91505092915050565b6000602082840312156140cd57600080fd5b60006140db84828501613d2b565b91505092915050565b6000602082840312156140f657600080fd5b600061410484828501613d6a565b91505092915050565b6000806040838503121561412057600080fd5b600061412e85828601613d6a565b925050602061413f85828601613c63565b9150509250929050565b60006020828403121561415b57600080fd5b600082013567ffffffffffffffff81111561417557600080fd5b61418184828501613d7f565b91505092915050565b60006020828403121561419c57600080fd5b60006141aa84828501613da9565b91505092915050565b6000602082840312156141c557600080fd5b60006141d384828501613dbe565b91505092915050565b600080604083850312156141ef57600080fd5b60006141fd85828601613da9565b925050602061420e85828601613c63565b9150509250929050565b61422181614ff4565b82525050565b61423081614f52565b82525050565b61424761424282614f52565b615118565b82525050565b61425681614f76565b82525050565b61426581614f82565b82525050565b61427c61427782614f82565b61512a565b82525050565b600061428d82614def565b6142978185614e05565b93506142a7818560208601615039565b6142b08161523d565b840191505092915050565b60006142c682614def565b6142d08185614e16565b93506142e0818560208601615039565b80840191505092915050565b60006142f782614dfa565b6143018185614e21565b9350614311818560208601615039565b61431a8161523d565b840191505092915050565b600061433082614dfa565b61433a8185614e32565b935061434a818560208601615039565b80840191505092915050565b6000614363600f83614e21565b915061436e8261525b565b602082019050919050565b6000614386600f83614e21565b915061439182615284565b602082019050919050565b60006143a9601683614e21565b91506143b4826152ad565b602082019050919050565b60006143cc602b83614e21565b91506143d7826152d6565b604082019050919050565b60006143ef603283614e21565b91506143fa82615325565b604082019050919050565b6000614412602683614e21565b915061441d82615374565b604082019050919050565b6000614435601c83614e21565b9150614440826153c3565b602082019050919050565b6000614458602683614e21565b9150614463826153ec565b604082019050919050565b600061447b602483614e21565b91506144868261543b565b604082019050919050565b600061449e601983614e21565b91506144a98261548a565b602082019050919050565b60006144c1603a83614e21565b91506144cc826154b3565b604082019050919050565b60006144e4601d83614e21565b91506144ef82615502565b602082019050919050565b6000614507602683614e21565b91506145128261552b565b604082019050919050565b600061452a602c83614e21565b91506145358261557a565b604082019050919050565b600061454d602b83614e21565b9150614558826155c9565b604082019050919050565b6000614570601283614e21565b915061457b82615618565b602082019050919050565b6000614593603883614e21565b915061459e82615641565b604082019050919050565b60006145b6602a83614e21565b91506145c182615690565b604082019050919050565b60006145d9602983614e21565b91506145e4826156df565b604082019050919050565b60006145fc602083614e21565b91506146078261572e565b602082019050919050565b600061461f602c83614e21565b915061462a82615757565b604082019050919050565b6000614642602083614e21565b915061464d826157a6565b602082019050919050565b6000614665602983614e21565b9150614670826157cf565b604082019050919050565b6000614688602f83614e21565b91506146938261581e565b604082019050919050565b60006146ab602183614e21565b91506146b68261586d565b604082019050919050565b60006146ce600083614e16565b91506146d9826158bc565b600082019050919050565b60006146f1603183614e21565b91506146fc826158bf565b604082019050919050565b6000614714601d83614e21565b915061471f8261590e565b602082019050919050565b6000614737602c83614e21565b915061474282615937565b604082019050919050565b600061475a602a83614e21565b915061476582615986565b604082019050919050565b600061477d603083614e21565b9150614788826159d5565b604082019050919050565b61479c81614fea565b82525050565b6147b36147ae82614fea565b615146565b82525050565b60006147c58284614236565b60148201915081905092915050565b60006147e0828561426b565b6020820191506147f0828461426b565b6020820191508190509392505050565b600061480c82846142bb565b915081905092915050565b60006148238285614325565b915061482f8284614325565b91508190509392505050565b6000614846826146c1565b9150819050919050565b600061485c82856147a2565b60208201915061486c828461426b565b6020820191508190509392505050565b60006020820190506148916000830184614227565b92915050565b60006040820190506148ac6000830185614218565b6148b96020830184614793565b9392505050565b60006080820190506148d56000830187614227565b6148e26020830186614227565b6148ef6040830185614793565b81810360608301526149018184614282565b905095945050505050565b60006040820190506149216000830185614227565b61492e6020830184614793565b9392505050565b600060208201905061494a600083018461424d565b92915050565b6000602082019050614965600083018461425c565b92915050565b6000602082019050818103600083015261498581846142ec565b905092915050565b600060208201905081810360008301526149a681614356565b9050919050565b600060208201905081810360008301526149c681614379565b9050919050565b600060208201905081810360008301526149e68161439c565b9050919050565b60006020820190508181036000830152614a06816143bf565b9050919050565b60006020820190508181036000830152614a26816143e2565b9050919050565b60006020820190508181036000830152614a4681614405565b9050919050565b60006020820190508181036000830152614a6681614428565b9050919050565b60006020820190508181036000830152614a868161444b565b9050919050565b60006020820190508181036000830152614aa68161446e565b9050919050565b60006020820190508181036000830152614ac681614491565b9050919050565b60006020820190508181036000830152614ae6816144b4565b9050919050565b60006020820190508181036000830152614b06816144d7565b9050919050565b60006020820190508181036000830152614b26816144fa565b9050919050565b60006020820190508181036000830152614b468161451d565b9050919050565b60006020820190508181036000830152614b6681614540565b9050919050565b60006020820190508181036000830152614b8681614563565b9050919050565b60006020820190508181036000830152614ba681614586565b9050919050565b60006020820190508181036000830152614bc6816145a9565b9050919050565b60006020820190508181036000830152614be6816145cc565b9050919050565b60006020820190508181036000830152614c06816145ef565b9050919050565b60006020820190508181036000830152614c2681614612565b9050919050565b60006020820190508181036000830152614c4681614635565b9050919050565b60006020820190508181036000830152614c6681614658565b9050919050565b60006020820190508181036000830152614c868161467b565b9050919050565b60006020820190508181036000830152614ca68161469e565b9050919050565b60006020820190508181036000830152614cc6816146e4565b9050919050565b60006020820190508181036000830152614ce681614707565b9050919050565b60006020820190508181036000830152614d068161472a565b9050919050565b60006020820190508181036000830152614d268161474d565b9050919050565b60006020820190508181036000830152614d4681614770565b9050919050565b6000602082019050614d626000830184614793565b92915050565b6000614d72614d83565b9050614d7e828261509e565b919050565b6000604051905090565b600067ffffffffffffffff821115614da857614da761520e565b5b614db18261523d565b9050602081019050919050565b600067ffffffffffffffff821115614dd957614dd861520e565b5b614de28261523d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4882614fea565b9150614e5383614fea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8857614e87615181565b5b828201905092915050565b6000614e9e82614fea565b9150614ea983614fea565b925082614eb957614eb86151b0565b5b828204905092915050565b6000614ecf82614fea565b9150614eda83614fea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1357614f12615181565b5b828202905092915050565b6000614f2982614fea565b9150614f3483614fea565b925082821015614f4757614f46615181565b5b828203905092915050565b6000614f5d82614fca565b9050919050565b6000614f6f82614fca565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614fc382614f52565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614fff82615006565b9050919050565b600061501182615018565b9050919050565b600061502382614fca565b9050919050565b82818337600083830152505050565b60005b8381101561505757808201518184015260208101905061503c565b83811115615066576000848401525b50505050565b6000600282049050600182168061508457607f821691505b60208210811415615098576150976151df565b5b50919050565b6150a78261523d565b810181811067ffffffffffffffff821117156150c6576150c561520e565b5b80604052505050565b60006150da82614fea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561510d5761510c615181565b5b600182019050919050565b600061512382615134565b9050919050565b6000819050919050565b600061513f8261524e565b9050919050565b6000819050919050565b600061515b82614fea565b915061516683614fea565b925082615176576151756151b0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74204e6f74204163746976650000000000000000000000000000000000600082015250565b7f496e636f72726563742056616c75650000000000000000000000000000000000600082015250565b7f43616c6c6572206e6f742077686974656c697374656400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f50726573616c65204e6f74204163746976650000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615a2d81614f52565b8114615a3857600080fd5b50565b615a4481614f64565b8114615a4f57600080fd5b50565b615a5b81614f76565b8114615a6657600080fd5b50565b615a7281614f82565b8114615a7d57600080fd5b50565b615a8981614f8c565b8114615a9457600080fd5b50565b615aa081614fb8565b8114615aab57600080fd5b50565b615ab781614fea565b8114615ac257600080fd5b5056fea26469706673582212201fa1ecdfb51bdbd2e1266f1f7ae91407cf000003c7274d739fa8235e7352408164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000000000000000000000000000000000000000001300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f6d78747465722d617a61722d746573742e73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000005c835eb9ece4c2c5786251d787ca2ea8c5020b380000000000000000000000002b59e4eefed1fb2fcdde878a57f98c18199d3dde0000000000000000000000006c6af3b1a70df1e4596557da92b16ed812e27b580000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000000a
-----Decoded View---------------
Arg [0] : _mintPrice (uint256): 100000000000000000
Arg [1] : _tokenOffset (uint256): 19
Arg [2] : _uri (string): https://mxtter-azar-test.s3.us-west-2.amazonaws.com/metadata/
Arg [3] : _payees (address[]): 0x5c835eb9eCe4C2C5786251d787CA2ea8c5020B38,0x2b59e4eefEd1fB2FCDDE878A57F98c18199D3DDE,0x6C6af3b1a70df1e4596557DA92B16Ed812e27B58
Arg [4] : _shares (uint256[]): 45,45,10
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 000000000000000000000000000000000000000000000000000000000000003d
Arg [6] : 68747470733a2f2f6d78747465722d617a61722d746573742e73332e75732d77
Arg [7] : 6573742d322e616d617a6f6e6177732e636f6d2f6d657461646174612f000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 0000000000000000000000005c835eb9ece4c2c5786251d787ca2ea8c5020b38
Arg [10] : 0000000000000000000000002b59e4eefed1fb2fcdde878a57f98c18199d3dde
Arg [11] : 0000000000000000000000006c6af3b1a70df1e4596557da92b16ed812e27b58
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [14] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000a
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.