ERC-721
Overview
Max Total Supply
665 ZILLA
Holders
245
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ZILLALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoZilla
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; /* ▒███████▒ ██▓ ██▓ ██▓ ▄▄▄ ▒ ▒ ▒ ▄▀░▓██▒▓██▒ ▓██▒ ▒████▄ ░ ▒ ▄▀▒░ ▒██▒▒██░ ▒██░ ▒██ ▀█▄ ▄▀▒ ░░██░▒██░ ▒██░ ░██▄▄▄▄██ ▒███████▒░██░░██████▒░██████▒▓█ ▓██▒ ░▒▒ ▓░▒░▒░▓ ░ ▒░▓ ░░ ▒░▓ ░▒▒ ▓▒█░ ░░▒ ▒ ░ ▒ ▒ ░░ ░ ▒ ░░ ░ ▒ ░ ▒ ▒▒ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ */ import "./ZillaToken.sol"; import "./Ownable.sol"; import "./ERC721.sol"; import "./MerkleProof.sol"; interface Opensea { function balanceOf(address tokenOwner, uint tokenId) external view returns (bool); function safeTransferFrom(address _from, address _to, uint _id, uint _value, bytes memory _data) external; } contract ERC721Namable is ERC721 { uint256 public nameChangePrice = 200 ether; // Mapping from token ID to name mapping(uint256 => string) private _tokenName; // Mapping if certain name string has already been reserved mapping(string => bool) private _nameReserved; event NameChange (uint256 indexed tokenId, string newName); constructor(string memory _name, string memory _symbol, string[] memory _names, uint256[] memory _ids) ERC721(_name, _symbol) { for (uint256 i = 0; i < _ids.length; i++) { toggleReserveName(_names[i], true); _tokenName[_ids[i]] = _names[i]; emit NameChange(_ids[i], _names[i]); } } function changeName(uint256 tokenId, string memory newName) public virtual { address owner = ownerOf(tokenId); require(_msgSender() == owner, "ERC721: caller is not the owner"); require(validateName(newName) == true, "Not a valid new name"); require(sha256(bytes(newName)) != sha256(bytes(_tokenName[tokenId])), "New name is same as the current one"); require(isNameReserved(newName) == false, "Name already reserved"); // If already named, dereserve old name if (bytes(_tokenName[tokenId]).length > 0) { toggleReserveName(_tokenName[tokenId], false); } toggleReserveName(newName, true); _tokenName[tokenId] = newName; emit NameChange(tokenId, newName); } /** * @dev Reserves the name if isReserve is set to true, de-reserves if set to false */ function toggleReserveName(string memory str, bool isReserve) internal { _nameReserved[toLower(str)] = isReserve; } /** * @dev Returns name of the NFT at index. */ function tokenNameByIndex(uint256 index) public view returns (string memory) { return _tokenName[index]; } /** * @dev Returns if the name has been reserved. */ function isNameReserved(string memory nameString) public view returns (bool) { return _nameReserved[toLower(nameString)]; } function validateName(string memory str) public pure returns (bool){ bytes memory b = bytes(str); if (b.length < 1) return false; if (b.length > 25) return false; // Cannot be longer than 25 characters if (b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for (uint i; i < b.length; i++) { bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if ( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } /** * @dev Converts the string to lowercase */ function toLower(string memory str) public pure returns (string memory){ bytes memory bStr = bytes(str); bytes memory bLower = new bytes(bStr.length); for (uint i = 0; i < bStr.length; i++) { // Uppercase character if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) { bLower[i] = bytes1(uint8(bStr[i]) + 32); } else { bLower[i] = bStr[i]; } } return string(bLower); } } contract CryptoZilla is ERC721Namable, Ownable { event Arise(address indexed _to, uint indexed _tokenId); bytes32 public merkleRoot = ""; // Construct this from (oldId, newId) tuple elements address public openseaSharedAddress = 0x495f947276749Ce646f68AC8c248420045cb7b5e; address public burnAddress = 0x000000000000000000000000000000000000dEaD; address public communityWallet = 0x002B87138A6D4351aC3877b59E2ad953Fed99998; uint public totalSupply = 0; // This is our mint counter as well string public _baseTokenURI; ZillaToken public zillaToken; mapping(address => uint256) public zillaBalance; constructor(string[] memory _names, uint256[] memory _ids) ERC721Namable("CryptoZilla", "ZILLA", _names, _ids){} function batchMigration(uint256[] memory oldIds, uint256[] memory newIds, bytes32[] memory leaves, bytes32[][] memory proofs) external { require(oldIds.length == newIds.length && newIds.length == leaves.length, "Some Data is missing (parameters have different sizes)"); uint256 _amount = oldIds.length; // First check if all requirements are satisfied for (uint i = 0; i < _amount; i++) { // Don't allow reminting require(!_exists(newIds[i]), "Token already minted"); // Verify that (oldId, newId) correspond to the Merkle leaf require(keccak256(abi.encodePacked(oldIds[i], newIds[i])) == leaves[i], "Ids don't match Merkle leaf"); // Verify that (oldId, newId) is a valid pair in the Merkle tree require(verify(merkleRoot, leaves[i], proofs[i]), "Not a valid element in the Merkle tree"); // Verify that msg.sender is the owner of the old token require(Opensea(openseaSharedAddress).balanceOf(msg.sender, oldIds[i]), "Only token owner can mintAndBurn"); } // Mint new token for (uint j = 0; j < _amount; j++) { Opensea(openseaSharedAddress).safeTransferFrom(msg.sender, burnAddress, oldIds[j], 1, ""); _mint(msg.sender, newIds[j]); totalSupply += 1; emit Arise(msg.sender, newIds[j]); } zillaBalance[msg.sender] += _amount; zillaToken.updateRewardOnArise(msg.sender, _amount); } //can only be called from owner to mint Zillas that were already burned before migration - the zilla will be sent to community wallet function mintBurnedZilla(uint256 oldId, uint256 newId) public onlyOwner { require(!_exists(newId), "Token already minted"); require(Opensea(openseaSharedAddress).balanceOf(burnAddress, oldId), "Old Token still exists (isn't burned yet)"); _mint(communityWallet, newId); emit Arise(communityWallet, newId); totalSupply += 1; zillaBalance[communityWallet] += 1; zillaToken.updateRewardOnArise(communityWallet, 1); } //the existing _exists function is private, but we need to access it from outside function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) public returns (bytes4) { return 0xf0b9e5ba; } function verify(bytes32 root, bytes32 leaf, bytes32[] memory proof) public pure returns (bool) { return MerkleProof.verify(proof, root, leaf); } /** * @dev Returns a URI for a given token ID's metadata */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId))); } /** * @dev Updates the base token URI for the metadata */ function setBaseTokenURI(string memory __baseTokenURI) public onlyOwner { _baseTokenURI = __baseTokenURI; } // Sets the merkle root of the old - new token id tree function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } // Sets the ZillaToken contract address function setZillaToken(address _address) external onlyOwner { zillaToken = ZillaToken(_address); } // Let the user claim rewards function getReward() external { zillaToken.updateReward(msg.sender, address(0)); zillaToken.getReward(msg.sender); } function changeNamePrice(uint256 _price) external onlyOwner { nameChangePrice = _price; } function changeName(uint256 tokenId, string memory newName) public override { zillaToken.burn(msg.sender, nameChangePrice); super.changeName(tokenId, newName); } // Override the ERC-721 functions when trading the Genesis Zilla and update the $ZILLA mapping function transferFrom(address from, address to, uint256 tokenId) public override { zillaToken.updateReward(from, to); zillaBalance[from]--; zillaBalance[to]++; ERC721.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override { zillaToken.updateReward(from, to); zillaBalance[from]--; zillaBalance[to]++; ERC721.safeTransferFrom(from, to, tokenId, _data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: GPL-3.0 pragma solidity ^0.8.4; import "./Ownable.sol"; import "./ERC20.sol"; /** ▄▄███▄▄·███████╗██╗██╗ ██╗ █████╗ ██╔════╝╚══███╔╝██║██║ ██║ ██╔══██╗ ███████╗ ███╔╝ ██║██║ ██║ ███████║ ╚════██║ ███╔╝ ██║██║ ██║ ██╔══██║ ███████║███████╗██║███████╗███████╗██║ ██║ ╚═▀▀▀══╝╚══════╝╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ Special thanks to the developer of the Banana contract (Owl of Moistness) which granted us the usage of their code. */ // Interface to the Zilla migration contract interface IZilla { function zillaBalance(address _user) external view returns(uint256); } contract ZillaToken is ERC20, Ownable { uint256 constant public DAILY_RATE = 5 ether; uint256 constant public ARISE_ISSUANCE = 150 ether; uint256 constant public END_YIELD = 1955833200; // 24 december 2031, unix timestamp mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; mapping(address => bool) public grantedContracts; IZilla public zillaContract; event RewardPaid(address indexed user, uint256 reward); // Constructor expects the address of the zilla contract, where the function balanceOG is implemented constructor(address _zilla) ERC20("ZillaToken", "$ZILLA"){ zillaContract = IZilla(_zilla); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } // Update the rewards for the given user when one or more Zillas arise function updateRewardOnArise(address _user, uint256 _amount) external { require(msg.sender == address(zillaContract), "Not the Zilla contract"); // Check the timestamp of the block against the end yield date uint256 time = min(block.timestamp, END_YIELD); uint256 timerUser = lastUpdate[_user]; // If one or more Zillas of the user were already minted, update the rewards to the new yield if (timerUser > 0) { rewards[_user] += getPendingRewards(_user,time) + (_amount * ARISE_ISSUANCE); } else { rewards[_user] += (_amount * ARISE_ISSUANCE); } // Update the mapping to the newest update lastUpdate[_user] = time; } // Called on transfers / update rewards in the Zilla contract, allowing the new owner to get $ZILLA tokens function updateReward(address _from, address _to) external { require(msg.sender == address(zillaContract), "Not the Zilla contract"); uint256 time = min(block.timestamp, END_YIELD); uint256 timerFrom = lastUpdate[_from]; if (timerFrom > 0) { rewards[_from] += getPendingRewards(_from, time); } if (timerFrom != END_YIELD) { lastUpdate[_from] = time; } if (_to != address(0)) { uint256 timerTo = lastUpdate[_to]; if (timerTo > 0) { rewards[_to] += getPendingRewards(_from, time); } if (timerTo != END_YIELD) { lastUpdate[_to] = time; } } } // Mint $ZILLA tokens and send them to the user function getReward(address _to) external { require(msg.sender == address(zillaContract), "Not the Zilla contract"); uint256 reward = rewards[_to]; if (reward > 0) { rewards[_to] = 0; _mint(_to, reward); emit RewardPaid(_to, reward); } } // Burn a given amount of $ZILLA for utility function burn(address _from, uint256 _amount) external { require(grantedContracts[msg.sender] || msg.sender == address(zillaContract), "Contract is not granted to burn"); _burn(_from, _amount); } // Returns the amount of claimable $ZILLA tokens for the user (existing + pending) function getTotalClaimable(address _user) external view returns(uint256) { uint256 time = min(block.timestamp, END_YIELD); return rewards[_user] + getPendingRewards(_user, time); } // Set contracts allowed to perform operations on the contract (for future utility) function setGrantedContracts(address _address, bool _isGranted) public onlyOwner { grantedContracts[_address] = _isGranted; } // Get the pending rewards for the given user // @dev make sure that lastUpdate[user] is greater than 0 function getPendingRewards(address _user, uint256 timeStamp) internal view returns(uint256) { return zillaContract.zillaBalance(_user) * (DAILY_RATE * (timeStamp - lastUpdate[_user])) / 86400; //86400 = 3600s * 24h = 1 day in seconds } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Arise","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","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":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":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"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":"oldIds","type":"uint256[]"},{"internalType":"uint256[]","name":"newIds","type":"uint256[]"},{"internalType":"bytes32[]","name":"leaves","type":"bytes32[]"},{"internalType":"bytes32[][]","name":"proofs","type":"bytes32[][]"}],"name":"batchMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changeNamePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oldId","type":"uint256"},{"internalType":"uint256","name":"newId","type":"uint256"}],"name":"mintBurnedZilla","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openseaSharedAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setZillaToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"zillaBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zillaToken","outputs":[{"internalType":"contract ZillaToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052680ad78ebc5ac62000006006556000600a819055600b80546001600160a01b031990811673495f947276749ce646f68ac8c248420045cb7b5e17909155600c8054821661dead179055600d8054909116722b87138a6d4351ac3877b59e2ad953fed99998179055600e553480156200007b57600080fd5b5060405162003b6f38038062003b6f8339810160408190526200009e9162000626565b6040518060400160405280600b81526020016a43727970746f5a696c6c6160a81b815250604051806040016040528060058152602001645a494c4c4160d81b815250838383838160009080519060200190620000fc92919062000509565b5080516200011290600190602084019062000509565b50505060005b815181101562000276576200015d8382815181106200014757634e487b7160e01b600052603260045260246000fd5b602002602001015160016200029d60201b60201c565b8281815181106200017e57634e487b7160e01b600052603260045260246000fd5b602002602001015160076000848481518110620001ab57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000209080519060200190620001d692919062000509565b50818181518110620001f857634e487b7160e01b600052603260045260246000fd5b60200260200101517f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8483815181106200024257634e487b7160e01b600052603260045260246000fd5b60200260200101516040516200025991906200077b565b60405180910390a2806200026d81620008a1565b91505062000118565b5050505050620002956200028f620002de60201b60201c565b620002e2565b5050620008eb565b806008620002ab8462000334565b604051620002ba91906200075d565b908152604051908190036020019020805491151560ff199092169190911790555050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606000829050600081516001600160401b038111156200036557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562000390576020820181803683370190505b50905060005b825181101562000501576041838281518110620003c357634e487b7160e01b600052603260045260246000fd5b016020015160f81c10801590620004035750605a838281518110620003f857634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b1562000487578281815181106200042a57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c602062000446919062000809565b60f81b8282815181106200046a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350620004ec565b828181518110620004a857634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b828281518110620004d457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b80620004f881620008a1565b91505062000396565b509392505050565b828054620005179062000864565b90600052602060002090601f0160209004810192826200053b576000855562000586565b82601f106200055657805160ff191683800117855562000586565b8280016001018555821562000586579182015b828111156200058657825182559160200191906001019062000569565b506200059492915062000598565b5090565b5b8082111562000594576000815560010162000599565b600082601f830112620005c0578081fd5b81516020620005d9620005d383620007e3565b620007b0565b80838252828201915082860187848660051b8901011115620005f9578586fd5b855b858110156200061957815184529284019290840190600101620005fb565b5090979650505050505050565b60008060408084860312156200063a578283fd5b83516001600160401b038082111562000651578485fd5b818601915086601f83011262000665578485fd5b8151602062000678620005d383620007e3565b8083825282820191508286018b848660051b89010111156200069857898afd5b895b858110156200072857815187811115620006b2578b8cfd5b8801603f81018e13620006c3578b8cfd5b8581015188811115620006da57620006da620008d5565b620006ee601f8201601f19168801620007b0565b8181528f8c83850101111562000702578d8efd5b62000713828983018e860162000831565b8652505092840192908401906001016200069a565b50509189015191975090945050508083111562000743578384fd5b50506200075385828601620005af565b9150509250929050565b600082516200077181846020870162000831565b9190910192915050565b60208152600082518060208401526200079c81604085016020870162000831565b601f01601f19169190910160400192915050565b604051601f8201601f191681016001600160401b0381118282101715620007db57620007db620008d5565b604052919050565b60006001600160401b03821115620007ff57620007ff620008d5565b5060051b60200190565b600060ff821660ff84168060ff03821115620008295762000829620008bf565b019392505050565b60005b838110156200084e57818101518382015260200162000834565b838111156200085e576000848401525b50505050565b600181811c908216806200087957607f821691505b602082108114156200089b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620008b857620008b8620008bf565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61327480620008fb6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806370d5ae051161013b5780639ffdb65a116100b8578063c87b56dd1161007c578063c87b56dd14610516578063cc371bf314610529578063cfc86f7b1461053c578063e985e9c514610544578063f2fde38b1461058057600080fd5b80639ffdb65a146104b7578063a22cb465146104ca578063b88d4fde146104dd578063c39cbef1146104f0578063c75748391461050357600080fd5b80638c6e0d31116100ff5780638c6e0d31146104585780638da5cb5b1461046b578063906d68a01461047c5780639416b4231461049c57806395d89b41146104af57600080fd5b806370d5ae0514610404578063715018a61461041757806373825d171461041f5780637cb6475914610432578063871f44351461044557600080fd5b806330176e13116101c957806345ca77381161018d57806345ca7738146103af5780634f558e79146103b85780636352211e146103cb5780636d522418146103de57806370a08231146103f157600080fd5b806330176e131461035b578063332e77ab1461036e5780633423e548146103815780633d18b9121461039457806342842e0e1461039c57600080fd5b8063150b7a0211610210578063150b7a02146102dd57806315b56d101461031557806318160ddd1461032857806323b872dd1461033f5780632eb4a7ab1461035257600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b557806312c13299146102ca575b600080fd5b61026061025b366004612d65565b610593565b60405190151581526020015b60405180910390f35b61027d6105e5565b60405161026c9190612f83565b61029d610298366004612ce7565b610677565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004612b8a565b610704565b005b600b5461029d906001600160a01b031681565b6102fc6102eb366004612a45565b63785cf2dd60e11b95945050505050565b6040516001600160e01b0319909116815260200161026c565b610260610323366004612d9d565b61081a565b610331600e5481565b60405190815260200161026c565b6102c861034d366004612a0a565b61084d565b610331600a5481565b6102c8610369366004612d9d565b610911565b6102c861037c3660046129be565b610952565b61026061038f366004612d17565b61099e565b6102c86109b3565b6102c86103aa366004612a0a565b610a76565b61033160065481565b6102606103c6366004612ce7565b610a91565b61029d6103d9366004612ce7565b610a9c565b61027d6103ec366004612ce7565b610b13565b6103316103ff3660046129be565b610bb5565b600c5461029d906001600160a01b031681565b6102c8610c3c565b6102c861042d366004612e15565b610c72565b6102c8610440366004612ce7565b610ecc565b6102c8610453366004612bb3565b610efb565b60105461029d906001600160a01b031681565b6009546001600160a01b031661029d565b61033161048a3660046129be565b60116020526000908152604090205481565b61027d6104aa366004612d9d565b6114df565b61027d6116a4565b6102606104c5366004612d9d565b6116b3565b6102c86104d8366004612b54565b6118fa565b6102c86104eb366004612adb565b611905565b6102c86104fe366004612dd0565b6119ca565b600d5461029d906001600160a01b031681565b61027d610524366004612ce7565b611a3c565b6102c8610537366004612ce7565b611a70565b61027d611a9f565b6102606105523660046129d8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c861058e3660046129be565b611b2d565b60006001600160e01b031982166380ac58cd60e01b14806105c457506001600160e01b03198216635b5e139f60e01b145b806105df57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105f49061316e565b80601f01602080910402602001604051908101604052809291908181526020018280546106209061316e565b801561066d5780601f106106425761010080835404028352916020019161066d565b820191906000526020600020905b81548152906001019060200180831161065057829003601f168201915b5050505050905090565b600061068282611bc8565b6106e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070f82610a9c565b9050806001600160a01b0316836001600160a01b0316141561077d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106df565b336001600160a01b038216148061079957506107998133610552565b61080b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106df565b6108158383611be5565b505050565b60006008610827836114df565b6040516108349190612ef9565b9081526040519081900360200190205460ff1692915050565b601054604051636918579d60e11b81526001600160a01b03858116600483015284811660248301529091169063d230af3a90604401600060405180830381600087803b15801561089c57600080fd5b505af11580156108b0573d6000803e3d6000fd5b505050506001600160a01b03831660009081526011602052604081208054916108d883613157565b90915550506001600160a01b0382166000908152601160205260408120805491610901836131a9565b9190505550610815838383611c53565b6009546001600160a01b0316331461093b5760405162461bcd60e51b81526004016106df90612fe8565b805161094e90600f90602084019061281c565b5050565b6009546001600160a01b0316331461097c5760405162461bcd60e51b81526004016106df90612fe8565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006109ab828585611c84565b949350505050565b601054604051636918579d60e11b8152336004820152600060248201526001600160a01b039091169063d230af3a90604401600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b5050601054604051630c00007b60e41b81523360048201526001600160a01b03909116925063c00007b09150602401600060405180830381600087803b158015610a5c57600080fd5b505af1158015610a70573d6000803e3d6000fd5b50505050565b61081583838360405180602001604052806000815250611905565b60006105df82611bc8565b6000818152600260205260408120546001600160a01b0316806105df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106df565b6000818152600760205260409020805460609190610b309061316e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c9061316e565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b50505050509050919050565b60006001600160a01b038216610c205760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106df565b506001600160a01b031660009081526003602052604090205490565b6009546001600160a01b03163314610c665760405162461bcd60e51b81526004016106df90612fe8565b610c706000611c9a565b565b6009546001600160a01b03163314610c9c5760405162461bcd60e51b81526004016106df90612fe8565b610ca581611bc8565b15610ce95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016106df565b600b54600c54604051627eeac760e11b81526001600160a01b0391821660048201526024810185905291169062fdd58e9060440160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612ccb565b610dcb5760405162461bcd60e51b815260206004820152602960248201527f4f6c6420546f6b656e207374696c6c20657869737473202869736e2774206275604482015268726e6564207965742960b81b60648201526084016106df565b600d54610de1906001600160a01b031682611cec565b600d5460405182916001600160a01b0316907fed601e7ad3d98882a092b98a18c7e9f8ac206e04d724f408c2659db58155a83290600090a36001600e6000828254610e2c91906130c3565b9091555050600d546001600160a01b03166000908152601160205260408120805460019290610e5c9084906130c3565b9091555050601054600d5460405162d16a9b60e31b81526001600160a01b0391821660048201526001602482015291169063068b54d890604401600060405180830381600087803b158015610eb057600080fd5b505af1158015610ec4573d6000803e3d6000fd5b505050505050565b6009546001600160a01b03163314610ef65760405162461bcd60e51b81526004016106df90612fe8565b600a55565b82518451148015610f0d575081518351145b610f785760405162461bcd60e51b815260206004820152603660248201527f536f6d652044617461206973206d697373696e672028706172616d6574657273604482015275206861766520646966666572656e742073697a65732960501b60648201526084016106df565b835160005b818110156112c357610fb5858281518110610fa857634e487b7160e01b600052603260045260246000fd5b6020026020010151611bc8565b15610ff95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016106df565b83818151811061101957634e487b7160e01b600052603260045260246000fd5b602002602001015186828151811061104157634e487b7160e01b600052603260045260246000fd5b602002602001015186838151811061106957634e487b7160e01b600052603260045260246000fd5b602002602001015160405160200161108b929190918252602082015260400190565b60405160208183030381529060405280519060200120146110ee5760405162461bcd60e51b815260206004820152601b60248201527f49647320646f6e2774206d61746368204d65726b6c65206c656166000000000060448201526064016106df565b611149600a5485838151811061111457634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061113c57634e487b7160e01b600052603260045260246000fd5b602002602001015161099e565b6111a45760405162461bcd60e51b815260206004820152602660248201527f4e6f7420612076616c696420656c656d656e7420696e20746865204d65726b6c60448201526565207472656560d01b60648201526084016106df565b600b5486516001600160a01b039091169062fdd58e9033908990859081106111dc57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b81526004016112159291906001600160a01b03929092168252602082015260400190565b60206040518083038186803b15801561122d57600080fd5b505afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112659190612ccb565b6112b15760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e206f776e65722063616e206d696e74416e644275726e60448201526064016106df565b806112bb816131a9565b915050610f7d565b5060005b8181101561145057600b54600c5487516001600160a01b039283169263f242432a9233929116908a908690811061130e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526001606482015260a06084820152600060a482015260c401600060405180830381600087803b15801561137d57600080fd5b505af1158015611391573d6000803e3d6000fd5b505050506113c6338683815181106113b957634e487b7160e01b600052603260045260246000fd5b6020026020010151611cec565b6001600e60008282546113d991906130c3565b9250508190555084818151811061140057634e487b7160e01b600052603260045260246000fd5b6020026020010151336001600160a01b03167fed601e7ad3d98882a092b98a18c7e9f8ac206e04d724f408c2659db58155a83260405160405180910390a380611448816131a9565b9150506112c7565b5033600090815260116020526040812080548392906114709084906130c3565b909155505060105460405162d16a9b60e31b8152336004820152602481018390526001600160a01b039091169063068b54d890604401600060405180830381600087803b1580156114c057600080fd5b505af11580156114d4573d6000803e3d6000fd5b505050505050505050565b606060008290506000815167ffffffffffffffff81111561151057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561153a576020820181803683370190505b50905060005b825181101561169c57604183828151811061156b57634e487b7160e01b600052603260045260246000fd5b016020015160f81c108015906115a95750605a83828151811061159e57634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b15611627578281815181106115ce57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c60206115e891906130db565b60f81b82828151811061160b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061168a565b82818151811061164757634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b82828151811061167257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b80611694816131a9565b915050611540565b509392505050565b6060600180546105f49061316e565b6000808290506001815110156116cc5750600092915050565b6019815111156116df5750600092915050565b8060008151811061170057634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156117245750600092915050565b80600182516117339190613114565b8151811061175157634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156117755750600092915050565b60008160008151811061179857634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b031916905060005b82518110156118ef5760008382815181106117d757634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b0319169050600160fd1b811480156118085750600160fd1b6001600160f81b03198416145b156118195750600095945050505050565b600360fc1b6001600160f81b03198216108015906118455750603960f81b6001600160f81b0319821611155b15801561187b5750604160f81b6001600160f81b03198216108015906118795750602d60f91b6001600160f81b0319821611155b155b80156118b05750606160f81b6001600160f81b03198216108015906118ae5750603d60f91b6001600160f81b0319821611155b155b80156118ca5750600160fd1b6001600160f81b0319821614155b156118db5750600095945050505050565b9150806118e7816131a9565b9150506117ac565b506001949350505050565b61094e338383611e1f565b601054604051636918579d60e11b81526001600160a01b03868116600483015285811660248301529091169063d230af3a90604401600060405180830381600087803b15801561195457600080fd5b505af1158015611968573d6000803e3d6000fd5b505050506001600160a01b038416600090815260116020526040812080549161199083613157565b90915550506001600160a01b03831660009081526011602052604081208054916119b9836131a9565b9190505550610a7084848484611eee565b601054600654604051632770a7eb60e21b815233600482015260248101919091526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611a1a57600080fd5b505af1158015611a2e573d6000803e3d6000fd5b5050505061094e8282611f20565b6060600f611a4983612258565b604051602001611a5a929190612f21565b6040516020818303038152906040529050919050565b6009546001600160a01b03163314611a9a5760405162461bcd60e51b81526004016106df90612fe8565b600655565b600f8054611aac9061316e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ad89061316e565b8015611b255780601f10611afa57610100808354040283529160200191611b25565b820191906000526020600020905b815481529060010190602001808311611b0857829003601f168201915b505050505081565b6009546001600160a01b03163314611b575760405162461bcd60e51b81526004016106df90612fe8565b6001600160a01b038116611bbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106df565b611bc581611c9a565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c1a82610a9c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c5d3382612372565b611c795760405162461bcd60e51b81526004016106df9061301d565b610815838383612458565b600082611c9185846125f8565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611d425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106df565b611d4b81611bc8565b15611d985760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106df565b6001600160a01b0382166000908152600360205260408120805460019290611dc19084906130c3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b03161415611e815760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106df565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ef83383612372565b611f145760405162461bcd60e51b81526004016106df9061301d565b610a70848484846126aa565b6000611f2b83610a9c565b9050336001600160a01b03821614611f855760405162461bcd60e51b815260206004820152601f60248201527f4552433732313a2063616c6c6572206973206e6f7420746865206f776e65720060448201526064016106df565b611f8e826116b3565b1515600114611fd65760405162461bcd60e51b81526020600482015260146024820152734e6f7420612076616c6964206e6577206e616d6560601b60448201526064016106df565b600083815260076020526040908190209051600291611ff491612f15565b602060405180830381855afa158015612011573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120349190612cff565b6002836040516120449190612ef9565b602060405180830381855afa158015612061573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120849190612cff565b14156120de5760405162461bcd60e51b815260206004820152602360248201527f4e6577206e616d652069732073616d65206173207468652063757272656e74206044820152626f6e6560e81b60648201526084016106df565b6120e78261081a565b1561212c5760405162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b60448201526064016106df565b600083815260076020526040812080546121459061316e565b905011156121f057600083815260076020526040902080546121f0919061216b9061316e565b80601f01602080910402602001604051908101604052809291908181526020018280546121979061316e565b80156121e45780601f106121b9576101008083540402835291602001916121e4565b820191906000526020600020905b8154815290600101906020018083116121c757829003601f168201915b505050505060006126dd565b6121fb8260016126dd565b6000838152600760209081526040909120835161221a9285019061281c565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8360405161224b9190612f83565b60405180910390a2505050565b60608161227c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122a65780612290816131a9565b915061229f9050600a83613100565b9150612280565b60008167ffffffffffffffff8111156122cf57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f9576020820181803683370190505b5090505b84156109ab5761230e600183613114565b915061231b600a866131c4565b6123269060306130c3565b60f81b81838151811061234957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061236b600a86613100565b94506122fd565b600061237d82611bc8565b6123de5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106df565b60006123e983610a9c565b9050806001600160a01b0316846001600160a01b031614806124245750836001600160a01b031661241984610677565b6001600160a01b0316145b806109ab57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166109ab565b826001600160a01b031661246b82610a9c565b6001600160a01b0316146124d35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106df565b6001600160a01b0382166125355760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106df565b612540600082611be5565b6001600160a01b0383166000908152600360205260408120805460019290612569908490613114565b90915550506001600160a01b03821660009081526003602052604081208054600192906125979084906130c3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b845181101561169c57600085828151811061262857634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161266a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612697565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126a2816131a9565b9150506125fd565b6126b5848484612458565b6126c18484848461271a565b610a705760405162461bcd60e51b81526004016106df90612f96565b8060086126e9846114df565b6040516126f69190612ef9565b908152604051908190036020019020805491151560ff199092169190911790555050565b60006001600160a01b0384163b156118ef57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061275e903390899088908890600401612f46565b602060405180830381600087803b15801561277857600080fd5b505af19250505080156127a8575060408051601f3d908101601f191682019092526127a591810190612d81565b60015b612802573d8080156127d6576040519150601f19603f3d011682016040523d82523d6000602084013e6127db565b606091505b5080516127fa5760405162461bcd60e51b81526004016106df90612f96565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506109ab565b8280546128289061316e565b90600052602060002090601f01602090048101928261284a5760008555612890565b82601f1061286357805160ff1916838001178555612890565b82800160010185558215612890579182015b82811115612890578251825591602001919060010190612875565b5061289c9291506128a0565b5090565b5b8082111561289c57600081556001016128a1565b600067ffffffffffffffff8311156128cf576128cf613204565b6128e2601f8401601f191660200161306e565b90508281528383830111156128f657600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461292457600080fd5b919050565b600082601f830112612939578081fd5b8135602061294e6129498361309f565b61306e565b80838252828201915082860187848660051b890101111561296d578586fd5b855b8581101561298b5781358452928401929084019060010161296f565b5090979650505050505050565b600082601f8301126129a8578081fd5b6129b7838335602085016128b5565b9392505050565b6000602082840312156129cf578081fd5b6129b78261290d565b600080604083850312156129ea578081fd5b6129f38361290d565b9150612a016020840161290d565b90509250929050565b600080600060608486031215612a1e578081fd5b612a278461290d565b9250612a356020850161290d565b9150604084013590509250925092565b600080600080600060808688031215612a5c578081fd5b612a658661290d565b9450612a736020870161290d565b935060408601359250606086013567ffffffffffffffff80821115612a96578283fd5b818801915088601f830112612aa9578283fd5b813581811115612ab7578384fd5b896020828501011115612ac8578384fd5b9699959850939650602001949392505050565b60008060008060808587031215612af0578081fd5b612af98561290d565b9350612b076020860161290d565b925060408501359150606085013567ffffffffffffffff811115612b29578182fd5b8501601f81018713612b39578182fd5b612b48878235602084016128b5565b91505092959194509250565b60008060408385031215612b66578182fd5b612b6f8361290d565b91506020830135612b7f8161321a565b809150509250929050565b60008060408385031215612b9c578182fd5b612ba58361290d565b946020939093013593505050565b60008060008060808587031215612bc8578182fd5b843567ffffffffffffffff80821115612bdf578384fd5b612beb88838901612929565b9550602091508187013581811115612c01578485fd5b612c0d89828a01612929565b955050604087013581811115612c21578485fd5b612c2d89828a01612929565b945050606087013581811115612c41578384fd5b8701601f81018913612c51578384fd5b8035612c5f6129498261309f565b8082825285820191508584018c878560051b8701011115612c7e578788fd5b875b84811015612cb757813587811115612c9657898afd5b612ca48f8a838a0101612929565b8552509287019290870190600101612c80565b505080965050505050505092959194509250565b600060208284031215612cdc578081fd5b81516129b78161321a565b600060208284031215612cf8578081fd5b5035919050565b600060208284031215612d10578081fd5b5051919050565b600080600060608486031215612d2b578081fd5b8335925060208401359150604084013567ffffffffffffffff811115612d4f578182fd5b612d5b86828701612929565b9150509250925092565b600060208284031215612d76578081fd5b81356129b781613228565b600060208284031215612d92578081fd5b81516129b781613228565b600060208284031215612dae578081fd5b813567ffffffffffffffff811115612dc4578182fd5b6109ab84828501612998565b60008060408385031215612de2578182fd5b82359150602083013567ffffffffffffffff811115612dff578182fd5b612e0b85828601612998565b9150509250929050565b60008060408385031215612e27578182fd5b50508035926020909101359150565b60008151808452612e4e81602086016020860161312b565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612e7c57607f831692505b6020808410821415612e9c57634e487b7160e01b86526022600452602486fd5b818015612eb05760018114612ec157612eed565b60ff19861689528489019650612eed565b876000528160002060005b86811015612ee55781548b820152908501908301612ecc565b505084890196505b50505050505092915050565b60008251612f0b81846020870161312b565b9190910192915050565b60006129b78284612e62565b6000612f2d8285612e62565b8351612f3d81836020880161312b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f7990830184612e36565b9695505050505050565b6020815260006129b76020830184612e36565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561309757613097613204565b604052919050565b600067ffffffffffffffff8211156130b9576130b9613204565b5060051b60200190565b600082198211156130d6576130d66131d8565b500190565b600060ff821660ff84168060ff038211156130f8576130f86131d8565b019392505050565b60008261310f5761310f6131ee565b500490565b600082821015613126576131266131d8565b500390565b60005b8381101561314657818101518382015260200161312e565b83811115610a705750506000910152565b600081613166576131666131d8565b506000190190565b600181811c9082168061318257607f821691505b602082108114156131a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131bd576131bd6131d8565b5060010190565b6000826131d3576131d36131ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611bc557600080fd5b6001600160e01b031981168114611bc557600080fdfea2646970667358221220c01c087011b2cf5d0e61c7e8417193d912994adea5a9811083ab3312cba634f964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000055068696c690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007466c6f7269616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000547657272650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004416c616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000001dd00000000000000000000000000000000000000000000000000000000000003c500000000000000000000000000000000000000000000000000000000000003c8
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c806370d5ae051161013b5780639ffdb65a116100b8578063c87b56dd1161007c578063c87b56dd14610516578063cc371bf314610529578063cfc86f7b1461053c578063e985e9c514610544578063f2fde38b1461058057600080fd5b80639ffdb65a146104b7578063a22cb465146104ca578063b88d4fde146104dd578063c39cbef1146104f0578063c75748391461050357600080fd5b80638c6e0d31116100ff5780638c6e0d31146104585780638da5cb5b1461046b578063906d68a01461047c5780639416b4231461049c57806395d89b41146104af57600080fd5b806370d5ae0514610404578063715018a61461041757806373825d171461041f5780637cb6475914610432578063871f44351461044557600080fd5b806330176e13116101c957806345ca77381161018d57806345ca7738146103af5780634f558e79146103b85780636352211e146103cb5780636d522418146103de57806370a08231146103f157600080fd5b806330176e131461035b578063332e77ab1461036e5780633423e548146103815780633d18b9121461039457806342842e0e1461039c57600080fd5b8063150b7a0211610210578063150b7a02146102dd57806315b56d101461031557806318160ddd1461032857806323b872dd1461033f5780632eb4a7ab1461035257600080fd5b806301ffc9a71461024d57806306fdde0314610275578063081812fc1461028a578063095ea7b3146102b557806312c13299146102ca575b600080fd5b61026061025b366004612d65565b610593565b60405190151581526020015b60405180910390f35b61027d6105e5565b60405161026c9190612f83565b61029d610298366004612ce7565b610677565b6040516001600160a01b03909116815260200161026c565b6102c86102c3366004612b8a565b610704565b005b600b5461029d906001600160a01b031681565b6102fc6102eb366004612a45565b63785cf2dd60e11b95945050505050565b6040516001600160e01b0319909116815260200161026c565b610260610323366004612d9d565b61081a565b610331600e5481565b60405190815260200161026c565b6102c861034d366004612a0a565b61084d565b610331600a5481565b6102c8610369366004612d9d565b610911565b6102c861037c3660046129be565b610952565b61026061038f366004612d17565b61099e565b6102c86109b3565b6102c86103aa366004612a0a565b610a76565b61033160065481565b6102606103c6366004612ce7565b610a91565b61029d6103d9366004612ce7565b610a9c565b61027d6103ec366004612ce7565b610b13565b6103316103ff3660046129be565b610bb5565b600c5461029d906001600160a01b031681565b6102c8610c3c565b6102c861042d366004612e15565b610c72565b6102c8610440366004612ce7565b610ecc565b6102c8610453366004612bb3565b610efb565b60105461029d906001600160a01b031681565b6009546001600160a01b031661029d565b61033161048a3660046129be565b60116020526000908152604090205481565b61027d6104aa366004612d9d565b6114df565b61027d6116a4565b6102606104c5366004612d9d565b6116b3565b6102c86104d8366004612b54565b6118fa565b6102c86104eb366004612adb565b611905565b6102c86104fe366004612dd0565b6119ca565b600d5461029d906001600160a01b031681565b61027d610524366004612ce7565b611a3c565b6102c8610537366004612ce7565b611a70565b61027d611a9f565b6102606105523660046129d8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102c861058e3660046129be565b611b2d565b60006001600160e01b031982166380ac58cd60e01b14806105c457506001600160e01b03198216635b5e139f60e01b145b806105df57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105f49061316e565b80601f01602080910402602001604051908101604052809291908181526020018280546106209061316e565b801561066d5780601f106106425761010080835404028352916020019161066d565b820191906000526020600020905b81548152906001019060200180831161065057829003601f168201915b5050505050905090565b600061068282611bc8565b6106e85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070f82610a9c565b9050806001600160a01b0316836001600160a01b0316141561077d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106df565b336001600160a01b038216148061079957506107998133610552565b61080b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106df565b6108158383611be5565b505050565b60006008610827836114df565b6040516108349190612ef9565b9081526040519081900360200190205460ff1692915050565b601054604051636918579d60e11b81526001600160a01b03858116600483015284811660248301529091169063d230af3a90604401600060405180830381600087803b15801561089c57600080fd5b505af11580156108b0573d6000803e3d6000fd5b505050506001600160a01b03831660009081526011602052604081208054916108d883613157565b90915550506001600160a01b0382166000908152601160205260408120805491610901836131a9565b9190505550610815838383611c53565b6009546001600160a01b0316331461093b5760405162461bcd60e51b81526004016106df90612fe8565b805161094e90600f90602084019061281c565b5050565b6009546001600160a01b0316331461097c5760405162461bcd60e51b81526004016106df90612fe8565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006109ab828585611c84565b949350505050565b601054604051636918579d60e11b8152336004820152600060248201526001600160a01b039091169063d230af3a90604401600060405180830381600087803b1580156109ff57600080fd5b505af1158015610a13573d6000803e3d6000fd5b5050601054604051630c00007b60e41b81523360048201526001600160a01b03909116925063c00007b09150602401600060405180830381600087803b158015610a5c57600080fd5b505af1158015610a70573d6000803e3d6000fd5b50505050565b61081583838360405180602001604052806000815250611905565b60006105df82611bc8565b6000818152600260205260408120546001600160a01b0316806105df5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106df565b6000818152600760205260409020805460609190610b309061316e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c9061316e565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b50505050509050919050565b60006001600160a01b038216610c205760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106df565b506001600160a01b031660009081526003602052604090205490565b6009546001600160a01b03163314610c665760405162461bcd60e51b81526004016106df90612fe8565b610c706000611c9a565b565b6009546001600160a01b03163314610c9c5760405162461bcd60e51b81526004016106df90612fe8565b610ca581611bc8565b15610ce95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016106df565b600b54600c54604051627eeac760e11b81526001600160a01b0391821660048201526024810185905291169062fdd58e9060440160206040518083038186803b158015610d3557600080fd5b505afa158015610d49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6d9190612ccb565b610dcb5760405162461bcd60e51b815260206004820152602960248201527f4f6c6420546f6b656e207374696c6c20657869737473202869736e2774206275604482015268726e6564207965742960b81b60648201526084016106df565b600d54610de1906001600160a01b031682611cec565b600d5460405182916001600160a01b0316907fed601e7ad3d98882a092b98a18c7e9f8ac206e04d724f408c2659db58155a83290600090a36001600e6000828254610e2c91906130c3565b9091555050600d546001600160a01b03166000908152601160205260408120805460019290610e5c9084906130c3565b9091555050601054600d5460405162d16a9b60e31b81526001600160a01b0391821660048201526001602482015291169063068b54d890604401600060405180830381600087803b158015610eb057600080fd5b505af1158015610ec4573d6000803e3d6000fd5b505050505050565b6009546001600160a01b03163314610ef65760405162461bcd60e51b81526004016106df90612fe8565b600a55565b82518451148015610f0d575081518351145b610f785760405162461bcd60e51b815260206004820152603660248201527f536f6d652044617461206973206d697373696e672028706172616d6574657273604482015275206861766520646966666572656e742073697a65732960501b60648201526084016106df565b835160005b818110156112c357610fb5858281518110610fa857634e487b7160e01b600052603260045260246000fd5b6020026020010151611bc8565b15610ff95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016106df565b83818151811061101957634e487b7160e01b600052603260045260246000fd5b602002602001015186828151811061104157634e487b7160e01b600052603260045260246000fd5b602002602001015186838151811061106957634e487b7160e01b600052603260045260246000fd5b602002602001015160405160200161108b929190918252602082015260400190565b60405160208183030381529060405280519060200120146110ee5760405162461bcd60e51b815260206004820152601b60248201527f49647320646f6e2774206d61746368204d65726b6c65206c656166000000000060448201526064016106df565b611149600a5485838151811061111457634e487b7160e01b600052603260045260246000fd5b602002602001015185848151811061113c57634e487b7160e01b600052603260045260246000fd5b602002602001015161099e565b6111a45760405162461bcd60e51b815260206004820152602660248201527f4e6f7420612076616c696420656c656d656e7420696e20746865204d65726b6c60448201526565207472656560d01b60648201526084016106df565b600b5486516001600160a01b039091169062fdd58e9033908990859081106111dc57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b81526004016112159291906001600160a01b03929092168252602082015260400190565b60206040518083038186803b15801561122d57600080fd5b505afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112659190612ccb565b6112b15760405162461bcd60e51b815260206004820181905260248201527f4f6e6c7920746f6b656e206f776e65722063616e206d696e74416e644275726e60448201526064016106df565b806112bb816131a9565b915050610f7d565b5060005b8181101561145057600b54600c5487516001600160a01b039283169263f242432a9233929116908a908690811061130e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526001606482015260a06084820152600060a482015260c401600060405180830381600087803b15801561137d57600080fd5b505af1158015611391573d6000803e3d6000fd5b505050506113c6338683815181106113b957634e487b7160e01b600052603260045260246000fd5b6020026020010151611cec565b6001600e60008282546113d991906130c3565b9250508190555084818151811061140057634e487b7160e01b600052603260045260246000fd5b6020026020010151336001600160a01b03167fed601e7ad3d98882a092b98a18c7e9f8ac206e04d724f408c2659db58155a83260405160405180910390a380611448816131a9565b9150506112c7565b5033600090815260116020526040812080548392906114709084906130c3565b909155505060105460405162d16a9b60e31b8152336004820152602481018390526001600160a01b039091169063068b54d890604401600060405180830381600087803b1580156114c057600080fd5b505af11580156114d4573d6000803e3d6000fd5b505050505050505050565b606060008290506000815167ffffffffffffffff81111561151057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561153a576020820181803683370190505b50905060005b825181101561169c57604183828151811061156b57634e487b7160e01b600052603260045260246000fd5b016020015160f81c108015906115a95750605a83828151811061159e57634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b15611627578281815181106115ce57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c60206115e891906130db565b60f81b82828151811061160b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061168a565b82818151811061164757634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b82828151811061167257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b80611694816131a9565b915050611540565b509392505050565b6060600180546105f49061316e565b6000808290506001815110156116cc5750600092915050565b6019815111156116df5750600092915050565b8060008151811061170057634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156117245750600092915050565b80600182516117339190613114565b8151811061175157634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156117755750600092915050565b60008160008151811061179857634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b031916905060005b82518110156118ef5760008382815181106117d757634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b0319169050600160fd1b811480156118085750600160fd1b6001600160f81b03198416145b156118195750600095945050505050565b600360fc1b6001600160f81b03198216108015906118455750603960f81b6001600160f81b0319821611155b15801561187b5750604160f81b6001600160f81b03198216108015906118795750602d60f91b6001600160f81b0319821611155b155b80156118b05750606160f81b6001600160f81b03198216108015906118ae5750603d60f91b6001600160f81b0319821611155b155b80156118ca5750600160fd1b6001600160f81b0319821614155b156118db5750600095945050505050565b9150806118e7816131a9565b9150506117ac565b506001949350505050565b61094e338383611e1f565b601054604051636918579d60e11b81526001600160a01b03868116600483015285811660248301529091169063d230af3a90604401600060405180830381600087803b15801561195457600080fd5b505af1158015611968573d6000803e3d6000fd5b505050506001600160a01b038416600090815260116020526040812080549161199083613157565b90915550506001600160a01b03831660009081526011602052604081208054916119b9836131a9565b9190505550610a7084848484611eee565b601054600654604051632770a7eb60e21b815233600482015260248101919091526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611a1a57600080fd5b505af1158015611a2e573d6000803e3d6000fd5b5050505061094e8282611f20565b6060600f611a4983612258565b604051602001611a5a929190612f21565b6040516020818303038152906040529050919050565b6009546001600160a01b03163314611a9a5760405162461bcd60e51b81526004016106df90612fe8565b600655565b600f8054611aac9061316e565b80601f0160208091040260200160405190810160405280929190818152602001828054611ad89061316e565b8015611b255780601f10611afa57610100808354040283529160200191611b25565b820191906000526020600020905b815481529060010190602001808311611b0857829003601f168201915b505050505081565b6009546001600160a01b03163314611b575760405162461bcd60e51b81526004016106df90612fe8565b6001600160a01b038116611bbc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106df565b611bc581611c9a565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c1a82610a9c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c5d3382612372565b611c795760405162461bcd60e51b81526004016106df9061301d565b610815838383612458565b600082611c9185846125f8565b14949350505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611d425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106df565b611d4b81611bc8565b15611d985760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106df565b6001600160a01b0382166000908152600360205260408120805460019290611dc19084906130c3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b03161415611e815760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106df565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ef83383612372565b611f145760405162461bcd60e51b81526004016106df9061301d565b610a70848484846126aa565b6000611f2b83610a9c565b9050336001600160a01b03821614611f855760405162461bcd60e51b815260206004820152601f60248201527f4552433732313a2063616c6c6572206973206e6f7420746865206f776e65720060448201526064016106df565b611f8e826116b3565b1515600114611fd65760405162461bcd60e51b81526020600482015260146024820152734e6f7420612076616c6964206e6577206e616d6560601b60448201526064016106df565b600083815260076020526040908190209051600291611ff491612f15565b602060405180830381855afa158015612011573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120349190612cff565b6002836040516120449190612ef9565b602060405180830381855afa158015612061573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906120849190612cff565b14156120de5760405162461bcd60e51b815260206004820152602360248201527f4e6577206e616d652069732073616d65206173207468652063757272656e74206044820152626f6e6560e81b60648201526084016106df565b6120e78261081a565b1561212c5760405162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b60448201526064016106df565b600083815260076020526040812080546121459061316e565b905011156121f057600083815260076020526040902080546121f0919061216b9061316e565b80601f01602080910402602001604051908101604052809291908181526020018280546121979061316e565b80156121e45780601f106121b9576101008083540402835291602001916121e4565b820191906000526020600020905b8154815290600101906020018083116121c757829003601f168201915b505050505060006126dd565b6121fb8260016126dd565b6000838152600760209081526040909120835161221a9285019061281c565b50827f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8360405161224b9190612f83565b60405180910390a2505050565b60608161227c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122a65780612290816131a9565b915061229f9050600a83613100565b9150612280565b60008167ffffffffffffffff8111156122cf57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122f9576020820181803683370190505b5090505b84156109ab5761230e600183613114565b915061231b600a866131c4565b6123269060306130c3565b60f81b81838151811061234957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061236b600a86613100565b94506122fd565b600061237d82611bc8565b6123de5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106df565b60006123e983610a9c565b9050806001600160a01b0316846001600160a01b031614806124245750836001600160a01b031661241984610677565b6001600160a01b0316145b806109ab57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166109ab565b826001600160a01b031661246b82610a9c565b6001600160a01b0316146124d35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106df565b6001600160a01b0382166125355760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106df565b612540600082611be5565b6001600160a01b0383166000908152600360205260408120805460019290612569908490613114565b90915550506001600160a01b03821660009081526003602052604081208054600192906125979084906130c3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b845181101561169c57600085828151811061262857634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161266a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612697565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126a2816131a9565b9150506125fd565b6126b5848484612458565b6126c18484848461271a565b610a705760405162461bcd60e51b81526004016106df90612f96565b8060086126e9846114df565b6040516126f69190612ef9565b908152604051908190036020019020805491151560ff199092169190911790555050565b60006001600160a01b0384163b156118ef57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061275e903390899088908890600401612f46565b602060405180830381600087803b15801561277857600080fd5b505af19250505080156127a8575060408051601f3d908101601f191682019092526127a591810190612d81565b60015b612802573d8080156127d6576040519150601f19603f3d011682016040523d82523d6000602084013e6127db565b606091505b5080516127fa5760405162461bcd60e51b81526004016106df90612f96565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506109ab565b8280546128289061316e565b90600052602060002090601f01602090048101928261284a5760008555612890565b82601f1061286357805160ff1916838001178555612890565b82800160010185558215612890579182015b82811115612890578251825591602001919060010190612875565b5061289c9291506128a0565b5090565b5b8082111561289c57600081556001016128a1565b600067ffffffffffffffff8311156128cf576128cf613204565b6128e2601f8401601f191660200161306e565b90508281528383830111156128f657600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461292457600080fd5b919050565b600082601f830112612939578081fd5b8135602061294e6129498361309f565b61306e565b80838252828201915082860187848660051b890101111561296d578586fd5b855b8581101561298b5781358452928401929084019060010161296f565b5090979650505050505050565b600082601f8301126129a8578081fd5b6129b7838335602085016128b5565b9392505050565b6000602082840312156129cf578081fd5b6129b78261290d565b600080604083850312156129ea578081fd5b6129f38361290d565b9150612a016020840161290d565b90509250929050565b600080600060608486031215612a1e578081fd5b612a278461290d565b9250612a356020850161290d565b9150604084013590509250925092565b600080600080600060808688031215612a5c578081fd5b612a658661290d565b9450612a736020870161290d565b935060408601359250606086013567ffffffffffffffff80821115612a96578283fd5b818801915088601f830112612aa9578283fd5b813581811115612ab7578384fd5b896020828501011115612ac8578384fd5b9699959850939650602001949392505050565b60008060008060808587031215612af0578081fd5b612af98561290d565b9350612b076020860161290d565b925060408501359150606085013567ffffffffffffffff811115612b29578182fd5b8501601f81018713612b39578182fd5b612b48878235602084016128b5565b91505092959194509250565b60008060408385031215612b66578182fd5b612b6f8361290d565b91506020830135612b7f8161321a565b809150509250929050565b60008060408385031215612b9c578182fd5b612ba58361290d565b946020939093013593505050565b60008060008060808587031215612bc8578182fd5b843567ffffffffffffffff80821115612bdf578384fd5b612beb88838901612929565b9550602091508187013581811115612c01578485fd5b612c0d89828a01612929565b955050604087013581811115612c21578485fd5b612c2d89828a01612929565b945050606087013581811115612c41578384fd5b8701601f81018913612c51578384fd5b8035612c5f6129498261309f565b8082825285820191508584018c878560051b8701011115612c7e578788fd5b875b84811015612cb757813587811115612c9657898afd5b612ca48f8a838a0101612929565b8552509287019290870190600101612c80565b505080965050505050505092959194509250565b600060208284031215612cdc578081fd5b81516129b78161321a565b600060208284031215612cf8578081fd5b5035919050565b600060208284031215612d10578081fd5b5051919050565b600080600060608486031215612d2b578081fd5b8335925060208401359150604084013567ffffffffffffffff811115612d4f578182fd5b612d5b86828701612929565b9150509250925092565b600060208284031215612d76578081fd5b81356129b781613228565b600060208284031215612d92578081fd5b81516129b781613228565b600060208284031215612dae578081fd5b813567ffffffffffffffff811115612dc4578182fd5b6109ab84828501612998565b60008060408385031215612de2578182fd5b82359150602083013567ffffffffffffffff811115612dff578182fd5b612e0b85828601612998565b9150509250929050565b60008060408385031215612e27578182fd5b50508035926020909101359150565b60008151808452612e4e81602086016020860161312b565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612e7c57607f831692505b6020808410821415612e9c57634e487b7160e01b86526022600452602486fd5b818015612eb05760018114612ec157612eed565b60ff19861689528489019650612eed565b876000528160002060005b86811015612ee55781548b820152908501908301612ecc565b505084890196505b50505050505092915050565b60008251612f0b81846020870161312b565b9190910192915050565b60006129b78284612e62565b6000612f2d8285612e62565b8351612f3d81836020880161312b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f7990830184612e36565b9695505050505050565b6020815260006129b76020830184612e36565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561309757613097613204565b604052919050565b600067ffffffffffffffff8211156130b9576130b9613204565b5060051b60200190565b600082198211156130d6576130d66131d8565b500190565b600060ff821660ff84168060ff038211156130f8576130f86131d8565b019392505050565b60008261310f5761310f6131ee565b500490565b600082821015613126576131266131d8565b500390565b60005b8381101561314657818101518382015260200161312e565b83811115610a705750506000910152565b600081613166576131666131d8565b506000190190565b600181811c9082168061318257607f821691505b602082108114156131a357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156131bd576131bd6131d8565b5060010190565b6000826131d3576131d36131ee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611bc557600080fd5b6001600160e01b031981168114611bc557600080fdfea2646970667358221220c01c087011b2cf5d0e61c7e8417193d912994adea5a9811083ab3312cba634f964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000055068696c690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007466c6f7269616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000547657272650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004416c616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000001dd00000000000000000000000000000000000000000000000000000000000003c500000000000000000000000000000000000000000000000000000000000003c8
-----Decoded View---------------
Arg [0] : _names (string[]): Phili,Florian,Gerre,Alan
Arg [1] : _ids (uint256[]): 202,477,965,968
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 5068696c69000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 466c6f7269616e00000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 4765727265000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [14] : 416c616e00000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [16] : 00000000000000000000000000000000000000000000000000000000000000ca
Arg [17] : 00000000000000000000000000000000000000000000000000000000000001dd
Arg [18] : 00000000000000000000000000000000000000000000000000000000000003c5
Arg [19] : 00000000000000000000000000000000000000000000000000000000000003c8
Deployed Bytecode Sourcemap
4863:5437:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1490:300:5;;;;;;:::i;:::-;;:::i;:::-;;;15318:14:16;;15311:22;15293:41;;15281:2;15266:18;1490:300:5;;;;;;;;2408:98;;;:::i;:::-;;;;;;;:::i;3919:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;13098:32:16;;;13080:51;;13068:2;13053:18;3919:217:5;13035:102:16;3457:401:5;;;;;;:::i;:::-;;:::i;:::-;;5073:80:2;;;;;-1:-1:-1;;;;;5073:80:2;;;8012:199;;;;;;:::i;:::-;-1:-1:-1;;;8012:199:2;;;;;;;;;;;-1:-1:-1;;;;;;15689:33:16;;;15671:52;;15659:2;15644:18;8012:199:2;15626:103:16;3169:137:2;;;;;;:::i;:::-;;:::i;5320:27::-;;;;;;;;;15491:25:16;;;15479:2;15464:18;5320:27:2;15446:76:16;9770:242:2;;;;;;:::i;:::-;;:::i;4983:30::-;;;;;;8719:121;;;;;;:::i;:::-;;:::i;9065:112::-;;;;;;:::i;:::-;;:::i;8219:158::-;;;;;;:::i;:::-;;:::i;9220:139::-;;;:::i;5042:179:5:-;;;;;;:::i;:::-;;:::i;1190:42:2:-;;;;;;7902:102;;;;;;:::i;:::-;;:::i;2111:235:5:-;;;;;;:::i;:::-;;:::i;2971:120:2:-;;;;;;:::i;:::-;;:::i;1849:205:5:-;;;;;;:::i;:::-;;:::i;5160:71:2:-;;;;;-1:-1:-1;;;;;5160:71:2;;;1661:101:13;;;:::i;7322:485:2:-;;;;;;:::i;:::-;;:::i;8908:104::-;;;;;;:::i;:::-;;:::i;5635:1540::-;;;;;;:::i;:::-;;:::i;5424:28::-;;;;;-1:-1:-1;;;;;5424:28:2;;;1029:85:13;1101:6;;-1:-1:-1;;;;;1101:6:13;1029:85;;5459:47:2;;;;;;:::i;:::-;;;;;;;;;;;;;;4350:506;;;;;;:::i;:::-;;:::i;2570:102:5:-;;;:::i;3314:966:2:-;;;;;;:::i;:::-;;:::i;4203:153:5:-;;;;;;:::i;:::-;;:::i;10020:277:2:-;;;;;;:::i;:::-;;:::i;9478:184::-;;;;;;:::i;:::-;;:::i;5238:75::-;;;;;-1:-1:-1;;;;;5238:75:2;;;8462:174;;;;;;:::i;:::-;;:::i;9367:103::-;;;;;;:::i;:::-;;:::i;5390:27::-;;;:::i;4422:162:5:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4542:25:5;;;4519:4;4542:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4422:162;1911:198:13;;;;;;:::i;:::-;;:::i;1490:300:5:-;1592:4;-1:-1:-1;;;;;;1627:40:5;;-1:-1:-1;;;1627:40:5;;:104;;-1:-1:-1;;;;;;;1683:48:5;;-1:-1:-1;;;1683:48:5;1627:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:3;;;1747:36:5;1608:175;1490:300;-1:-1:-1;;1490:300:5:o;2408:98::-;2462:13;2494:5;2487:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2408:98;:::o;3919:217::-;3995:7;4022:16;4030:7;4022;:16::i;:::-;4014:73;;;;-1:-1:-1;;;4014:73:5;;22955:2:16;4014:73:5;;;22937:21:16;22994:2;22974:18;;;22967:30;23033:34;23013:18;;;23006:62;-1:-1:-1;;;23084:18:16;;;23077:42;23136:19;;4014:73:5;;;;;;;;;-1:-1:-1;4105:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4105:24:5;;3919:217::o;3457:401::-;3537:13;3553:23;3568:7;3553:14;:23::i;:::-;3537:39;;3600:5;-1:-1:-1;;;;;3594:11:5;:2;-1:-1:-1;;;;;3594:11:5;;;3586:57;;;;-1:-1:-1;;;3586:57:5;;24543:2:16;3586:57:5;;;24525:21:16;24582:2;24562:18;;;24555:30;24621:34;24601:18;;;24594:62;-1:-1:-1;;;24672:18:16;;;24665:31;24713:19;;3586:57:5;24515:223:16;3586:57:5;719:10:1;-1:-1:-1;;;;;3675:21:5;;;;:62;;-1:-1:-1;3700:37:5;3717:5;719:10:1;4422:162:5;:::i;3700:37::-;3654:165;;;;-1:-1:-1;;;3654:165:5;;20998:2:16;3654:165:5;;;20980:21:16;21037:2;21017:18;;;21010:30;21076:34;21056:18;;;21049:62;21147:26;21127:18;;;21120:54;21191:19;;3654:165:5;20970:246:16;3654:165:5;3830:21;3839:2;3843:7;3830:8;:21::i;:::-;3457:401;;;:::o;3169:137:2:-;3240:4;3264:13;3278:19;3286:10;3278:7;:19::i;:::-;3264:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3169:137;-1:-1:-1;;3169:137:2:o;9770:242::-;9862:10;;:33;;-1:-1:-1;;;9862:33:2;;-1:-1:-1;;;;;13372:15:16;;;9862:33:2;;;13354:34:16;13424:15;;;13404:18;;;13397:43;9862:10:2;;;;:23;;13289:18:16;;9862:33:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;9906:18:2;;;;;;:12;:18;;;;;:20;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;9937:16:2;;;;;;:12;:16;;;;;:18;;;;;;:::i;:::-;;;;;;9966:38;9986:4;9992:2;9996:7;9966:19;:38::i;8719:121::-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;8802:30:2;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;:::-;;8719:121:::0;:::o;9065:112::-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;9136:10:2::1;:33:::0;;-1:-1:-1;;;;;;9136:33:2::1;-1:-1:-1::0;;;;;9136:33:2;;;::::1;::::0;;;::::1;::::0;;9065:112::o;8219:158::-;8308:4;8332:37;8351:5;8358:4;8364;8332:18;:37::i;:::-;8325:44;8219:158;-1:-1:-1;;;;8219:158:2:o;9220:139::-;9261:10;;:47;;-1:-1:-1;;;9261:47:2;;9285:10;9261:47;;;13354:34:16;9261:10:2;13404:18:16;;;13397:43;-1:-1:-1;;;;;9261:10:2;;;;:23;;13289:18:16;;9261:47:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9319:10:2;;:32;;-1:-1:-1;;;9319:32:2;;9340:10;9319:32;;;13080:51:16;-1:-1:-1;;;;;9319:10:2;;;;-1:-1:-1;9319:20:2;;-1:-1:-1;13053:18:16;;9319:32:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9220:139::o;5042:179:5:-;5175:39;5192:4;5198:2;5202:7;5175:39;;;;;;;;;;;;:16;:39::i;7902:102:2:-;7956:4;7980:16;7988:7;7980;:16::i;2111:235:5:-;2183:7;2218:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2218:16:5;2252:19;2244:73;;;;-1:-1:-1;;;2244:73:5;;21834:2:16;2244:73:5;;;21816:21:16;21873:2;21853:18;;;21846:30;21912:34;21892:18;;;21885:62;-1:-1:-1;;;21963:18:16;;;21956:39;22012:19;;2244:73:5;21806:231:16;2971:120:2;3066:17;;;;:10;:17;;;;;3059:24;;3033:13;;3066:17;3059:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2971:120;;;:::o;1849:205:5:-;1921:7;-1:-1:-1;;;;;1948:19:5;;1940:74;;;;-1:-1:-1;;;1940:74:5;;21423:2:16;1940:74:5;;;21405:21:16;21462:2;21442:18;;;21435:30;21501:34;21481:18;;;21474:62;-1:-1:-1;;;21552:18:16;;;21545:40;21602:19;;1940:74:5;21395:232:16;1940:74:5;-1:-1:-1;;;;;;2031:16:5;;;;;:9;:16;;;;;;;1849:205::o;1661:101:13:-;1101:6;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;7322:485:2:-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;7414:14:2::1;7422:5;7414:7;:14::i;:::-;7413:15;7405:48;;;::::0;-1:-1:-1;;;7405:48:2;;17938:2:16;7405:48:2::1;::::0;::::1;17920:21:16::0;17977:2;17957:18;;;17950:30;-1:-1:-1;;;17996:18:16;;;17989:50;18056:18;;7405:48:2::1;17910:170:16::0;7405:48:2::1;7480:20;::::0;7512:11:::1;::::0;7472:59:::1;::::0;-1:-1:-1;;;7472:59:2;;-1:-1:-1;;;;;7512:11:2;;::::1;7472:59;::::0;::::1;14769:51:16::0;14836:18;;;14829:34;;;7480:20:2;::::1;::::0;7472:39:::1;::::0;14742:18:16;;7472:59:2::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7464:113;;;::::0;-1:-1:-1;;;7464:113:2;;25363:2:16;7464:113:2::1;::::0;::::1;25345:21:16::0;25402:2;25382:18;;;25375:30;25441:34;25421:18;;;25414:62;-1:-1:-1;;;25492:18:16;;;25485:39;25541:19;;7464:113:2::1;25335:231:16::0;7464:113:2::1;7596:15;::::0;7590:29:::1;::::0;-1:-1:-1;;;;;7596:15:2::1;7613:5:::0;7590::::1;:29::i;:::-;7641:15;::::0;7635:29:::1;::::0;7658:5;;-1:-1:-1;;;;;7641:15:2::1;::::0;7635:29:::1;::::0;7641:15:::1;::::0;7635:29:::1;7690:1;7675:11;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;7717:15:2::1;::::0;-1:-1:-1;;;;;7717:15:2::1;7704:29;::::0;;;:12:::1;:29;::::0;;;;:34;;7737:1:::1;::::0;7704:29;:34:::1;::::0;7737:1;;7704:34:::1;:::i;:::-;::::0;;;-1:-1:-1;;7749:10:2::1;::::0;7780:15:::1;::::0;7749:50:::1;::::0;-1:-1:-1;;;7749:50:2;;-1:-1:-1;;;;;7780:15:2;;::::1;7749:50;::::0;::::1;14769:51:16::0;7749:10:2;14836:18:16;;;14829:34;7749:10:2;::::1;::::0;:30:::1;::::0;14742:18:16;;7749:50:2::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;7322:485:::0;;:::o;8908:104::-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;8980:10:2::1;:24:::0;8908:104::o;5635:1540::-;5806:6;:13;5789:6;:13;:30;:64;;;;;5840:6;:13;5823:6;:13;:30;5789:64;5781:131;;;;-1:-1:-1;;;5781:131:2;;17155:2:16;5781:131:2;;;17137:21:16;17194:2;17174:18;;;17167:30;17233:34;17213:18;;;17206:62;-1:-1:-1;;;17284:18:16;;;17277:52;17346:19;;5781:131:2;17127:244:16;5781:131:2;5943:13;;5925:15;6025:723;6046:7;6042:1;:11;6025:723;;;6122:18;6130:6;6137:1;6130:9;;;;;;-1:-1:-1;;;6130:9:2;;;;;;;;;;;;;;;6122:7;:18::i;:::-;6121:19;6113:52;;;;-1:-1:-1;;;6113:52:2;;17938:2:16;6113:52:2;;;17920:21:16;17977:2;17957:18;;;17950:30;-1:-1:-1;;;17996:18:16;;;17989:50;18056:18;;6113:52:2;17910:170:16;6113:52:2;6316:6;6323:1;6316:9;;;;;;-1:-1:-1;;;6316:9:2;;;;;;;;;;;;;;;6290:6;6297:1;6290:9;;;;;;-1:-1:-1;;;6290:9:2;;;;;;;;;;;;;;;6301:6;6308:1;6301:9;;;;;;-1:-1:-1;;;6301:9:2;;;;;;;;;;;;;;;6273:38;;;;;;;;11436:19:16;;;11480:2;11471:12;;11464:28;11517:2;11508:12;;11426:100;6273:38:2;;;;;;;;;;;;;6263:49;;;;;;:62;6255:102;;;;-1:-1:-1;;;6255:102:2;;20642:2:16;6255:102:2;;;20624:21:16;20681:2;20661:18;;;20654:30;20720:29;20700:18;;;20693:57;20767:18;;6255:102:2;20614:177:16;6255:102:2;6460:40;6467:10;;6479:6;6486:1;6479:9;;;;;;-1:-1:-1;;;6479:9:2;;;;;;;;;;;;;;;6490:6;6497:1;6490:9;;;;;;-1:-1:-1;;;6490:9:2;;;;;;;;;;;;;;;6460:6;:40::i;:::-;6452:91;;;;-1:-1:-1;;;6452:91:2;;16748:2:16;6452:91:2;;;16730:21:16;16787:2;16767:18;;;16760:30;16826:34;16806:18;;;16799:62;-1:-1:-1;;;16877:18:16;;;16870:36;16923:19;;6452:91:2;16720:228:16;6452:91:2;6645:20;;6689:9;;-1:-1:-1;;;;;6645:20:2;;;;6637:39;;6677:10;;6689:6;;6696:1;;6689:9;;;;-1:-1:-1;;;6689:9:2;;;;;;;;;;;;;;;6637:62;;;;;;;;;;;;;;;-1:-1:-1;;;;;14787:32:16;;;;14769:51;;14851:2;14836:18;;14829:34;14757:2;14742:18;;14724:145;6637:62:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6629:107;;;;-1:-1:-1;;;6629:107:2;;16387:2:16;6629:107:2;;;16369:21:16;;;16406:18;;;16399:30;16465:34;16445:18;;;16438:62;16517:18;;6629:107:2;16359:182:16;6629:107:2;6055:3;;;;:::i;:::-;;;;6025:723;;;;6792:6;6787:273;6808:7;6804:1;:11;6787:273;;;6845:20;;6896:11;;6909:9;;-1:-1:-1;;;;;6845:20:2;;;;6837:46;;6884:10;;6896:11;;;6909:6;;6916:1;;6909:9;;;;-1:-1:-1;;;6909:9:2;;;;;;;;;;;;;;;;;;;6837:89;;-1:-1:-1;;;;;;6837:89:2;;;;;;;-1:-1:-1;;;;;14303:15:16;;;6837:89:2;;;14285:34:16;14355:15;;;;14335:18;;;14328:43;14387:18;;;14380:34;6920:1:2;14430:18:16;;;14423:34;14265:3;14473:19;;;14466:32;-1:-1:-1;14514:19:16;;;14507:33;14557:19;;6837:89:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6941:28;6947:10;6959:6;6966:1;6959:9;;;;;;-1:-1:-1;;;6959:9:2;;;;;;;;;;;;;;;6941:5;:28::i;:::-;6999:1;6984:11;;:16;;;;;;;:::i;:::-;;;;;;;;7038:6;7045:1;7038:9;;;;;;-1:-1:-1;;;7038:9:2;;;;;;;;;;;;;;;7026:10;-1:-1:-1;;;;;7020:28:2;;;;;;;;;;;6817:3;;;;:::i;:::-;;;;6787:273;;;-1:-1:-1;7083:10:2;7070:24;;;;:12;:24;;;;;:35;;7098:7;;7070:24;:35;;7098:7;;7070:35;:::i;:::-;;;;-1:-1:-1;;7116:10:2;;:51;;-1:-1:-1;;;7116:51:2;;7147:10;7116:51;;;14769::16;14836:18;;;14829:34;;;-1:-1:-1;;;;;7116:10:2;;;;:30;;14742:18:16;;7116:51:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5635:1540;;;;;:::o;4350:506::-;4407:13;4432:17;4458:3;4432:30;;4473:19;4505:4;:11;4495:22;;;;;;-1:-1:-1;;;4495:22:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4495:22:2;;4473:44;;4533:6;4528:289;4549:4;:11;4545:1;:15;4528:289;;;4641:2;4629:4;4634:1;4629:7;;;;;;-1:-1:-1;;;4629:7:2;;;;;;;;;;;;;;;4623:20;;;;4622:48;;;4667:2;4655:4;4660:1;4655:7;;;;;;-1:-1:-1;;;4655:7:2;;;;;;;;;;;;;;;4649:20;;4622:48;4618:188;;;4716:4;4721:1;4716:7;;;;;;-1:-1:-1;;;4716:7:2;;;;;;;;;;;;;;;;;4710:14;;4727:2;4710:19;;;;:::i;:::-;4703:27;;4691:6;4698:1;4691:9;;;;;;-1:-1:-1;;;4691:9:2;;;;;;;;;;;;:39;-1:-1:-1;;;;;4691:39:2;;;;;;;;;4618:188;;;4783:4;4788:1;4783:7;;;;;;-1:-1:-1;;;4783:7:2;;;;;;;;;;;;;;;;;4771:6;4778:1;4771:9;;;;;;-1:-1:-1;;;4771:9:2;;;;;;;;;;;;:19;-1:-1:-1;;;;;4771:19:2;;;;;;;;;4618:188;4562:3;;;;:::i;:::-;;;;4528:289;;;-1:-1:-1;4841:6:2;4350:506;-1:-1:-1;;;4350:506:2:o;2570:102:5:-;2626:13;2658:7;2651:14;;;;;:::i;3314:966:2:-;3376:4;3392:14;3415:3;3392:27;;3445:1;3434;:8;:12;3430:30;;;-1:-1:-1;3455:5:2;;3314:966;-1:-1:-1;;3314:966:2:o;3430:30::-;3486:2;3475:1;:8;:13;3471:31;;;-1:-1:-1;3497:5:2;;3314:966;-1:-1:-1;;3314:966:2:o;3471:31::-;3565:1;3567;3565:4;;;;;;-1:-1:-1;;;3565:4:2;;;;;;;;;;;;;;-1:-1:-1;;;;;;3565:4:2;-1:-1:-1;;;3565:12:2;3561:30;;;-1:-1:-1;3586:5:2;;3314:966;-1:-1:-1;;3314:966:2:o;3561:30::-;3632:1;3645;3634;:8;:12;;;;:::i;:::-;3632:15;;;;;;-1:-1:-1;;;3632:15:2;;;;;;;;;;;;;;-1:-1:-1;;;;;;3632:15:2;-1:-1:-1;;;3632:23:2;3628:41;;;-1:-1:-1;3664:5:2;;3314:966;-1:-1:-1;;3314:966:2:o;3628:41::-;3709:15;3727:1;3729;3727:4;;;;;;-1:-1:-1;;;3727:4:2;;;;;;;;;;;;;-1:-1:-1;;;;;;3727:4:2;;-1:-1:-1;3749:6:2;3744:505;3761:1;:8;3757:1;:12;3744:505;;;3791:11;3805:1;3807;3805:4;;;;;;-1:-1:-1;;;3805:4:2;;;;;;;;;;;;;-1:-1:-1;;;;;;3805:4:2;;-1:-1:-1;;;;3830:12:2;;:32;;;;-1:-1:-1;;;;;;;;;;3846:16:2;;;3830:32;3826:50;;;-1:-1:-1;3871:5:2;;3314:966;-1:-1:-1;;;;;3314:966:2:o;3826:50::-;-1:-1:-1;;;;;;;;;3965:12:2;;;;;;:28;;-1:-1:-1;;;;;;;;;;3981:12:2;;;;3965:28;3963:31;:89;;;;-1:-1:-1;;;;;;;;;;4023:12:2;;;;;;:28;;-1:-1:-1;;;;;;;;;;4039:12:2;;;;4023:28;4021:31;3963:89;:147;;;;-1:-1:-1;;;;;;;;;;4081:12:2;;;;;;:28;;-1:-1:-1;;;;;;;;;;4097:12:2;;;;4081:28;4079:31;3963:147;:189;;;;-1:-1:-1;;;;;;;;;;4139:12:2;;;4137:15;3963:189;3941:264;;;-1:-1:-1;4200:5:2;;3314:966;-1:-1:-1;;;;;3314:966:2:o;3941:264::-;4233:4;-1:-1:-1;3771:3:2;;;;:::i;:::-;;;;3744:505;;;-1:-1:-1;4268:4:2;;3314:966;-1:-1:-1;;;;3314:966:2:o;4203:153:5:-;4297:52;719:10:1;4330:8:5;4340;4297:18;:52::i;10020:277:2:-;10136:10;;:33;;-1:-1:-1;;;10136:33:2;;-1:-1:-1;;;;;13372:15:16;;;10136:33:2;;;13354:34:16;13424:15;;;13404:18;;;13397:43;10136:10:2;;;;:23;;13289:18:16;;10136:33:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;10180:18:2;;;;;;:12;:18;;;;;:20;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;10211:16:2;;;;;;:12;:16;;;;;:18;;;;;;:::i;:::-;;;;;;10240:49;10264:4;10270:2;10274:7;10283:5;10240:23;:49::i;9478:184::-;9565:10;;9593:15;;9565:44;;-1:-1:-1;;;9565:44:2;;9581:10;9565:44;;;14769:51:16;14836:18;;;14829:34;;;;-1:-1:-1;;;;;9565:10:2;;;;:15;;14742:18:16;;9565:44:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9620:34;9637:7;9646;9620:16;:34::i;8462:174::-;8528:13;8585;8600:26;8617:8;8600:16;:26::i;:::-;8568:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8554:74;;8462:174;;;:::o;9367:103::-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;9438:15:2::1;:24:::0;9367:103::o;5390:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1911:198:13:-;1101:6;;-1:-1:-1;;;;;1101:6:13;719:10:1;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:13;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:13;;18706:2:16;1991:73:13::1;::::0;::::1;18688:21:16::0;18745:2;18725:18;;;18718:30;18784:34;18764:18;;;18757:62;-1:-1:-1;;;18835:18:16;;;18828:36;18881:19;;1991:73:13::1;18678:228:16::0;1991:73:13::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;7079:125:5:-;7144:4;7167:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7167:16:5;:30;;;7079:125::o;10930:171::-;11004:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11004:29:5;-1:-1:-1;;;;;11004:29:5;;;;;;;;:24;;11057:23;11004:24;11057:14;:23::i;:::-;-1:-1:-1;;;;;11048:46:5;;;;;;;;;;;10930:171;;:::o;4646:330::-;4835:41;719:10:1;4868:7:5;4835:18;:41::i;:::-;4827:103;;;;-1:-1:-1;;;4827:103:5;;;;;;;:::i;:::-;4941:28;4951:4;4957:2;4961:7;4941:9;:28::i;868:190:12:-;993:4;1046;1017:25;1030:5;1037:4;1017:12;:25::i;:::-;:33;;868:190;-1:-1:-1;;;;868:190:12:o;2263:187:13:-;2355:6;;;-1:-1:-1;;;;;2371:17:13;;;-1:-1:-1;;;;;;2371:17:13;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2263:187;;:::o;8998:372:5:-;-1:-1:-1;;;;;9077:16:5;;9069:61;;;;-1:-1:-1;;;9069:61:5;;22244:2:16;9069:61:5;;;22226:21:16;;;22263:18;;;22256:30;22322:34;22302:18;;;22295:62;22374:18;;9069:61:5;22216:182:16;9069:61:5;9149:16;9157:7;9149;:16::i;:::-;9148:17;9140:58;;;;-1:-1:-1;;;9140:58:5;;19113:2:16;9140:58:5;;;19095:21:16;19152:2;19132:18;;;19125:30;19191;19171:18;;;19164:58;19239:18;;9140:58:5;19085:178:16;9140:58:5;-1:-1:-1;;;;;9265:13:5;;;;;;:9;:13;;;;;:18;;9282:1;;9265:13;:18;;9282:1;;9265:18;:::i;:::-;;;;-1:-1:-1;;9293:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9293:21:5;-1:-1:-1;;;;;9293:21:5;;;;;;;;9330:33;;9293:16;;;9330:33;;9293:16;;9330:33;8998:372;;:::o;11236:307::-;11386:8;-1:-1:-1;;;;;11377:17:5;:5;-1:-1:-1;;;;;11377:17:5;;;11369:55;;;;-1:-1:-1;;;11369:55:5;;19875:2:16;11369:55:5;;;19857:21:16;19914:2;19894:18;;;19887:30;19953:27;19933:18;;;19926:55;19998:18;;11369:55:5;19847:175:16;11369:55:5;-1:-1:-1;;;;;11434:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11434:46:5;;;;;;;;;;11495:41;;15293::16;;;11495::5;;15266:18:16;11495:41:5;;;;;;;11236:307;;;:::o;5287:320::-;5456:41;719:10:1;5489:7:5;5456:18;:41::i;:::-;5448:103;;;;-1:-1:-1;;;5448:103:5;;;;;;;:::i;:::-;5561:39;5575:4;5581:2;5585:7;5594:5;5561:13;:39::i;1879:776:2:-;1965:13;1981:16;1989:7;1981;:16::i;:::-;1965:32;-1:-1:-1;719:10:1;-1:-1:-1;;;;;2018:21:2;;;2010:65;;;;-1:-1:-1;;;2010:65:2;;17578:2:16;2010:65:2;;;17560:21:16;17617:2;17597:18;;;17590:30;17656:33;17636:18;;;17629:61;17707:18;;2010:65:2;17550:181:16;2010:65:2;2094:21;2107:7;2094:12;:21::i;:::-;:29;;2119:4;2094:29;2086:62;;;;-1:-1:-1;;;2086:62:2;;25773:2:16;2086:62:2;;;25755:21:16;25812:2;25792:18;;;25785:30;-1:-1:-1;;;25831:18:16;;;25824:50;25891:18;;2086:62:2;25745:170:16;2086:62:2;2206:19;;;;:10;:19;;;;;;;2193:34;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2167:22;2180:7;2167:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;2159:108;;;;-1:-1:-1;;;2159:108:2;;24139:2:16;2159:108:2;;;24121:21:16;24178:2;24158:18;;;24151:30;24217:34;24197:18;;;24190:62;-1:-1:-1;;;24268:18:16;;;24261:33;24311:19;;2159:108:2;24111:225:16;2159:108:2;2286:23;2301:7;2286:14;:23::i;:::-;:32;2278:66;;;;-1:-1:-1;;;2278:66:2;;22605:2:16;2278:66:2;;;22587:21:16;22644:2;22624:18;;;22617:30;-1:-1:-1;;;22663:18:16;;;22656:51;22724:18;;2278:66:2;22577:171:16;2278:66:2;2446:1;2416:19;;;:10;:19;;;;;2410:33;;;;;:::i;:::-;;;:37;2406:115;;;2482:19;;;;:10;:19;;;;;2464:45;;;;2482:19;2464:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2503:5;2464:17;:45::i;:::-;2531:32;2549:7;2558:4;2531:17;:32::i;:::-;2574:19;;;;:10;:19;;;;;;;;:29;;;;;;;;:::i;:::-;;2630:7;2619:28;2639:7;2619:28;;;;;;:::i;:::-;;;;;;;;1879:776;;;:::o;328:703:14:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:14;;;;;;;;;;;;-1:-1:-1;;;627:10:14;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:14;;-1:-1:-1;773:2:14;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;-1:-1:-1;;;817:17:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:14;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:14;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;-1:-1:-1;;;902:14:14;;;;;;;;;;;;:56;-1:-1:-1;;;;;902:56:14;;;;;;;;-1:-1:-1;972:11:14;981:2;972:11;;:::i;:::-;;;844:150;;7362:344:5;7455:4;7479:16;7487:7;7479;:16::i;:::-;7471:73;;;;-1:-1:-1;;;7471:73:5;;20229:2:16;7471:73:5;;;20211:21:16;20268:2;20248:18;;;20241:30;20307:34;20287:18;;;20280:62;-1:-1:-1;;;20358:18:16;;;20351:42;20410:19;;7471:73:5;20201:234:16;7471:73:5;7554:13;7570:23;7585:7;7570:14;:23::i;:::-;7554:39;;7622:5;-1:-1:-1;;;;;7611:16:5;:7;-1:-1:-1;;;;;7611:16:5;;:51;;;;7655:7;-1:-1:-1;;;;;7631:31:5;:20;7643:7;7631:11;:20::i;:::-;-1:-1:-1;;;;;7631:31:5;;7611:51;:87;;;-1:-1:-1;;;;;;4542:25:5;;;4519:4;4542:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7666:32;4422:162;10259:560;10413:4;-1:-1:-1;;;;;10386:31:5;:23;10401:7;10386:14;:23::i;:::-;-1:-1:-1;;;;;10386:31:5;;10378:85;;;;-1:-1:-1;;;10378:85:5;;23729:2:16;10378:85:5;;;23711:21:16;23768:2;23748:18;;;23741:30;23807:34;23787:18;;;23780:62;-1:-1:-1;;;23858:18:16;;;23851:39;23907:19;;10378:85:5;23701:231:16;10378:85:5;-1:-1:-1;;;;;10481:16:5;;10473:65;;;;-1:-1:-1;;;10473:65:5;;19470:2:16;10473:65:5;;;19452:21:16;19509:2;19489:18;;;19482:30;19548:34;19528:18;;;19521:62;-1:-1:-1;;;19599:18:16;;;19592:34;19643:19;;10473:65:5;19442:226:16;10473:65:5;10650:29;10667:1;10671:7;10650:8;:29::i;:::-;-1:-1:-1;;;;;10690:15:5;;;;;;:9;:15;;;;;:20;;10709:1;;10690:15;:20;;10709:1;;10690:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10720:13:5;;;;;;:9;:13;;;;;:18;;10737:1;;10720:13;:18;;10737:1;;10720:18;:::i;:::-;;;;-1:-1:-1;;10748:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10748:21:5;-1:-1:-1;;;;;10748:21:5;;;;;;;;;10785:27;;10748:16;;10785:27;;;;;;;10259:560;;;:::o;1420:701:12:-;1503:7;1546:4;1503:7;1561:523;1585:5;:12;1581:1;:16;1561:523;;;1619:20;1642:5;1648:1;1642:8;;;;;;-1:-1:-1;;;1642:8:12;;;;;;;;;;;;;;;1619:31;;1685:12;1669;:28;1665:408;;1822:44;;;;;;11436:19:16;;;11471:12;;;11464:28;;;11508:12;;1822:44:12;;;;;;;;;;;;1812:55;;;;;;1797:70;;1665:408;;;2012:44;;;;;;11436:19:16;;;11471:12;;;11464:28;;;11508:12;;2012:44:12;;;;;;;;;;;;2002:55;;;;;;1987:70;;1665:408;-1:-1:-1;1599:3:12;;;;:::i;:::-;;;;1561:523;;6469:307:5;6620:28;6630:4;6636:2;6640:7;6620:9;:28::i;:::-;6666:48;6689:4;6695:2;6699:7;6708:5;6666:22;:48::i;:::-;6658:111;;;;-1:-1:-1;;;6658:111:5;;;;;;;:::i;2769:129:2:-;2881:9;2851:13;2865:12;2873:3;2865:7;:12::i;:::-;2851:27;;;;;;:::i;:::-;;;;;;;;;;;;;;:39;;;;;-1:-1:-1;;2851:39:2;;;;;;;;;-1:-1:-1;;2769:129:2:o;12096:778:5:-;12246:4;-1:-1:-1;;;;;12266:13:5;;1087:20:0;1133:8;12262:606:5;;12301:72;;-1:-1:-1;;;12301:72:5;;-1:-1:-1;;;;;12301:36:5;;;;;:72;;719:10:1;;12352:4:5;;12358:7;;12367:5;;12301:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12301:72:5;;;;;;;;-1:-1:-1;;12301:72:5;;;;;;;;;;;;:::i;:::-;;;12297:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12540:13:5;;12536:266;;12582:60;;-1:-1:-1;;;12582:60:5;;;;;;;:::i;12536:266::-;12754:6;12748:13;12739:6;12735:2;12731:15;12724:38;12297:519;-1:-1:-1;;;;;;12423:51:5;-1:-1:-1;;;12423:51:5;;-1:-1:-1;12416:58:5;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:16;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:16;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:16;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:703::-;657:5;710:3;703:4;695:6;691:17;687:27;677:2;;732:5;725;718:20;677:2;772:6;759:20;798:4;822:70;838:53;888:2;838:53;:::i;:::-;822:70;:::i;:::-;914:3;938:2;933:3;926:15;966:2;961:3;957:12;950:19;;1001:2;993:6;989:15;1053:3;1048:2;1042;1039:1;1035:10;1027:6;1023:23;1019:32;1016:41;1013:2;;;1074:5;1067;1060:20;1013:2;1100:5;1114:163;1128:2;1125:1;1122:9;1114:163;;;1185:17;;1173:30;;1223:12;;;;1255;;;;1146:1;1139:9;1114:163;;;-1:-1:-1;1295:5:16;;667:639;-1:-1:-1;;;;;;;667:639:16:o;2019:229::-;2062:5;2115:3;2108:4;2100:6;2096:17;2092:27;2082:2;;2137:5;2130;2123:20;2082:2;2163:79;2238:3;2229:6;2216:20;2209:4;2201:6;2197:17;2163:79;:::i;:::-;2154:88;2072:176;-1:-1:-1;;;2072:176:16:o;2253:196::-;2312:6;2365:2;2353:9;2344:7;2340:23;2336:32;2333:2;;;2386:6;2378;2371:22;2333:2;2414:29;2433:9;2414:29;:::i;2454:270::-;2522:6;2530;2583:2;2571:9;2562:7;2558:23;2554:32;2551:2;;;2604:6;2596;2589:22;2551:2;2632:29;2651:9;2632:29;:::i;:::-;2622:39;;2680:38;2714:2;2703:9;2699:18;2680:38;:::i;:::-;2670:48;;2541:183;;;;;:::o;2729:338::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:2;;;2896:6;2888;2881:22;2843:2;2924:29;2943:9;2924:29;:::i;:::-;2914:39;;2972:38;3006:2;2995:9;2991:18;2972:38;:::i;:::-;2962:48;;3057:2;3046:9;3042:18;3029:32;3019:42;;2833:234;;;;;:::o;3072:858::-;3169:6;3177;3185;3193;3201;3254:3;3242:9;3233:7;3229:23;3225:33;3222:2;;;3276:6;3268;3261:22;3222:2;3304:29;3323:9;3304:29;:::i;:::-;3294:39;;3352:38;3386:2;3375:9;3371:18;3352:38;:::i;:::-;3342:48;;3437:2;3426:9;3422:18;3409:32;3399:42;;3492:2;3481:9;3477:18;3464:32;3515:18;3556:2;3548:6;3545:14;3542:2;;;3577:6;3569;3562:22;3542:2;3620:6;3609:9;3605:22;3595:32;;3665:7;3658:4;3654:2;3650:13;3646:27;3636:2;;3692:6;3684;3677:22;3636:2;3737;3724:16;3763:2;3755:6;3752:14;3749:2;;;3784:6;3776;3769:22;3749:2;3834:7;3829:2;3820:6;3816:2;3812:15;3808:24;3805:37;3802:2;;;3860:6;3852;3845:22;3802:2;3212:718;;;;-1:-1:-1;3212:718:16;;-1:-1:-1;3896:2:16;3888:11;;3918:6;3212:718;-1:-1:-1;;;3212:718:16:o;3935:696::-;4030:6;4038;4046;4054;4107:3;4095:9;4086:7;4082:23;4078:33;4075:2;;;4129:6;4121;4114:22;4075:2;4157:29;4176:9;4157:29;:::i;:::-;4147:39;;4205:38;4239:2;4228:9;4224:18;4205:38;:::i;:::-;4195:48;;4290:2;4279:9;4275:18;4262:32;4252:42;;4345:2;4334:9;4330:18;4317:32;4372:18;4364:6;4361:30;4358:2;;;4409:6;4401;4394:22;4358:2;4437:22;;4490:4;4482:13;;4478:27;-1:-1:-1;4468:2:16;;4524:6;4516;4509:22;4468:2;4552:73;4617:7;4612:2;4599:16;4594:2;4590;4586:11;4552:73;:::i;:::-;4542:83;;;4065:566;;;;;;;:::o;4636:325::-;4701:6;4709;4762:2;4750:9;4741:7;4737:23;4733:32;4730:2;;;4783:6;4775;4768:22;4730:2;4811:29;4830:9;4811:29;:::i;:::-;4801:39;;4890:2;4879:9;4875:18;4862:32;4903:28;4925:5;4903:28;:::i;:::-;4950:5;4940:15;;;4720:241;;;;;:::o;4966:264::-;5034:6;5042;5095:2;5083:9;5074:7;5070:23;5066:32;5063:2;;;5116:6;5108;5101:22;5063:2;5144:29;5163:9;5144:29;:::i;:::-;5134:39;5220:2;5205:18;;;;5192:32;;-1:-1:-1;;;5053:177:16:o;5235:1874::-;5446:6;5454;5462;5470;5523:3;5511:9;5502:7;5498:23;5494:33;5491:2;;;5545:6;5537;5530:22;5491:2;5590:9;5577:23;5619:18;5660:2;5652:6;5649:14;5646:2;;;5681:6;5673;5666:22;5646:2;5709:61;5762:7;5753:6;5742:9;5738:22;5709:61;:::i;:::-;5699:71;;5789:2;5779:12;;5844:2;5833:9;5829:18;5816:32;5873:2;5863:8;5860:16;5857:2;;;5894:6;5886;5879:22;5857:2;5922:63;5977:7;5966:8;5955:9;5951:24;5922:63;:::i;:::-;5912:73;;;6038:2;6027:9;6023:18;6010:32;6067:2;6057:8;6054:16;6051:2;;;6088:6;6080;6073:22;6051:2;6116:63;6171:7;6160:8;6149:9;6145:24;6116:63;:::i;:::-;6106:73;;;6232:2;6221:9;6217:18;6204:32;6261:2;6251:8;6248:16;6245:2;;;6282:6;6274;6267:22;6245:2;6310:24;;6365:4;6357:13;;6353:27;-1:-1:-1;6343:2:16;;6399:6;6391;6384:22;6343:2;6440;6427:16;6463:70;6479:53;6529:2;6479:53;:::i;6463:70::-;6555:3;6579:2;6574:3;6567:15;6607:2;6602:3;6598:12;6591:19;;6638:2;6634;6630:11;6686:7;6681:2;6675;6672:1;6668:10;6664:2;6660:19;6656:28;6653:41;6650:2;;;6712:6;6704;6697:22;6650:2;6739:6;6754:325;6768:2;6765:1;6762:9;6754:325;;;6845:3;6832:17;6881:2;6868:11;6865:19;6862:2;;;6902:6;6894;6887:22;6862:2;6936:68;6996:7;6991:2;6977:11;6973:2;6969:20;6965:29;6936:68;:::i;:::-;6924:81;;-1:-1:-1;7025:12:16;;;;7057;;;;6786:1;6779:9;6754:325;;;6758:3;;7098:5;7088:15;;;;;;;;5481:1628;;;;;;;:::o;7114:255::-;7181:6;7234:2;7222:9;7213:7;7209:23;7205:32;7202:2;;;7255:6;7247;7240:22;7202:2;7292:9;7286:16;7311:28;7333:5;7311:28;:::i;7374:190::-;7433:6;7486:2;7474:9;7465:7;7461:23;7457:32;7454:2;;;7507:6;7499;7492:22;7454:2;-1:-1:-1;7535:23:16;;7444:120;-1:-1:-1;7444:120:16:o;7569:194::-;7639:6;7692:2;7680:9;7671:7;7667:23;7663:32;7660:2;;;7713:6;7705;7698:22;7660:2;-1:-1:-1;7741:16:16;;7650:113;-1:-1:-1;7650:113:16:o;7768:504::-;7870:6;7878;7886;7939:2;7927:9;7918:7;7914:23;7910:32;7907:2;;;7960:6;7952;7945:22;7907:2;8001:9;7988:23;7978:33;;8058:2;8047:9;8043:18;8030:32;8020:42;;8113:2;8102:9;8098:18;8085:32;8140:18;8132:6;8129:30;8126:2;;;8177:6;8169;8162:22;8126:2;8205:61;8258:7;8249:6;8238:9;8234:22;8205:61;:::i;:::-;8195:71;;;7897:375;;;;;:::o;8277:255::-;8335:6;8388:2;8376:9;8367:7;8363:23;8359:32;8356:2;;;8409:6;8401;8394:22;8356:2;8453:9;8440:23;8472:30;8496:5;8472:30;:::i;8537:259::-;8606:6;8659:2;8647:9;8638:7;8634:23;8630:32;8627:2;;;8680:6;8672;8665:22;8627:2;8717:9;8711:16;8736:30;8760:5;8736:30;:::i;8801:342::-;8870:6;8923:2;8911:9;8902:7;8898:23;8894:32;8891:2;;;8944:6;8936;8929:22;8891:2;8989:9;8976:23;9022:18;9014:6;9011:30;9008:2;;;9059:6;9051;9044:22;9008:2;9087:50;9129:7;9120:6;9109:9;9105:22;9087:50;:::i;9343:410::-;9421:6;9429;9482:2;9470:9;9461:7;9457:23;9453:32;9450:2;;;9503:6;9495;9488:22;9450:2;9544:9;9531:23;9521:33;;9605:2;9594:9;9590:18;9577:32;9632:18;9624:6;9621:30;9618:2;;;9669:6;9661;9654:22;9618:2;9697:50;9739:7;9730:6;9719:9;9715:22;9697:50;:::i;:::-;9687:60;;;9440:313;;;;;:::o;9758:258::-;9826:6;9834;9887:2;9875:9;9866:7;9862:23;9858:32;9855:2;;;9908:6;9900;9893:22;9855:2;-1:-1:-1;;9936:23:16;;;10006:2;9991:18;;;9978:32;;-1:-1:-1;9845:171:16:o;10021:257::-;10062:3;10100:5;10094:12;10127:6;10122:3;10115:19;10143:63;10199:6;10192:4;10187:3;10183:14;10176:4;10169:5;10165:16;10143:63;:::i;:::-;10260:2;10239:15;-1:-1:-1;;10235:29:16;10226:39;;;;10267:4;10222:50;;10070:208;-1:-1:-1;;10070:208:16:o;10283:991::-;10371:12;;10336:3;;10428:1;10448:18;;;;10501;;;;10528:2;;10582:4;10574:6;10570:17;10560:27;;10528:2;10608;10656;10648:6;10645:14;10625:18;10622:38;10619:2;;;-1:-1:-1;;;10683:33:16;;10739:4;10736:1;10729:15;10769:4;10690:3;10757:17;10619:2;10800:18;10827:104;;;;10945:1;10940:328;;;;10793:475;;10827:104;-1:-1:-1;;10860:24:16;;10848:37;;10905:16;;;;-1:-1:-1;10827:104:16;;10940:328;10971:5;10968:1;10961:16;11018:2;11015:1;11005:16;11043:1;11057:165;11071:6;11068:1;11065:13;11057:165;;;11149:14;;11136:11;;;11129:35;11192:16;;;;11086:10;;11057:165;;;11061:3;;11251:6;11246:3;11242:16;11235:23;;10793:475;;;;;;;10344:930;;;;:::o;11531:274::-;11660:3;11698:6;11692:13;11714:53;11760:6;11755:3;11748:4;11740:6;11736:17;11714:53;:::i;:::-;11783:16;;;;;11668:137;-1:-1:-1;;11668:137:16:o;11810:202::-;11940:3;11965:41;12002:3;11994:6;11965:41;:::i;12298:379::-;12474:3;12502:41;12539:3;12531:6;12502:41;:::i;:::-;12572:6;12566:13;12588:52;12633:6;12629:2;12622:4;12614:6;12610:17;12588:52;:::i;:::-;12656:15;;12482:195;-1:-1:-1;;;;12482:195:16:o;13451:488::-;-1:-1:-1;;;;;13720:15:16;;;13702:34;;13772:15;;13767:2;13752:18;;13745:43;13819:2;13804:18;;13797:34;;;13867:3;13862:2;13847:18;;13840:31;;;13645:4;;13888:45;;13913:19;;13905:6;13888:45;:::i;:::-;13880:53;13654:285;-1:-1:-1;;;;;;13654:285:16:o;15961:219::-;16110:2;16099:9;16092:21;16073:4;16130:44;16170:2;16159:9;16155:18;16147:6;16130:44;:::i;18085:414::-;18287:2;18269:21;;;18326:2;18306:18;;;18299:30;18365:34;18360:2;18345:18;;18338:62;-1:-1:-1;;;18431:2:16;18416:18;;18409:48;18489:3;18474:19;;18259:240::o;23166:356::-;23368:2;23350:21;;;23387:18;;;23380:30;23446:34;23441:2;23426:18;;23419:62;23513:2;23498:18;;23340:182::o;24743:413::-;24945:2;24927:21;;;24984:2;24964:18;;;24957:30;25023:34;25018:2;25003:18;;24996:62;-1:-1:-1;;;25089:2:16;25074:18;;25067:47;25146:3;25131:19;;24917:239::o;26102:275::-;26173:2;26167:9;26238:2;26219:13;;-1:-1:-1;;26215:27:16;26203:40;;26273:18;26258:34;;26294:22;;;26255:62;26252:2;;;26320:18;;:::i;:::-;26356:2;26349:22;26147:230;;-1:-1:-1;26147:230:16:o;26382:193::-;26452:4;26485:18;26477:6;26474:30;26471:2;;;26507:18;;:::i;:::-;-1:-1:-1;26552:1:16;26548:14;26564:4;26544:25;;26461:114::o;26580:128::-;26620:3;26651:1;26647:6;26644:1;26641:13;26638:2;;;26657:18;;:::i;:::-;-1:-1:-1;26693:9:16;;26628:80::o;26713:204::-;26751:3;26787:4;26784:1;26780:12;26819:4;26816:1;26812:12;26854:3;26848:4;26844:14;26839:3;26836:23;26833:2;;;26862:18;;:::i;:::-;26898:13;;26759:158;-1:-1:-1;;;26759:158:16:o;26922:120::-;26962:1;26988;26978:2;;26993:18;;:::i;:::-;-1:-1:-1;27027:9:16;;26968:74::o;27047:125::-;27087:4;27115:1;27112;27109:8;27106:2;;;27120:18;;:::i;:::-;-1:-1:-1;27157:9:16;;27096:76::o;27177:258::-;27249:1;27259:113;27273:6;27270:1;27267:13;27259:113;;;27349:11;;;27343:18;27330:11;;;27323:39;27295:2;27288:10;27259:113;;;27390:6;27387:1;27384:13;27381:2;;;-1:-1:-1;;27425:1:16;27407:16;;27400:27;27230:205::o;27440:136::-;27479:3;27507:5;27497:2;;27516:18;;:::i;:::-;-1:-1:-1;;;27552:18:16;;27487:89::o;27581:380::-;27660:1;27656:12;;;;27703;;;27724:2;;27778:4;27770:6;27766:17;27756:27;;27724:2;27831;27823:6;27820:14;27800:18;27797:38;27794:2;;;27877:10;27872:3;27868:20;27865:1;27858:31;27912:4;27909:1;27902:15;27940:4;27937:1;27930:15;27794:2;;27636:325;;;:::o;27966:135::-;28005:3;-1:-1:-1;;28026:17:16;;28023:2;;;28046:18;;:::i;:::-;-1:-1:-1;28093:1:16;28082:13;;28013:88::o;28106:112::-;28138:1;28164;28154:2;;28169:18;;:::i;:::-;-1:-1:-1;28203:9:16;;28144:74::o;28223:127::-;28284:10;28279:3;28275:20;28272:1;28265:31;28315:4;28312:1;28305:15;28339:4;28336:1;28329:15;28355:127;28416:10;28411:3;28407:20;28404:1;28397:31;28447:4;28444:1;28437:15;28471:4;28468:1;28461:15;28487:127;28548:10;28543:3;28539:20;28536:1;28529:31;28579:4;28576:1;28569:15;28603:4;28600:1;28593:15;28619:118;28705:5;28698:13;28691:21;28684:5;28681:32;28671:2;;28727:1;28724;28717:12;28742:131;-1:-1:-1;;;;;;28816:32:16;;28806:43;;28796:2;;28863:1;28860;28853:12
Swarm Source
ipfs://c01c087011b2cf5d0e61c7e8417193d912994adea5a9811083ab3312cba634f9
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.