ERC-721
Overview
Max Total Supply
134 UNIPEEP
Holders
113
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UNIPEEPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Unipeeps
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.15; import {IUnipeeps} from './interfaces/IUnipeeps.sol'; import {ERC721} from '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol'; import {Strings} from '@openzeppelin/contracts/utils/Strings.sol'; import {IUnipeepsSVG} from './interfaces/IUnipeepsSVG.sol'; import {Base64} from 'base64-sol/base64.sol'; contract Unipeeps is IUnipeeps, ERC721, Ownable { using Strings for *; uint96 private constant MAX_THRESHOLD = 0; /// @notice Metadata about each peeps mapping(uint256 => Peep) public peeps; struct SVGContract { IUnipeepsSVG svgContract; uint96 tokenIdThreshold; } SVGContract[] private svgContracts; /// @notice The total number of peeps uint96 public totalSupply; constructor( string memory name, string memory symbol, address owner, IUnipeepsSVG svgContract ) ERC721(name, symbol) Ownable() { svgContracts.push(SVGContract(svgContract, MAX_THRESHOLD)); transferOwnership(owner); } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert NonexistentPeep(tokenId); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{"name":"', 'UL ', tokenId.toString(), '/', totalSupply.toString(), '", "description":"', 'Commemorative NFTs for Uniswap Labs employees', '", "image": "', _generateSVGURL(tokenId), '"}' ) ) ) ) ); } /// @inheritdoc IUnipeeps function newPeeps(Peep[] memory _peeps, address[] memory recipients) external onlyOwner { if (_peeps.length != recipients.length) revert NewPeepsParamLengthMismatch(); unchecked { for (uint256 i = 0; i < _peeps.length; i++) { peeps[++totalSupply] = _peeps[i]; _mint(recipients[i], totalSupply); } } } /// @inheritdoc IUnipeeps function modifyPeeps( uint256[] calldata tokenIds, Peep[] calldata _peeps ) external onlyOwner { if (tokenIds.length != _peeps.length) revert ModifyPeepsParamLengthMismatch(); unchecked { for (uint256 i = 0; i < tokenIds.length; i++) { if (!_exists(tokenIds[i])) revert NonexistentPeep(tokenIds[i]); peeps[tokenIds[i]] = _peeps[i]; } } } /// @inheritdoc IUnipeeps function addNewSVGContract(IUnipeepsSVG svgContract) external onlyOwner { uint256 numSVGContracts = svgContracts.length; // if no new mints have happened since adding last svgContract, replace or else this one is unused. if (numSVGContracts > 1 && svgContracts[numSVGContracts - 2].tokenIdThreshold == totalSupply) { svgContracts[numSVGContracts - 1].svgContract = svgContract; } else { svgContracts[numSVGContracts - 1].tokenIdThreshold = totalSupply; svgContracts.push(SVGContract(svgContract, MAX_THRESHOLD)); } emit NewSVGContractAdded(svgContract, totalSupply); } /// @inheritdoc IUnipeeps function getSVGContract(uint256 tokenId) public view returns (IUnipeepsSVG) { if (!_exists(tokenId)) revert NonexistentPeep(tokenId); return _getSVGContract(tokenId); } function _getSVGContract(uint256 tokenId) public view returns (IUnipeepsSVG) { unchecked { for (uint256 i = 0; i <= svgContracts.length; i++) { SVGContract memory svgContract = svgContracts[i]; if (tokenId <= svgContract.tokenIdThreshold || svgContract.tokenIdThreshold == MAX_THRESHOLD) return svgContract.svgContract; } } } /// @dev Generates the SVG URL for the image in the NFT metadata JSON function _generateSVGURL(uint256 tokenId) internal view returns (bytes memory) { return abi.encodePacked('data:image/svg+xml;base64,', Base64.encode(bytes(_getSVG(tokenId)))); } /// @dev Helper method for testing that returns the raw SVG content for the given token ID function _getSVG(uint256 tokenId) internal view returns (string memory) { return string(_getSVGContract(tokenId).generateSVG(tokenId, peeps[tokenId], totalSupply)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 {} /** * @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. * - `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 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.15; import {IERC721} from '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import {IUnipeepsSVG} from './IUnipeepsSVG.sol'; interface IUnipeeps is IERC721 { /// @notice Emitted when a new SVG contract is added for the next future mints /// @param unipeepsSVG The address of the new contract /// @param totalSupply The total supply at the time of add. tokenIds after this will be minted with the new SVG. event NewSVGContractAdded(IUnipeepsSVG unipeepsSVG, uint96 totalSupply); /// @notice The queried token does not exist error NonexistentPeep(uint256 invalidId); /// @notice The number of peeps, employeeNumbers, and recipients must match error NewPeepsParamLengthMismatch(); /// @notice The number of tokenIds, groups, and roles must match error ModifyPeepsParamLengthMismatch(); /// @notice The employee number has already been minted. error NewPeepOutOfOrder(uint256 employeeNumber, uint256 totalSupply); enum Group { Design, Engineering, Executive, Legal, Operations, Product, Strategy } struct Peep { string first; string last; string role; uint248 epochStartDate; Group group; } /// @notice Mints a new NFT with the given metadata for the given recipient. /// @param peeps A list of the metadata for each NFT to mint. /// @param recipients A list of the recipient addresses that should receive the newly minted NFT. Indices should correspond /// to the _peeps array. function newPeeps(Peep[] memory peeps, address[] memory recipients) external; /// @notice Modifies the role and group of an existing peep. /// @param tokenIds The tokenIds of the peeps to modify. /// @param _peeps The updated details for each peep. function modifyPeeps( uint256[] calldata tokenIds, Peep[] calldata _peeps ) external; /// @notice Adds new contract for svg art for the next future mints. /// @param svgContract The address of the new UnipeepsSVG contract function addNewSVGContract(IUnipeepsSVG svgContract) external; /// @notice Get the SVG contract associated with a tokenId /// @param tokenId The tokenId function getSVGContract(uint256 tokenId) external view returns (IUnipeepsSVG); }
// SPDX-License-Identifier: UNLICENSED pragma solidity =0.8.15; import {IUnipeeps} from './IUnipeeps.sol'; interface IUnipeepsSVG { function generateSVG( uint256 number, IUnipeeps.Peep memory peep, uint256 totalPeeps ) external view returns (bytes memory SVG); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "none", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 1000000 }, "remappings": [], "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"contract IUnipeepsSVG","name":"svgContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ModifyPeepsParamLengthMismatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"employeeNumber","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"NewPeepOutOfOrder","type":"error"},{"inputs":[],"name":"NewPeepsParamLengthMismatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"invalidId","type":"uint256"}],"name":"NonexistentPeep","type":"error"},{"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":false,"internalType":"contract IUnipeepsSVG","name":"unipeepsSVG","type":"address"},{"indexed":false,"internalType":"uint96","name":"totalSupply","type":"uint96"}],"name":"NewSVGContractAdded","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"_getSVGContract","outputs":[{"internalType":"contract IUnipeepsSVG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IUnipeepsSVG","name":"svgContract","type":"address"}],"name":"addNewSVGContract","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSVGContract","outputs":[{"internalType":"contract IUnipeepsSVG","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"components":[{"internalType":"string","name":"first","type":"string"},{"internalType":"string","name":"last","type":"string"},{"internalType":"string","name":"role","type":"string"},{"internalType":"uint248","name":"epochStartDate","type":"uint248"},{"internalType":"enum IUnipeeps.Group","name":"group","type":"uint8"}],"internalType":"struct IUnipeeps.Peep[]","name":"_peeps","type":"tuple[]"}],"name":"modifyPeeps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"first","type":"string"},{"internalType":"string","name":"last","type":"string"},{"internalType":"string","name":"role","type":"string"},{"internalType":"uint248","name":"epochStartDate","type":"uint248"},{"internalType":"enum IUnipeeps.Group","name":"group","type":"uint8"}],"internalType":"struct IUnipeeps.Peep[]","name":"_peeps","type":"tuple[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"newPeeps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"peeps","outputs":[{"internalType":"string","name":"first","type":"string"},{"internalType":"string","name":"last","type":"string"},{"internalType":"string","name":"role","type":"string"},{"internalType":"uint248","name":"epochStartDate","type":"uint248"},{"internalType":"enum IUnipeeps.Group","name":"group","type":"uint8"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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"}]
Contract Creation Code
604060808152346200049f57620040a0803803806200001e81620004a4565b92833981016080828203126200049f5781516001600160401b0392908381116200049f578262000050918301620004ca565b60209283830151908582116200049f576200006d918401620004ca565b93858301519460018060a01b0392838716948588036200049f57606001518481168091036200049f5781519284841162000489576000938454906001948583811c931680156200047e575b8b841014620003845781908b601f9485811162000428575b50508b90848311600114620003c3578892620003b7575b5050600019600383901b1c191690851b1785555b815191868311620003a35784548581811c9116801562000398575b8b8210146200038457908183859493116200032f575b508a918311600114620002cb578692620002bf575b5050600019600383901b1c191690831b1782555b62000160336200054d565b885193848a0190811185821017620002ab578952835285830191808352600854916801000000000000000083101562000297578201806008558210156200028357600881528690209251915160a01b6001600160a01b0319169184169190911791015560065433911603620002415715620001ef5750620001e1906200054d565b51613b0490816200059c8239f35b60849083519062461bcd60e51b82526004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b60648285519062461bcd60e51b825280600483015260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b82526041600452602482fd5b634e487b7160e01b84526041600452602484fd5b01519050388062000141565b8587528a87208694509190601f198416885b8d828210620003185750508411620002fe575b505050811b01825562000155565b015160001960f88460031b161c19169055388080620002f0565b8385015186558997909501949384019301620002dd565b909192508587528a87208380860160051c8201928d87106200037a575b91869589929594930160051c01915b8281106200036b5750506200012c565b8981558695508891016200035b565b925081926200034c565b634e487b7160e01b87526022600452602487fd5b90607f169062000116565b634e487b7160e01b86526041600452602486fd5b015190503880620000e7565b8880528c89208894509190601f1984168a8f5b828210620004105750508411620003f6575b505050811b018555620000fb565b015160001960f88460031b161c19169055388080620003e8565b8385015186558b979095019493840193018f620003d6565b9091925088805284828a209181860160051c830193861062000474575b918991869594930160051c01915b8281106200046557508d9150620000d0565b8a815585945089910162000453565b9250819262000445565b92607f1692620000b8565b634e487b7160e01b600052604160045260246000fd5b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200048957604052565b81601f820112156200049f578051906001600160401b0382116200048957602090620004ff601f8401601f19168301620004a4565b938385528284830101116200049f5782906000905b8383831062000534575050116200052a57505090565b6000918301015290565b8193508281939201015182828801015201839162000514565b600680546001600160a01b039283166001600160a01b031982168117909255604051919216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a356fe60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146101df57806306fdde03146101d6578063081812fc146101cd578063095ea7b3146101c457806318160ddd146101bb578063199e1146146101b257806323b872dd146101a957806325cf731e146101a057806342842e0e146101975780636352211e1461018e57806370a0823114610185578063715018a61461017c5780638da5cb5b14610173578063939db2bf1461016a57806395d89b4114610161578063a22cb46514610158578063b77a110b1461014f578063b7833b6e14610146578063b88d4fde1461013d578063c87b56dd14610134578063e985e9c51461012b578063f2fde38b146101225763f97031241461011a57600080fd5b61000e6119df565b5061000e6118eb565b5061000e611848565b5061000e61156e565b5061000e6114e7565b5061000e61141c565b5061000e6110d0565b5061000e610f3d565b5061000e610e79565b5061000e610dd8565b5061000e610d85565b5061000e610cde565b5061000e610be0565b5061000e610ba3565b5061000e610b5b565b5061000e610b1e565b5061000e610af4565b5061000e610922565b5061000e61069b565b5061000e610528565b5061000e6104af565b5061000e61038f565b5061000e610212565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760207fffffffff00000000000000000000000000000000000000000000000000000000600435610271816101e8565b167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156102d9575b81156102af575b506040519015158152f35b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014386102a4565b7f5b5e139f000000000000000000000000000000000000000000000000000000008114915061029d565b918091926000905b82821061032357501161031c575050565b6000910152565b9150806020918301518186015201829161030b565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361037481518092818752878088019101610303565b0116010190565b90602061038c928181520190610338565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac57604051908080546103d081611261565b80855291600191808316908115610464575060011461040a575b610406856103fa8187038261073f565b6040519182918261037b565b0390f35b80809450527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061044c5750505081016020016103fa826104066103ea565b80546020858701810191909152909301928101610431565b869550610406969350602092506103fa9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010192936103ea565b80fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec600435611dfc565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356105648161050a565b60243561057081611cc0565b9173ffffffffffffffffffffffffffffffffffffffff8084168091831614610617576105af936105aa9133149081156105b1575b50611d71565b612566565b005b610611915061060a906105e5339173ffffffffffffffffffffffffffffffffffffffff166000526005602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b386105a4565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206bffffffffffffffffffffffff60095416604051908152f35b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761073257604052565b61073a6106e6565b604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761073257604052565b6040519060a0820182811067ffffffffffffffff82111761073257604052565b604051906107ad82610716565b565b60209067ffffffffffffffff81116107c9575b60051b0190565b6107d16106e6565b6107c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610812575b01160190565b61081a6106e6565b61080c565b92919261082b826107d6565b91610839604051938461073f565b82948184528183011161000e578281602093846000960137010152565b9080601f8301121561000e5781602061038c9335910161081f565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81160361000e57565b35906107ad82610871565b6007111561000e57565b35906107ad826108a5565b81601f8201121561000e578035916108d1836107af565b926108df604051948561073f565b808452602092838086019260051b82010192831161000e578301905b828210610909575050505090565b83809183356109178161050a565b8152019101906108fb565b503461000e576040807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004359067ffffffffffffffff80831161000e573660238401121561000e578260040135610980816107af565b9361098d8451958661073f565b8185526020908186016024809460051b8301019136831161000e57848101915b8383106109de5750505050503590811161000e576000926109d56109db9236906004016108ba565b90612bdc565b51f35b823587811161000e5782019060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc833603011261000e57610a1e610780565b908783013589811161000e57610a3990893691860101610856565b8252604483013589811161000e57610a5690893691860101610856565b8783015260648301359189831161000e57610a9a60a489958d610a7f88978e3691850101610856565b90850152610a8f6084820161089a565b6060850152016108af565b60808201528152019201916109ad565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc606091011261000e57600435610ae08161050a565b90602435610aed8161050a565b9060443590565b503461000e576105af610b0636610aaa565b91610b19610b148433612046565b611ed9565b612334565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec6004356137df565b503461000e576105af610b6d36610aaa565b90604051926020840184811067ffffffffffffffff821117610b96575b60405260008452611f96565b610b9e6106e6565b610b8a565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec600435611cc0565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5773ffffffffffffffffffffffffffffffffffffffff600435610c318161050a565b168015610c5a576000526003602052610406604060002054604051918291829190602083019252565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac576006547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610d56338414611bec565b1660065581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60065416604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610e3881600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b15610e48576104ec6020916137df565b602490604051907f53d5c77b0000000000000000000000000000000000000000000000000000000082526004820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac5760405190806001805491610ebd83611261565b808652928281169081156104645750600114610ee357610406856103fa8187038261073f565b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410610f255750505081016020016103fa826104066103ea565b80546020858701810191909152909301928101610f0a565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610f798161050a565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff8216918233146110415781610fdf61100f9233600052600560205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b9181601f8401121561000e5782359167ffffffffffffffff831161000e576020808501948460051b01011161000e57565b503461000e576040807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5767ffffffffffffffff906004803583811161000e57611123903690830161109f565b9360243590811161000e5761113b903690840161109f565b9061115f73ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b8186036112395760005b86811061117257005b6111b16111ad611183838a886132a1565b35600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b1590565b6111f057806111ea6111c660019386866132b9565b6111e56111d4848c8a6132a1565b356000526007602052604060002090565b613493565b01611169565b8461123561120088938a886132a1565b3592519283927f53d5c77b00000000000000000000000000000000000000000000000000000000845283019190602083019252565b0390fd5b8385517f8aa1d4e5000000000000000000000000000000000000000000000000000000008152fd5b90600182811c921680156112aa575b602083101461127b57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611270565b90600092918054916112c583611261565b91828252600193848116908160001461132757506001146112e7575b50505050565b90919394506000526020928360002092846000945b8386106113135750505050010190388080806112e1565b8054858701830152940193859082016112fc565b91505060209495507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009193501683830152151560051b010190388080806112e1565b6007111561137357565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9060078210156113735752565b9061140e6107ad959796946114006080956113f27effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9560a0885260a0880190610338565b908682036020880152610338565b908482036040860152610338565b9616606082015201906113a2565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435600052600760205260406000206040516114748161146d81856112b4565b038261073f565b610406604051916114938361148c81600188016112b4565b038461073f565b6003604051946114b1866114aa81600285016112b4565b038761073f565b0154906040519485947effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8460f81c941692866113af565b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356115238161050a565b60243561152f8161050a565b6064359167ffffffffffffffff831161000e573660238401121561000e576115646105af93369060248160040135910161081f565b9160443591611f96565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356115d16111ad82600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b611815576118096103fa61167b6117d4602061179d611774876116a461174b6116fc6116d36116026104069d6128b0565b946116a46116aa61164561163f61163a6116296009546bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690565b6128b0565b936138b5565b976116a46040519e8f9d8e016009907f7b226e616d65223a22000000000000000000000000000000000000000000000081520190565b7f554c200000000000000000000000000000000000000000000000000000000000815260030190565b906127ff565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b7f222c20226465736372697074696f6e223a220000000000000000000000000000815260120190565b7f436f6d6d656d6f726174697665204e46547320666f7220556e6973776170204c81527f61627320656d706c6f79656573000000000000000000000000000000000000006020820152602d0190565b7f222c2022696d616765223a2022000000000000000000000000000000000000008152600d0190565b7f227d000000000000000000000000000000000000000000000000000000000000815260020190565b03916117cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09384810183528261073f565b612a78565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152938491603d83016116a4565b0390810183528261073f565b6040517f53d5c77b0000000000000000000000000000000000000000000000000000000081526004810191909152602490fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff6118df60043561188b8161050a565b73ffffffffffffffffffffffffffffffffffffffff602435916118ad8361050a565b166000526005845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356119278161050a565b73ffffffffffffffffffffffffffffffffffffffff61194b81600654163314611bec565b81161561195b576105af90611c51565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f1b6d58eba9bdc3804d638d8730a9b12126a0bdf4f04208e3f8780a15810f6d96600435611a3c8161050a565b611a5f73ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b600854816001821180611ba5575b15611b0257611a86611a81611ac79361227c565b61367e565b509073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b6009546040805173ffffffffffffffffffffffffffffffffffffffff9390931683526bffffffffffffffffffffffff909116602083015290a1005b50611b7090611b2a611a81611b246009546bffffffffffffffffffffffff1690565b9261227c565b509073ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff000000000000000000000000000000000000000083549260a01b169116179055565b611ba0611b7b6107a0565b73ffffffffffffffffffffffffffffffffffffffff83168152600060208201526136c3565b611ac7565b50611bbd611bb5611a8184612242565b505460a01c90565b6bffffffffffffffffffffffff611be46116296009546bffffffffffffffffffffffff1690565b911614611a6d565b15611bf357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6006549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600655167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b600052600260205273ffffffffffffffffffffffffffffffffffffffff604060002054168015611ced5790565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152fd5b15611d7857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152fd5b611e2981600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b15611e5557600052600460205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15611ee057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152fd5b604051906020820182811067ffffffffffffffff821117611f89575b60405260008252565b611f916106e6565b611f80565b90611fba939291611faa610b148433612046565b611fb5838383612334565b612692565b15611fc157565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b61207382600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b156121045761208182611cc0565b73ffffffffffffffffffffffffffffffffffffffff8083169080831682149485156120ec575b50505082156120b557505090565b60ff9250906105e56120e79273ffffffffffffffffffffffffffffffffffffffff166000526005602052604060002090565b541690565b6120f99192939550611dfc565b1614913880806120a7565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b1561218f57565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9060028110612270570190565b612278612212565b0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9060018110612270570190565b6001907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8111612270570190565b6002907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd8111612270570190565b6020907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdf8111612270570190565b9061233e83611cc0565b73ffffffffffffffffffffffffffffffffffffffff9182918285169384911603612465576123a661243c92821694612377861515612188565b612380876124e9565b73ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6123b0815461227c565b90556123dc8173ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6123e681546122aa565b90556123fc856000526002602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152fd5b80600052600460205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61253d83611cc0565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92582604051a4565b8160005260046020526125b88160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b73ffffffffffffffffffffffffffffffffffffffff806125d784611cc0565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e575161038c816101e8565b909261038c949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610338565b506040513d6000823e3d90fd5b3d1561268d573d90612673826107d6565b91612681604051938461073f565b82523d6000602084013e565b606090565b92909190823b156127f6576126f392602092600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957f150b7a02000000000000000000000000000000000000000000000000000000009b8c85523360048601612619565b0393165af1600091816127c6575b506127a05761270e612662565b8051908161279b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b6127e891925060203d81116127ef575b6127e0818361073f565b810190612604565b9038612701565b503d6127d6565b50505050600190565b9061227860209282815194859201610303565b9061281c826107d6565b612829604051918261073f565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061285782946107d6565b0190602036910137565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060209180518210156128a357010190565b6128ab612861565b010190565b8015612982576000818181805b61293a57506128cb81612812565b935b6128d75750505090565b6128e09061227c565b90600a907fff0000000000000000000000000000000000000000000000000000000000000082820660308119811161292d575b0160f81b16841a6129248487612891565b530490816128cd565b612935612212565b612913565b91506001817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600a9314612975575b019104808492916128bd565b61297d612212565b612969565b5060405161298f81610716565b600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b604051906060820182811067ffffffffffffffff821117612a2d575b604052604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b612a356106e6565b6129d8565b7f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111600116612a6b575b60021b90565b612a73612212565b612a65565b805115612bd357612a876129bc565b612aa3612a9e612a9784516122d8565b6003900490565b612a3a565b91612ab5612ab084612306565b612812565b92835280815182019060208501935b828210612b7757505050600390510680600114612b2e57600214612ae6575090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f3d0000000000000000000000000000000000000000000000000000000000000091015290565b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f3d3d00000000000000000000000000000000000000000000000000000000000091015290565b90919360049060038094019384516001603f81818460121c16880101519260f893841b8652828282600c1c1689010151841b8387015282828260061c1689010151841b60028701521686010151901b9082015201939190612ac4565b5061038c611f64565b919091612c0273ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b8051835103612cf85760005b8151811015612cf25780612cec612c2760019385612d22565b51612ca66bffffffffffffffffffffffff91612ca160099387818654160116612c83816bffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006009541617600955565b6bffffffffffffffffffffffff166000526007602052604060002090565b612f27565b612ce6611629612cd3612cb9868b612d22565b5173ffffffffffffffffffffffffffffffffffffffff1690565b92546bffffffffffffffffffffffff1690565b9061311e565b01612c0e565b50509050565b60046040517f660498ec000000000000000000000000000000000000000000000000000000008152fd5b6020918151811015612d37575b60051b010190565b612d3f612861565b612d2f565b90601f8111612d5257505050565b600091825260208220906020601f850160051c83019410612d8e575b601f0160051c01915b828110612d8357505050565b818155600101612d77565b9092508290612d6e565b919091825167ffffffffffffffff8111612ec1575b612dc181612dbb8454611261565b84612d44565b602080601f8311600114612e1a575081929394600092612e0f575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b015190503880612ddc565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831695612e4e85600052602060002090565b926000905b888210612ea957505083600195969710612e72575b505050811b019055565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080612e68565b80600185968294968601518155019501930190612e53565b612ec96106e6565b612dad565b906007811015611373577effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fff0000000000000000000000000000000000000000000000000000000000000083549260f81b169116179055565b9190805192835167ffffffffffffffff8111613111575b612f4c81612dbb8454611261565b6020948590601f831160011461305c576107ad95968360039460809694612fb294600092613051575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b92871b1c19161783555b85015160018301612d98565b612fc3604085015160028301612d98565b0191613040612ff460608301517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690565b84907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff00000000000000000000000000000000000000000000000000000000000000825416179055565b01519061304c82611369565b612ece565b015190503880612f75565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169161309085600052602060002090565b9260005b8181106130fa57508460809694612fb2946107ad9a9b94600398600195106130c4575b505050811b018355612fa6565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f8848a1b161c191690553880806130b7565b929389600181928786015181550195019301613094565b6131196106e6565b612f3e565b73ffffffffffffffffffffffffffffffffffffffff81169081156132435761316983600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b6131e5578061319b6131bb9273ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6131a581546122aa565b90556123fc846000526002602052604060002090565b60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b91908110156132b15760051b0190565b6107d1612861565b91908110156132fa575b60051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff618136030182121561000e570190565b613302612861565b6132c3565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561000e570180359067ffffffffffffffff821161000e5760200191813603831361000e57565b90929167ffffffffffffffff8111613472575b61337981612dbb8454611261565b6000601f82116001146133cf57819293946000926133c45750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b013590503880612ddc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082169461340284600052602060002090565b91805b87811061345a57508360019596971061342257505050811b019055565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88560031b161c19910135169055388080612e68565b90926020600181928686013581550194019101613405565b61347a6106e6565b61336b565b3561038c81610871565b3561038c816108a5565b919061349f8180613307565b67ffffffffffffffff8195929511613671575b6134c081612dbb8454611261565b6000601f82116001146135be576135ad92826080936003936107ad98996000926135b3575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b92851b1c19161781555b6135306135266020870187613307565b9060018401613358565b61354a6135406040870187613307565b9060028401613358565b01926135a761355b6060830161347f565b85907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff00000000000000000000000000000000000000000000000000000000000000825416179055565b01613489565b90612ece565b0135905038806134e5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08216906135f184600052602060002090565b91815b8181106136595750836003936107ad98996135ad979460809760019510613623575b505050811b018155613516565b01357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83871b60f8161c19169055388080613616565b9192602060018192868c0135815501940192016135f4565b6136796106e6565b6134b2565b6008548110156136b6575b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30190600090565b6136be612861565b613689565b6107ad906bffffffffffffffffffffffff6020600854680100000000000000008110156137d2575b60018101806008558110156137c5575b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3019261377f73ffffffffffffffffffffffffffffffffffffffff825116859073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b0151825473ffffffffffffffffffffffffffffffffffffffff16911660a01b7fffffffffffffffffffffffff000000000000000000000000000000000000000016179055565b6137cd612861565b6136fb565b6137da6106e6565b6136eb565b9060008092816008908154935b848111156137fb575050505050565b848110156138a8575b82825260408051908082019082821067ffffffffffffffff83111761389b575b526020827ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301549173ffffffffffffffffffffffffffffffffffffffff83169283825260a01c918291015280861190811591613892575b5061388957506001016137ec565b96505050505050565b9050153861387b565b6138a36106e6565b613824565b6138b0612861565b613804565b61038c613a09613a3e9260006139ef73ffffffffffffffffffffffffffffffffffffffff6138e2846137df565b16838352600760205260408320936bffffffffffffffffffffffff6009541690604051958694859384937f2114c54d00000000000000000000000000000000000000000000000000000000855260048501526060602485015260a060648501526139da60036139a36139586101048801876112b4565b6139907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c91828a82030160848b0152600189016112b4565b908882030160a4890152600287016112b4565b9401547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811660c487015260e486019060f81c6113a2565b6bffffffffffffffffffffffff166044840152565b03915afa908115613a8b575b600091613a6a575b50612a78565b6040517f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000006020820152928391603a83016116a4565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810183528261073f565b613a85913d8091833e613a7d818361073f565b810190613a98565b38613a03565b613a93612655565b6139fb565b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e578051613acb816107d6565b92613ad9604051948561073f565b8184526020828401011161000e5761038c916020808501910161030356fea164736f6c634300080f000a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000aa676fa9ddc42a232cc2dc26c76380d48b4baadf000000000000000000000000cc323b46c0efd617e567010f2fcd4781eba436df000000000000000000000000000000000000000000000000000000000000001e556e6973776170204c61627320456d706c6f7965652045746368696e677300000000000000000000000000000000000000000000000000000000000000000007554e495045455000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146101df57806306fdde03146101d6578063081812fc146101cd578063095ea7b3146101c457806318160ddd146101bb578063199e1146146101b257806323b872dd146101a957806325cf731e146101a057806342842e0e146101975780636352211e1461018e57806370a0823114610185578063715018a61461017c5780638da5cb5b14610173578063939db2bf1461016a57806395d89b4114610161578063a22cb46514610158578063b77a110b1461014f578063b7833b6e14610146578063b88d4fde1461013d578063c87b56dd14610134578063e985e9c51461012b578063f2fde38b146101225763f97031241461011a57600080fd5b61000e6119df565b5061000e6118eb565b5061000e611848565b5061000e61156e565b5061000e6114e7565b5061000e61141c565b5061000e6110d0565b5061000e610f3d565b5061000e610e79565b5061000e610dd8565b5061000e610d85565b5061000e610cde565b5061000e610be0565b5061000e610ba3565b5061000e610b5b565b5061000e610b1e565b5061000e610af4565b5061000e610922565b5061000e61069b565b5061000e610528565b5061000e6104af565b5061000e61038f565b5061000e610212565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760207fffffffff00000000000000000000000000000000000000000000000000000000600435610271816101e8565b167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156102d9575b81156102af575b506040519015158152f35b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014386102a4565b7f5b5e139f000000000000000000000000000000000000000000000000000000008114915061029d565b918091926000905b82821061032357501161031c575050565b6000910152565b9150806020918301518186015201829161030b565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361037481518092818752878088019101610303565b0116010190565b90602061038c928181520190610338565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac57604051908080546103d081611261565b80855291600191808316908115610464575060011461040a575b610406856103fa8187038261073f565b6040519182918261037b565b0390f35b80809450527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b82841061044c5750505081016020016103fa826104066103ea565b80546020858701810191909152909301928101610431565b869550610406969350602092506103fa9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010192936103ea565b80fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec600435611dfc565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356105648161050a565b60243561057081611cc0565b9173ffffffffffffffffffffffffffffffffffffffff8084168091831614610617576105af936105aa9133149081156105b1575b50611d71565b612566565b005b610611915061060a906105e5339173ffffffffffffffffffffffffffffffffffffffff166000526005602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b386105a4565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206bffffffffffffffffffffffff60095416604051908152f35b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761073257604052565b61073a6106e6565b604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761073257604052565b6040519060a0820182811067ffffffffffffffff82111761073257604052565b604051906107ad82610716565b565b60209067ffffffffffffffff81116107c9575b60051b0190565b6107d16106e6565b6107c2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff8111610812575b01160190565b61081a6106e6565b61080c565b92919261082b826107d6565b91610839604051938461073f565b82948184528183011161000e578281602093846000960137010152565b9080601f8301121561000e5781602061038c9335910161081f565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81160361000e57565b35906107ad82610871565b6007111561000e57565b35906107ad826108a5565b81601f8201121561000e578035916108d1836107af565b926108df604051948561073f565b808452602092838086019260051b82010192831161000e578301905b828210610909575050505090565b83809183356109178161050a565b8152019101906108fb565b503461000e576040807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004359067ffffffffffffffff80831161000e573660238401121561000e578260040135610980816107af565b9361098d8451958661073f565b8185526020908186016024809460051b8301019136831161000e57848101915b8383106109de5750505050503590811161000e576000926109d56109db9236906004016108ba565b90612bdc565b51f35b823587811161000e5782019060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc833603011261000e57610a1e610780565b908783013589811161000e57610a3990893691860101610856565b8252604483013589811161000e57610a5690893691860101610856565b8783015260648301359189831161000e57610a9a60a489958d610a7f88978e3691850101610856565b90850152610a8f6084820161089a565b6060850152016108af565b60808201528152019201916109ad565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc606091011261000e57600435610ae08161050a565b90602435610aed8161050a565b9060443590565b503461000e576105af610b0636610aaa565b91610b19610b148433612046565b611ed9565b612334565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec6004356137df565b503461000e576105af610b6d36610aaa565b90604051926020840184811067ffffffffffffffff821117610b96575b60405260008452611f96565b610b9e6106e6565b610b8a565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206104ec600435611cc0565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5773ffffffffffffffffffffffffffffffffffffffff600435610c318161050a565b168015610c5a576000526003602052610406604060002054604051918291829190602083019252565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac576006547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610d56338414611bec565b1660065581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60065416604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610e3881600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b15610e48576104ec6020916137df565b602490604051907f53d5c77b0000000000000000000000000000000000000000000000000000000082526004820152fd5b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126104ac5760405190806001805491610ebd83611261565b808652928281169081156104645750600114610ee357610406856103fa8187038261073f565b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b828410610f255750505081016020016103fa826104066103ea565b80546020858701810191909152909301928101610f0a565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610f798161050a565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff8216918233146110415781610fdf61100f9233600052600560205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b9181601f8401121561000e5782359167ffffffffffffffff831161000e576020808501948460051b01011161000e57565b503461000e576040807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5767ffffffffffffffff906004803583811161000e57611123903690830161109f565b9360243590811161000e5761113b903690840161109f565b9061115f73ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b8186036112395760005b86811061117257005b6111b16111ad611183838a886132a1565b35600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b1590565b6111f057806111ea6111c660019386866132b9565b6111e56111d4848c8a6132a1565b356000526007602052604060002090565b613493565b01611169565b8461123561120088938a886132a1565b3592519283927f53d5c77b00000000000000000000000000000000000000000000000000000000845283019190602083019252565b0390fd5b8385517f8aa1d4e5000000000000000000000000000000000000000000000000000000008152fd5b90600182811c921680156112aa575b602083101461127b57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611270565b90600092918054916112c583611261565b91828252600193848116908160001461132757506001146112e7575b50505050565b90919394506000526020928360002092846000945b8386106113135750505050010190388080806112e1565b8054858701830152940193859082016112fc565b91505060209495507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009193501683830152151560051b010190388080806112e1565b6007111561137357565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9060078210156113735752565b9061140e6107ad959796946114006080956113f27effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9560a0885260a0880190610338565b908682036020880152610338565b908482036040860152610338565b9616606082015201906113a2565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435600052600760205260406000206040516114748161146d81856112b4565b038261073f565b610406604051916114938361148c81600188016112b4565b038461073f565b6003604051946114b1866114aa81600285016112b4565b038761073f565b0154906040519485947effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8460f81c941692866113af565b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356115238161050a565b60243561152f8161050a565b6064359167ffffffffffffffff831161000e573660238401121561000e576115646105af93369060248160040135910161081f565b9160443591611f96565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356115d16111ad82600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b611815576118096103fa61167b6117d4602061179d611774876116a461174b6116fc6116d36116026104069d6128b0565b946116a46116aa61164561163f61163a6116296009546bffffffffffffffffffffffff1690565b6bffffffffffffffffffffffff1690565b6128b0565b936138b5565b976116a46040519e8f9d8e016009907f7b226e616d65223a22000000000000000000000000000000000000000000000081520190565b7f554c200000000000000000000000000000000000000000000000000000000000815260030190565b906127ff565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b7f222c20226465736372697074696f6e223a220000000000000000000000000000815260120190565b7f436f6d6d656d6f726174697665204e46547320666f7220556e6973776170204c81527f61627320656d706c6f79656573000000000000000000000000000000000000006020820152602d0190565b7f222c2022696d616765223a2022000000000000000000000000000000000000008152600d0190565b7f227d000000000000000000000000000000000000000000000000000000000000815260020190565b03916117cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09384810183528261073f565b612a78565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152938491603d83016116a4565b0390810183528261073f565b6040517f53d5c77b0000000000000000000000000000000000000000000000000000000081526004810191909152602490fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060ff6118df60043561188b8161050a565b73ffffffffffffffffffffffffffffffffffffffff602435916118ad8361050a565b166000526005845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356119278161050a565b73ffffffffffffffffffffffffffffffffffffffff61194b81600654163314611bec565b81161561195b576105af90611c51565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f1b6d58eba9bdc3804d638d8730a9b12126a0bdf4f04208e3f8780a15810f6d96600435611a3c8161050a565b611a5f73ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b600854816001821180611ba5575b15611b0257611a86611a81611ac79361227c565b61367e565b509073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b6009546040805173ffffffffffffffffffffffffffffffffffffffff9390931683526bffffffffffffffffffffffff909116602083015290a1005b50611b7090611b2a611a81611b246009546bffffffffffffffffffffffff1690565b9261227c565b509073ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff000000000000000000000000000000000000000083549260a01b169116179055565b611ba0611b7b6107a0565b73ffffffffffffffffffffffffffffffffffffffff83168152600060208201526136c3565b611ac7565b50611bbd611bb5611a8184612242565b505460a01c90565b6bffffffffffffffffffffffff611be46116296009546bffffffffffffffffffffffff1690565b911614611a6d565b15611bf357565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6006549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600655167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b600052600260205273ffffffffffffffffffffffffffffffffffffffff604060002054168015611ced5790565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152fd5b15611d7857565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152fd5b611e2981600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b15611e5557600052600460205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15611ee057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152fd5b604051906020820182811067ffffffffffffffff821117611f89575b60405260008252565b611f916106e6565b611f80565b90611fba939291611faa610b148433612046565b611fb5838383612334565b612692565b15611fc157565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b61207382600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b156121045761208182611cc0565b73ffffffffffffffffffffffffffffffffffffffff8083169080831682149485156120ec575b50505082156120b557505090565b60ff9250906105e56120e79273ffffffffffffffffffffffffffffffffffffffff166000526005602052604060002090565b541690565b6120f99192939550611dfc565b1614913880806120a7565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b1561218f57565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9060028110612270570190565b612278612212565b0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9060018110612270570190565b6001907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8111612270570190565b6002907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd8111612270570190565b6020907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdf8111612270570190565b9061233e83611cc0565b73ffffffffffffffffffffffffffffffffffffffff9182918285169384911603612465576123a661243c92821694612377861515612188565b612380876124e9565b73ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6123b0815461227c565b90556123dc8173ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6123e681546122aa565b90556123fc856000526002602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152fd5b80600052600460205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61253d83611cc0565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92582604051a4565b8160005260046020526125b88160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b73ffffffffffffffffffffffffffffffffffffffff806125d784611cc0565b169116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e575161038c816101e8565b909261038c949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610338565b506040513d6000823e3d90fd5b3d1561268d573d90612673826107d6565b91612681604051938461073f565b82523d6000602084013e565b606090565b92909190823b156127f6576126f392602092600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957f150b7a02000000000000000000000000000000000000000000000000000000009b8c85523360048601612619565b0393165af1600091816127c6575b506127a05761270e612662565b8051908161279b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b6127e891925060203d81116127ef575b6127e0818361073f565b810190612604565b9038612701565b503d6127d6565b50505050600190565b9061227860209282815194859201610303565b9061281c826107d6565b612829604051918261073f565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061285782946107d6565b0190602036910137565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060209180518210156128a357010190565b6128ab612861565b010190565b8015612982576000818181805b61293a57506128cb81612812565b935b6128d75750505090565b6128e09061227c565b90600a907fff0000000000000000000000000000000000000000000000000000000000000082820660308119811161292d575b0160f81b16841a6129248487612891565b530490816128cd565b612935612212565b612913565b91506001817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600a9314612975575b019104808492916128bd565b61297d612212565b612969565b5060405161298f81610716565b600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b604051906060820182811067ffffffffffffffff821117612a2d575b604052604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b612a356106e6565b6129d8565b7f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111600116612a6b575b60021b90565b612a73612212565b612a65565b805115612bd357612a876129bc565b612aa3612a9e612a9784516122d8565b6003900490565b612a3a565b91612ab5612ab084612306565b612812565b92835280815182019060208501935b828210612b7757505050600390510680600114612b2e57600214612ae6575090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f3d0000000000000000000000000000000000000000000000000000000000000091015290565b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7f3d3d00000000000000000000000000000000000000000000000000000000000091015290565b90919360049060038094019384516001603f81818460121c16880101519260f893841b8652828282600c1c1689010151841b8387015282828260061c1689010151841b60028701521686010151901b9082015201939190612ac4565b5061038c611f64565b919091612c0273ffffffffffffffffffffffffffffffffffffffff600654163314611bec565b8051835103612cf85760005b8151811015612cf25780612cec612c2760019385612d22565b51612ca66bffffffffffffffffffffffff91612ca160099387818654160116612c83816bffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffff0000000000000000000000006009541617600955565b6bffffffffffffffffffffffff166000526007602052604060002090565b612f27565b612ce6611629612cd3612cb9868b612d22565b5173ffffffffffffffffffffffffffffffffffffffff1690565b92546bffffffffffffffffffffffff1690565b9061311e565b01612c0e565b50509050565b60046040517f660498ec000000000000000000000000000000000000000000000000000000008152fd5b6020918151811015612d37575b60051b010190565b612d3f612861565b612d2f565b90601f8111612d5257505050565b600091825260208220906020601f850160051c83019410612d8e575b601f0160051c01915b828110612d8357505050565b818155600101612d77565b9092508290612d6e565b919091825167ffffffffffffffff8111612ec1575b612dc181612dbb8454611261565b84612d44565b602080601f8311600114612e1a575081929394600092612e0f575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b015190503880612ddc565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0831695612e4e85600052602060002090565b926000905b888210612ea957505083600195969710612e72575b505050811b019055565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080612e68565b80600185968294968601518155019501930190612e53565b612ec96106e6565b612dad565b906007811015611373577effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fff0000000000000000000000000000000000000000000000000000000000000083549260f81b169116179055565b9190805192835167ffffffffffffffff8111613111575b612f4c81612dbb8454611261565b6020948590601f831160011461305c576107ad95968360039460809694612fb294600092613051575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b92871b1c19161783555b85015160018301612d98565b612fc3604085015160028301612d98565b0191613040612ff460608301517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690565b84907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff00000000000000000000000000000000000000000000000000000000000000825416179055565b01519061304c82611369565b612ece565b015190503880612f75565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169161309085600052602060002090565b9260005b8181106130fa57508460809694612fb2946107ad9a9b94600398600195106130c4575b505050811b018355612fa6565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f8848a1b161c191690553880806130b7565b929389600181928786015181550195019301613094565b6131196106e6565b612f3e565b73ffffffffffffffffffffffffffffffffffffffff81169081156132435761316983600052600260205273ffffffffffffffffffffffffffffffffffffffff60406000205416151590565b6131e5578061319b6131bb9273ffffffffffffffffffffffffffffffffffffffff166000526003602052604060002090565b6131a581546122aa565b90556123fc846000526002602052604060002090565b60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b91908110156132b15760051b0190565b6107d1612861565b91908110156132fa575b60051b810135907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff618136030182121561000e570190565b613302612861565b6132c3565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561000e570180359067ffffffffffffffff821161000e5760200191813603831361000e57565b90929167ffffffffffffffff8111613472575b61337981612dbb8454611261565b6000601f82116001146133cf57819293946000926133c45750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b013590503880612ddc565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082169461340284600052602060002090565b91805b87811061345a57508360019596971061342257505050811b019055565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88560031b161c19910135169055388080612e68565b90926020600181928686013581550194019101613405565b61347a6106e6565b61336b565b3561038c81610871565b3561038c816108a5565b919061349f8180613307565b67ffffffffffffffff8195929511613671575b6134c081612dbb8454611261565b6000601f82116001146135be576135ad92826080936003936107ad98996000926135b3575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b92851b1c19161781555b6135306135266020870187613307565b9060018401613358565b61354a6135406040870187613307565b9060028401613358565b01926135a761355b6060830161347f565b85907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fff00000000000000000000000000000000000000000000000000000000000000825416179055565b01613489565b90612ece565b0135905038806134e5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08216906135f184600052602060002090565b91815b8181106136595750836003936107ad98996135ad979460809760019510613623575b505050811b018155613516565b01357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83871b60f8161c19169055388080613616565b9192602060018192868c0135815501940192016135f4565b6136796106e6565b6134b2565b6008548110156136b6575b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30190600090565b6136be612861565b613689565b6107ad906bffffffffffffffffffffffff6020600854680100000000000000008110156137d2575b60018101806008558110156137c5575b60086000527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3019261377f73ffffffffffffffffffffffffffffffffffffffff825116859073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b0151825473ffffffffffffffffffffffffffffffffffffffff16911660a01b7fffffffffffffffffffffffff000000000000000000000000000000000000000016179055565b6137cd612861565b6136fb565b6137da6106e6565b6136eb565b9060008092816008908154935b848111156137fb575050505050565b848110156138a8575b82825260408051908082019082821067ffffffffffffffff83111761389b575b526020827ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301549173ffffffffffffffffffffffffffffffffffffffff83169283825260a01c918291015280861190811591613892575b5061388957506001016137ec565b96505050505050565b9050153861387b565b6138a36106e6565b613824565b6138b0612861565b613804565b61038c613a09613a3e9260006139ef73ffffffffffffffffffffffffffffffffffffffff6138e2846137df565b16838352600760205260408320936bffffffffffffffffffffffff6009541690604051958694859384937f2114c54d00000000000000000000000000000000000000000000000000000000855260048501526060602485015260a060648501526139da60036139a36139586101048801876112b4565b6139907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c91828a82030160848b0152600189016112b4565b908882030160a4890152600287016112b4565b9401547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811660c487015260e486019060f81c6113a2565b6bffffffffffffffffffffffff166044840152565b03915afa908115613a8b575b600091613a6a575b50612a78565b6040517f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000006020820152928391603a83016116a4565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810183528261073f565b613a85913d8091833e613a7d818361073f565b810190613a98565b38613a03565b613a93612655565b6139fb565b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e578051613acb816107d6565b92613ad9604051948561073f565b8184526020828401011161000e5761038c916020808501910161030356fea164736f6c634300080f000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000aa676fa9ddc42a232cc2dc26c76380d48b4baadf000000000000000000000000cc323b46c0efd617e567010f2fcd4781eba436df000000000000000000000000000000000000000000000000000000000000001e556e6973776170204c61627320456d706c6f7965652045746368696e677300000000000000000000000000000000000000000000000000000000000000000007554e495045455000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Uniswap Labs Employee Etchings
Arg [1] : symbol (string): UNIPEEP
Arg [2] : owner (address): 0xaA676Fa9ddC42a232cc2dc26C76380d48B4bAADf
Arg [3] : svgContract (address): 0xcc323B46c0efD617E567010f2FCd4781EBA436dF
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000aa676fa9ddc42a232cc2dc26c76380d48b4baadf
Arg [3] : 000000000000000000000000cc323b46c0efd617e567010f2fcd4781eba436df
Arg [4] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [5] : 556e6973776170204c61627320456d706c6f7965652045746368696e67730000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 554e495045455000000000000000000000000000000000000000000000000000
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.