Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,745 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21420851 | 6 days ago | IN | 0 ETH | 0.0003619 | ||||
Set Approval For... | 20347494 | 155 days ago | IN | 0 ETH | 0.00017973 | ||||
Set Approval For... | 19702679 | 246 days ago | IN | 0 ETH | 0.0001835 | ||||
Set Approval For... | 19416087 | 286 days ago | IN | 0 ETH | 0.00237586 | ||||
Set Approval For... | 19391091 | 289 days ago | IN | 0 ETH | 0.00352948 | ||||
Set Approval For... | 19302665 | 302 days ago | IN | 0 ETH | 0.0012685 | ||||
Set Approval For... | 18911357 | 357 days ago | IN | 0 ETH | 0.00021481 | ||||
Set Approval For... | 18909088 | 357 days ago | IN | 0 ETH | 0.00029949 | ||||
Set Approval For... | 18909087 | 357 days ago | IN | 0 ETH | 0.00046475 | ||||
Set Approval For... | 18908942 | 357 days ago | IN | 0 ETH | 0.00054888 | ||||
Set Approval For... | 18620675 | 397 days ago | IN | 0 ETH | 0.00206153 | ||||
Set Approval For... | 18531446 | 410 days ago | IN | 0 ETH | 0.00134928 | ||||
Set Approval For... | 18319857 | 439 days ago | IN | 0 ETH | 0.00014888 | ||||
Set Approval For... | 18294318 | 443 days ago | IN | 0 ETH | 0.00035492 | ||||
Set Approval For... | 18203896 | 456 days ago | IN | 0 ETH | 0.00030244 | ||||
Set Approval For... | 18156115 | 462 days ago | IN | 0 ETH | 0.00041707 | ||||
Set Approval For... | 17877671 | 501 days ago | IN | 0 ETH | 0.00141422 | ||||
Set Approval For... | 17846826 | 506 days ago | IN | 0 ETH | 0.00066768 | ||||
Set Approval For... | 17846825 | 506 days ago | IN | 0 ETH | 0.00066893 | ||||
Set Approval For... | 17844229 | 506 days ago | IN | 0 ETH | 0.00045141 | ||||
Set Approval For... | 17817373 | 510 days ago | IN | 0 ETH | 0.00094457 | ||||
Set Approval For... | 17811546 | 511 days ago | IN | 0 ETH | 0.00067773 | ||||
Set Approval For... | 17776768 | 515 days ago | IN | 0 ETH | 0.00106155 | ||||
Set Approval For... | 17726638 | 523 days ago | IN | 0 ETH | 0.00065799 | ||||
Set Approval For... | 17726638 | 523 days ago | IN | 0 ETH | 0.00065918 |
Loading...
Loading
Contract Name:
NFTWrapped
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; // _________________________ __ ___________________________________________ // 7 77 77 77 V V 77 _ 77 _ 77 77 77 77 \ // | _ || ___!!__ __!| | | || _|| _ || - || - || ___!| 7 | // | 7 || __| 7 7 | ! ! || _ \ | 7 || ___!| ___!| __|_| | | // | | || 7 | | | || 7 || | || 7 | 7 | 7| ! | // !__!__!!__! !__! !________!!__!__!!__!__!!__! !__! !_____!!_____! // Smart Contract by: @backseats_eth contract NFTWrapped is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenSupply; uint256 public ethPrice = 0.05 ether; uint256 public sosPrice = 75000000000000000000000000; // 75,000,000 $SOS bool public mintEnabled; IERC20 public paymentToken = IERC20(0x3b484b82567a09e2588A13D54D032153f0c0aEe0); address public withdrawAddress = 0x8CD058f25BefF759239c9777D6fF4a5501bf145B; string baseURI = "https://nftwrapped.s3.us-west-2.amazonaws.com/minted/"; mapping(uint => bool) internal takenTokenIds; // Events event WrappedMintedWithETH(address indexed _who); event WrappedMintedWithSOS(address indexed _who); event FundsWithdrawn(uint256 indexed _ethBalance, uint256 indexed _sosBalance, address indexed _to); // Modifiers modifier isNotPaused() { require(mintEnabled, "Mint Paused"); _; } modifier tokenIdIsValid(uint256 _id) { require(_id > 0, "Invalid id"); require(!takenTokenIds[_id], "Token id taken"); _; } // Constructor constructor() ERC721("NFTWrapped", "NFTWRAP") {} // Public Functions // Mint with ETH function mint(uint256 _tokenId) public payable isNotPaused tokenIdIsValid(_tokenId) { require(msg.value == ethPrice, "Incorrect ETH Price"); _tokenSupply.increment(); _safeMint(msg.sender, _tokenId); takenTokenIds[_tokenId] = true; emit WrappedMintedWithETH(msg.sender); } function mintWithSOS(uint256 _tokenId) public isNotPaused tokenIdIsValid(_tokenId) { require(paymentToken.balanceOf(msg.sender) >= sosPrice, "Insufficient SOS balance"); require(paymentToken.transferFrom(msg.sender, address(this), sosPrice)); _tokenSupply.increment(); _safeMint(msg.sender, _tokenId); takenTokenIds[_tokenId] = true; emit WrappedMintedWithSOS(msg.sender); } // Since we generate the ID on the site and pipe it into the mint functions, this function keeps the actual count of NFTs minted function mintedCount() public view returns (uint) { return _tokenSupply.current(); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(takenTokenIds[_tokenId], "Token doesn't exist"); return string(abi.encodePacked(_baseURI(), Strings.toString(_tokenId), ".json")); } // Internal Function function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Ownable Functions function setMintEnabled(bool _val) public onlyOwner { mintEnabled = _val; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } // Important: Set new price in wei (i.e. 80000000000000000 for 0.08 ETH) function setETHPrice(uint256 _newCost) public onlyOwner { ethPrice = _newCost; } // Important, similar to above. Use a tool like https://eth-converter.com/extended-converter.html to set the correct amount. Set the 'ether' value in the tool to the desired new price, and send the 'wei' amount into this function. function setSOSPrice(uint256 _newAmount) public onlyOwner { sosPrice = _newAmount; } function setWithdrawAddress(address _newAddress) public onlyOwner { withdrawAddress = _newAddress; } // Withdraw function withdraw() external onlyOwner { // Transfer ETH uint256 balance = address(this).balance; (bool success, ) = payable(withdrawAddress).call{value: balance}(""); require(success); // Transfer SOS uint256 erc20Balance = paymentToken.balanceOf(address(this)); paymentToken.transfer(withdrawAddress, erc20Balance); emit FundsWithdrawn(balance, erc20Balance, withdrawAddress); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":[],"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":"uint256","name":"_ethBalance","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_sosBalance","type":"uint256"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_who","type":"address"}],"name":"WrappedMintedWithETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_who","type":"address"}],"name":"WrappedMintedWithSOS","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintWithSOS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setETHPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setSOSPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sosPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405266b1a2bc2ec500006008556a3e09de2596099e2b000000600955733b484b82567a09e2588a13d54d032153f0c0aee0600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738cd058f25beff759239c9777d6ff4a5501bf145b600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528060358152602001620043ad60359139600c9080519060200190620000f99291906200029c565b503480156200010757600080fd5b506040518060400160405280600a81526020017f4e465457726170706564000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4e4654575241500000000000000000000000000000000000000000000000000081525081600090805190602001906200018c9291906200029c565b508060019080519060200190620001a59291906200029c565b505050620001c8620001bc620001ce60201b60201c565b620001d660201b60201c565b620003b1565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002aa906200037b565b90600052602060002090601f016020900481019282620002ce57600085556200031a565b82601f10620002e957805160ff19168380011785556200031a565b828001600101855582156200031a579182015b8281111562000319578251825591602001919060010190620002fc565b5b5090506200032991906200032d565b5090565b5b80821115620003485760008160009055506001016200032e565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039457607f821691505b60208210811415620003ab57620003aa6200034c565b5b50919050565b613fec80620003c16000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063cf721b1511610095578063e985e9c511610064578063e985e9c51461063f578063f2fde38b1461067c578063f46a04eb146106a5578063ff186b2e146106ce576101cd565b8063cf721b1514610595578063d1239730146105c0578063da312e1f146105eb578063da86043014610614576101cd565b8063a22cb465116100d1578063a22cb465146104dd578063b88d4fde14610506578063bc7dce061461052f578063c87b56dd14610558576101cd565b80638da5cb5b1461046b57806395d89b4114610496578063a0712d68146104c1576101cd565b80633ab1a4941161016f57806359523d261161013e57806359523d26146103b15780636352211e146103da57806370a0823114610417578063715018a614610454576101cd565b80633ab1a4941461031f5780633ccfd60b1461034857806342842e0e1461035f57806355f804b314610388576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780631581b600146102a057806323b872dd146102cb5780633013ce29146102f4576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612969565b6106f9565b60405161020691906129b1565b60405180910390f35b34801561021b57600080fd5b506102246107db565b6040516102319190612a65565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612abd565b61086d565b60405161026e9190612b2b565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612b72565b6108f2565b005b3480156102ac57600080fd5b506102b5610a0a565b6040516102c29190612b2b565b60405180910390f35b3480156102d757600080fd5b506102f260048036038101906102ed9190612bb2565b610a30565b005b34801561030057600080fd5b50610309610a90565b6040516103169190612c64565b60405180910390f35b34801561032b57600080fd5b5061034660048036038101906103419190612c7f565b610ab6565b005b34801561035457600080fd5b5061035d610b76565b005b34801561036b57600080fd5b5061038660048036038101906103819190612bb2565b610e5e565b005b34801561039457600080fd5b506103af60048036038101906103aa9190612de1565b610e7e565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612abd565b610f14565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190612abd565b61121c565b60405161040e9190612b2b565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190612c7f565b6112ce565b60405161044b9190612e39565b60405180910390f35b34801561046057600080fd5b50610469611386565b005b34801561047757600080fd5b5061048061140e565b60405161048d9190612b2b565b60405180910390f35b3480156104a257600080fd5b506104ab611438565b6040516104b89190612a65565b60405180910390f35b6104db60048036038101906104d69190612abd565b6114ca565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190612e80565b611689565b005b34801561051257600080fd5b5061052d60048036038101906105289190612f61565b61169f565b005b34801561053b57600080fd5b5061055660048036038101906105519190612abd565b611701565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612abd565b611787565b60405161058c9190612a65565b60405180910390f35b3480156105a157600080fd5b506105aa611821565b6040516105b79190612e39565b60405180910390f35b3480156105cc57600080fd5b506105d5611832565b6040516105e291906129b1565b60405180910390f35b3480156105f757600080fd5b50610612600480360381019061060d9190612abd565b611845565b005b34801561062057600080fd5b506106296118cb565b6040516106369190612e39565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190612fe4565b6118d1565b60405161067391906129b1565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190612c7f565b611965565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613024565b611a5d565b005b3480156106da57600080fd5b506106e3611af6565b6040516106f09190612e39565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107d457506107d382611afc565b5b9050919050565b6060600080546107ea90613080565b80601f016020809104026020016040519081016040528092919081815260200182805461081690613080565b80156108635780601f1061083857610100808354040283529160200191610863565b820191906000526020600020905b81548152906001019060200180831161084657829003601f168201915b5050505050905090565b600061087882611b66565b6108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae90613124565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108fd8261121c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561096e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610965906131b6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661098d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1614806109bc57506109bb816109b6611bd2565b6118d1565b5b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613248565b60405180910390fd5b610a058383611bda565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a41610a3b611bd2565b82611c93565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906132da565b60405180910390fd5b610a8b838383611d71565b505050565b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abe611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610adc61140e565b73ffffffffffffffffffffffffffffffffffffffff1614610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613346565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b7e611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610b9c61140e565b73ffffffffffffffffffffffffffffffffffffffff1614610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be990613346565b60405180910390fd5b60004790506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610c3f90613397565b60006040518083038185875af1925050503d8060008114610c7c576040519150601f19603f3d011682016040523d82523d6000602084013e610c81565b606091505b5050905080610c8f57600080fd5b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cec9190612b2b565b602060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d91906133c1565b9050600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610dae9291906133ee565b6020604051808303816000875af1158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df1919061342c565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681847ff3b5906e5672f3e524854103bcafbbdba80dbdfeca2c35e116127b1060a6831860405160405180910390a4505050565b610e798383836040518060200160405280600081525061169f565b505050565b610e86611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610ea461140e565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613346565b60405180910390fd5b80600c9080519060200190610f1092919061285a565b5050565b600a60009054906101000a900460ff16610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a906134a5565b60405180910390fd5b8060008111610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613511565b60405180910390fd5b600d600082815260200190815260200160002060009054906101000a900460ff1615611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff9061357d565b60405180910390fd5b600954600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110669190612b2b565b602060405180830381865afa158015611083573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a791906133c1565b10156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df906135e9565b60405180910390fd5b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306009546040518463ffffffff1660e01b815260040161114993929190613609565b6020604051808303816000875af1158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061342c565b61119557600080fd5b61119f6007611fcd565b6111a93383611fe3565b6001600d600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f8f62dc4f8b9a6d35e87cd2aa8830d01eff481e0ddef56bd424875e9a315d179360405160405180910390a25050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc906136b2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613744565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61138e611bd2565b73ffffffffffffffffffffffffffffffffffffffff166113ac61140e565b73ffffffffffffffffffffffffffffffffffffffff1614611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f990613346565b60405180910390fd5b61140c6000612001565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461144790613080565b80601f016020809104026020016040519081016040528092919081815260200182805461147390613080565b80156114c05780601f10611495576101008083540402835291602001916114c0565b820191906000526020600020905b8154815290600101906020018083116114a357829003601f168201915b5050505050905090565b600a60009054906101000a900460ff16611519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611510906134a5565b60405180910390fd5b806000811161155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490613511565b60405180910390fd5b600d600082815260200190815260200160002060009054906101000a900460ff16156115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b59061357d565b60405180910390fd5b6008543414611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f9906137b0565b60405180910390fd5b61160c6007611fcd565b6116163383611fe3565b6001600d600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fb17a36b11d00f22c0f9f3351e242db036353a0dbb7360ca7118cdb22664b345360405160405180910390a25050565b61169b611694611bd2565b83836120c7565b5050565b6116b06116aa611bd2565b83611c93565b6116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906132da565b60405180910390fd5b6116fb84848484612234565b50505050565b611709611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661172761140e565b73ffffffffffffffffffffffffffffffffffffffff161461177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490613346565b60405180910390fd5b8060088190555050565b6060600d600083815260200190815260200160002060009054906101000a900460ff166117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e09061381c565b60405180910390fd5b6117f1612290565b6117fa83612322565b60405160200161180b9291906138c4565b6040516020818303038152906040529050919050565b600061182d6007612483565b905090565b600a60009054906101000a900460ff1681565b61184d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661186b61140e565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b890613346565b60405180910390fd5b8060098190555050565b60095481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61196d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661198b61140e565b73ffffffffffffffffffffffffffffffffffffffff16146119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890613346565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890613965565b60405180910390fd5b611a5a81612001565b50565b611a65611bd2565b73ffffffffffffffffffffffffffffffffffffffff16611a8361140e565b73ffffffffffffffffffffffffffffffffffffffff1614611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090613346565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b60085481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c4d8361121c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9e82611b66565b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd4906139f7565b60405180910390fd5b6000611ce88361121c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d5757508373ffffffffffffffffffffffffffffffffffffffff16611d3f8461086d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d685750611d6781856118d1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d918261121c565b73ffffffffffffffffffffffffffffffffffffffff1614611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde90613a89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90613b1b565b60405180910390fd5b611e62838383612491565b611e6d600082611bda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebd9190613b6a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f149190613b9e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b611ffd828260405180602001604052806000815250612496565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90613c40565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222791906129b1565b60405180910390a3505050565b61223f848484611d71565b61224b848484846124f1565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228190613cd2565b60405180910390fd5b50505050565b6060600c805461229f90613080565b80601f01602080910402602001604051908101604052809291908181526020018280546122cb90613080565b80156123185780601f106122ed57610100808354040283529160200191612318565b820191906000526020600020905b8154815290600101906020018083116122fb57829003601f168201915b5050505050905090565b6060600082141561236a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061247e565b600082905060005b6000821461239c57808061238590613cf2565b915050600a826123959190613d6a565b9150612372565b60008167ffffffffffffffff8111156123b8576123b7612cb6565b5b6040519080825280601f01601f1916602001820160405280156123ea5781602001600182028036833780820191505090505b5090505b60008514612477576001826124039190613b6a565b9150600a856124129190613d9b565b603061241e9190613b9e565b60f81b81838151811061243457612433613dcc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124709190613d6a565b94506123ee565b8093505050505b919050565b600081600001549050919050565b505050565b6124a08383612679565b6124ad60008484846124f1565b6124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390613cd2565b60405180910390fd5b505050565b60006125128473ffffffffffffffffffffffffffffffffffffffff16612847565b1561266c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261253b611bd2565b8786866040518563ffffffff1660e01b815260040161255d9493929190613e50565b6020604051808303816000875af192505050801561259957506040513d601f19601f820116820180604052508101906125969190613eb1565b60015b61261c573d80600081146125c9576040519150601f19603f3d011682016040523d82523d6000602084013e6125ce565b606091505b50600081511415612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90613cd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612671565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090613f2a565b60405180910390fd5b6126f281611b66565b15612732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272990613f96565b60405180910390fd5b61273e60008383612491565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278e9190613b9e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461286690613080565b90600052602060002090601f01602090048101928261288857600085556128cf565b82601f106128a157805160ff19168380011785556128cf565b828001600101855582156128cf579182015b828111156128ce5782518255916020019190600101906128b3565b5b5090506128dc91906128e0565b5090565b5b808211156128f95760008160009055506001016128e1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61294681612911565b811461295157600080fd5b50565b6000813590506129638161293d565b92915050565b60006020828403121561297f5761297e612907565b5b600061298d84828501612954565b91505092915050565b60008115159050919050565b6129ab81612996565b82525050565b60006020820190506129c660008301846129a2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a065780820151818401526020810190506129eb565b83811115612a15576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a37826129cc565b612a4181856129d7565b9350612a518185602086016129e8565b612a5a81612a1b565b840191505092915050565b60006020820190508181036000830152612a7f8184612a2c565b905092915050565b6000819050919050565b612a9a81612a87565b8114612aa557600080fd5b50565b600081359050612ab781612a91565b92915050565b600060208284031215612ad357612ad2612907565b5b6000612ae184828501612aa8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b1582612aea565b9050919050565b612b2581612b0a565b82525050565b6000602082019050612b406000830184612b1c565b92915050565b612b4f81612b0a565b8114612b5a57600080fd5b50565b600081359050612b6c81612b46565b92915050565b60008060408385031215612b8957612b88612907565b5b6000612b9785828601612b5d565b9250506020612ba885828601612aa8565b9150509250929050565b600080600060608486031215612bcb57612bca612907565b5b6000612bd986828701612b5d565b9350506020612bea86828701612b5d565b9250506040612bfb86828701612aa8565b9150509250925092565b6000819050919050565b6000612c2a612c25612c2084612aea565b612c05565b612aea565b9050919050565b6000612c3c82612c0f565b9050919050565b6000612c4e82612c31565b9050919050565b612c5e81612c43565b82525050565b6000602082019050612c796000830184612c55565b92915050565b600060208284031215612c9557612c94612907565b5b6000612ca384828501612b5d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cee82612a1b565b810181811067ffffffffffffffff82111715612d0d57612d0c612cb6565b5b80604052505050565b6000612d206128fd565b9050612d2c8282612ce5565b919050565b600067ffffffffffffffff821115612d4c57612d4b612cb6565b5b612d5582612a1b565b9050602081019050919050565b82818337600083830152505050565b6000612d84612d7f84612d31565b612d16565b905082815260208101848484011115612da057612d9f612cb1565b5b612dab848285612d62565b509392505050565b600082601f830112612dc857612dc7612cac565b5b8135612dd8848260208601612d71565b91505092915050565b600060208284031215612df757612df6612907565b5b600082013567ffffffffffffffff811115612e1557612e1461290c565b5b612e2184828501612db3565b91505092915050565b612e3381612a87565b82525050565b6000602082019050612e4e6000830184612e2a565b92915050565b612e5d81612996565b8114612e6857600080fd5b50565b600081359050612e7a81612e54565b92915050565b60008060408385031215612e9757612e96612907565b5b6000612ea585828601612b5d565b9250506020612eb685828601612e6b565b9150509250929050565b600067ffffffffffffffff821115612edb57612eda612cb6565b5b612ee482612a1b565b9050602081019050919050565b6000612f04612eff84612ec0565b612d16565b905082815260208101848484011115612f2057612f1f612cb1565b5b612f2b848285612d62565b509392505050565b600082601f830112612f4857612f47612cac565b5b8135612f58848260208601612ef1565b91505092915050565b60008060008060808587031215612f7b57612f7a612907565b5b6000612f8987828801612b5d565b9450506020612f9a87828801612b5d565b9350506040612fab87828801612aa8565b925050606085013567ffffffffffffffff811115612fcc57612fcb61290c565b5b612fd887828801612f33565b91505092959194509250565b60008060408385031215612ffb57612ffa612907565b5b600061300985828601612b5d565b925050602061301a85828601612b5d565b9150509250929050565b60006020828403121561303a57613039612907565b5b600061304884828501612e6b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061309857607f821691505b602082108114156130ac576130ab613051565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061310e602c836129d7565b9150613119826130b2565b604082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006131a06021836129d7565b91506131ab82613144565b604082019050919050565b600060208201905081810360008301526131cf81613193565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006132326038836129d7565b915061323d826131d6565b604082019050919050565b6000602082019050818103600083015261326181613225565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006132c46031836129d7565b91506132cf82613268565b604082019050919050565b600060208201905081810360008301526132f3816132b7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133306020836129d7565b915061333b826132fa565b602082019050919050565b6000602082019050818103600083015261335f81613323565b9050919050565b600081905092915050565b50565b6000613381600083613366565b915061338c82613371565b600082019050919050565b60006133a282613374565b9150819050919050565b6000815190506133bb81612a91565b92915050565b6000602082840312156133d7576133d6612907565b5b60006133e5848285016133ac565b91505092915050565b60006040820190506134036000830185612b1c565b6134106020830184612e2a565b9392505050565b60008151905061342681612e54565b92915050565b60006020828403121561344257613441612907565b5b600061345084828501613417565b91505092915050565b7f4d696e7420506175736564000000000000000000000000000000000000000000600082015250565b600061348f600b836129d7565b915061349a82613459565b602082019050919050565b600060208201905081810360008301526134be81613482565b9050919050565b7f496e76616c696420696400000000000000000000000000000000000000000000600082015250565b60006134fb600a836129d7565b9150613506826134c5565b602082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f546f6b656e2069642074616b656e000000000000000000000000000000000000600082015250565b6000613567600e836129d7565b915061357282613531565b602082019050919050565b600060208201905081810360008301526135968161355a565b9050919050565b7f496e73756666696369656e7420534f532062616c616e63650000000000000000600082015250565b60006135d36018836129d7565b91506135de8261359d565b602082019050919050565b60006020820190508181036000830152613602816135c6565b9050919050565b600060608201905061361e6000830186612b1c565b61362b6020830185612b1c565b6136386040830184612e2a565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061369c6029836129d7565b91506136a782613640565b604082019050919050565b600060208201905081810360008301526136cb8161368f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061372e602a836129d7565b9150613739826136d2565b604082019050919050565b6000602082019050818103600083015261375d81613721565b9050919050565b7f496e636f72726563742045544820507269636500000000000000000000000000600082015250565b600061379a6013836129d7565b91506137a582613764565b602082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b60006138066013836129d7565b9150613811826137d0565b602082019050919050565b60006020820190508181036000830152613835816137f9565b9050919050565b600081905092915050565b6000613852826129cc565b61385c818561383c565b935061386c8185602086016129e8565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138ae60058361383c565b91506138b982613878565b600582019050919050565b60006138d08285613847565b91506138dc8284613847565b91506138e7826138a1565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061394f6026836129d7565b915061395a826138f3565b604082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006139e1602c836129d7565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613a736029836129d7565b9150613a7e82613a17565b604082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b056024836129d7565b9150613b1082613aa9565b604082019050919050565b60006020820190508181036000830152613b3481613af8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b7582612a87565b9150613b8083612a87565b925082821015613b9357613b92613b3b565b5b828203905092915050565b6000613ba982612a87565b9150613bb483612a87565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613be957613be8613b3b565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c2a6019836129d7565b9150613c3582613bf4565b602082019050919050565b60006020820190508181036000830152613c5981613c1d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613cbc6032836129d7565b9150613cc782613c60565b604082019050919050565b60006020820190508181036000830152613ceb81613caf565b9050919050565b6000613cfd82612a87565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d3057613d2f613b3b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d7582612a87565b9150613d8083612a87565b925082613d9057613d8f613d3b565b5b828204905092915050565b6000613da682612a87565b9150613db183612a87565b925082613dc157613dc0613d3b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613e2282613dfb565b613e2c8185613e06565b9350613e3c8185602086016129e8565b613e4581612a1b565b840191505092915050565b6000608082019050613e656000830187612b1c565b613e726020830186612b1c565b613e7f6040830185612e2a565b8181036060830152613e918184613e17565b905095945050505050565b600081519050613eab8161293d565b92915050565b600060208284031215613ec757613ec6612907565b5b6000613ed584828501613e9c565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f146020836129d7565b9150613f1f82613ede565b602082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613f80601c836129d7565b9150613f8b82613f4a565b602082019050919050565b60006020820190508181036000830152613faf81613f73565b905091905056fea26469706673582212206f35c6bd49e8a54501b532cd0539de43591512c5ca70d4e52eb40f23c5aae8ed64736f6c634300080b003368747470733a2f2f6e6674777261707065642e73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f6d696e7465642f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063cf721b1511610095578063e985e9c511610064578063e985e9c51461063f578063f2fde38b1461067c578063f46a04eb146106a5578063ff186b2e146106ce576101cd565b8063cf721b1514610595578063d1239730146105c0578063da312e1f146105eb578063da86043014610614576101cd565b8063a22cb465116100d1578063a22cb465146104dd578063b88d4fde14610506578063bc7dce061461052f578063c87b56dd14610558576101cd565b80638da5cb5b1461046b57806395d89b4114610496578063a0712d68146104c1576101cd565b80633ab1a4941161016f57806359523d261161013e57806359523d26146103b15780636352211e146103da57806370a0823114610417578063715018a614610454576101cd565b80633ab1a4941461031f5780633ccfd60b1461034857806342842e0e1461035f57806355f804b314610388576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780631581b600146102a057806323b872dd146102cb5780633013ce29146102f4576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612969565b6106f9565b60405161020691906129b1565b60405180910390f35b34801561021b57600080fd5b506102246107db565b6040516102319190612a65565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c9190612abd565b61086d565b60405161026e9190612b2b565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612b72565b6108f2565b005b3480156102ac57600080fd5b506102b5610a0a565b6040516102c29190612b2b565b60405180910390f35b3480156102d757600080fd5b506102f260048036038101906102ed9190612bb2565b610a30565b005b34801561030057600080fd5b50610309610a90565b6040516103169190612c64565b60405180910390f35b34801561032b57600080fd5b5061034660048036038101906103419190612c7f565b610ab6565b005b34801561035457600080fd5b5061035d610b76565b005b34801561036b57600080fd5b5061038660048036038101906103819190612bb2565b610e5e565b005b34801561039457600080fd5b506103af60048036038101906103aa9190612de1565b610e7e565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612abd565b610f14565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190612abd565b61121c565b60405161040e9190612b2b565b60405180910390f35b34801561042357600080fd5b5061043e60048036038101906104399190612c7f565b6112ce565b60405161044b9190612e39565b60405180910390f35b34801561046057600080fd5b50610469611386565b005b34801561047757600080fd5b5061048061140e565b60405161048d9190612b2b565b60405180910390f35b3480156104a257600080fd5b506104ab611438565b6040516104b89190612a65565b60405180910390f35b6104db60048036038101906104d69190612abd565b6114ca565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190612e80565b611689565b005b34801561051257600080fd5b5061052d60048036038101906105289190612f61565b61169f565b005b34801561053b57600080fd5b5061055660048036038101906105519190612abd565b611701565b005b34801561056457600080fd5b5061057f600480360381019061057a9190612abd565b611787565b60405161058c9190612a65565b60405180910390f35b3480156105a157600080fd5b506105aa611821565b6040516105b79190612e39565b60405180910390f35b3480156105cc57600080fd5b506105d5611832565b6040516105e291906129b1565b60405180910390f35b3480156105f757600080fd5b50610612600480360381019061060d9190612abd565b611845565b005b34801561062057600080fd5b506106296118cb565b6040516106369190612e39565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190612fe4565b6118d1565b60405161067391906129b1565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190612c7f565b611965565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613024565b611a5d565b005b3480156106da57600080fd5b506106e3611af6565b6040516106f09190612e39565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107d457506107d382611afc565b5b9050919050565b6060600080546107ea90613080565b80601f016020809104026020016040519081016040528092919081815260200182805461081690613080565b80156108635780601f1061083857610100808354040283529160200191610863565b820191906000526020600020905b81548152906001019060200180831161084657829003601f168201915b5050505050905090565b600061087882611b66565b6108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae90613124565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108fd8261121c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561096e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610965906131b6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661098d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1614806109bc57506109bb816109b6611bd2565b6118d1565b5b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613248565b60405180910390fd5b610a058383611bda565b505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a41610a3b611bd2565b82611c93565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906132da565b60405180910390fd5b610a8b838383611d71565b505050565b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abe611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610adc61140e565b73ffffffffffffffffffffffffffffffffffffffff1614610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613346565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b7e611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610b9c61140e565b73ffffffffffffffffffffffffffffffffffffffff1614610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be990613346565b60405180910390fd5b60004790506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610c3f90613397565b60006040518083038185875af1925050503d8060008114610c7c576040519150601f19603f3d011682016040523d82523d6000602084013e610c81565b606091505b5050905080610c8f57600080fd5b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cec9190612b2b565b602060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d91906133c1565b9050600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610dae9291906133ee565b6020604051808303816000875af1158015610dcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df1919061342c565b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681847ff3b5906e5672f3e524854103bcafbbdba80dbdfeca2c35e116127b1060a6831860405160405180910390a4505050565b610e798383836040518060200160405280600081525061169f565b505050565b610e86611bd2565b73ffffffffffffffffffffffffffffffffffffffff16610ea461140e565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613346565b60405180910390fd5b80600c9080519060200190610f1092919061285a565b5050565b600a60009054906101000a900460ff16610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a906134a5565b60405180910390fd5b8060008111610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e90613511565b60405180910390fd5b600d600082815260200190815260200160002060009054906101000a900460ff1615611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff9061357d565b60405180910390fd5b600954600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110669190612b2b565b602060405180830381865afa158015611083573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a791906133c1565b10156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df906135e9565b60405180910390fd5b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306009546040518463ffffffff1660e01b815260040161114993929190613609565b6020604051808303816000875af1158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061342c565b61119557600080fd5b61119f6007611fcd565b6111a93383611fe3565b6001600d600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f8f62dc4f8b9a6d35e87cd2aa8830d01eff481e0ddef56bd424875e9a315d179360405160405180910390a25050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bc906136b2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690613744565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61138e611bd2565b73ffffffffffffffffffffffffffffffffffffffff166113ac61140e565b73ffffffffffffffffffffffffffffffffffffffff1614611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f990613346565b60405180910390fd5b61140c6000612001565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461144790613080565b80601f016020809104026020016040519081016040528092919081815260200182805461147390613080565b80156114c05780601f10611495576101008083540402835291602001916114c0565b820191906000526020600020905b8154815290600101906020018083116114a357829003601f168201915b5050505050905090565b600a60009054906101000a900460ff16611519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611510906134a5565b60405180910390fd5b806000811161155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490613511565b60405180910390fd5b600d600082815260200190815260200160002060009054906101000a900460ff16156115be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b59061357d565b60405180910390fd5b6008543414611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f9906137b0565b60405180910390fd5b61160c6007611fcd565b6116163383611fe3565b6001600d600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167fb17a36b11d00f22c0f9f3351e242db036353a0dbb7360ca7118cdb22664b345360405160405180910390a25050565b61169b611694611bd2565b83836120c7565b5050565b6116b06116aa611bd2565b83611c93565b6116ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e6906132da565b60405180910390fd5b6116fb84848484612234565b50505050565b611709611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661172761140e565b73ffffffffffffffffffffffffffffffffffffffff161461177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490613346565b60405180910390fd5b8060088190555050565b6060600d600083815260200190815260200160002060009054906101000a900460ff166117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e09061381c565b60405180910390fd5b6117f1612290565b6117fa83612322565b60405160200161180b9291906138c4565b6040516020818303038152906040529050919050565b600061182d6007612483565b905090565b600a60009054906101000a900460ff1681565b61184d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661186b61140e565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b890613346565b60405180910390fd5b8060098190555050565b60095481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61196d611bd2565b73ffffffffffffffffffffffffffffffffffffffff1661198b61140e565b73ffffffffffffffffffffffffffffffffffffffff16146119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890613346565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890613965565b60405180910390fd5b611a5a81612001565b50565b611a65611bd2565b73ffffffffffffffffffffffffffffffffffffffff16611a8361140e565b73ffffffffffffffffffffffffffffffffffffffff1614611ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad090613346565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b60085481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c4d8361121c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9e82611b66565b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd4906139f7565b60405180910390fd5b6000611ce88361121c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d5757508373ffffffffffffffffffffffffffffffffffffffff16611d3f8461086d565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d685750611d6781856118d1565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d918261121c565b73ffffffffffffffffffffffffffffffffffffffff1614611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde90613a89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90613b1b565b60405180910390fd5b611e62838383612491565b611e6d600082611bda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ebd9190613b6a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f149190613b9e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b611ffd828260405180602001604052806000815250612496565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90613c40565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161222791906129b1565b60405180910390a3505050565b61223f848484611d71565b61224b848484846124f1565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228190613cd2565b60405180910390fd5b50505050565b6060600c805461229f90613080565b80601f01602080910402602001604051908101604052809291908181526020018280546122cb90613080565b80156123185780601f106122ed57610100808354040283529160200191612318565b820191906000526020600020905b8154815290600101906020018083116122fb57829003601f168201915b5050505050905090565b6060600082141561236a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061247e565b600082905060005b6000821461239c57808061238590613cf2565b915050600a826123959190613d6a565b9150612372565b60008167ffffffffffffffff8111156123b8576123b7612cb6565b5b6040519080825280601f01601f1916602001820160405280156123ea5781602001600182028036833780820191505090505b5090505b60008514612477576001826124039190613b6a565b9150600a856124129190613d9b565b603061241e9190613b9e565b60f81b81838151811061243457612433613dcc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124709190613d6a565b94506123ee565b8093505050505b919050565b600081600001549050919050565b505050565b6124a08383612679565b6124ad60008484846124f1565b6124ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e390613cd2565b60405180910390fd5b505050565b60006125128473ffffffffffffffffffffffffffffffffffffffff16612847565b1561266c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261253b611bd2565b8786866040518563ffffffff1660e01b815260040161255d9493929190613e50565b6020604051808303816000875af192505050801561259957506040513d601f19601f820116820180604052508101906125969190613eb1565b60015b61261c573d80600081146125c9576040519150601f19603f3d011682016040523d82523d6000602084013e6125ce565b606091505b50600081511415612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b90613cd2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612671565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090613f2a565b60405180910390fd5b6126f281611b66565b15612732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272990613f96565b60405180910390fd5b61273e60008383612491565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461278e9190613b9e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461286690613080565b90600052602060002090601f01602090048101928261288857600085556128cf565b82601f106128a157805160ff19168380011785556128cf565b828001600101855582156128cf579182015b828111156128ce5782518255916020019190600101906128b3565b5b5090506128dc91906128e0565b5090565b5b808211156128f95760008160009055506001016128e1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61294681612911565b811461295157600080fd5b50565b6000813590506129638161293d565b92915050565b60006020828403121561297f5761297e612907565b5b600061298d84828501612954565b91505092915050565b60008115159050919050565b6129ab81612996565b82525050565b60006020820190506129c660008301846129a2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a065780820151818401526020810190506129eb565b83811115612a15576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a37826129cc565b612a4181856129d7565b9350612a518185602086016129e8565b612a5a81612a1b565b840191505092915050565b60006020820190508181036000830152612a7f8184612a2c565b905092915050565b6000819050919050565b612a9a81612a87565b8114612aa557600080fd5b50565b600081359050612ab781612a91565b92915050565b600060208284031215612ad357612ad2612907565b5b6000612ae184828501612aa8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b1582612aea565b9050919050565b612b2581612b0a565b82525050565b6000602082019050612b406000830184612b1c565b92915050565b612b4f81612b0a565b8114612b5a57600080fd5b50565b600081359050612b6c81612b46565b92915050565b60008060408385031215612b8957612b88612907565b5b6000612b9785828601612b5d565b9250506020612ba885828601612aa8565b9150509250929050565b600080600060608486031215612bcb57612bca612907565b5b6000612bd986828701612b5d565b9350506020612bea86828701612b5d565b9250506040612bfb86828701612aa8565b9150509250925092565b6000819050919050565b6000612c2a612c25612c2084612aea565b612c05565b612aea565b9050919050565b6000612c3c82612c0f565b9050919050565b6000612c4e82612c31565b9050919050565b612c5e81612c43565b82525050565b6000602082019050612c796000830184612c55565b92915050565b600060208284031215612c9557612c94612907565b5b6000612ca384828501612b5d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cee82612a1b565b810181811067ffffffffffffffff82111715612d0d57612d0c612cb6565b5b80604052505050565b6000612d206128fd565b9050612d2c8282612ce5565b919050565b600067ffffffffffffffff821115612d4c57612d4b612cb6565b5b612d5582612a1b565b9050602081019050919050565b82818337600083830152505050565b6000612d84612d7f84612d31565b612d16565b905082815260208101848484011115612da057612d9f612cb1565b5b612dab848285612d62565b509392505050565b600082601f830112612dc857612dc7612cac565b5b8135612dd8848260208601612d71565b91505092915050565b600060208284031215612df757612df6612907565b5b600082013567ffffffffffffffff811115612e1557612e1461290c565b5b612e2184828501612db3565b91505092915050565b612e3381612a87565b82525050565b6000602082019050612e4e6000830184612e2a565b92915050565b612e5d81612996565b8114612e6857600080fd5b50565b600081359050612e7a81612e54565b92915050565b60008060408385031215612e9757612e96612907565b5b6000612ea585828601612b5d565b9250506020612eb685828601612e6b565b9150509250929050565b600067ffffffffffffffff821115612edb57612eda612cb6565b5b612ee482612a1b565b9050602081019050919050565b6000612f04612eff84612ec0565b612d16565b905082815260208101848484011115612f2057612f1f612cb1565b5b612f2b848285612d62565b509392505050565b600082601f830112612f4857612f47612cac565b5b8135612f58848260208601612ef1565b91505092915050565b60008060008060808587031215612f7b57612f7a612907565b5b6000612f8987828801612b5d565b9450506020612f9a87828801612b5d565b9350506040612fab87828801612aa8565b925050606085013567ffffffffffffffff811115612fcc57612fcb61290c565b5b612fd887828801612f33565b91505092959194509250565b60008060408385031215612ffb57612ffa612907565b5b600061300985828601612b5d565b925050602061301a85828601612b5d565b9150509250929050565b60006020828403121561303a57613039612907565b5b600061304884828501612e6b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061309857607f821691505b602082108114156130ac576130ab613051565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061310e602c836129d7565b9150613119826130b2565b604082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006131a06021836129d7565b91506131ab82613144565b604082019050919050565b600060208201905081810360008301526131cf81613193565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006132326038836129d7565b915061323d826131d6565b604082019050919050565b6000602082019050818103600083015261326181613225565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006132c46031836129d7565b91506132cf82613268565b604082019050919050565b600060208201905081810360008301526132f3816132b7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133306020836129d7565b915061333b826132fa565b602082019050919050565b6000602082019050818103600083015261335f81613323565b9050919050565b600081905092915050565b50565b6000613381600083613366565b915061338c82613371565b600082019050919050565b60006133a282613374565b9150819050919050565b6000815190506133bb81612a91565b92915050565b6000602082840312156133d7576133d6612907565b5b60006133e5848285016133ac565b91505092915050565b60006040820190506134036000830185612b1c565b6134106020830184612e2a565b9392505050565b60008151905061342681612e54565b92915050565b60006020828403121561344257613441612907565b5b600061345084828501613417565b91505092915050565b7f4d696e7420506175736564000000000000000000000000000000000000000000600082015250565b600061348f600b836129d7565b915061349a82613459565b602082019050919050565b600060208201905081810360008301526134be81613482565b9050919050565b7f496e76616c696420696400000000000000000000000000000000000000000000600082015250565b60006134fb600a836129d7565b9150613506826134c5565b602082019050919050565b6000602082019050818103600083015261352a816134ee565b9050919050565b7f546f6b656e2069642074616b656e000000000000000000000000000000000000600082015250565b6000613567600e836129d7565b915061357282613531565b602082019050919050565b600060208201905081810360008301526135968161355a565b9050919050565b7f496e73756666696369656e7420534f532062616c616e63650000000000000000600082015250565b60006135d36018836129d7565b91506135de8261359d565b602082019050919050565b60006020820190508181036000830152613602816135c6565b9050919050565b600060608201905061361e6000830186612b1c565b61362b6020830185612b1c565b6136386040830184612e2a565b949350505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061369c6029836129d7565b91506136a782613640565b604082019050919050565b600060208201905081810360008301526136cb8161368f565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061372e602a836129d7565b9150613739826136d2565b604082019050919050565b6000602082019050818103600083015261375d81613721565b9050919050565b7f496e636f72726563742045544820507269636500000000000000000000000000600082015250565b600061379a6013836129d7565b91506137a582613764565b602082019050919050565b600060208201905081810360008301526137c98161378d565b9050919050565b7f546f6b656e20646f65736e277420657869737400000000000000000000000000600082015250565b60006138066013836129d7565b9150613811826137d0565b602082019050919050565b60006020820190508181036000830152613835816137f9565b9050919050565b600081905092915050565b6000613852826129cc565b61385c818561383c565b935061386c8185602086016129e8565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006138ae60058361383c565b91506138b982613878565b600582019050919050565b60006138d08285613847565b91506138dc8284613847565b91506138e7826138a1565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061394f6026836129d7565b915061395a826138f3565b604082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006139e1602c836129d7565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613a736029836129d7565b9150613a7e82613a17565b604082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b056024836129d7565b9150613b1082613aa9565b604082019050919050565b60006020820190508181036000830152613b3481613af8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b7582612a87565b9150613b8083612a87565b925082821015613b9357613b92613b3b565b5b828203905092915050565b6000613ba982612a87565b9150613bb483612a87565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613be957613be8613b3b565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c2a6019836129d7565b9150613c3582613bf4565b602082019050919050565b60006020820190508181036000830152613c5981613c1d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613cbc6032836129d7565b9150613cc782613c60565b604082019050919050565b60006020820190508181036000830152613ceb81613caf565b9050919050565b6000613cfd82612a87565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d3057613d2f613b3b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d7582612a87565b9150613d8083612a87565b925082613d9057613d8f613d3b565b5b828204905092915050565b6000613da682612a87565b9150613db183612a87565b925082613dc157613dc0613d3b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613e2282613dfb565b613e2c8185613e06565b9350613e3c8185602086016129e8565b613e4581612a1b565b840191505092915050565b6000608082019050613e656000830187612b1c565b613e726020830186612b1c565b613e7f6040830185612e2a565b8181036060830152613e918184613e17565b905095945050505050565b600081519050613eab8161293d565b92915050565b600060208284031215613ec757613ec6612907565b5b6000613ed584828501613e9c565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f146020836129d7565b9150613f1f82613ede565b602082019050919050565b60006020820190508181036000830152613f4381613f07565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613f80601c836129d7565b9150613f8b82613f4a565b602082019050919050565b60006020820190508181036000830152613faf81613f73565b905091905056fea26469706673582212206f35c6bd49e8a54501b532cd0539de43591512c5ca70d4e52eb40f23c5aae8ed64736f6c634300080b0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.