Source Code
Overview
ETH Balance
0.088 ETH
Eth Value
$264.00 (@ $2,999.96/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,679 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24097849 | 32 days ago | IN | 0 ETH | 0.00001922 | ||||
| Set Approval For... | 23580712 | 104 days ago | IN | 0 ETH | 0.00000497 | ||||
| Set Approval For... | 23533909 | 111 days ago | IN | 0 ETH | 0.00009249 | ||||
| Set Approval For... | 23530245 | 111 days ago | IN | 0 ETH | 0.00007613 | ||||
| Set Approval For... | 23512316 | 114 days ago | IN | 0 ETH | 0.00005289 | ||||
| Set Approval For... | 23328443 | 139 days ago | IN | 0 ETH | 0.00008024 | ||||
| Safe Transfer Fr... | 23152587 | 164 days ago | IN | 0 ETH | 0.00019874 | ||||
| Set Approval For... | 22847379 | 207 days ago | IN | 0 ETH | 0.00001803 | ||||
| Set Approval For... | 22651637 | 234 days ago | IN | 0 ETH | 0.00006905 | ||||
| Set Approval For... | 22647575 | 235 days ago | IN | 0 ETH | 0.00008299 | ||||
| Set Approval For... | 22636582 | 236 days ago | IN | 0 ETH | 0.00005516 | ||||
| Transfer From | 22636541 | 236 days ago | IN | 0 ETH | 0.00012042 | ||||
| Set Approval For... | 22635359 | 236 days ago | IN | 0 ETH | 0.00005831 | ||||
| Set Approval For... | 22203457 | 297 days ago | IN | 0 ETH | 0.0000412 | ||||
| Set Approval For... | 21950501 | 332 days ago | IN | 0 ETH | 0.00004197 | ||||
| Safe Transfer Fr... | 21950308 | 332 days ago | IN | 0 ETH | 0.00009671 | ||||
| Set Approval For... | 21525419 | 391 days ago | IN | 0 ETH | 0.00024041 | ||||
| Set Approval For... | 21525350 | 391 days ago | IN | 0 ETH | 0.00025133 | ||||
| Set Approval For... | 21457318 | 401 days ago | IN | 0 ETH | 0.00030731 | ||||
| Set Approval For... | 21457317 | 401 days ago | IN | 0 ETH | 0.00031244 | ||||
| Set Approval For... | 21457315 | 401 days ago | IN | 0 ETH | 0.00029102 | ||||
| Set Approval For... | 20699987 | 507 days ago | IN | 0 ETH | 0.00008181 | ||||
| Set Approval For... | 20699005 | 507 days ago | IN | 0 ETH | 0.00008849 | ||||
| Set Approval For... | 20232375 | 572 days ago | IN | 0 ETH | 0.00038572 | ||||
| Set Approval For... | 20208495 | 575 days ago | IN | 0 ETH | 0.00021906 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WeThem
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.0 <0.9.0;
import "./mixins/ERC721Collection.sol";
import "./mixins/ERC721Presale.sol";
import "./mixins/ERC721Sale.sol";
contract WeThem is ERC721Collection, ERC721Presale, ERC721Sale {
constructor(string memory name, string memory symbol)
ERC721Collection(name, symbol) {}
function _getSaleState() internal view override(ERC721Presale, ERC721Sale) returns(bool) {
return ERC721Sale._getSaleState();
}
function _setPresaleState(bool state) internal override(ERC721Presale, ERC721Sale) {
return ERC721Presale._setPresaleState(state);
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract Whitelistable is Ownable {
mapping(address => bool) private isWhitelisted;
function _isWhitelisted(address from) internal view returns(bool) {
return isWhitelisted[from];
}
function addWhitelist(address[] memory froms) public onlyOwner {
for (uint i = 0; i < froms.length; ++i) {
isWhitelisted[froms[i]] = true;
}
}
function removeWhitelist(address from) public onlyOwner {
require(_isWhitelisted(from), "Whitelistable: Not whitelisted.");
isWhitelisted[from] = false;
}
modifier onlyWhitelisted() {
require(isWhitelisted[_msgSender()], "Whitelistable: caller is not whitelisted.");
_;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract WalletLimiter is Ownable {
uint public maxWalletLimit = 1;
function getMaxWalletLimit() public view returns(uint) {
return maxWalletLimit;
}
function setMaxWalletLimit(uint WalletLimit) public onlyOwner {
maxWalletLimit = WalletLimit;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract TXLimiter is Ownable {
uint public maxTXLimit = 1;
function getMaxTXLimit() public view returns(uint) {
return maxTXLimit;
}
function setMaxTXLimit(uint TXLimit) public onlyOwner {
maxTXLimit = TXLimit;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./Whitelistable.sol";
import "./TXLimiter.sol";
import "./WalletLimiter.sol";
import "./ERC721Collection.sol";
abstract contract ERC721Sale is Ownable, ERC721Collection, TXLimiter, WalletLimiter {
using SafeMath for uint256;
bool public saleIsActive = false;
uint256 public salePrice = 0; //0 ETH
/**
* Virtual function that has to be overridden in child contract.
*/
function _setPresaleState(bool state) internal virtual {}
function _getSaleState() internal virtual view returns(bool) {
return saleIsActive;
}
function setSaleState(bool state) public onlyOwner {
saleIsActive = state;
if (state) {
_setPresaleState(false);
}
}
function setSalePrice(uint256 price) public onlyOwner {
salePrice = price;
}
function mintSale(uint numTokens) public payable {
require(saleIsActive, "Sale is not active");
require(numTokens <= getMaxTXLimit(), "Minting more than TX limit");
require(balanceOf(_msgSender()).add(numTokens) <= getMaxWalletLimit(), "Minting more than wallet limit");
require(totalSupply().add(numTokens) <= getMaxSupply(), "Purchase would exceed max supply");
require(salePrice.mul(numTokens) <= msg.value, "Ether value sent is not correct");
for(uint i = 0; i < numTokens; i++) {
uint index = totalSupply().add(1);
if (index < getMaxSupply()) {
_safeMint(_msgSender(), index);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./Whitelistable.sol";
import "./TXLimiter.sol";
import "./WalletLimiter.sol";
import "./ERC721Collection.sol";
abstract contract ERC721Presale is Ownable, ERC721Collection, Whitelistable, TXLimiter, WalletLimiter {
using SafeMath for uint256;
bool public presaleIsActive = false;
uint256 public presaleSupply = 300;
uint256 public presalePrice = 0; //0 ETH
/**
* Virtual function that has to be overridden in child contract.
*/
function _getSaleState() internal virtual returns(bool) {}
function _getPresaleState() internal view returns(bool) {
return presaleIsActive;
}
function _setPresaleState(bool state) internal virtual {
presaleIsActive = state;
}
function setPresaleState(bool state) public onlyOwner {
require(!_getSaleState(), "Can not change presale state while sale is active");
_setPresaleState(state);
}
function setPresaleSupply(uint256 supply) public onlyOwner {
require(supply > 0 && supply < getMaxSupply(), "Invalid presale supply");
presaleSupply = supply;
}
function setPresalePrice(uint256 price) public onlyOwner {
presalePrice = price;
}
function mintPresale(uint numTokens) public payable onlyWhitelisted {
require(presaleIsActive, "Presale is not active");
require(numTokens <= getMaxTXLimit(), "Minting more than TX limit");
require(balanceOf(_msgSender()).add(numTokens) <= getMaxWalletLimit(), "Minting more than wallet limit");
require(totalSupply().add(numTokens) <= presaleSupply, "Purchase would exceed max presale supply");
require(totalSupply().add(numTokens) <= getMaxSupply(), "Purchase would exceed max supply");
require(presalePrice.mul(numTokens) <= msg.value, "Ether value sent is not correct");
for(uint i = 0; i < numTokens; i++) {
uint index = totalSupply();
if (totalSupply() < getMaxSupply()) {
_safeMint(_msgSender(), index);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./BaseURI.sol";
contract ERC721Collection is ERC721, ERC721Enumerable, ERC721Burnable, Ownable, BaseURI {
using Counters for Counters.Counter;
Counters.Counter private _tokenIdCounter;
uint256 public maxSupply = 1000;
constructor(string memory name, string memory symbol) ERC721(name, symbol) {
_tokenIdCounter.increment();
}
function getMaxSupply() public view returns(uint256) {
return maxSupply;
}
function _baseURI() internal view override(ERC721, BaseURI) returns (string memory) {
return BaseURI._baseURI();
}
function safeMint(address to) public onlyOwner {
uint256 tokenId = _tokenIdCounter.current();
_tokenIdCounter.increment(); // TODO: use it in constructor to make collection start from 1
_safeMint(to, tokenId);
}
function withdraw() public onlyOwner {
uint balance = address(this).balance;
payable(_msgSender()).transfer(balance);
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId)
internal
override(ERC721, ERC721Enumerable)
{
super._beforeTokenTransfer(from, to, tokenId);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, ERC721Enumerable)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract BaseURI is ERC721, Ownable {
string private baseURI = "";
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
function getBaseURI() public view returns (string memory) {
return _baseURI();
}
function setBaseURI(string memory URI) public onlyOwner {
baseURI = URI;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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/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/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 (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/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 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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/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/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 (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);
}
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"froms","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTXLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTXLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mintSale","outputs":[],"stateMutability":"payable","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":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"safeMint","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"TXLimit","type":"uint256"}],"name":"setMaxTXLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"WalletLimit","type":"uint256"}],"name":"setMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setPresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setPresaleSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405260405180602001604052806000815250600b90805190602001906200002b92919062000212565b506103e8600d556001600f5560016010556000601160006101000a81548160ff02191690831515021790555061012c60125560006013556000601460006101000a81548160ff02191690831515021790555060006015553480156200008f57600080fd5b5060405162005872380380620058728339818101604052810190620000b591906200045f565b818181818160009080519060200190620000d192919062000212565b508060019080519060200190620000ea92919062000212565b5050506200010d620001016200012e60201b60201c565b6200013660201b60201c565b62000124600c620001fc60201b6200223d1760201c565b5050505062000549565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b828054620002209062000513565b90600052602060002090601f01602090048101928262000244576000855562000290565b82601f106200025f57805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200028f57825182559160200191906001019062000272565b5b5090506200029f9190620002a3565b5090565b5b80821115620002be576000816000905550600101620002a4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200032b82620002e0565b810181811067ffffffffffffffff821117156200034d576200034c620002f1565b5b80604052505050565b600062000362620002c2565b905062000370828262000320565b919050565b600067ffffffffffffffff821115620003935762000392620002f1565b5b6200039e82620002e0565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b6000620003f8620003f28462000375565b62000356565b905082815260208101848484011115620004175762000416620002db565b5b62000424848285620003ab565b509392505050565b600082601f830112620004445762000443620002d6565b5b815162000456848260208601620003e1565b91505092915050565b60008060408385031215620004795762000478620002cc565b5b600083015167ffffffffffffffff8111156200049a5762000499620002d1565b5b620004a8858286016200042c565b925050602083015167ffffffffffffffff811115620004cc57620004cb620002d1565b5b620004da858286016200042c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200052c57607f821691505b60208210811415620005435762000542620004e4565b5b50919050565b61531980620005596000396000f3fe60806040526004361061027c5760003560e01c806370a082311161014f578063b96502cb116100c1578063e985e9c51161007a578063e985e9c514610960578063eb8d24441461099d578063edac985b146109c8578063f2fde38b146109f1578063f51f96dd14610a1a578063f759867a14610a455761027c565b8063b96502cb14610852578063bce4d6ae1461087b578063c4e37095146108a4578063c87b56dd146108cd578063d5abeb011461090a578063da28fdc7146109355761027c565b80638da5cb5b116101135780638da5cb5b1461075457806395d89b411461077f578063a22cb465146107aa578063ada1e7f0146107d3578063b3a196e9146107fe578063b88d4fde146108295761027c565b806370a0823114610683578063714c5398146106c0578063715018a6146106eb578063728d41c91461070257806378c8cda71461072b5761027c565b80633a19f89c116101f35780634c0f38c2116101ac5780634c0f38c21461055f5780634f6ccce71461058a57806355f804b3146105c7578063576c23fd146105f05780636352211e1461061b57806366a88d96146106585761027c565b80633a19f89c146104885780633ccfd60b146104b157806340d097c3146104c857806342842e0e146104f157806342966c681461051a5780634875bccb146105435761027c565b806318160ddd1161024557806318160ddd1461037a5780631919fed7146103a557806323b872dd146103ce5780632f745c59146103f757806330f72cd4146104345780633549345e1461045f5761027c565b80620e7fa81461028157806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b314610351575b600080fd5b34801561028d57600080fd5b50610296610a61565b6040516102a391906137ce565b60405180910390f35b3480156102b857600080fd5b506102d360048036038101906102ce9190613855565b610a67565b6040516102e0919061389d565b60405180910390f35b3480156102f557600080fd5b506102fe610a79565b60405161030b9190613951565b60405180910390f35b34801561032057600080fd5b5061033b6004803603810190610336919061399f565b610b0b565b6040516103489190613a0d565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613a54565b610b90565b005b34801561038657600080fd5b5061038f610ca8565b60405161039c91906137ce565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061399f565b610cb5565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613a94565b610d3b565b005b34801561040357600080fd5b5061041e60048036038101906104199190613a54565b610d9b565b60405161042b91906137ce565b60405180910390f35b34801561044057600080fd5b50610449610e40565b604051610456919061389d565b60405180910390f35b34801561046b57600080fd5b506104866004803603810190610481919061399f565b610e53565b005b34801561049457600080fd5b506104af60048036038101906104aa919061399f565b610ed9565b005b3480156104bd57600080fd5b506104c6610f5f565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613ae7565b611031565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613a94565b6110d3565b005b34801561052657600080fd5b50610541600480360381019061053c919061399f565b6110f3565b005b61055d6004803603810190610558919061399f565b61114f565b005b34801561056b57600080fd5b50610574611370565b60405161058191906137ce565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac919061399f565b61137a565b6040516105be91906137ce565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613c49565b6113eb565b005b3480156105fc57600080fd5b50610605611481565b60405161061291906137ce565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d919061399f565b611487565b60405161064f9190613a0d565b60405180910390f35b34801561066457600080fd5b5061066d611539565b60405161067a91906137ce565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613ae7565b61153f565b6040516106b791906137ce565b60405180910390f35b3480156106cc57600080fd5b506106d56115f7565b6040516106e29190613951565b60405180910390f35b3480156106f757600080fd5b50610700611606565b005b34801561070e57600080fd5b506107296004803603810190610724919061399f565b61168e565b005b34801561073757600080fd5b50610752600480360381019061074d9190613ae7565b611714565b005b34801561076057600080fd5b50610769611833565b6040516107769190613a0d565b60405180910390f35b34801561078b57600080fd5b5061079461185d565b6040516107a19190613951565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613cbe565b6118ef565b005b3480156107df57600080fd5b506107e8611905565b6040516107f591906137ce565b60405180910390f35b34801561080a57600080fd5b5061081361190f565b60405161082091906137ce565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613d9f565b611915565b005b34801561085e57600080fd5b506108796004803603810190610874919061399f565b611977565b005b34801561088757600080fd5b506108a2600480360381019061089d9190613e22565b611a52565b005b3480156108b057600080fd5b506108cb60048036038101906108c69190613e22565b611b22565b005b3480156108d957600080fd5b506108f460048036038101906108ef919061399f565b611bcc565b6040516109019190613951565b60405180910390f35b34801561091657600080fd5b5061091f611c73565b60405161092c91906137ce565b60405180910390f35b34801561094157600080fd5b5061094a611c79565b60405161095791906137ce565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613e4f565b611c83565b604051610994919061389d565b60405180910390f35b3480156109a957600080fd5b506109b2611d17565b6040516109bf919061389d565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190613f57565b611d2a565b005b3480156109fd57600080fd5b50610a186004803603810190610a139190613ae7565b611e39565b005b348015610a2657600080fd5b50610a2f611f31565b604051610a3c91906137ce565b60405180910390f35b610a5f6004803603810190610a5a919061399f565b611f37565b005b60135481565b6000610a7282612253565b9050919050565b606060008054610a8890613fcf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab490613fcf565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b5050505050905090565b6000610b16826122cd565b610b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4c90614073565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9b82611487565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0390614105565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b612339565b73ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5981610c54612339565b611c83565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090614197565b60405180910390fd5b610ca38383612341565b505050565b6000600880549050905090565b610cbd612339565b73ffffffffffffffffffffffffffffffffffffffff16610cdb611833565b73ffffffffffffffffffffffffffffffffffffffff1614610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890614203565b60405180910390fd5b8060158190555050565b610d4c610d46612339565b826123fa565b610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8290614295565b60405180910390fd5b610d968383836124d8565b505050565b6000610da68361153f565b8210610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde90614327565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160009054906101000a900460ff1681565b610e5b612339565b73ffffffffffffffffffffffffffffffffffffffff16610e79611833565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614203565b60405180910390fd5b8060138190555050565b610ee1612339565b73ffffffffffffffffffffffffffffffffffffffff16610eff611833565b73ffffffffffffffffffffffffffffffffffffffff1614610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90614203565b60405180910390fd5b80600f8190555050565b610f67612339565b73ffffffffffffffffffffffffffffffffffffffff16610f85611833565b73ffffffffffffffffffffffffffffffffffffffff1614610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd290614203565b60405180910390fd5b6000479050610fe8612339565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561102d573d6000803e3d6000fd5b5050565b611039612339565b73ffffffffffffffffffffffffffffffffffffffff16611057611833565b73ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614203565b60405180910390fd5b60006110b9600c612734565b90506110c5600c61223d565b6110cf8282612742565b5050565b6110ee83838360405180602001604052806000815250611915565b505050565b6111046110fe612339565b826123fa565b611143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113a906143b9565b60405180910390fd5b61114c81612760565b50565b601460009054906101000a900460ff1661119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590614425565b60405180910390fd5b6111a6611905565b8111156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90614491565b60405180910390fd5b6111f0611c79565b611212826112046111ff612339565b61153f565b61287190919063ffffffff16565b1115611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a906144fd565b60405180910390fd5b61125b611370565b61127582611267610ca8565b61287190919063ffffffff16565b11156112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad90614569565b60405180910390fd5b346112cc8260155461288790919063ffffffff16565b111561130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906145d5565b60405180910390fd5b60005b8181101561136c5760006113356001611327610ca8565b61287190919063ffffffff16565b905061133f611370565b81101561135857611357611351612339565b82612742565b5b50808061136490614624565b915050611310565b5050565b6000600d54905090565b6000611384610ca8565b82106113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906146df565b60405180910390fd5b600882815481106113d9576113d86146ff565b5b90600052602060002001549050919050565b6113f3612339565b73ffffffffffffffffffffffffffffffffffffffff16611411611833565b73ffffffffffffffffffffffffffffffffffffffff1614611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e90614203565b60405180910390fd5b80600b908051906020019061147d929190613712565b5050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611527906147a0565b60405180910390fd5b80915050919050565b60105481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a790614832565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061160161289d565b905090565b61160e612339565b73ffffffffffffffffffffffffffffffffffffffff1661162c611833565b73ffffffffffffffffffffffffffffffffffffffff1614611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614203565b60405180910390fd5b61168c60006128ac565b565b611696612339565b73ffffffffffffffffffffffffffffffffffffffff166116b4611833565b73ffffffffffffffffffffffffffffffffffffffff161461170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190614203565b60405180910390fd5b8060108190555050565b61171c612339565b73ffffffffffffffffffffffffffffffffffffffff1661173a611833565b73ffffffffffffffffffffffffffffffffffffffff1614611790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178790614203565b60405180910390fd5b61179981612972565b6117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf9061489e565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461186c90613fcf565b80601f016020809104026020016040519081016040528092919081815260200182805461189890613fcf565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b5050505050905090565b6119016118fa612339565b83836129c8565b5050565b6000600f54905090565b60125481565b611926611920612339565b836123fa565b611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c90614295565b60405180910390fd5b61197184848484612b35565b50505050565b61197f612339565b73ffffffffffffffffffffffffffffffffffffffff1661199d611833565b73ffffffffffffffffffffffffffffffffffffffff16146119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90614203565b60405180910390fd5b600081118015611a095750611a06611370565b81105b611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f9061490a565b60405180910390fd5b8060128190555050565b611a5a612339565b73ffffffffffffffffffffffffffffffffffffffff16611a78611833565b73ffffffffffffffffffffffffffffffffffffffff1614611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590614203565b60405180910390fd5b611ad6612b91565b15611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d9061499c565b60405180910390fd5b611b1f81612ba0565b50565b611b2a612339565b73ffffffffffffffffffffffffffffffffffffffff16611b48611833565b73ffffffffffffffffffffffffffffffffffffffff1614611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614203565b60405180910390fd5b80601460006101000a81548160ff0219169083151502179055508015611bc957611bc86000612ba0565b5b50565b6060611bd7826122cd565b611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614a2e565b60405180910390fd5b6000611c2061289d565b90506000815111611c405760405180602001604052806000815250611c6b565b80611c4a84612bac565b604051602001611c5b929190614a8a565b6040516020818303038152906040525b915050919050565b600d5481565b6000601054905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460009054906101000a900460ff1681565b611d32612339565b73ffffffffffffffffffffffffffffffffffffffff16611d50611833565b73ffffffffffffffffffffffffffffffffffffffff1614611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614203565b60405180910390fd5b60005b8151811015611e35576001600e6000848481518110611dcb57611dca6146ff565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611e2e90614624565b9050611da9565b5050565b611e41612339565b73ffffffffffffffffffffffffffffffffffffffff16611e5f611833565b73ffffffffffffffffffffffffffffffffffffffff1614611eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eac90614203565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614b20565b60405180910390fd5b611f2e816128ac565b50565b60155481565b600e6000611f43612339565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190614bb2565b60405180910390fd5b601160009054906101000a900460ff16612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614c1e565b60405180910390fd5b612021611905565b811115612063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205a90614491565b60405180910390fd5b61206b611c79565b61208d8261207f61207a612339565b61153f565b61287190919063ffffffff16565b11156120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c5906144fd565b60405180910390fd5b6012546120eb826120dd610ca8565b61287190919063ffffffff16565b111561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614cb0565b60405180910390fd5b612134611370565b61214e82612140610ca8565b61287190919063ffffffff16565b111561218f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218690614569565b60405180910390fd5b346121a58260135461288790919063ffffffff16565b11156121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd906145d5565b60405180910390fd5b60005b818110156122395760006121fb610ca8565b9050612205611370565b61220d610ca8565b10156122255761222461221e612339565b82612742565b5b50808061223190614624565b9150506121e9565b5050565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c657506122c582612d0d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123b483611487565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612405826122cd565b612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90614d42565b60405180910390fd5b600061244f83611487565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124be57508373ffffffffffffffffffffffffffffffffffffffff166124a684610b0b565b73ffffffffffffffffffffffffffffffffffffffff16145b806124cf57506124ce8185611c83565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124f882611487565b73ffffffffffffffffffffffffffffffffffffffff161461254e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254590614dd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b590614e66565b60405180910390fd5b6125c9838383612def565b6125d4600082612341565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126249190614e86565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461267b9190614eba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b61275c828260405180602001604052806000815250612dff565b5050565b600061276b82611487565b905061277981600084612def565b612784600083612341565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127d49190614e86565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361287f9190614eba565b905092915050565b600081836128959190614f10565b905092915050565b60606128a7612e5a565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2e90614fb6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b28919061389d565b60405180910390a3505050565b612b408484846124d8565b612b4c84848484612eec565b612b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8290615048565b60405180910390fd5b50505050565b6000612b9b613074565b905090565b612ba98161308b565b50565b60606000821415612bf4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d08565b600082905060005b60008214612c26578080612c0f90614624565b915050600a82612c1f9190615097565b9150612bfc565b60008167ffffffffffffffff811115612c4257612c41613b1e565b5b6040519080825280601f01601f191660200182016040528015612c745781602001600182028036833780820191505090505b5090505b60008514612d0157600182612c8d9190614e86565b9150600a85612c9c91906150c8565b6030612ca89190614eba565b60f81b818381518110612cbe57612cbd6146ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cfa9190615097565b9450612c78565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dd857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612de85750612de7826130a8565b5b9050919050565b612dfa838383613112565b505050565b612e098383613226565b612e166000848484612eec565b612e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4c90615048565b60405180910390fd5b505050565b6060600b8054612e6990613fcf565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9590613fcf565b8015612ee25780601f10612eb757610100808354040283529160200191612ee2565b820191906000526020600020905b815481529060010190602001808311612ec557829003601f168201915b5050505050905090565b6000612f0d8473ffffffffffffffffffffffffffffffffffffffff166133f4565b15613067578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f36612339565b8786866040518563ffffffff1660e01b8152600401612f58949392919061514e565b6020604051808303816000875af1925050508015612f9457506040513d601f19601f82011682018060405250810190612f9191906151af565b60015b613017573d8060008114612fc4576040519150601f19603f3d011682016040523d82523d6000602084013e612fc9565b606091505b5060008151141561300f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300690615048565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061306c565b600190505b949350505050565b6000601460009054906101000a900460ff16905090565b80601160006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61311d838383613407565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131605761315b8161340c565b61319f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461319e5761319d8382613455565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e2576131dd816135c2565b613221565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146132205761321f8282613693565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328d90615228565b60405180910390fd5b61329f816122cd565b156132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690615294565b60405180910390fd5b6132eb60008383612def565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461333b9190614eba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134628461153f565b61346c9190614e86565b9050600060076000848152602001908152602001600020549050818114613551576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135d69190614e86565b9050600060096000848152602001908152602001600020549050600060088381548110613606576136056146ff565b5b906000526020600020015490508060088381548110613628576136276146ff565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613677576136766152b4565b5b6001900381819060005260206000200160009055905550505050565b600061369e8361153f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461371e90613fcf565b90600052602060002090601f0160209004810192826137405760008555613787565b82601f1061375957805160ff1916838001178555613787565b82800160010185558215613787579182015b8281111561378657825182559160200191906001019061376b565b5b5090506137949190613798565b5090565b5b808211156137b1576000816000905550600101613799565b5090565b6000819050919050565b6137c8816137b5565b82525050565b60006020820190506137e360008301846137bf565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613832816137fd565b811461383d57600080fd5b50565b60008135905061384f81613829565b92915050565b60006020828403121561386b5761386a6137f3565b5b600061387984828501613840565b91505092915050565b60008115159050919050565b61389781613882565b82525050565b60006020820190506138b2600083018461388e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138f25780820151818401526020810190506138d7565b83811115613901576000848401525b50505050565b6000601f19601f8301169050919050565b6000613923826138b8565b61392d81856138c3565b935061393d8185602086016138d4565b61394681613907565b840191505092915050565b6000602082019050818103600083015261396b8184613918565b905092915050565b61397c816137b5565b811461398757600080fd5b50565b60008135905061399981613973565b92915050565b6000602082840312156139b5576139b46137f3565b5b60006139c38482850161398a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139f7826139cc565b9050919050565b613a07816139ec565b82525050565b6000602082019050613a2260008301846139fe565b92915050565b613a31816139ec565b8114613a3c57600080fd5b50565b600081359050613a4e81613a28565b92915050565b60008060408385031215613a6b57613a6a6137f3565b5b6000613a7985828601613a3f565b9250506020613a8a8582860161398a565b9150509250929050565b600080600060608486031215613aad57613aac6137f3565b5b6000613abb86828701613a3f565b9350506020613acc86828701613a3f565b9250506040613add8682870161398a565b9150509250925092565b600060208284031215613afd57613afc6137f3565b5b6000613b0b84828501613a3f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b5682613907565b810181811067ffffffffffffffff82111715613b7557613b74613b1e565b5b80604052505050565b6000613b886137e9565b9050613b948282613b4d565b919050565b600067ffffffffffffffff821115613bb457613bb3613b1e565b5b613bbd82613907565b9050602081019050919050565b82818337600083830152505050565b6000613bec613be784613b99565b613b7e565b905082815260208101848484011115613c0857613c07613b19565b5b613c13848285613bca565b509392505050565b600082601f830112613c3057613c2f613b14565b5b8135613c40848260208601613bd9565b91505092915050565b600060208284031215613c5f57613c5e6137f3565b5b600082013567ffffffffffffffff811115613c7d57613c7c6137f8565b5b613c8984828501613c1b565b91505092915050565b613c9b81613882565b8114613ca657600080fd5b50565b600081359050613cb881613c92565b92915050565b60008060408385031215613cd557613cd46137f3565b5b6000613ce385828601613a3f565b9250506020613cf485828601613ca9565b9150509250929050565b600067ffffffffffffffff821115613d1957613d18613b1e565b5b613d2282613907565b9050602081019050919050565b6000613d42613d3d84613cfe565b613b7e565b905082815260208101848484011115613d5e57613d5d613b19565b5b613d69848285613bca565b509392505050565b600082601f830112613d8657613d85613b14565b5b8135613d96848260208601613d2f565b91505092915050565b60008060008060808587031215613db957613db86137f3565b5b6000613dc787828801613a3f565b9450506020613dd887828801613a3f565b9350506040613de98782880161398a565b925050606085013567ffffffffffffffff811115613e0a57613e096137f8565b5b613e1687828801613d71565b91505092959194509250565b600060208284031215613e3857613e376137f3565b5b6000613e4684828501613ca9565b91505092915050565b60008060408385031215613e6657613e656137f3565b5b6000613e7485828601613a3f565b9250506020613e8585828601613a3f565b9150509250929050565b600067ffffffffffffffff821115613eaa57613ea9613b1e565b5b602082029050602081019050919050565b600080fd5b6000613ed3613ece84613e8f565b613b7e565b90508083825260208201905060208402830185811115613ef657613ef5613ebb565b5b835b81811015613f1f5780613f0b8882613a3f565b845260208401935050602081019050613ef8565b5050509392505050565b600082601f830112613f3e57613f3d613b14565b5b8135613f4e848260208601613ec0565b91505092915050565b600060208284031215613f6d57613f6c6137f3565b5b600082013567ffffffffffffffff811115613f8b57613f8a6137f8565b5b613f9784828501613f29565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fe757607f821691505b60208210811415613ffb57613ffa613fa0565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061405d602c836138c3565b915061406882614001565b604082019050919050565b6000602082019050818103600083015261408c81614050565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140ef6021836138c3565b91506140fa82614093565b604082019050919050565b6000602082019050818103600083015261411e816140e2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006141816038836138c3565b915061418c82614125565b604082019050919050565b600060208201905081810360008301526141b081614174565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141ed6020836138c3565b91506141f8826141b7565b602082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061427f6031836138c3565b915061428a82614223565b604082019050919050565b600060208201905081810360008301526142ae81614272565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614311602b836138c3565b915061431c826142b5565b604082019050919050565b6000602082019050818103600083015261434081614304565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006143a36030836138c3565b91506143ae82614347565b604082019050919050565b600060208201905081810360008301526143d281614396565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061440f6012836138c3565b915061441a826143d9565b602082019050919050565b6000602082019050818103600083015261443e81614402565b9050919050565b7f4d696e74696e67206d6f7265207468616e205458206c696d6974000000000000600082015250565b600061447b601a836138c3565b915061448682614445565b602082019050919050565b600060208201905081810360008301526144aa8161446e565b9050919050565b7f4d696e74696e67206d6f7265207468616e2077616c6c6574206c696d69740000600082015250565b60006144e7601e836138c3565b91506144f2826144b1565b602082019050919050565b60006020820190508181036000830152614516816144da565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b60006145536020836138c3565b915061455e8261451d565b602082019050919050565b6000602082019050818103600083015261458281614546565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b60006145bf601f836138c3565b91506145ca82614589565b602082019050919050565b600060208201905081810360008301526145ee816145b2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061462f826137b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614662576146616145f5565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146c9602c836138c3565b91506146d48261466d565b604082019050919050565b600060208201905081810360008301526146f8816146bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061478a6029836138c3565b91506147958261472e565b604082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061481c602a836138c3565b9150614827826147c0565b604082019050919050565b6000602082019050818103600083015261484b8161480f565b9050919050565b7f57686974656c69737461626c653a204e6f742077686974656c69737465642e00600082015250565b6000614888601f836138c3565b915061489382614852565b602082019050919050565b600060208201905081810360008301526148b78161487b565b9050919050565b7f496e76616c69642070726573616c6520737570706c7900000000000000000000600082015250565b60006148f46016836138c3565b91506148ff826148be565b602082019050919050565b60006020820190508181036000830152614923816148e7565b9050919050565b7f43616e206e6f74206368616e67652070726573616c652073746174652077686960008201527f6c652073616c6520697320616374697665000000000000000000000000000000602082015250565b60006149866031836138c3565b91506149918261492a565b604082019050919050565b600060208201905081810360008301526149b581614979565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614a18602f836138c3565b9150614a23826149bc565b604082019050919050565b60006020820190508181036000830152614a4781614a0b565b9050919050565b600081905092915050565b6000614a64826138b8565b614a6e8185614a4e565b9350614a7e8185602086016138d4565b80840191505092915050565b6000614a968285614a59565b9150614aa28284614a59565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b0a6026836138c3565b9150614b1582614aae565b604082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f57686974656c69737461626c653a2063616c6c6572206973206e6f742077686960008201527f74656c69737465642e0000000000000000000000000000000000000000000000602082015250565b6000614b9c6029836138c3565b9150614ba782614b40565b604082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614c086015836138c3565b9150614c1382614bd2565b602082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070726573616c60008201527f6520737570706c79000000000000000000000000000000000000000000000000602082015250565b6000614c9a6028836138c3565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d2c602c836138c3565b9150614d3782614cd0565b604082019050919050565b60006020820190508181036000830152614d5b81614d1f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614dbe6029836138c3565b9150614dc982614d62565b604082019050919050565b60006020820190508181036000830152614ded81614db1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e506024836138c3565b9150614e5b82614df4565b604082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b6000614e91826137b5565b9150614e9c836137b5565b925082821015614eaf57614eae6145f5565b5b828203905092915050565b6000614ec5826137b5565b9150614ed0836137b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f0557614f046145f5565b5b828201905092915050565b6000614f1b826137b5565b9150614f26836137b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f5f57614f5e6145f5565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fa06019836138c3565b9150614fab82614f6a565b602082019050919050565b60006020820190508181036000830152614fcf81614f93565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150326032836138c3565b915061503d82614fd6565b604082019050919050565b6000602082019050818103600083015261506181615025565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150a2826137b5565b91506150ad836137b5565b9250826150bd576150bc615068565b5b828204905092915050565b60006150d3826137b5565b91506150de836137b5565b9250826150ee576150ed615068565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615120826150f9565b61512a8185615104565b935061513a8185602086016138d4565b61514381613907565b840191505092915050565b600060808201905061516360008301876139fe565b61517060208301866139fe565b61517d60408301856137bf565b818103606083015261518f8184615115565b905095945050505050565b6000815190506151a981613829565b92915050565b6000602082840312156151c5576151c46137f3565b5b60006151d38482850161519a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152126020836138c3565b915061521d826151dc565b602082019050919050565b6000602082019050818103600083015261524181615205565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061527e601c836138c3565b915061528982615248565b602082019050919050565b600060208201905081810360008301526152ad81615271565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206c0627174e2719f3621bac15d43aaf10bb7cbfb9be91e8a4331cd5c1d70cf32664736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001d5765205468656d2056313a20536f6369657479206f6620526562656c730000000000000000000000000000000000000000000000000000000000000000000006524542454c530000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027c5760003560e01c806370a082311161014f578063b96502cb116100c1578063e985e9c51161007a578063e985e9c514610960578063eb8d24441461099d578063edac985b146109c8578063f2fde38b146109f1578063f51f96dd14610a1a578063f759867a14610a455761027c565b8063b96502cb14610852578063bce4d6ae1461087b578063c4e37095146108a4578063c87b56dd146108cd578063d5abeb011461090a578063da28fdc7146109355761027c565b80638da5cb5b116101135780638da5cb5b1461075457806395d89b411461077f578063a22cb465146107aa578063ada1e7f0146107d3578063b3a196e9146107fe578063b88d4fde146108295761027c565b806370a0823114610683578063714c5398146106c0578063715018a6146106eb578063728d41c91461070257806378c8cda71461072b5761027c565b80633a19f89c116101f35780634c0f38c2116101ac5780634c0f38c21461055f5780634f6ccce71461058a57806355f804b3146105c7578063576c23fd146105f05780636352211e1461061b57806366a88d96146106585761027c565b80633a19f89c146104885780633ccfd60b146104b157806340d097c3146104c857806342842e0e146104f157806342966c681461051a5780634875bccb146105435761027c565b806318160ddd1161024557806318160ddd1461037a5780631919fed7146103a557806323b872dd146103ce5780632f745c59146103f757806330f72cd4146104345780633549345e1461045f5761027c565b80620e7fa81461028157806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b314610351575b600080fd5b34801561028d57600080fd5b50610296610a61565b6040516102a391906137ce565b60405180910390f35b3480156102b857600080fd5b506102d360048036038101906102ce9190613855565b610a67565b6040516102e0919061389d565b60405180910390f35b3480156102f557600080fd5b506102fe610a79565b60405161030b9190613951565b60405180910390f35b34801561032057600080fd5b5061033b6004803603810190610336919061399f565b610b0b565b6040516103489190613a0d565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613a54565b610b90565b005b34801561038657600080fd5b5061038f610ca8565b60405161039c91906137ce565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c7919061399f565b610cb5565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613a94565b610d3b565b005b34801561040357600080fd5b5061041e60048036038101906104199190613a54565b610d9b565b60405161042b91906137ce565b60405180910390f35b34801561044057600080fd5b50610449610e40565b604051610456919061389d565b60405180910390f35b34801561046b57600080fd5b506104866004803603810190610481919061399f565b610e53565b005b34801561049457600080fd5b506104af60048036038101906104aa919061399f565b610ed9565b005b3480156104bd57600080fd5b506104c6610f5f565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613ae7565b611031565b005b3480156104fd57600080fd5b5061051860048036038101906105139190613a94565b6110d3565b005b34801561052657600080fd5b50610541600480360381019061053c919061399f565b6110f3565b005b61055d6004803603810190610558919061399f565b61114f565b005b34801561056b57600080fd5b50610574611370565b60405161058191906137ce565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac919061399f565b61137a565b6040516105be91906137ce565b60405180910390f35b3480156105d357600080fd5b506105ee60048036038101906105e99190613c49565b6113eb565b005b3480156105fc57600080fd5b50610605611481565b60405161061291906137ce565b60405180910390f35b34801561062757600080fd5b50610642600480360381019061063d919061399f565b611487565b60405161064f9190613a0d565b60405180910390f35b34801561066457600080fd5b5061066d611539565b60405161067a91906137ce565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613ae7565b61153f565b6040516106b791906137ce565b60405180910390f35b3480156106cc57600080fd5b506106d56115f7565b6040516106e29190613951565b60405180910390f35b3480156106f757600080fd5b50610700611606565b005b34801561070e57600080fd5b506107296004803603810190610724919061399f565b61168e565b005b34801561073757600080fd5b50610752600480360381019061074d9190613ae7565b611714565b005b34801561076057600080fd5b50610769611833565b6040516107769190613a0d565b60405180910390f35b34801561078b57600080fd5b5061079461185d565b6040516107a19190613951565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613cbe565b6118ef565b005b3480156107df57600080fd5b506107e8611905565b6040516107f591906137ce565b60405180910390f35b34801561080a57600080fd5b5061081361190f565b60405161082091906137ce565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190613d9f565b611915565b005b34801561085e57600080fd5b506108796004803603810190610874919061399f565b611977565b005b34801561088757600080fd5b506108a2600480360381019061089d9190613e22565b611a52565b005b3480156108b057600080fd5b506108cb60048036038101906108c69190613e22565b611b22565b005b3480156108d957600080fd5b506108f460048036038101906108ef919061399f565b611bcc565b6040516109019190613951565b60405180910390f35b34801561091657600080fd5b5061091f611c73565b60405161092c91906137ce565b60405180910390f35b34801561094157600080fd5b5061094a611c79565b60405161095791906137ce565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613e4f565b611c83565b604051610994919061389d565b60405180910390f35b3480156109a957600080fd5b506109b2611d17565b6040516109bf919061389d565b60405180910390f35b3480156109d457600080fd5b506109ef60048036038101906109ea9190613f57565b611d2a565b005b3480156109fd57600080fd5b50610a186004803603810190610a139190613ae7565b611e39565b005b348015610a2657600080fd5b50610a2f611f31565b604051610a3c91906137ce565b60405180910390f35b610a5f6004803603810190610a5a919061399f565b611f37565b005b60135481565b6000610a7282612253565b9050919050565b606060008054610a8890613fcf565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab490613fcf565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b5050505050905090565b6000610b16826122cd565b610b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4c90614073565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9b82611487565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0390614105565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b612339565b73ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5981610c54612339565b611c83565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090614197565b60405180910390fd5b610ca38383612341565b505050565b6000600880549050905090565b610cbd612339565b73ffffffffffffffffffffffffffffffffffffffff16610cdb611833565b73ffffffffffffffffffffffffffffffffffffffff1614610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890614203565b60405180910390fd5b8060158190555050565b610d4c610d46612339565b826123fa565b610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8290614295565b60405180910390fd5b610d968383836124d8565b505050565b6000610da68361153f565b8210610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde90614327565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160009054906101000a900460ff1681565b610e5b612339565b73ffffffffffffffffffffffffffffffffffffffff16610e79611833565b73ffffffffffffffffffffffffffffffffffffffff1614610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614203565b60405180910390fd5b8060138190555050565b610ee1612339565b73ffffffffffffffffffffffffffffffffffffffff16610eff611833565b73ffffffffffffffffffffffffffffffffffffffff1614610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90614203565b60405180910390fd5b80600f8190555050565b610f67612339565b73ffffffffffffffffffffffffffffffffffffffff16610f85611833565b73ffffffffffffffffffffffffffffffffffffffff1614610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd290614203565b60405180910390fd5b6000479050610fe8612339565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561102d573d6000803e3d6000fd5b5050565b611039612339565b73ffffffffffffffffffffffffffffffffffffffff16611057611833565b73ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614203565b60405180910390fd5b60006110b9600c612734565b90506110c5600c61223d565b6110cf8282612742565b5050565b6110ee83838360405180602001604052806000815250611915565b505050565b6111046110fe612339565b826123fa565b611143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113a906143b9565b60405180910390fd5b61114c81612760565b50565b601460009054906101000a900460ff1661119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590614425565b60405180910390fd5b6111a6611905565b8111156111e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111df90614491565b60405180910390fd5b6111f0611c79565b611212826112046111ff612339565b61153f565b61287190919063ffffffff16565b1115611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a906144fd565b60405180910390fd5b61125b611370565b61127582611267610ca8565b61287190919063ffffffff16565b11156112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad90614569565b60405180910390fd5b346112cc8260155461288790919063ffffffff16565b111561130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906145d5565b60405180910390fd5b60005b8181101561136c5760006113356001611327610ca8565b61287190919063ffffffff16565b905061133f611370565b81101561135857611357611351612339565b82612742565b5b50808061136490614624565b915050611310565b5050565b6000600d54905090565b6000611384610ca8565b82106113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906146df565b60405180910390fd5b600882815481106113d9576113d86146ff565b5b90600052602060002001549050919050565b6113f3612339565b73ffffffffffffffffffffffffffffffffffffffff16611411611833565b73ffffffffffffffffffffffffffffffffffffffff1614611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e90614203565b60405180910390fd5b80600b908051906020019061147d929190613712565b5050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611527906147a0565b60405180910390fd5b80915050919050565b60105481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a790614832565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061160161289d565b905090565b61160e612339565b73ffffffffffffffffffffffffffffffffffffffff1661162c611833565b73ffffffffffffffffffffffffffffffffffffffff1614611682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167990614203565b60405180910390fd5b61168c60006128ac565b565b611696612339565b73ffffffffffffffffffffffffffffffffffffffff166116b4611833565b73ffffffffffffffffffffffffffffffffffffffff161461170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190614203565b60405180910390fd5b8060108190555050565b61171c612339565b73ffffffffffffffffffffffffffffffffffffffff1661173a611833565b73ffffffffffffffffffffffffffffffffffffffff1614611790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178790614203565b60405180910390fd5b61179981612972565b6117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf9061489e565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461186c90613fcf565b80601f016020809104026020016040519081016040528092919081815260200182805461189890613fcf565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b5050505050905090565b6119016118fa612339565b83836129c8565b5050565b6000600f54905090565b60125481565b611926611920612339565b836123fa565b611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c90614295565b60405180910390fd5b61197184848484612b35565b50505050565b61197f612339565b73ffffffffffffffffffffffffffffffffffffffff1661199d611833565b73ffffffffffffffffffffffffffffffffffffffff16146119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90614203565b60405180910390fd5b600081118015611a095750611a06611370565b81105b611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f9061490a565b60405180910390fd5b8060128190555050565b611a5a612339565b73ffffffffffffffffffffffffffffffffffffffff16611a78611833565b73ffffffffffffffffffffffffffffffffffffffff1614611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590614203565b60405180910390fd5b611ad6612b91565b15611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d9061499c565b60405180910390fd5b611b1f81612ba0565b50565b611b2a612339565b73ffffffffffffffffffffffffffffffffffffffff16611b48611833565b73ffffffffffffffffffffffffffffffffffffffff1614611b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9590614203565b60405180910390fd5b80601460006101000a81548160ff0219169083151502179055508015611bc957611bc86000612ba0565b5b50565b6060611bd7826122cd565b611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614a2e565b60405180910390fd5b6000611c2061289d565b90506000815111611c405760405180602001604052806000815250611c6b565b80611c4a84612bac565b604051602001611c5b929190614a8a565b6040516020818303038152906040525b915050919050565b600d5481565b6000601054905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460009054906101000a900460ff1681565b611d32612339565b73ffffffffffffffffffffffffffffffffffffffff16611d50611833565b73ffffffffffffffffffffffffffffffffffffffff1614611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614203565b60405180910390fd5b60005b8151811015611e35576001600e6000848481518110611dcb57611dca6146ff565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611e2e90614624565b9050611da9565b5050565b611e41612339565b73ffffffffffffffffffffffffffffffffffffffff16611e5f611833565b73ffffffffffffffffffffffffffffffffffffffff1614611eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eac90614203565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614b20565b60405180910390fd5b611f2e816128ac565b50565b60155481565b600e6000611f43612339565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc190614bb2565b60405180910390fd5b601160009054906101000a900460ff16612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614c1e565b60405180910390fd5b612021611905565b811115612063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205a90614491565b60405180910390fd5b61206b611c79565b61208d8261207f61207a612339565b61153f565b61287190919063ffffffff16565b11156120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c5906144fd565b60405180910390fd5b6012546120eb826120dd610ca8565b61287190919063ffffffff16565b111561212c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212390614cb0565b60405180910390fd5b612134611370565b61214e82612140610ca8565b61287190919063ffffffff16565b111561218f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218690614569565b60405180910390fd5b346121a58260135461288790919063ffffffff16565b11156121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd906145d5565b60405180910390fd5b60005b818110156122395760006121fb610ca8565b9050612205611370565b61220d610ca8565b10156122255761222461221e612339565b82612742565b5b50808061223190614624565b9150506121e9565b5050565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c657506122c582612d0d565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123b483611487565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612405826122cd565b612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90614d42565b60405180910390fd5b600061244f83611487565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124be57508373ffffffffffffffffffffffffffffffffffffffff166124a684610b0b565b73ffffffffffffffffffffffffffffffffffffffff16145b806124cf57506124ce8185611c83565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124f882611487565b73ffffffffffffffffffffffffffffffffffffffff161461254e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254590614dd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b590614e66565b60405180910390fd5b6125c9838383612def565b6125d4600082612341565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126249190614e86565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461267b9190614eba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b61275c828260405180602001604052806000815250612dff565b5050565b600061276b82611487565b905061277981600084612def565b612784600083612341565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127d49190614e86565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361287f9190614eba565b905092915050565b600081836128959190614f10565b905092915050565b60606128a7612e5a565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2e90614fb6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b28919061389d565b60405180910390a3505050565b612b408484846124d8565b612b4c84848484612eec565b612b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8290615048565b60405180910390fd5b50505050565b6000612b9b613074565b905090565b612ba98161308b565b50565b60606000821415612bf4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d08565b600082905060005b60008214612c26578080612c0f90614624565b915050600a82612c1f9190615097565b9150612bfc565b60008167ffffffffffffffff811115612c4257612c41613b1e565b5b6040519080825280601f01601f191660200182016040528015612c745781602001600182028036833780820191505090505b5090505b60008514612d0157600182612c8d9190614e86565b9150600a85612c9c91906150c8565b6030612ca89190614eba565b60f81b818381518110612cbe57612cbd6146ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cfa9190615097565b9450612c78565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612dd857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612de85750612de7826130a8565b5b9050919050565b612dfa838383613112565b505050565b612e098383613226565b612e166000848484612eec565b612e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4c90615048565b60405180910390fd5b505050565b6060600b8054612e6990613fcf565b80601f0160208091040260200160405190810160405280929190818152602001828054612e9590613fcf565b8015612ee25780601f10612eb757610100808354040283529160200191612ee2565b820191906000526020600020905b815481529060010190602001808311612ec557829003601f168201915b5050505050905090565b6000612f0d8473ffffffffffffffffffffffffffffffffffffffff166133f4565b15613067578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f36612339565b8786866040518563ffffffff1660e01b8152600401612f58949392919061514e565b6020604051808303816000875af1925050508015612f9457506040513d601f19601f82011682018060405250810190612f9191906151af565b60015b613017573d8060008114612fc4576040519150601f19603f3d011682016040523d82523d6000602084013e612fc9565b606091505b5060008151141561300f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300690615048565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061306c565b600190505b949350505050565b6000601460009054906101000a900460ff16905090565b80601160006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61311d838383613407565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131605761315b8161340c565b61319f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461319e5761319d8382613455565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131e2576131dd816135c2565b613221565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146132205761321f8282613693565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328d90615228565b60405180910390fd5b61329f816122cd565b156132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690615294565b60405180910390fd5b6132eb60008383612def565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461333b9190614eba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134628461153f565b61346c9190614e86565b9050600060076000848152602001908152602001600020549050818114613551576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135d69190614e86565b9050600060096000848152602001908152602001600020549050600060088381548110613606576136056146ff565b5b906000526020600020015490508060088381548110613628576136276146ff565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613677576136766152b4565b5b6001900381819060005260206000200160009055905550505050565b600061369e8361153f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461371e90613fcf565b90600052602060002090601f0160209004810192826137405760008555613787565b82601f1061375957805160ff1916838001178555613787565b82800160010185558215613787579182015b8281111561378657825182559160200191906001019061376b565b5b5090506137949190613798565b5090565b5b808211156137b1576000816000905550600101613799565b5090565b6000819050919050565b6137c8816137b5565b82525050565b60006020820190506137e360008301846137bf565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613832816137fd565b811461383d57600080fd5b50565b60008135905061384f81613829565b92915050565b60006020828403121561386b5761386a6137f3565b5b600061387984828501613840565b91505092915050565b60008115159050919050565b61389781613882565b82525050565b60006020820190506138b2600083018461388e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138f25780820151818401526020810190506138d7565b83811115613901576000848401525b50505050565b6000601f19601f8301169050919050565b6000613923826138b8565b61392d81856138c3565b935061393d8185602086016138d4565b61394681613907565b840191505092915050565b6000602082019050818103600083015261396b8184613918565b905092915050565b61397c816137b5565b811461398757600080fd5b50565b60008135905061399981613973565b92915050565b6000602082840312156139b5576139b46137f3565b5b60006139c38482850161398a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139f7826139cc565b9050919050565b613a07816139ec565b82525050565b6000602082019050613a2260008301846139fe565b92915050565b613a31816139ec565b8114613a3c57600080fd5b50565b600081359050613a4e81613a28565b92915050565b60008060408385031215613a6b57613a6a6137f3565b5b6000613a7985828601613a3f565b9250506020613a8a8582860161398a565b9150509250929050565b600080600060608486031215613aad57613aac6137f3565b5b6000613abb86828701613a3f565b9350506020613acc86828701613a3f565b9250506040613add8682870161398a565b9150509250925092565b600060208284031215613afd57613afc6137f3565b5b6000613b0b84828501613a3f565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b5682613907565b810181811067ffffffffffffffff82111715613b7557613b74613b1e565b5b80604052505050565b6000613b886137e9565b9050613b948282613b4d565b919050565b600067ffffffffffffffff821115613bb457613bb3613b1e565b5b613bbd82613907565b9050602081019050919050565b82818337600083830152505050565b6000613bec613be784613b99565b613b7e565b905082815260208101848484011115613c0857613c07613b19565b5b613c13848285613bca565b509392505050565b600082601f830112613c3057613c2f613b14565b5b8135613c40848260208601613bd9565b91505092915050565b600060208284031215613c5f57613c5e6137f3565b5b600082013567ffffffffffffffff811115613c7d57613c7c6137f8565b5b613c8984828501613c1b565b91505092915050565b613c9b81613882565b8114613ca657600080fd5b50565b600081359050613cb881613c92565b92915050565b60008060408385031215613cd557613cd46137f3565b5b6000613ce385828601613a3f565b9250506020613cf485828601613ca9565b9150509250929050565b600067ffffffffffffffff821115613d1957613d18613b1e565b5b613d2282613907565b9050602081019050919050565b6000613d42613d3d84613cfe565b613b7e565b905082815260208101848484011115613d5e57613d5d613b19565b5b613d69848285613bca565b509392505050565b600082601f830112613d8657613d85613b14565b5b8135613d96848260208601613d2f565b91505092915050565b60008060008060808587031215613db957613db86137f3565b5b6000613dc787828801613a3f565b9450506020613dd887828801613a3f565b9350506040613de98782880161398a565b925050606085013567ffffffffffffffff811115613e0a57613e096137f8565b5b613e1687828801613d71565b91505092959194509250565b600060208284031215613e3857613e376137f3565b5b6000613e4684828501613ca9565b91505092915050565b60008060408385031215613e6657613e656137f3565b5b6000613e7485828601613a3f565b9250506020613e8585828601613a3f565b9150509250929050565b600067ffffffffffffffff821115613eaa57613ea9613b1e565b5b602082029050602081019050919050565b600080fd5b6000613ed3613ece84613e8f565b613b7e565b90508083825260208201905060208402830185811115613ef657613ef5613ebb565b5b835b81811015613f1f5780613f0b8882613a3f565b845260208401935050602081019050613ef8565b5050509392505050565b600082601f830112613f3e57613f3d613b14565b5b8135613f4e848260208601613ec0565b91505092915050565b600060208284031215613f6d57613f6c6137f3565b5b600082013567ffffffffffffffff811115613f8b57613f8a6137f8565b5b613f9784828501613f29565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fe757607f821691505b60208210811415613ffb57613ffa613fa0565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061405d602c836138c3565b915061406882614001565b604082019050919050565b6000602082019050818103600083015261408c81614050565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140ef6021836138c3565b91506140fa82614093565b604082019050919050565b6000602082019050818103600083015261411e816140e2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006141816038836138c3565b915061418c82614125565b604082019050919050565b600060208201905081810360008301526141b081614174565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141ed6020836138c3565b91506141f8826141b7565b602082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061427f6031836138c3565b915061428a82614223565b604082019050919050565b600060208201905081810360008301526142ae81614272565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614311602b836138c3565b915061431c826142b5565b604082019050919050565b6000602082019050818103600083015261434081614304565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006143a36030836138c3565b91506143ae82614347565b604082019050919050565b600060208201905081810360008301526143d281614396565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b600061440f6012836138c3565b915061441a826143d9565b602082019050919050565b6000602082019050818103600083015261443e81614402565b9050919050565b7f4d696e74696e67206d6f7265207468616e205458206c696d6974000000000000600082015250565b600061447b601a836138c3565b915061448682614445565b602082019050919050565b600060208201905081810360008301526144aa8161446e565b9050919050565b7f4d696e74696e67206d6f7265207468616e2077616c6c6574206c696d69740000600082015250565b60006144e7601e836138c3565b91506144f2826144b1565b602082019050919050565b60006020820190508181036000830152614516816144da565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b60006145536020836138c3565b915061455e8261451d565b602082019050919050565b6000602082019050818103600083015261458281614546565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b60006145bf601f836138c3565b91506145ca82614589565b602082019050919050565b600060208201905081810360008301526145ee816145b2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061462f826137b5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614662576146616145f5565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146c9602c836138c3565b91506146d48261466d565b604082019050919050565b600060208201905081810360008301526146f8816146bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061478a6029836138c3565b91506147958261472e565b604082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061481c602a836138c3565b9150614827826147c0565b604082019050919050565b6000602082019050818103600083015261484b8161480f565b9050919050565b7f57686974656c69737461626c653a204e6f742077686974656c69737465642e00600082015250565b6000614888601f836138c3565b915061489382614852565b602082019050919050565b600060208201905081810360008301526148b78161487b565b9050919050565b7f496e76616c69642070726573616c6520737570706c7900000000000000000000600082015250565b60006148f46016836138c3565b91506148ff826148be565b602082019050919050565b60006020820190508181036000830152614923816148e7565b9050919050565b7f43616e206e6f74206368616e67652070726573616c652073746174652077686960008201527f6c652073616c6520697320616374697665000000000000000000000000000000602082015250565b60006149866031836138c3565b91506149918261492a565b604082019050919050565b600060208201905081810360008301526149b581614979565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614a18602f836138c3565b9150614a23826149bc565b604082019050919050565b60006020820190508181036000830152614a4781614a0b565b9050919050565b600081905092915050565b6000614a64826138b8565b614a6e8185614a4e565b9350614a7e8185602086016138d4565b80840191505092915050565b6000614a968285614a59565b9150614aa28284614a59565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b0a6026836138c3565b9150614b1582614aae565b604082019050919050565b60006020820190508181036000830152614b3981614afd565b9050919050565b7f57686974656c69737461626c653a2063616c6c6572206973206e6f742077686960008201527f74656c69737465642e0000000000000000000000000000000000000000000000602082015250565b6000614b9c6029836138c3565b9150614ba782614b40565b604082019050919050565b60006020820190508181036000830152614bcb81614b8f565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b6000614c086015836138c3565b9150614c1382614bd2565b602082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070726573616c60008201527f6520737570706c79000000000000000000000000000000000000000000000000602082015250565b6000614c9a6028836138c3565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d2c602c836138c3565b9150614d3782614cd0565b604082019050919050565b60006020820190508181036000830152614d5b81614d1f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614dbe6029836138c3565b9150614dc982614d62565b604082019050919050565b60006020820190508181036000830152614ded81614db1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e506024836138c3565b9150614e5b82614df4565b604082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b6000614e91826137b5565b9150614e9c836137b5565b925082821015614eaf57614eae6145f5565b5b828203905092915050565b6000614ec5826137b5565b9150614ed0836137b5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f0557614f046145f5565b5b828201905092915050565b6000614f1b826137b5565b9150614f26836137b5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f5f57614f5e6145f5565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614fa06019836138c3565b9150614fab82614f6a565b602082019050919050565b60006020820190508181036000830152614fcf81614f93565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150326032836138c3565b915061503d82614fd6565b604082019050919050565b6000602082019050818103600083015261506181615025565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006150a2826137b5565b91506150ad836137b5565b9250826150bd576150bc615068565b5b828204905092915050565b60006150d3826137b5565b91506150de836137b5565b9250826150ee576150ed615068565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615120826150f9565b61512a8185615104565b935061513a8185602086016138d4565b61514381613907565b840191505092915050565b600060808201905061516360008301876139fe565b61517060208301866139fe565b61517d60408301856137bf565b818103606083015261518f8184615115565b905095945050505050565b6000815190506151a981613829565b92915050565b6000602082840312156151c5576151c46137f3565b5b60006151d38482850161519a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152126020836138c3565b915061521d826151dc565b602082019050919050565b6000602082019050818103600083015261524181615205565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061527e601c836138c3565b915061528982615248565b602082019050919050565b600060208201905081810360008301526152ad81615271565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206c0627174e2719f3621bac15d43aaf10bb7cbfb9be91e8a4331cd5c1d70cf32664736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001d5765205468656d2056313a20536f6369657479206f6620526562656c730000000000000000000000000000000000000000000000000000000000000000000006524542454c530000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): We Them V1: Society of Rebels
Arg [1] : symbol (string): REBELS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [3] : 5765205468656d2056313a20536f6369657479206f6620526562656c73000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 524542454c530000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$264.11
Net Worth in ETH
0.088037
Token Allocations
ETH
99.99%
BNB
0.01%
Multichain Portfolio | 35 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.