ERC-721
Overview
Max Total Supply
0 WPG
Holders
5
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 WPGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WrappedPenguins
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: CC-BY-NC-2.5 pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract WrappedPenguins is ERC721, IERC721Receiver, Pausable, Ownable, ERC721Burnable { event Wrapped(uint256 indexed tokenId); event Unwrapped(uint256 indexed tokenId); IERC721 immutable pudgyPenguins; constructor(address pudgyPenguinsContractAddress_) ERC721("WrappedPenguins", "WPG") { pudgyPenguins = IERC721(pudgyPenguinsContractAddress_); } function _baseURI() internal pure override returns (string memory) { return "https://arweave.net/pybbuYqUiE3jd3UchCNFJ0vEUcB2Kzi-5MnT98bzlAs/"; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(super.tokenURI(tokenId), ".json")); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } /// Wrap Pudgy Penguin(s) to get Wrapped Penguin(s) function wrap(uint256[] calldata tokenIds_) external { for (uint256 i = 0; i < tokenIds_.length; i++) { pudgyPenguins.safeTransferFrom(msg.sender, address(this), tokenIds_[i]); } } /// Unwrap to get Pudgy Penguin(s) back function unwrap(uint256[] calldata tokenIds_) external { for (uint256 i = 0; i < tokenIds_.length; i++) { _safeTransfer(msg.sender, address(this), tokenIds_[i], ""); } } function _flip( address who_, bool isWrapping_, uint256 tokenId_ ) private { if (isWrapping_) { // Mint Wrapped Penguin of same tokenID if not yet minted, otherwise swap for existing Wrapped Pudgy if (_exists(tokenId_) && ownerOf(tokenId_) == address(this)) { _safeTransfer(address(this), who_, tokenId_, ""); } else { _safeMint(who_, tokenId_); } emit Wrapped(tokenId_); } else { pudgyPenguins.safeTransferFrom(address(this), who_, tokenId_); emit Unwrapped(tokenId_); } } // Notice: You must use safeTransferFrom in order to properly wrap/unwrap your penguin. function onERC721Received( address operator_, address from_, uint256 tokenId_, bytes memory data_ ) external override returns (bytes4) { // Only supports callback from the original PudgyPenguins contract and this contract require( msg.sender == address(pudgyPenguins) || msg.sender == address(this), "must be PudgyPenguin or WrappedPenguin" ); bool isWrapping = msg.sender == address(pudgyPenguins); _flip(from_, isWrapping, tokenId_); return this.onERC721Received.selector; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } fallback() external payable {} receive() external payable {} function withdrawETH() external onlyOwner { (bool success, ) = owner().call{value: address(this).balance}(""); require(success, "Transfer failed."); } function withdrawERC20(address token) external onlyOwner { bool success = IERC20(token).transfer( owner(), IERC20(token).balanceOf(address(this)) ); require(success, "Transfer failed"); } // @notice Mints or transfers wrapped penguin to owner for users who incorrectly transfer a Pudgy Penguin or Wrapped Penguin directly to the contract without using safeTransferFrom. // @dev This condition will occur if onERC721Received isn't called when transferring. function emergencyMintWrapped(uint256 tokenId_) external onlyOwner { if (pudgyPenguins.ownerOf(tokenId_) == address(this)) { // Contract owns the Pudgy Penguin. if (_exists(tokenId_) && ownerOf(tokenId_) == address(this)) { // Wrapped Penguin is also trapped in contract. _safeTransfer(address(this), owner(), tokenId_, ""); emit Wrapped(tokenId_); } else if (!_exists(tokenId_)) { // Wrapped Penguin hasn't ever been minted. _safeMint(owner(), tokenId_); emit Wrapped(tokenId_); } else { revert("Wrapped Penguin minted and distributed already"); } } else { revert("Pudgy Penguin is not locked in contract"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"pudgyPenguinsContractAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Unwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Wrapped","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"emergencyMintWrapped","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator_","type":"address"},{"internalType":"address","name":"from_","type":"address"},{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620046a0380380620046a0833981810160405281019062000037919062000335565b6040518060400160405280600f81526020017f5772617070656450656e6775696e7300000000000000000000000000000000008152506040518060400160405280600381526020017f57504700000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb9291906200021b565b508060019080519060200190620000d49291906200021b565b5050506000600660006101000a81548160ff02191690831515021790555062000112620001066200014d60201b60201c565b6200015560201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050620003cc565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002299062000396565b90600052602060002090601f0160209004810192826200024d576000855562000299565b82601f106200026857805160ff191683800117855562000299565b8280016001018555821562000299579182015b82811115620002985782518255916020019190600101906200027b565b5b509050620002a89190620002ac565b5090565b5b80821115620002c7576000816000905550600101620002ad565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002fd82620002d0565b9050919050565b6200030f81620002f0565b81146200031b57600080fd5b50565b6000815190506200032f8162000304565b92915050565b6000602082840312156200034e576200034d620002cb565b5b60006200035e848285016200031e565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003af57607f821691505b60208210811415620003c657620003c562000367565b5b50919050565b60805161429c6200040460003960008181610919015281816109df01528181610b410152818161143f0152611be4015261429c6000f3fe6080604052600436106101855760003560e01c806370a08231116100d1578063b88d4fde1161008a578063e086e5ec11610064578063e086e5ec1461055e578063e985e9c514610575578063f2fde38b146105b2578063f4f3b200146105db5761018c565b8063b88d4fde146104cf578063c87b56dd146104f8578063cc17a5bf146105355761018c565b806370a08231146103e5578063715018a6146104225780638456cb59146104395780638da5cb5b1461045057806395d89b411461047b578063a22cb465146104a65761018c565b80633f44f32c1161013e57806342966c681161011857806342966c681461032b5780635c975abb146103545780636352211e1461037f57806363ac2a4c146103bc5761018c565b80633f44f32c146102c25780633f4ba83a146102eb57806342842e0e146103025761018c565b806301ffc9a71461018e57806306fdde03146101cb578063081812fc146101f6578063095ea7b314610233578063150b7a021461025c57806323b872dd146102995761018c565b3661018c57005b005b34801561019a57600080fd5b506101b560048036038101906101b09190612a38565b610604565b6040516101c29190612a80565b60405180910390f35b3480156101d757600080fd5b506101e06106e6565b6040516101ed9190612b34565b60405180910390f35b34801561020257600080fd5b5061021d60048036038101906102189190612b8c565b610778565b60405161022a9190612bfa565b60405180910390f35b34801561023f57600080fd5b5061025a60048036038101906102559190612c41565b6107fd565b005b34801561026857600080fd5b50610283600480360381019061027e9190612db6565b610915565b6040516102909190612e48565b60405180910390f35b3480156102a557600080fd5b506102c060048036038101906102bb9190612e63565b610a4c565b005b3480156102ce57600080fd5b506102e960048036038101906102e49190612b8c565b610aac565b005b3480156102f757600080fd5b50610300610d74565b005b34801561030e57600080fd5b5061032960048036038101906103249190612e63565b610dfa565b005b34801561033757600080fd5b50610352600480360381019061034d9190612b8c565b610e1a565b005b34801561036057600080fd5b50610369610e76565b6040516103769190612a80565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612b8c565b610e8d565b6040516103b39190612bfa565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de9190612f16565b610f3f565b005b3480156103f157600080fd5b5061040c60048036038101906104079190612f63565b610f99565b6040516104199190612f9f565b60405180910390f35b34801561042e57600080fd5b50610437611051565b005b34801561044557600080fd5b5061044e6110d9565b005b34801561045c57600080fd5b5061046561115f565b6040516104729190612bfa565b60405180910390f35b34801561048757600080fd5b50610490611189565b60405161049d9190612b34565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190612fe6565b61121b565b005b3480156104db57600080fd5b506104f660048036038101906104f19190612db6565b61139c565b005b34801561050457600080fd5b5061051f600480360381019061051a9190612b8c565b6113fe565b60405161052c9190612b34565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190612f16565b61142f565b005b34801561056a57600080fd5b506105736114fd565b005b34801561058157600080fd5b5061059c60048036038101906105979190613026565b61162f565b6040516105a99190612a80565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190612f63565b6116c3565b005b3480156105e757600080fd5b5061060260048036038101906105fd9190612f63565b6117bb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106df57506106de8261199b565b5b9050919050565b6060600080546106f590613095565b80601f016020809104026020016040519081016040528092919081815260200182805461072190613095565b801561076e5780601f106107435761010080835404028352916020019161076e565b820191906000526020600020905b81548152906001019060200180831161075157829003601f168201915b5050505050905090565b600061078382611a05565b6107c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b990613139565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080882610e8d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610879576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610870906131cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610898611a71565b73ffffffffffffffffffffffffffffffffffffffff1614806108c757506108c6816108c1611a71565b61162f565b5b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061325d565b60405180910390fd5b6109108383611a79565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061099c57503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6109db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d2906132ef565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16149050610a39858286611b32565b63150b7a0260e01b915050949350505050565b610a5d610a57611a71565b82611ca4565b610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9390613381565b60405180910390fd5b610aa7838383611d82565b505050565b610ab4611a71565b73ffffffffffffffffffffffffffffffffffffffff16610ad261115f565b73ffffffffffffffffffffffffffffffffffffffff1614610b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1f906133ed565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b989190612f9f565b60206040518083038186803b158015610bb057600080fd5b505afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190613422565b73ffffffffffffffffffffffffffffffffffffffff161415610d3657610c0d81611a05565b8015610c4c57503073ffffffffffffffffffffffffffffffffffffffff16610c3482610e8d565b73ffffffffffffffffffffffffffffffffffffffff16145b15610ca557610c7330610c5d61115f565b8360405180602001604052806000815250611fde565b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2610d31565b610cae81611a05565b610cf557610cc3610cbd61115f565b8261203a565b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2610d30565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d27906134c1565b60405180910390fd5b5b610d71565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613553565b60405180910390fd5b50565b610d7c611a71565b73ffffffffffffffffffffffffffffffffffffffff16610d9a61115f565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de7906133ed565b60405180910390fd5b610df8612058565b565b610e158383836040518060200160405280600081525061139c565b505050565b610e2b610e25611a71565b82611ca4565b610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906135e5565b60405180910390fd5b610e73816120fa565b50565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90613677565b60405180910390fd5b80915050919050565b60005b82829050811015610f9457610f813330858585818110610f6557610f64613697565b5b9050602002013560405180602001604052806000815250611fde565b8080610f8c906136f5565b915050610f42565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906137b0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611059611a71565b73ffffffffffffffffffffffffffffffffffffffff1661107761115f565b73ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906133ed565b60405180910390fd5b6110d7600061220b565b565b6110e1611a71565b73ffffffffffffffffffffffffffffffffffffffff166110ff61115f565b73ffffffffffffffffffffffffffffffffffffffff1614611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906133ed565b60405180910390fd5b61115d6122d1565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461119890613095565b80601f01602080910402602001604051908101604052809291908181526020018280546111c490613095565b80156112115780601f106111e657610100808354040283529160200191611211565b820191906000526020600020905b8154815290600101906020018083116111f457829003601f168201915b5050505050905090565b611223611a71565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112889061381c565b60405180910390fd5b806005600061129e611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661134b611a71565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113909190612a80565b60405180910390a35050565b6113ad6113a7611a71565b83611ca4565b6113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390613381565b60405180910390fd5b6113f884848484611fde565b50505050565b606061140982612374565b60405160200161141991906138c4565b6040516020818303038152906040529050919050565b60005b828290508110156114f8577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342842e0e333086868681811061148e5761148d613697565b5b905060200201356040518463ffffffff1660e01b81526004016114b3939291906138e6565b600060405180830381600087803b1580156114cd57600080fd5b505af11580156114e1573d6000803e3d6000fd5b5050505080806114f0906136f5565b915050611432565b505050565b611505611a71565b73ffffffffffffffffffffffffffffffffffffffff1661152361115f565b73ffffffffffffffffffffffffffffffffffffffff1614611579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611570906133ed565b60405180910390fd5b600061158361115f565b73ffffffffffffffffffffffffffffffffffffffff16476040516115a69061394e565b60006040518083038185875af1925050503d80600081146115e3576040519150601f19603f3d011682016040523d82523d6000602084013e6115e8565b606091505b505090508061162c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611623906139af565b60405180910390fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116cb611a71565b73ffffffffffffffffffffffffffffffffffffffff166116e961115f565b73ffffffffffffffffffffffffffffffffffffffff161461173f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611736906133ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690613a41565b60405180910390fd5b6117b88161220b565b50565b6117c3611a71565b73ffffffffffffffffffffffffffffffffffffffff166117e161115f565b73ffffffffffffffffffffffffffffffffffffffff1614611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906133ed565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61185d61115f565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118969190612bfa565b60206040518083038186803b1580156118ae57600080fd5b505afa1580156118c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e69190613a76565b6040518363ffffffff1660e01b8152600401611903929190613aa3565b602060405180830381600087803b15801561191d57600080fd5b505af1158015611931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119559190613ae1565b905080611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e90613b5a565b60405180910390fd5b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611aec83610e8d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8115611be257611b4181611a05565b8015611b8057503073ffffffffffffffffffffffffffffffffffffffff16611b6882610e8d565b73ffffffffffffffffffffffffffffffffffffffff16145b15611ba557611ba030848360405180602001604052806000815250611fde565b611bb0565b611baf838261203a565b5b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2611c9f565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342842e0e3085846040518463ffffffff1660e01b8152600401611c3f939291906138e6565b600060405180830381600087803b158015611c5957600080fd5b505af1158015611c6d573d6000803e3d6000fd5b50505050807fbeaa92c6354c6dcf375d2c514352b2c11bc865784722e5dd9b267e606eb5fc5f60405160405180910390a25b505050565b6000611caf82611a05565b611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce590613bec565b60405180910390fd5b6000611cf983610e8d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d6857508373ffffffffffffffffffffffffffffffffffffffff16611d5084610778565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d795750611d78818561162f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611da282610e8d565b73ffffffffffffffffffffffffffffffffffffffff1614611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90613c7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90613d10565b60405180910390fd5b611e7383838361241b565b611e7e600082611a79565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ece9190613d30565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f259190613d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611fe9848484611d82565b611ff584848484612473565b612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90613e2c565b60405180910390fd5b50505050565b61205482826040518060200160405280600081525061260a565b5050565b612060610e76565b61209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690613e98565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6120e3611a71565b6040516120f09190612bfa565b60405180910390a1565b600061210582610e8d565b90506121138160008461241b565b61211e600083611a79565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461216e9190613d30565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122d9610e76565b15612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090613f04565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861235d611a71565b60405161236a9190612bfa565b60405180910390a1565b606061237f82611a05565b6123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590613f96565b60405180910390fd5b60006123c8612665565b905060008151116123e85760405180602001604052806000815250612413565b806123f284612685565b604051602001612403929190613fb6565b6040516020818303038152906040525b915050919050565b612423610e76565b15612463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245a90613f04565b60405180910390fd5b61246e8383836127e6565b505050565b60006124948473ffffffffffffffffffffffffffffffffffffffff166127eb565b156125fd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124bd611a71565b8786866040518563ffffffff1660e01b81526004016124df949392919061402f565b602060405180830381600087803b1580156124f957600080fd5b505af192505050801561252a57506040513d601f19601f820116820180604052508101906125279190614090565b60015b6125ad573d806000811461255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b506000815114156125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c90613e2c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612602565b600190505b949350505050565b61261483836127fe565b6126216000848484612473565b612660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265790613e2c565b60405180910390fd5b505050565b606060405180606001604052806040815260200161422760409139905090565b606060008214156126cd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127e1565b600082905060005b600082146126ff5780806126e8906136f5565b915050600a826126f891906140ec565b91506126d5565b60008167ffffffffffffffff81111561271b5761271a612c8b565b5b6040519080825280601f01601f19166020018201604052801561274d5781602001600182028036833780820191505090505b5090505b600085146127da576001826127669190613d30565b9150600a85612775919061411d565b60306127819190613d64565b60f81b81838151811061279757612796613697565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127d391906140ec565b9450612751565b8093505050505b919050565b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561286e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128659061419a565b60405180910390fd5b61287781611a05565b156128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90614206565b60405180910390fd5b6128c36000838361241b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129139190613d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a15816129e0565b8114612a2057600080fd5b50565b600081359050612a3281612a0c565b92915050565b600060208284031215612a4e57612a4d6129d6565b5b6000612a5c84828501612a23565b91505092915050565b60008115159050919050565b612a7a81612a65565b82525050565b6000602082019050612a956000830184612a71565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad5578082015181840152602081019050612aba565b83811115612ae4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b0682612a9b565b612b108185612aa6565b9350612b20818560208601612ab7565b612b2981612aea565b840191505092915050565b60006020820190508181036000830152612b4e8184612afb565b905092915050565b6000819050919050565b612b6981612b56565b8114612b7457600080fd5b50565b600081359050612b8681612b60565b92915050565b600060208284031215612ba257612ba16129d6565b5b6000612bb084828501612b77565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612be482612bb9565b9050919050565b612bf481612bd9565b82525050565b6000602082019050612c0f6000830184612beb565b92915050565b612c1e81612bd9565b8114612c2957600080fd5b50565b600081359050612c3b81612c15565b92915050565b60008060408385031215612c5857612c576129d6565b5b6000612c6685828601612c2c565b9250506020612c7785828601612b77565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cc382612aea565b810181811067ffffffffffffffff82111715612ce257612ce1612c8b565b5b80604052505050565b6000612cf56129cc565b9050612d018282612cba565b919050565b600067ffffffffffffffff821115612d2157612d20612c8b565b5b612d2a82612aea565b9050602081019050919050565b82818337600083830152505050565b6000612d59612d5484612d06565b612ceb565b905082815260208101848484011115612d7557612d74612c86565b5b612d80848285612d37565b509392505050565b600082601f830112612d9d57612d9c612c81565b5b8135612dad848260208601612d46565b91505092915050565b60008060008060808587031215612dd057612dcf6129d6565b5b6000612dde87828801612c2c565b9450506020612def87828801612c2c565b9350506040612e0087828801612b77565b925050606085013567ffffffffffffffff811115612e2157612e206129db565b5b612e2d87828801612d88565b91505092959194509250565b612e42816129e0565b82525050565b6000602082019050612e5d6000830184612e39565b92915050565b600080600060608486031215612e7c57612e7b6129d6565b5b6000612e8a86828701612c2c565b9350506020612e9b86828701612c2c565b9250506040612eac86828701612b77565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612ed657612ed5612c81565b5b8235905067ffffffffffffffff811115612ef357612ef2612eb6565b5b602083019150836020820283011115612f0f57612f0e612ebb565b5b9250929050565b60008060208385031215612f2d57612f2c6129d6565b5b600083013567ffffffffffffffff811115612f4b57612f4a6129db565b5b612f5785828601612ec0565b92509250509250929050565b600060208284031215612f7957612f786129d6565b5b6000612f8784828501612c2c565b91505092915050565b612f9981612b56565b82525050565b6000602082019050612fb46000830184612f90565b92915050565b612fc381612a65565b8114612fce57600080fd5b50565b600081359050612fe081612fba565b92915050565b60008060408385031215612ffd57612ffc6129d6565b5b600061300b85828601612c2c565b925050602061301c85828601612fd1565b9150509250929050565b6000806040838503121561303d5761303c6129d6565b5b600061304b85828601612c2c565b925050602061305c85828601612c2c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130ad57607f821691505b602082108114156130c1576130c0613066565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613123602c83612aa6565b915061312e826130c7565b604082019050919050565b6000602082019050818103600083015261315281613116565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006131b5602183612aa6565b91506131c082613159565b604082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613247603883612aa6565b9150613252826131eb565b604082019050919050565b600060208201905081810360008301526132768161323a565b9050919050565b7f6d75737420626520507564677950656e6775696e206f7220577261707065645060008201527f656e6775696e0000000000000000000000000000000000000000000000000000602082015250565b60006132d9602683612aa6565b91506132e48261327d565b604082019050919050565b60006020820190508181036000830152613308816132cc565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061336b603183612aa6565b91506133768261330f565b604082019050919050565b6000602082019050818103600083015261339a8161335e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133d7602083612aa6565b91506133e2826133a1565b602082019050919050565b60006020820190508181036000830152613406816133ca565b9050919050565b60008151905061341c81612c15565b92915050565b600060208284031215613438576134376129d6565b5b60006134468482850161340d565b91505092915050565b7f577261707065642050656e6775696e206d696e74656420616e6420646973747260008201527f69627574656420616c7265616479000000000000000000000000000000000000602082015250565b60006134ab602e83612aa6565b91506134b68261344f565b604082019050919050565b600060208201905081810360008301526134da8161349e565b9050919050565b7f50756467792050656e6775696e206973206e6f74206c6f636b656420696e206360008201527f6f6e747261637400000000000000000000000000000000000000000000000000602082015250565b600061353d602783612aa6565b9150613548826134e1565b604082019050919050565b6000602082019050818103600083015261356c81613530565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006135cf603083612aa6565b91506135da82613573565b604082019050919050565b600060208201905081810360008301526135fe816135c2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613661602983612aa6565b915061366c82613605565b604082019050919050565b6000602082019050818103600083015261369081613654565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061370082612b56565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613733576137326136c6565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061379a602a83612aa6565b91506137a58261373e565b604082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613806601983612aa6565b9150613811826137d0565b602082019050919050565b60006020820190508181036000830152613835816137f9565b9050919050565b600081905092915050565b600061385282612a9b565b61385c818561383c565b935061386c818560208601612ab7565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138ae60058361383c565b91506138b982613878565b600582019050919050565b60006138d08284613847565b91506138db826138a1565b915081905092915050565b60006060820190506138fb6000830186612beb565b6139086020830185612beb565b6139156040830184612f90565b949350505050565b600081905092915050565b50565b600061393860008361391d565b915061394382613928565b600082019050919050565b60006139598261392b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613999601083612aa6565b91506139a482613963565b602082019050919050565b600060208201905081810360008301526139c88161398c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a2b602683612aa6565b9150613a36826139cf565b604082019050919050565b60006020820190508181036000830152613a5a81613a1e565b9050919050565b600081519050613a7081612b60565b92915050565b600060208284031215613a8c57613a8b6129d6565b5b6000613a9a84828501613a61565b91505092915050565b6000604082019050613ab86000830185612beb565b613ac56020830184612f90565b9392505050565b600081519050613adb81612fba565b92915050565b600060208284031215613af757613af66129d6565b5b6000613b0584828501613acc565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613b44600f83612aa6565b9150613b4f82613b0e565b602082019050919050565b60006020820190508181036000830152613b7381613b37565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613bd6602c83612aa6565b9150613be182613b7a565b604082019050919050565b60006020820190508181036000830152613c0581613bc9565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613c68602983612aa6565b9150613c7382613c0c565b604082019050919050565b60006020820190508181036000830152613c9781613c5b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cfa602483612aa6565b9150613d0582613c9e565b604082019050919050565b60006020820190508181036000830152613d2981613ced565b9050919050565b6000613d3b82612b56565b9150613d4683612b56565b925082821015613d5957613d586136c6565b5b828203905092915050565b6000613d6f82612b56565b9150613d7a83612b56565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613daf57613dae6136c6565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e16603283612aa6565b9150613e2182613dba565b604082019050919050565b60006020820190508181036000830152613e4581613e09565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613e82601483612aa6565b9150613e8d82613e4c565b602082019050919050565b60006020820190508181036000830152613eb181613e75565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613eee601083612aa6565b9150613ef982613eb8565b602082019050919050565b60006020820190508181036000830152613f1d81613ee1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f80602f83612aa6565b9150613f8b82613f24565b604082019050919050565b60006020820190508181036000830152613faf81613f73565b9050919050565b6000613fc28285613847565b9150613fce8284613847565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061400182613fda565b61400b8185613fe5565b935061401b818560208601612ab7565b61402481612aea565b840191505092915050565b60006080820190506140446000830187612beb565b6140516020830186612beb565b61405e6040830185612f90565b81810360608301526140708184613ff6565b905095945050505050565b60008151905061408a81612a0c565b92915050565b6000602082840312156140a6576140a56129d6565b5b60006140b48482850161407b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140f782612b56565b915061410283612b56565b925082614112576141116140bd565b5b828204905092915050565b600061412882612b56565b915061413383612b56565b925082614143576141426140bd565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614184602083612aa6565b915061418f8261414e565b602082019050919050565b600060208201905081810360008301526141b381614177565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141f0601c83612aa6565b91506141fb826141ba565b602082019050919050565b6000602082019050818103600083015261421f816141e3565b905091905056fe68747470733a2f2f617277656176652e6e65742f70796262755971556945336a6433556368434e464a307645556342324b7a692d354d6e543938627a6c41732fa2646970667358221220841004e2d718d0abbf91af6a001a52634d4459d9a8980034b85621076ef937af64736f6c63430008090033000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf8
Deployed Bytecode
0x6080604052600436106101855760003560e01c806370a08231116100d1578063b88d4fde1161008a578063e086e5ec11610064578063e086e5ec1461055e578063e985e9c514610575578063f2fde38b146105b2578063f4f3b200146105db5761018c565b8063b88d4fde146104cf578063c87b56dd146104f8578063cc17a5bf146105355761018c565b806370a08231146103e5578063715018a6146104225780638456cb59146104395780638da5cb5b1461045057806395d89b411461047b578063a22cb465146104a65761018c565b80633f44f32c1161013e57806342966c681161011857806342966c681461032b5780635c975abb146103545780636352211e1461037f57806363ac2a4c146103bc5761018c565b80633f44f32c146102c25780633f4ba83a146102eb57806342842e0e146103025761018c565b806301ffc9a71461018e57806306fdde03146101cb578063081812fc146101f6578063095ea7b314610233578063150b7a021461025c57806323b872dd146102995761018c565b3661018c57005b005b34801561019a57600080fd5b506101b560048036038101906101b09190612a38565b610604565b6040516101c29190612a80565b60405180910390f35b3480156101d757600080fd5b506101e06106e6565b6040516101ed9190612b34565b60405180910390f35b34801561020257600080fd5b5061021d60048036038101906102189190612b8c565b610778565b60405161022a9190612bfa565b60405180910390f35b34801561023f57600080fd5b5061025a60048036038101906102559190612c41565b6107fd565b005b34801561026857600080fd5b50610283600480360381019061027e9190612db6565b610915565b6040516102909190612e48565b60405180910390f35b3480156102a557600080fd5b506102c060048036038101906102bb9190612e63565b610a4c565b005b3480156102ce57600080fd5b506102e960048036038101906102e49190612b8c565b610aac565b005b3480156102f757600080fd5b50610300610d74565b005b34801561030e57600080fd5b5061032960048036038101906103249190612e63565b610dfa565b005b34801561033757600080fd5b50610352600480360381019061034d9190612b8c565b610e1a565b005b34801561036057600080fd5b50610369610e76565b6040516103769190612a80565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612b8c565b610e8d565b6040516103b39190612bfa565b60405180910390f35b3480156103c857600080fd5b506103e360048036038101906103de9190612f16565b610f3f565b005b3480156103f157600080fd5b5061040c60048036038101906104079190612f63565b610f99565b6040516104199190612f9f565b60405180910390f35b34801561042e57600080fd5b50610437611051565b005b34801561044557600080fd5b5061044e6110d9565b005b34801561045c57600080fd5b5061046561115f565b6040516104729190612bfa565b60405180910390f35b34801561048757600080fd5b50610490611189565b60405161049d9190612b34565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c89190612fe6565b61121b565b005b3480156104db57600080fd5b506104f660048036038101906104f19190612db6565b61139c565b005b34801561050457600080fd5b5061051f600480360381019061051a9190612b8c565b6113fe565b60405161052c9190612b34565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190612f16565b61142f565b005b34801561056a57600080fd5b506105736114fd565b005b34801561058157600080fd5b5061059c60048036038101906105979190613026565b61162f565b6040516105a99190612a80565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190612f63565b6116c3565b005b3480156105e757600080fd5b5061060260048036038101906105fd9190612f63565b6117bb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106df57506106de8261199b565b5b9050919050565b6060600080546106f590613095565b80601f016020809104026020016040519081016040528092919081815260200182805461072190613095565b801561076e5780601f106107435761010080835404028352916020019161076e565b820191906000526020600020905b81548152906001019060200180831161075157829003601f168201915b5050505050905090565b600061078382611a05565b6107c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b990613139565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080882610e8d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610879576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610870906131cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610898611a71565b73ffffffffffffffffffffffffffffffffffffffff1614806108c757506108c6816108c1611a71565b61162f565b5b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd9061325d565b60405180910390fd5b6109108383611a79565b505050565b60007f000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf873ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061099c57503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6109db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d2906132ef565b60405180910390fd5b60007f000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf873ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16149050610a39858286611b32565b63150b7a0260e01b915050949350505050565b610a5d610a57611a71565b82611ca4565b610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9390613381565b60405180910390fd5b610aa7838383611d82565b505050565b610ab4611a71565b73ffffffffffffffffffffffffffffffffffffffff16610ad261115f565b73ffffffffffffffffffffffffffffffffffffffff1614610b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1f906133ed565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf873ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b989190612f9f565b60206040518083038186803b158015610bb057600080fd5b505afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190613422565b73ffffffffffffffffffffffffffffffffffffffff161415610d3657610c0d81611a05565b8015610c4c57503073ffffffffffffffffffffffffffffffffffffffff16610c3482610e8d565b73ffffffffffffffffffffffffffffffffffffffff16145b15610ca557610c7330610c5d61115f565b8360405180602001604052806000815250611fde565b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2610d31565b610cae81611a05565b610cf557610cc3610cbd61115f565b8261203a565b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2610d30565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d27906134c1565b60405180910390fd5b5b610d71565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613553565b60405180910390fd5b50565b610d7c611a71565b73ffffffffffffffffffffffffffffffffffffffff16610d9a61115f565b73ffffffffffffffffffffffffffffffffffffffff1614610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de7906133ed565b60405180910390fd5b610df8612058565b565b610e158383836040518060200160405280600081525061139c565b505050565b610e2b610e25611a71565b82611ca4565b610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906135e5565b60405180910390fd5b610e73816120fa565b50565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90613677565b60405180910390fd5b80915050919050565b60005b82829050811015610f9457610f813330858585818110610f6557610f64613697565b5b9050602002013560405180602001604052806000815250611fde565b8080610f8c906136f5565b915050610f42565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561100a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611001906137b0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611059611a71565b73ffffffffffffffffffffffffffffffffffffffff1661107761115f565b73ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c4906133ed565b60405180910390fd5b6110d7600061220b565b565b6110e1611a71565b73ffffffffffffffffffffffffffffffffffffffff166110ff61115f565b73ffffffffffffffffffffffffffffffffffffffff1614611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906133ed565b60405180910390fd5b61115d6122d1565b565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461119890613095565b80601f01602080910402602001604051908101604052809291908181526020018280546111c490613095565b80156112115780601f106111e657610100808354040283529160200191611211565b820191906000526020600020905b8154815290600101906020018083116111f457829003601f168201915b5050505050905090565b611223611a71565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112889061381c565b60405180910390fd5b806005600061129e611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661134b611a71565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113909190612a80565b60405180910390a35050565b6113ad6113a7611a71565b83611ca4565b6113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390613381565b60405180910390fd5b6113f884848484611fde565b50505050565b606061140982612374565b60405160200161141991906138c4565b6040516020818303038152906040529050919050565b60005b828290508110156114f8577f000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf873ffffffffffffffffffffffffffffffffffffffff166342842e0e333086868681811061148e5761148d613697565b5b905060200201356040518463ffffffff1660e01b81526004016114b3939291906138e6565b600060405180830381600087803b1580156114cd57600080fd5b505af11580156114e1573d6000803e3d6000fd5b5050505080806114f0906136f5565b915050611432565b505050565b611505611a71565b73ffffffffffffffffffffffffffffffffffffffff1661152361115f565b73ffffffffffffffffffffffffffffffffffffffff1614611579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611570906133ed565b60405180910390fd5b600061158361115f565b73ffffffffffffffffffffffffffffffffffffffff16476040516115a69061394e565b60006040518083038185875af1925050503d80600081146115e3576040519150601f19603f3d011682016040523d82523d6000602084013e6115e8565b606091505b505090508061162c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611623906139af565b60405180910390fd5b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116cb611a71565b73ffffffffffffffffffffffffffffffffffffffff166116e961115f565b73ffffffffffffffffffffffffffffffffffffffff161461173f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611736906133ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690613a41565b60405180910390fd5b6117b88161220b565b50565b6117c3611a71565b73ffffffffffffffffffffffffffffffffffffffff166117e161115f565b73ffffffffffffffffffffffffffffffffffffffff1614611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906133ed565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61185d61115f565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118969190612bfa565b60206040518083038186803b1580156118ae57600080fd5b505afa1580156118c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e69190613a76565b6040518363ffffffff1660e01b8152600401611903929190613aa3565b602060405180830381600087803b15801561191d57600080fd5b505af1158015611931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119559190613ae1565b905080611997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198e90613b5a565b60405180910390fd5b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611aec83610e8d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8115611be257611b4181611a05565b8015611b8057503073ffffffffffffffffffffffffffffffffffffffff16611b6882610e8d565b73ffffffffffffffffffffffffffffffffffffffff16145b15611ba557611ba030848360405180602001604052806000815250611fde565b611bb0565b611baf838261203a565b5b807f5b8cd8f3a67af1dee11ad4321a05f79a76cc7ea517810fc56d6d96c1e60d368660405160405180910390a2611c9f565b7f000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf873ffffffffffffffffffffffffffffffffffffffff166342842e0e3085846040518463ffffffff1660e01b8152600401611c3f939291906138e6565b600060405180830381600087803b158015611c5957600080fd5b505af1158015611c6d573d6000803e3d6000fd5b50505050807fbeaa92c6354c6dcf375d2c514352b2c11bc865784722e5dd9b267e606eb5fc5f60405160405180910390a25b505050565b6000611caf82611a05565b611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce590613bec565b60405180910390fd5b6000611cf983610e8d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d6857508373ffffffffffffffffffffffffffffffffffffffff16611d5084610778565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d795750611d78818561162f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611da282610e8d565b73ffffffffffffffffffffffffffffffffffffffff1614611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90613c7e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5f90613d10565b60405180910390fd5b611e7383838361241b565b611e7e600082611a79565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ece9190613d30565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f259190613d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611fe9848484611d82565b611ff584848484612473565b612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b90613e2c565b60405180910390fd5b50505050565b61205482826040518060200160405280600081525061260a565b5050565b612060610e76565b61209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690613e98565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6120e3611a71565b6040516120f09190612bfa565b60405180910390a1565b600061210582610e8d565b90506121138160008461241b565b61211e600083611a79565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461216e9190613d30565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122d9610e76565b15612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231090613f04565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861235d611a71565b60405161236a9190612bfa565b60405180910390a1565b606061237f82611a05565b6123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b590613f96565b60405180910390fd5b60006123c8612665565b905060008151116123e85760405180602001604052806000815250612413565b806123f284612685565b604051602001612403929190613fb6565b6040516020818303038152906040525b915050919050565b612423610e76565b15612463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245a90613f04565b60405180910390fd5b61246e8383836127e6565b505050565b60006124948473ffffffffffffffffffffffffffffffffffffffff166127eb565b156125fd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124bd611a71565b8786866040518563ffffffff1660e01b81526004016124df949392919061402f565b602060405180830381600087803b1580156124f957600080fd5b505af192505050801561252a57506040513d601f19601f820116820180604052508101906125279190614090565b60015b6125ad573d806000811461255a576040519150601f19603f3d011682016040523d82523d6000602084013e61255f565b606091505b506000815114156125a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259c90613e2c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612602565b600190505b949350505050565b61261483836127fe565b6126216000848484612473565b612660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265790613e2c565b60405180910390fd5b505050565b606060405180606001604052806040815260200161422760409139905090565b606060008214156126cd576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127e1565b600082905060005b600082146126ff5780806126e8906136f5565b915050600a826126f891906140ec565b91506126d5565b60008167ffffffffffffffff81111561271b5761271a612c8b565b5b6040519080825280601f01601f19166020018201604052801561274d5781602001600182028036833780820191505090505b5090505b600085146127da576001826127669190613d30565b9150600a85612775919061411d565b60306127819190613d64565b60f81b81838151811061279757612796613697565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127d391906140ec565b9450612751565b8093505050505b919050565b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561286e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128659061419a565b60405180910390fd5b61287781611a05565b156128b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ae90614206565b60405180910390fd5b6128c36000838361241b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129139190613d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a15816129e0565b8114612a2057600080fd5b50565b600081359050612a3281612a0c565b92915050565b600060208284031215612a4e57612a4d6129d6565b5b6000612a5c84828501612a23565b91505092915050565b60008115159050919050565b612a7a81612a65565b82525050565b6000602082019050612a956000830184612a71565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ad5578082015181840152602081019050612aba565b83811115612ae4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612b0682612a9b565b612b108185612aa6565b9350612b20818560208601612ab7565b612b2981612aea565b840191505092915050565b60006020820190508181036000830152612b4e8184612afb565b905092915050565b6000819050919050565b612b6981612b56565b8114612b7457600080fd5b50565b600081359050612b8681612b60565b92915050565b600060208284031215612ba257612ba16129d6565b5b6000612bb084828501612b77565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612be482612bb9565b9050919050565b612bf481612bd9565b82525050565b6000602082019050612c0f6000830184612beb565b92915050565b612c1e81612bd9565b8114612c2957600080fd5b50565b600081359050612c3b81612c15565b92915050565b60008060408385031215612c5857612c576129d6565b5b6000612c6685828601612c2c565b9250506020612c7785828601612b77565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cc382612aea565b810181811067ffffffffffffffff82111715612ce257612ce1612c8b565b5b80604052505050565b6000612cf56129cc565b9050612d018282612cba565b919050565b600067ffffffffffffffff821115612d2157612d20612c8b565b5b612d2a82612aea565b9050602081019050919050565b82818337600083830152505050565b6000612d59612d5484612d06565b612ceb565b905082815260208101848484011115612d7557612d74612c86565b5b612d80848285612d37565b509392505050565b600082601f830112612d9d57612d9c612c81565b5b8135612dad848260208601612d46565b91505092915050565b60008060008060808587031215612dd057612dcf6129d6565b5b6000612dde87828801612c2c565b9450506020612def87828801612c2c565b9350506040612e0087828801612b77565b925050606085013567ffffffffffffffff811115612e2157612e206129db565b5b612e2d87828801612d88565b91505092959194509250565b612e42816129e0565b82525050565b6000602082019050612e5d6000830184612e39565b92915050565b600080600060608486031215612e7c57612e7b6129d6565b5b6000612e8a86828701612c2c565b9350506020612e9b86828701612c2c565b9250506040612eac86828701612b77565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612ed657612ed5612c81565b5b8235905067ffffffffffffffff811115612ef357612ef2612eb6565b5b602083019150836020820283011115612f0f57612f0e612ebb565b5b9250929050565b60008060208385031215612f2d57612f2c6129d6565b5b600083013567ffffffffffffffff811115612f4b57612f4a6129db565b5b612f5785828601612ec0565b92509250509250929050565b600060208284031215612f7957612f786129d6565b5b6000612f8784828501612c2c565b91505092915050565b612f9981612b56565b82525050565b6000602082019050612fb46000830184612f90565b92915050565b612fc381612a65565b8114612fce57600080fd5b50565b600081359050612fe081612fba565b92915050565b60008060408385031215612ffd57612ffc6129d6565b5b600061300b85828601612c2c565b925050602061301c85828601612fd1565b9150509250929050565b6000806040838503121561303d5761303c6129d6565b5b600061304b85828601612c2c565b925050602061305c85828601612c2c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130ad57607f821691505b602082108114156130c1576130c0613066565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613123602c83612aa6565b915061312e826130c7565b604082019050919050565b6000602082019050818103600083015261315281613116565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006131b5602183612aa6565b91506131c082613159565b604082019050919050565b600060208201905081810360008301526131e4816131a8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613247603883612aa6565b9150613252826131eb565b604082019050919050565b600060208201905081810360008301526132768161323a565b9050919050565b7f6d75737420626520507564677950656e6775696e206f7220577261707065645060008201527f656e6775696e0000000000000000000000000000000000000000000000000000602082015250565b60006132d9602683612aa6565b91506132e48261327d565b604082019050919050565b60006020820190508181036000830152613308816132cc565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061336b603183612aa6565b91506133768261330f565b604082019050919050565b6000602082019050818103600083015261339a8161335e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133d7602083612aa6565b91506133e2826133a1565b602082019050919050565b60006020820190508181036000830152613406816133ca565b9050919050565b60008151905061341c81612c15565b92915050565b600060208284031215613438576134376129d6565b5b60006134468482850161340d565b91505092915050565b7f577261707065642050656e6775696e206d696e74656420616e6420646973747260008201527f69627574656420616c7265616479000000000000000000000000000000000000602082015250565b60006134ab602e83612aa6565b91506134b68261344f565b604082019050919050565b600060208201905081810360008301526134da8161349e565b9050919050565b7f50756467792050656e6775696e206973206e6f74206c6f636b656420696e206360008201527f6f6e747261637400000000000000000000000000000000000000000000000000602082015250565b600061353d602783612aa6565b9150613548826134e1565b604082019050919050565b6000602082019050818103600083015261356c81613530565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006135cf603083612aa6565b91506135da82613573565b604082019050919050565b600060208201905081810360008301526135fe816135c2565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613661602983612aa6565b915061366c82613605565b604082019050919050565b6000602082019050818103600083015261369081613654565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061370082612b56565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613733576137326136c6565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061379a602a83612aa6565b91506137a58261373e565b604082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613806601983612aa6565b9150613811826137d0565b602082019050919050565b60006020820190508181036000830152613835816137f9565b9050919050565b600081905092915050565b600061385282612a9b565b61385c818561383c565b935061386c818560208601612ab7565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138ae60058361383c565b91506138b982613878565b600582019050919050565b60006138d08284613847565b91506138db826138a1565b915081905092915050565b60006060820190506138fb6000830186612beb565b6139086020830185612beb565b6139156040830184612f90565b949350505050565b600081905092915050565b50565b600061393860008361391d565b915061394382613928565b600082019050919050565b60006139598261392b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613999601083612aa6565b91506139a482613963565b602082019050919050565b600060208201905081810360008301526139c88161398c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a2b602683612aa6565b9150613a36826139cf565b604082019050919050565b60006020820190508181036000830152613a5a81613a1e565b9050919050565b600081519050613a7081612b60565b92915050565b600060208284031215613a8c57613a8b6129d6565b5b6000613a9a84828501613a61565b91505092915050565b6000604082019050613ab86000830185612beb565b613ac56020830184612f90565b9392505050565b600081519050613adb81612fba565b92915050565b600060208284031215613af757613af66129d6565b5b6000613b0584828501613acc565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000613b44600f83612aa6565b9150613b4f82613b0e565b602082019050919050565b60006020820190508181036000830152613b7381613b37565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613bd6602c83612aa6565b9150613be182613b7a565b604082019050919050565b60006020820190508181036000830152613c0581613bc9565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613c68602983612aa6565b9150613c7382613c0c565b604082019050919050565b60006020820190508181036000830152613c9781613c5b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cfa602483612aa6565b9150613d0582613c9e565b604082019050919050565b60006020820190508181036000830152613d2981613ced565b9050919050565b6000613d3b82612b56565b9150613d4683612b56565b925082821015613d5957613d586136c6565b5b828203905092915050565b6000613d6f82612b56565b9150613d7a83612b56565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613daf57613dae6136c6565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e16603283612aa6565b9150613e2182613dba565b604082019050919050565b60006020820190508181036000830152613e4581613e09565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613e82601483612aa6565b9150613e8d82613e4c565b602082019050919050565b60006020820190508181036000830152613eb181613e75565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613eee601083612aa6565b9150613ef982613eb8565b602082019050919050565b60006020820190508181036000830152613f1d81613ee1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f80602f83612aa6565b9150613f8b82613f24565b604082019050919050565b60006020820190508181036000830152613faf81613f73565b9050919050565b6000613fc28285613847565b9150613fce8284613847565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061400182613fda565b61400b8185613fe5565b935061401b818560208601612ab7565b61402481612aea565b840191505092915050565b60006080820190506140446000830187612beb565b6140516020830186612beb565b61405e6040830185612f90565b81810360608301526140708184613ff6565b905095945050505050565b60008151905061408a81612a0c565b92915050565b6000602082840312156140a6576140a56129d6565b5b60006140b48482850161407b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140f782612b56565b915061410283612b56565b925082614112576141116140bd565b5b828204905092915050565b600061412882612b56565b915061413383612b56565b925082614143576141426140bd565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614184602083612aa6565b915061418f8261414e565b602082019050919050565b600060208201905081810360008301526141b381614177565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141f0601c83612aa6565b91506141fb826141ba565b602082019050919050565b6000602082019050818103600083015261421f816141e3565b905091905056fe68747470733a2f2f617277656176652e6e65742f70796262755971556945336a6433556368434e464a307645556342324b7a692d354d6e543938627a6c41732fa2646970667358221220841004e2d718d0abbf91af6a001a52634d4459d9a8980034b85621076ef937af64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf8
-----Decoded View---------------
Arg [0] : pudgyPenguinsContractAddress_ (address): 0xBd3531dA5CF5857e7CfAA92426877b022e612cf8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bd3531da5cf5857e7cfaa92426877b022e612cf8
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.