This nametag was submitted by Kleros Curate.
Pigskin Apes: PSKIN Token
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 7,933 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer From | 23434702 | 139 days ago | IN | 0 ETH | 0.00011171 | ||||
| Transfer From | 23434686 | 139 days ago | IN | 0 ETH | 0.00012894 | ||||
| Transfer From | 23434682 | 139 days ago | IN | 0 ETH | 0.00012736 | ||||
| Transfer From | 23434681 | 139 days ago | IN | 0 ETH | 0.00012797 | ||||
| Transfer From | 23434678 | 139 days ago | IN | 0 ETH | 0.00011602 | ||||
| Transfer From | 23434676 | 139 days ago | IN | 0 ETH | 0.00011647 | ||||
| Transfer From | 23434668 | 139 days ago | IN | 0 ETH | 0.00013563 | ||||
| Transfer From | 23434650 | 139 days ago | IN | 0 ETH | 0.00012165 | ||||
| Transfer From | 23434648 | 139 days ago | IN | 0 ETH | 0.00014166 | ||||
| Transfer From | 23434621 | 139 days ago | IN | 0 ETH | 0.00011924 | ||||
| Transfer From | 23434616 | 139 days ago | IN | 0 ETH | 0.00014133 | ||||
| Set Approval For... | 23323479 | 155 days ago | IN | 0 ETH | 0.00007656 | ||||
| Set Approval For... | 23216524 | 170 days ago | IN | 0 ETH | 0.00005823 | ||||
| Set Approval For... | 22810590 | 226 days ago | IN | 0 ETH | 0.00011222 | ||||
| Set Approval For... | 22657817 | 248 days ago | IN | 0 ETH | 0.00005533 | ||||
| Set Approval For... | 22512571 | 268 days ago | IN | 0 ETH | 0.000154 | ||||
| Set Approval For... | 22510928 | 268 days ago | IN | 0 ETH | 0.00009572 | ||||
| Set Approval For... | 22419878 | 281 days ago | IN | 0 ETH | 0.00004129 | ||||
| Set Approval For... | 22207573 | 311 days ago | IN | 0 ETH | 0.00004169 | ||||
| Set Approval For... | 22077967 | 329 days ago | IN | 0 ETH | 0.00004328 | ||||
| Set Approval For... | 21910423 | 352 days ago | IN | 0 ETH | 0.00006403 | ||||
| Transfer From | 21825974 | 364 days ago | IN | 0 ETH | 0.00010173 | ||||
| Transfer From | 21825921 | 364 days ago | IN | 0 ETH | 0.00008322 | ||||
| Transfer From | 21825921 | 364 days ago | IN | 0 ETH | 0.00010939 | ||||
| Set Approval For... | 21825921 | 364 days ago | IN | 0 ETH | 0.00007418 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14387152 | 1429 days ago | 1.782 ETH | ||||
| - | 14386883 | 1429 days ago | 0.058 ETH | ||||
| - | 14386880 | 1429 days ago | 0.058 ETH | ||||
| - | 14386879 | 1429 days ago | 0.058 ETH | ||||
| - | 14386877 | 1429 days ago | 0.058 ETH | ||||
| - | 14386876 | 1429 days ago | 0.058 ETH | ||||
| - | 14386875 | 1429 days ago | 0.058 ETH | ||||
| - | 14386872 | 1429 days ago | 0.058 ETH | ||||
| - | 14386871 | 1429 days ago | 0.058 ETH | ||||
| - | 14386869 | 1429 days ago | 0.116 ETH | ||||
| - | 14386867 | 1429 days ago | 0.058 ETH | ||||
| - | 14386866 | 1429 days ago | 0.058 ETH | ||||
| - | 14386865 | 1429 days ago | 0.058 ETH | ||||
| - | 14386863 | 1429 days ago | 0.058 ETH | ||||
| - | 14386862 | 1429 days ago | 0.058 ETH | ||||
| - | 14386861 | 1429 days ago | 0.058 ETH | ||||
| - | 14386859 | 1429 days ago | 0.058 ETH | ||||
| - | 14386858 | 1429 days ago | 0.058 ETH | ||||
| - | 14386857 | 1429 days ago | 0.058 ETH | ||||
| - | 14386853 | 1429 days ago | 0.058 ETH | ||||
| - | 14386850 | 1429 days ago | 0.058 ETH | ||||
| - | 14386842 | 1429 days ago | 0.058 ETH | ||||
| - | 14386841 | 1429 days ago | 0.058 ETH | ||||
| - | 14386840 | 1429 days ago | 0.058 ETH | ||||
| - | 14386839 | 1429 days ago | 0.232 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PigskinApes
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
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/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract PigskinApes is ERC721, ERC721Enumerable, ERC721Burnable, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenIdCounter;
uint256 public maxTokenSupply;
uint256 public constant MAX_MINTS_PER_TXN = 15;
uint256 public mintPrice = 0.069 ether;
bool public saleIsActive = false;
bool public baycPreSaleIsActive = false;
bool public maycPreSaleIsActive = false;
string public baseURI;
string public provenance;
uint256 public startingIndexBlock;
uint256 public startingIndex;
uint256 public giveawayPool = 0;
address[8] private _shareholders;
uint[8] private _shares;
address private _manager;
uint256 public ethDepositedPerToken = 0;
IERC721 private _baycContractInstance;
IERC721 private _maycContractInstance;
// Mapping from token ID to the amount of claimed eth
mapping(uint256 => uint256) private _claimedEth;
event PaymentReleased(address to, uint256 amount);
event EthDepositedForGiveaways(uint256 amount);
event GiveawayDistributed(address to, uint256 amount);
event EthDeposited(uint256 amount);
event EthClaimed(address to, uint256 amount);
constructor(string memory name, string memory symbol, uint256 maxPigskinApeSupply) ERC721(name, symbol) {
maxTokenSupply = maxPigskinApeSupply;
_shareholders[0] = 0x744e2D8dEE01C0030a8bc127994C3e7DF7947bCb; // Mark
_shareholders[1] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure-Seeker
_shareholders[2] = 0xBaC76260da2763003f1d1D110DAfac140daA4644; // Jose
_shareholders[3] = 0xF2d499b0cDBF95B5eF7173cE0CD862b3Dc800251; // Performance Bonus Pool
_shareholders[4] = 0x4D842f973158E70a6A54e0b0FBF752A70aF14FbD; // Toni
_shareholders[5] = 0x67b573b40b563CC5bD7eEEa0feF9ed92d4968f84; // Brantin
_shareholders[6] = 0x6A6552d90a15c075CbB6a08687707c367dea51c8; // Project Dev Wallet
_shareholders[7] = 0x32be1dAD006285f95ED456Ff111D738Bd146cC61; // Community Wagers Wallet
_shares[0] = 2300;
_shares[1] = 2200;
_shares[2] = 1700;
_shares[3] = 1200;
_shares[4] = 1000;
_shares[5] = 700;
_shares[6] = 500;
_shares[7] = 400;
_baycContractInstance = IERC721(address(0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D));
_maycContractInstance = IERC721(address(0x60E4d786628Fea6478F785A6d7e704777c86a7c6));
}
function setBaycMaycContractAddresses(address baycContractAddress, address maycContractAddress) public onlyOwner {
_baycContractInstance = IERC721(baycContractAddress);
_maycContractInstance = IERC721(maycContractAddress);
}
function setMaxTokenSupply(uint256 maxPigskinApeSupply) public onlyOwner {
maxTokenSupply = maxPigskinApeSupply;
}
function setMintPrice(uint256 newPrice) public onlyOwner {
mintPrice = newPrice;
}
/*
* Distribute giveaways to token ID holders from the giveaway pool. There are 3 giveaway types:
* 1. For specific token ID holders (this function). Direct distribution.
* 2. For specific addresses (withdrawForGiveaway). Direct distribution.
* 3. Giveaways to be distributed equally among all holders (deposit/claim functions). Require holders to claim them.
*/
function distributeGiveaways(uint256 amount, uint256[] calldata tokenIds) public onlyOwner {
require(giveawayPool >= amount * tokenIds.length, "Insufficient giveaway pool for distribution");
for(uint256 i = 0; i < tokenIds.length; i++) {
address owner = ownerOf(tokenIds[i]);
Address.sendValue(payable(owner), amount);
emit GiveawayDistributed(owner, amount);
}
giveawayPool -= amount * tokenIds.length;
}
/*
* Distribute giveaways to specific addresses. These are not distributed from the pool, just the contract balance.
*/
function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner {
Address.sendValue(to, amount);
emit PaymentReleased(to, amount);
}
function withdraw(uint256 amount) public onlyOwner {
require(address(this).balance >= amount, "Insufficient balance");
uint256 totalShares = 10000;
for (uint256 i = 0; i < 8; i++) {
uint256 payment = amount * _shares[i] / totalShares;
Address.sendValue(payable(_shareholders[i]), payment);
emit PaymentReleased(_shareholders[i], payment);
}
}
/*
* Mint reserved NFTs for giveaways, devs, etc.
*/
function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {
uint256 supply = _tokenIdCounter.current();
for (uint256 i = 1; i <= reservedAmount; i++) {
_safeMint(mintAddress, supply + i);
_tokenIdCounter.increment();
}
}
/*
* Pause sale if active, make active if paused.
*/
function flipSaleState() public onlyOwner {
saleIsActive = !saleIsActive;
}
/*
* Pause pre-sale if active, make active if paused.
*/
function flipBaycPreSaleState() public onlyOwner {
baycPreSaleIsActive = !baycPreSaleIsActive;
}
/*
* Pause pre-sale if active, make active if paused.
*/
function flipMaycPreSaleState() public onlyOwner {
maycPreSaleIsActive = !maycPreSaleIsActive;
}
/*
* Mint Pigskin Ape NFTs, woot!
*/
function adoptApes(uint256 numberOfTokens) public payable {
require(saleIsActive || (baycPreSaleIsActive && _baycContractInstance.balanceOf(msg.sender) > 0) || (maycPreSaleIsActive && _maycContractInstance.balanceOf(msg.sender) > 0), "Sale is not active or your address doesn't own a BAYC/MAYC");
require(totalSupply() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available pigskin apes");
require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct");
require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can only adopt 15 pigskin apes at a time");
for(uint256 i = 0; i < numberOfTokens; i++) {
uint256 mintIndex = _tokenIdCounter.current() + 1;
if (mintIndex <= maxTokenSupply) {
_tokenIdCounter.increment();
_safeMint(msg.sender, mintIndex);
}
}
// If we haven't set the starting index, set the starting index block.
if (startingIndexBlock == 0) {
startingIndexBlock = block.number;
}
}
/*
* Set the manager address for deposits.
*/
function setManager(address manager) public onlyOwner {
_manager = manager;
}
/**
* @dev Throws if called by any account other than the owner or manager.
*/
modifier onlyOwnerOrManager() {
require(owner() == _msgSender() || _manager == _msgSender(), "Caller is not the owner or manager");
_;
}
/*
* Deposit eth for token ID holder giveaways.
*/
function depositForGiveaways() public payable onlyOwnerOrManager {
giveawayPool += msg.value;
emit EthDepositedForGiveaways(msg.value);
}
/*
* Deposit eth for distribution to token owners. These are supposed to be equally distributed among holders.
*/
function deposit() public payable onlyOwnerOrManager {
ethDepositedPerToken += msg.value / totalSupply();
emit EthDeposited(msg.value);
}
/*
* Get the claimable balance of a token ID.
*/
function claimableBalanceOfTokenId(uint256 tokenId) public view returns (uint256) {
return ethDepositedPerToken - _claimedEth[tokenId];
}
/*
* Get the total claimable balance for an owner.
*/
function claimableBalance(address owner) public view returns (uint256) {
uint256 balance = 0;
uint256 numTokens = balanceOf(owner);
for(uint256 i = 0; i < numTokens; i++) {
balance += claimableBalanceOfTokenId(tokenOfOwnerByIndex(owner, i));
}
return balance;
}
function claim() public {
uint256 amount = 0;
uint256 numTokens = balanceOf(msg.sender);
for(uint256 i = 0; i < numTokens; i++) {
uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i);
amount += ethDepositedPerToken - _claimedEth[tokenId];
// Add the claimed amount so as to protect against re-entrancy attacks.
_claimedEth[tokenId] = ethDepositedPerToken;
}
require(amount > 0, "There is no amount left to claim");
emit EthClaimed(msg.sender, amount);
// We must transfer at the very end to protect against re-entrancy.
Address.sendValue(payable(msg.sender), amount);
}
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
function setBaseURI(string memory newBaseURI) public onlyOwner {
baseURI = newBaseURI;
}
/**
* Set the starting index for the collection.
*/
function setStartingIndex() public onlyOwner {
require(startingIndex == 0, "Starting index is already set");
require(startingIndexBlock != 0, "Starting index block must be set");
startingIndex = uint(blockhash(startingIndexBlock)) % maxTokenSupply;
// Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes).
if (block.number - startingIndexBlock > 255) {
startingIndex = uint(blockhash(block.number - 1)) % maxTokenSupply;
}
// Prevent default sequence.
if (startingIndex == 0) {
startingIndex = 1;
}
}
/*
* Set provenance once it's calculated.
*/
function setProvenanceHash(string memory provenanceHash) public onlyOwner {
provenance = provenanceHash;
}
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;
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 () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), 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 {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
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` 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 { }
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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
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
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
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");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. 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;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "byzantium",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"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"},{"internalType":"uint256","name":"maxPigskinApeSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthDepositedForGiveaways","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GiveawayDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"adoptApes","outputs":[],"stateMutability":"payable","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baycPreSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"claimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimableBalanceOfTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"depositForGiveaways","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"distributeGiveaways","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethDepositedPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipBaycPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMaycPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":"giveawayPool","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":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maycPreSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"baycContractAddress","type":"address"},{"internalType":"address","name":"maycContractAddress","type":"address"}],"name":"setBaycMaycContractAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPigskinApeSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405266f5232269808000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff021916908315150217905550600060135560006025553480156200007757600080fd5b50604051620069563803806200695683398181016040528101906200009d9190620007f4565b82828160009080519060200190620000b7929190620006af565b508060019080519060200190620000d0929190620006af565b5050506000620000ee620006a7640100000000026401000000009004565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600c8190555073744e2d8dee01c0030a8bc127994c3e7df7947bcb6014600060088110620001c157620001c0620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360146001600881106200022d576200022c620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bac76260da2763003f1d1d110dafac140daa46446014600260088110620002995762000298620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f2d499b0cdbf95b5ef7173ce0cd862b3dc8002516014600360088110620003055762000304620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734d842f973158e70a6a54e0b0fbf752a70af14fbd6014600460088110620003715762000370620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507367b573b40b563cc5bd7eeea0fef9ed92d4968f846014600560088110620003dd57620003dc620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550736a6552d90a15c075cbb6a08687707c367dea51c86014600660088110620004495762000448620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507332be1dad006285f95ed456ff111d738bd146cc616014600760088110620004b557620004b4620009c8565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506108fc601c6000600881106200050f576200050e620009c8565b5b0181905550610898601c6001600881106200052f576200052e620009c8565b5b01819055506106a4601c6002600881106200054f576200054e620009c8565b5b01819055506104b0601c6003600881106200056f576200056e620009c8565b5b01819055506103e8601c6004600881106200058f576200058e620009c8565b5b01819055506102bc601c600560088110620005af57620005ae620009c8565b5b01819055506101f4601c600660088110620005cf57620005ce620009c8565b5b0181905550610190601c600760088110620005ef57620005ee620009c8565b5b018190555073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d602660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507360e4d786628fea6478f785a6d7e704777c86a7c6602760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000a65565b600033905090565b828054620006bd906200092d565b90600052602060002090601f016020900481019282620006e157600085556200072d565b82601f10620006fc57805160ff19168380011785556200072d565b828001600101855582156200072d579182015b828111156200072c5782518255916020019190600101906200070f565b5b5090506200073c919062000740565b5090565b5b808211156200075b57600081600090555060010162000741565b5090565b6000620007766200077084620008b7565b6200088e565b90508281526020810184848401111562000795576200079462000a2b565b5b620007a2848285620008f7565b509392505050565b600082601f830112620007c257620007c162000a26565b5b8151620007d48482602086016200075f565b91505092915050565b600081519050620007ee8162000a4b565b92915050565b60008060006060848603121562000810576200080f62000a35565b5b600084015167ffffffffffffffff81111562000831576200083062000a30565b5b6200083f86828701620007aa565b935050602084015167ffffffffffffffff81111562000863576200086262000a30565b5b6200087186828701620007aa565b92505060406200088486828701620007dd565b9150509250925092565b60006200089a620008ad565b9050620008a8828262000963565b919050565b6000604051905090565b600067ffffffffffffffff821115620008d557620008d4620009f7565b5b620008e08262000a3a565b9050602081019050919050565b6000819050919050565b60005b8381101562000917578082015181840152602081019050620008fa565b8381111562000927576000848401525b50505050565b600060028204905060018216806200094657607f821691505b602082108114156200095d576200095c62000999565b5b50919050565b6200096e8262000a3a565b810181811067ffffffffffffffff8211171562000990576200098f620009f7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000a5681620008ed565b811462000a6257600080fd5b50565b615ee18062000a756000396000f3fe60806040526004361061031c576000357c0100000000000000000000000000000000000000000000000000000000900480636817c76c116101ad578063d0e30db0116100f9578063e93bdaa3116100b2578063eb8d24441161008c578063eb8d244414610b1f578063ebf7074514610b4a578063f2fde38b14610b54578063f4a0a52814610b7d5761031c565b8063e93bdaa314610aa0578063e985e9c514610acb578063e986655014610b085761031c565b8063d0e30db0146109b1578063d0ebdbe7146109bb578063dbf39169146109e4578063dfe93fa314610a0d578063e0fbb86214610a38578063e36d649814610a755761031c565b80639e0a397e11610166578063b88d4fde11610140578063b88d4fde146108f5578063b8e2122e1461091e578063c87b56dd14610949578063cb774d47146109865761031c565b80639e0a397e14610887578063a22cb465146108a3578063b07ed982146108cc5761031c565b80636817c76c146107875780636c0360eb146107b257806370a08231146107dd578063715018a61461081a5780638da5cb5b1461083157806395d89b411461085c5761031c565b806342842e0e1161026c57806355aa37ad1161022557806360b02f70116101ff57806360b02f70146106bb57806360f3309b146106e45780636352211e146107215780636445138a1461075e5761031c565b806355aa37ad1461065057806355f804b31461067b5780635def376c146106a45761031c565b806342842e0e1461055657806342966c681461057f5780634d7313a4146105a85780634e71d92d146105d15780634f6ccce7146105e857806350f7c204146106255761031c565b806318160ddd116102d95780632d83af70116102b35780632d83af70146104c25780632e1a7d4d146104d95780632f745c591461050257806334918dfd1461053f5761031c565b806318160ddd1461044357806323b872dd1461046e57806328565fa0146104975761031c565b806301ffc9a71461032157806306fdde031461035e578063081812fc14610389578063095ea7b3146103c65780630f7309e8146103ef578063109695231461041a575b600080fd5b34801561032d57600080fd5b50610348600480360381019061034391906144cc565b610ba6565b6040516103559190614cda565b60405180910390f35b34801561036a57600080fd5b50610373610bb8565b6040516103809190614cf5565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061456f565b610c4a565b6040516103bd9190614c21565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e8919061448c565b610ccf565b005b3480156103fb57600080fd5b50610404610de7565b6040516104119190614cf5565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190614526565b610e75565b005b34801561044f57600080fd5b50610458610f0b565b60405161046591906150f7565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190614376565b610f18565b005b3480156104a357600080fd5b506104ac610f78565b6040516104b991906150f7565b60405180910390f35b3480156104ce57600080fd5b506104d7610f7e565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061456f565b611026565b005b34801561050e57600080fd5b506105296004803603810190610524919061448c565b611205565b60405161053691906150f7565b60405180910390f35b34801561054b57600080fd5b506105546112aa565b005b34801561056257600080fd5b5061057d60048036038101906105789190614376565b611352565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061456f565b611372565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190614609565b6113ce565b005b3480156105dd57600080fd5b506105e6611491565b005b3480156105f457600080fd5b5061060f600480360381019061060a919061456f565b61159f565b60405161061c91906150f7565b60405180910390f35b34801561063157600080fd5b5061063a611610565b60405161064791906150f7565b60405180910390f35b34801561065c57600080fd5b50610665611616565b6040516106729190614cda565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190614526565b611629565b005b3480156106b057600080fd5b506106b96116bf565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906145c9565b611767565b005b3480156106f057600080fd5b5061070b60048036038101906107069190614309565b611837565b60405161071891906150f7565b60405180910390f35b34801561072d57600080fd5b506107486004803603810190610743919061456f565b611893565b6040516107559190614c21565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190614336565b611945565b005b34801561079357600080fd5b5061079c611a47565b6040516107a991906150f7565b60405180910390f35b3480156107be57600080fd5b506107c7611a4d565b6040516107d49190614cf5565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190614309565b611adb565b60405161081191906150f7565b60405180910390f35b34801561082657600080fd5b5061082f611b93565b005b34801561083d57600080fd5b50610846611cd0565b6040516108539190614c21565b60405180910390f35b34801561086857600080fd5b50610871611cfa565b60405161087e9190614cf5565b60405180910390f35b6108a1600480360381019061089c919061456f565b611d8c565b005b3480156108af57600080fd5b506108ca60048036038101906108c5919061444c565b612106565b005b3480156108d857600080fd5b506108f360048036038101906108ee919061456f565b612287565b005b34801561090157600080fd5b5061091c600480360381019061091791906143c9565b61230d565b005b34801561092a57600080fd5b5061093361236f565b6040516109409190614cda565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b919061456f565b612382565b60405161097d9190614cf5565b60405180910390f35b34801561099257600080fd5b5061099b612429565b6040516109a891906150f7565b60405180910390f35b6109b961242f565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190614309565b61256e565b005b3480156109f057600080fd5b50610a0b6004803603810190610a069190614649565b61262e565b005b348015610a1957600080fd5b50610a226127b5565b604051610a2f91906150f7565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a919061456f565b6127ba565b604051610a6c91906150f7565b60405180910390f35b348015610a8157600080fd5b50610a8a6127e4565b604051610a9791906150f7565b60405180910390f35b348015610aac57600080fd5b50610ab56127ea565b604051610ac291906150f7565b60405180910390f35b348015610ad757600080fd5b50610af26004803603810190610aed9190614336565b6127f0565b604051610aff9190614cda565b60405180910390f35b348015610b1457600080fd5b50610b1d612884565b005b348015610b2b57600080fd5b50610b346129f8565b604051610b419190614cda565b60405180910390f35b610b52612a0b565b005b348015610b6057600080fd5b50610b7b6004803603810190610b769190614309565b612b38565b005b348015610b8957600080fd5b50610ba46004803603810190610b9f919061456f565b612ce4565b005b6000610bb182612d6a565b9050919050565b606060008054610bc7906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf3906153fa565b8015610c405780601f10610c1557610100808354040283529160200191610c40565b820191906000526020600020905b815481529060010190602001808311610c2357829003601f168201915b5050505050905090565b6000610c5582612de4565b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614f77565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cda82611893565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4290615017565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d6a612e50565b73ffffffffffffffffffffffffffffffffffffffff161480610d995750610d9881610d93612e50565b6127f0565b5b610dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcf90614ef7565b60405180910390fd5b610de28383612e58565b505050565b60108054610df4906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610e20906153fa565b8015610e6d5780601f10610e4257610100808354040283529160200191610e6d565b820191906000526020600020905b815481529060010190602001808311610e5057829003601f168201915b505050505081565b610e7d612e50565b73ffffffffffffffffffffffffffffffffffffffff16610e9b611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890614f97565b60405180910390fd5b8060109080519060200190610f0792919061409d565b5050565b6000600880549050905090565b610f29610f23612e50565b82612f11565b610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f90615057565b60405180910390fd5b610f73838383612fef565b505050565b60135481565b610f86612e50565b73ffffffffffffffffffffffffffffffffffffffff16610fa4611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190614f97565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b61102e612e50565b73ffffffffffffffffffffffffffffffffffffffff1661104c611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990614f97565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff163110156110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614df7565b60405180910390fd5b6000612710905060005b600881101561120057600082601c836008811061112657611125615593565b5b015485611133919061526e565b61113d919061523d565b905061117e6014836008811061115657611155615593565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261324b565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601483600881106111b3576111b2615593565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111e4929190614cb1565b60405180910390a15080806111f89061545d565b915050611106565b505050565b600061121083611adb565b8210611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890614d17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6112b2612e50565b73ffffffffffffffffffffffffffffffffffffffff166112d0611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d90614f97565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61136d8383836040518060200160405280600081525061230d565b505050565b61138361137d612e50565b82612f11565b6113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b9906150d7565b60405180910390fd5b6113cb81613356565b50565b6113d6612e50565b73ffffffffffffffffffffffffffffffffffffffff166113f4611cd0565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190614f97565b60405180910390fd5b611454818361324b565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051611485929190614c3c565b60405180910390a15050565b60008061149d33611adb565b905060005b818110156115145760006114b63383611205565b905060286000828152602001908152602001600020546025546114d991906152c8565b846114e491906151e7565b9350602554602860008381526020019081526020016000208190555050808061150c9061545d565b9150506114a2565b5060008211611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f90614ff7565b60405180910390fd5b7f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c93383604051611589929190614cb1565b60405180910390a161159b338361324b565b5050565b60006115a9610f0b565b82106115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190615077565b60405180910390fd5b600882815481106115fe576115fd615593565b5b90600052602060002001549050919050565b600c5481565b600e60029054906101000a900460ff1681565b611631612e50565b73ffffffffffffffffffffffffffffffffffffffff1661164f611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90614f97565b60405180910390fd5b80600f90805190602001906116bb92919061409d565b5050565b6116c7612e50565b73ffffffffffffffffffffffffffffffffffffffff166116e5611cd0565b73ffffffffffffffffffffffffffffffffffffffff161461173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290614f97565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b61176f612e50565b73ffffffffffffffffffffffffffffffffffffffff1661178d611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614f97565b60405180910390fd5b60006117ef600b613467565b90506000600190505b8381116118315761181483828461180f91906151e7565b613475565b61181e600b613493565b80806118299061545d565b9150506117f8565b50505050565b60008060009050600061184984611adb565b905060005b81811015611888576118686118638683611205565b6127ba565b8361187391906151e7565b925080806118809061545d565b91505061184e565b508192505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193390614f37565b60405180910390fd5b80915050919050565b61194d612e50565b73ffffffffffffffffffffffffffffffffffffffff1661196b611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146119c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b890614f97565b60405180910390fd5b81602660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080602760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600d5481565b600f8054611a5a906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611a86906153fa565b8015611ad35780601f10611aa857610100808354040283529160200191611ad3565b820191906000526020600020905b815481529060010190602001808311611ab657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614f17565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9b612e50565b73ffffffffffffffffffffffffffffffffffffffff16611bb9611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614611c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0690614f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d09906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611d35906153fa565b8015611d825780601f10611d5757610100808354040283529160200191611d82565b820191906000526020600020905b815481529060010190602001808311611d6557829003601f168201915b5050505050905090565b600e60009054906101000a900460ff1680611e855750600e60019054906101000a900460ff168015611e8457506000602660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611e329190614c21565b60206040518083038186803b158015611e4a57600080fd5b505afa158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e82919061459c565b115b5b80611f6e5750600e60029054906101000a900460ff168015611f6d57506000602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611f1b9190614c21565b60206040518083038186803b158015611f3357600080fd5b505afa158015611f47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6b919061459c565b115b5b611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa4906150b7565b60405180910390fd5b600c5481611fb9610f0b565b611fc391906151e7565b1115612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb90615097565b60405180910390fd5b3481600d54612013919061526e565b1115612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614e37565b60405180910390fd5b600f811115612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90614eb7565b60405180910390fd5b60005b818110156120ef57600060016120b1600b613467565b6120bb91906151e7565b9050600c5481116120db576120d0600b613493565b6120da3382613475565b5b5080806120e79061545d565b91505061209b565b506000601154141561210357436011819055505b50565b61210e612e50565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561217c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217390614dd7565b60405180910390fd5b8060056000612189612e50565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612236612e50565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227b9190614cda565b60405180910390a35050565b61228f612e50565b73ffffffffffffffffffffffffffffffffffffffff166122ad611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa90614f97565b60405180910390fd5b80600c8190555050565b61231e612318612e50565b83612f11565b61235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490615057565b60405180910390fd5b612369848484846134a9565b50505050565b600e60019054906101000a900460ff1681565b606061238d82612de4565b6123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390614fd7565b60405180910390fd5b60006123d6613505565b905060008151116123f65760405180602001604052806000815250612421565b8061240084613597565b604051602001612411929190614be8565b6040516020818303038152906040525b915050919050565b60125481565b612437612e50565b73ffffffffffffffffffffffffffffffffffffffff16612455611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614806124cb575061247a612e50565b73ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190614e17565b60405180910390fd5b612512610f0b565b3461251d919061523d565b6025600082825461252e91906151e7565b925050819055507f44863bc9b335caf97ca3a3ab6fb67776965a88292ed53b0679f8eae4a67b630c3460405161256491906150f7565b60405180910390a1565b612576612e50565b73ffffffffffffffffffffffffffffffffffffffff16612594611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146125ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e190614f97565b60405180910390fd5b80602460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612636612e50565b73ffffffffffffffffffffffffffffffffffffffff16612654611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146126aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a190614f97565b60405180910390fd5b81819050836126b9919061526e565b60135410156126fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f490614d77565b60405180910390fd5b60005b8282905081101561278857600061272f84848481811061272357612722615593565b5b90506020020135611893565b905061273b818661324b565b7fa2f64fbb55c427c0bc1fcedda3d5334d3bd370e7fa4d82855e9983ac338ba8a2818660405161276c929190614cb1565b60405180910390a15080806127809061545d565b915050612700565b508181905083612798919061526e565b601360008282546127a991906152c8565b92505081905550505050565b600f81565b600060286000838152602001908152602001600020546025546127dd91906152c8565b9050919050565b60115481565b60255481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61288c612e50565b73ffffffffffffffffffffffffffffffffffffffff166128aa611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614f97565b60405180910390fd5b600060125414612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c90614ed7565b60405180910390fd5b6000601154141561298b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298290615037565b60405180910390fd5b600c5460115440600190046129a091906154a6565b60128190555060ff601154436129b691906152c8565b11156129e257600c546001436129cc91906152c8565b40600190046129db91906154a6565b6012819055505b600060125414156129f65760016012819055505b565b600e60009054906101000a900460ff1681565b612a13612e50565b73ffffffffffffffffffffffffffffffffffffffff16612a31611cd0565b73ffffffffffffffffffffffffffffffffffffffff161480612aa75750612a56612e50565b73ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add90614e17565b60405180910390fd5b3460136000828254612af891906151e7565b925050819055507f74922bf31de94632f536e144c79f7f51753f0e8b477dc9c622770d3d03c1a36234604051612b2e91906150f7565b60405180910390a1565b612b40612e50565b73ffffffffffffffffffffffffffffffffffffffff16612b5e611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90614f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90614d57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612cec612e50565b73ffffffffffffffffffffffffffffffffffffffff16612d0a611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5790614f97565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ddd5750612ddc82613717565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ecb83611893565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612f1c82612de4565b612f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5290614e97565b60405180910390fd5b6000612f6683611893565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fd557508373ffffffffffffffffffffffffffffffffffffffff16612fbd84610c4a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612fe65750612fe581856127f0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661300f82611893565b73ffffffffffffffffffffffffffffffffffffffff1614613065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305c90614fb7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cc90614db7565b60405180910390fd5b6130e08383836137f9565b6130eb600082612e58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461313b91906152c8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461319291906151e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff163110156132a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329c90614e77565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516132cb90614c0c565b60006040518083038185875af1925050503d8060008114613308576040519150601f19603f3d011682016040523d82523d6000602084013e61330d565b606091505b5050905080613351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334890614e57565b60405180910390fd5b505050565b600061336182611893565b905061336f816000846137f9565b61337a600083612e58565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ca91906152c8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b61348f828260405180602001604052806000815250613809565b5050565b6001816000016000828254019250508190555050565b6134b4848484612fef565b6134c084848484613864565b6134ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f690614d37565b60405180910390fd5b50505050565b6060600f8054613514906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054613540906153fa565b801561358d5780601f106135625761010080835404028352916020019161358d565b820191906000526020600020905b81548152906001019060200180831161357057829003601f168201915b5050505050905090565b606060008214156135df576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613712565b600082905060005b600082146136115780806135fa9061545d565b915050600a8261360a919061523d565b91506135e7565b60008167ffffffffffffffff81111561362d5761362c6155c2565b5b6040519080825280601f01601f19166020018201604052801561365f5781602001600182028036833780820191505090505b5090505b6000851461370b5760018261367891906152c8565b9150600a8561368791906154a6565b603061369391906151e7565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106136c8576136c7615593565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613704919061523d565b9450613663565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137f257506137f182613a33565b5b9050919050565b613804838383613a9d565b505050565b6138138383613bb1565b6138206000848484613864565b61385f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385690614d37565b60405180910390fd5b505050565b60006138858473ffffffffffffffffffffffffffffffffffffffff16613d7f565b15613a26578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138ae612e50565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016138ec9493929190614c65565b602060405180830381600087803b15801561390657600080fd5b505af192505050801561393757506040513d601f19601f8201168201806040525081019061393491906144f9565b60015b6139ba573d8060008114613967576040519150601f19603f3d011682016040523d82523d6000602084013e61396c565b606091505b506000815114156139b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a990614d37565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a2b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613aa8838383613d92565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613aeb57613ae681613d97565b613b2a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b2957613b288382613de0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b6d57613b6881613f4d565b613bac565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613bab57613baa828261401e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c1890614f57565b60405180910390fd5b613c2a81612de4565b15613c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c6190614d97565b60405180910390fd5b613c76600083836137f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cc691906151e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ded84611adb565b613df791906152c8565b9050600060076000848152602001908152602001600020549050818114613edc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f6191906152c8565b9050600060096000848152602001908152602001600020549050600060088381548110613f9157613f90615593565b5b906000526020600020015490508060088381548110613fb357613fb2615593565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061400257614001615564565b5b6001900381819060005260206000200160009055905550505050565b600061402983611adb565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546140a9906153fa565b90600052602060002090601f0160209004810192826140cb5760008555614112565b82601f106140e457805160ff1916838001178555614112565b82800160010185558215614112579182015b828111156141115782518255916020019190600101906140f6565b5b50905061411f9190614123565b5090565b5b8082111561413c576000816000905550600101614124565b5090565b600061415361414e84615137565b615112565b90508281526020810184848401111561416f5761416e615600565b5b61417a8482856153b8565b509392505050565b600061419561419084615168565b615112565b9050828152602081018484840111156141b1576141b0615600565b5b6141bc8482856153b8565b509392505050565b6000813590506141d381615e38565b92915050565b6000813590506141e881615e4f565b92915050565b60008083601f840112614204576142036155f6565b5b8235905067ffffffffffffffff811115614221576142206155f1565b5b60208301915083602082028301111561423d5761423c6155fb565b5b9250929050565b60008135905061425381615e66565b92915050565b60008135905061426881615e7d565b92915050565b60008151905061427d81615e7d565b92915050565b600082601f830112614298576142976155f6565b5b81356142a8848260208601614140565b91505092915050565b600082601f8301126142c6576142c56155f6565b5b81356142d6848260208601614182565b91505092915050565b6000813590506142ee81615e94565b92915050565b60008151905061430381615e94565b92915050565b60006020828403121561431f5761431e61560a565b5b600061432d848285016141c4565b91505092915050565b6000806040838503121561434d5761434c61560a565b5b600061435b858286016141c4565b925050602061436c858286016141c4565b9150509250929050565b60008060006060848603121561438f5761438e61560a565b5b600061439d868287016141c4565b93505060206143ae868287016141c4565b92505060406143bf868287016142df565b9150509250925092565b600080600080608085870312156143e3576143e261560a565b5b60006143f1878288016141c4565b9450506020614402878288016141c4565b9350506040614413878288016142df565b925050606085013567ffffffffffffffff81111561443457614433615605565b5b61444087828801614283565b91505092959194509250565b600080604083850312156144635761446261560a565b5b6000614471858286016141c4565b925050602061448285828601614244565b9150509250929050565b600080604083850312156144a3576144a261560a565b5b60006144b1858286016141c4565b92505060206144c2858286016142df565b9150509250929050565b6000602082840312156144e2576144e161560a565b5b60006144f084828501614259565b91505092915050565b60006020828403121561450f5761450e61560a565b5b600061451d8482850161426e565b91505092915050565b60006020828403121561453c5761453b61560a565b5b600082013567ffffffffffffffff81111561455a57614559615605565b5b614566848285016142b1565b91505092915050565b6000602082840312156145855761458461560a565b5b6000614593848285016142df565b91505092915050565b6000602082840312156145b2576145b161560a565b5b60006145c0848285016142f4565b91505092915050565b600080604083850312156145e0576145df61560a565b5b60006145ee858286016142df565b92505060206145ff858286016141c4565b9150509250929050565b600080604083850312156146205761461f61560a565b5b600061462e858286016142df565b925050602061463f858286016141d9565b9150509250929050565b6000806000604084860312156146625761466161560a565b5b6000614670868287016142df565b935050602084013567ffffffffffffffff81111561469157614690615605565b5b61469d868287016141ee565b92509250509250925092565b6146b281615382565b82525050565b6146c1816152fc565b82525050565b6146d081615320565b82525050565b60006146e182615199565b6146eb81856151af565b93506146fb8185602086016153c7565b6147048161560f565b840191505092915050565b600061471a826151a4565b61472481856151cb565b93506147348185602086016153c7565b61473d8161560f565b840191505092915050565b6000614753826151a4565b61475d81856151dc565b935061476d8185602086016153c7565b80840191505092915050565b6000614786602b836151cb565b915061479182615620565b604082019050919050565b60006147a96032836151cb565b91506147b48261566f565b604082019050919050565b60006147cc6026836151cb565b91506147d7826156be565b604082019050919050565b60006147ef602b836151cb565b91506147fa8261570d565b604082019050919050565b6000614812601c836151cb565b915061481d8261575c565b602082019050919050565b60006148356024836151cb565b915061484082615785565b604082019050919050565b60006148586019836151cb565b9150614863826157d4565b602082019050919050565b600061487b6014836151cb565b9150614886826157fd565b602082019050919050565b600061489e6022836151cb565b91506148a982615826565b604082019050919050565b60006148c1601f836151cb565b91506148cc82615875565b602082019050919050565b60006148e4603a836151cb565b91506148ef8261589e565b604082019050919050565b6000614907601d836151cb565b9150614912826158ed565b602082019050919050565b600061492a602c836151cb565b915061493582615916565b604082019050919050565b600061494d602c836151cb565b915061495882615965565b604082019050919050565b6000614970601d836151cb565b915061497b826159b4565b602082019050919050565b60006149936038836151cb565b915061499e826159dd565b604082019050919050565b60006149b6602a836151cb565b91506149c182615a2c565b604082019050919050565b60006149d96029836151cb565b91506149e482615a7b565b604082019050919050565b60006149fc6020836151cb565b9150614a0782615aca565b602082019050919050565b6000614a1f602c836151cb565b9150614a2a82615af3565b604082019050919050565b6000614a426020836151cb565b9150614a4d82615b42565b602082019050919050565b6000614a656029836151cb565b9150614a7082615b6b565b604082019050919050565b6000614a88602f836151cb565b9150614a9382615bba565b604082019050919050565b6000614aab6020836151cb565b9150614ab682615c09565b602082019050919050565b6000614ace6021836151cb565b9150614ad982615c32565b604082019050919050565b6000614af16020836151cb565b9150614afc82615c81565b602082019050919050565b6000614b146000836151c0565b9150614b1f82615caa565b600082019050919050565b6000614b376031836151cb565b9150614b4282615cad565b604082019050919050565b6000614b5a602c836151cb565b9150614b6582615cfc565b604082019050919050565b6000614b7d6030836151cb565b9150614b8882615d4b565b604082019050919050565b6000614ba0603a836151cb565b9150614bab82615d9a565b604082019050919050565b6000614bc36030836151cb565b9150614bce82615de9565b604082019050919050565b614be281615378565b82525050565b6000614bf48285614748565b9150614c008284614748565b91508190509392505050565b6000614c1782614b07565b9150819050919050565b6000602082019050614c3660008301846146b8565b92915050565b6000604082019050614c5160008301856146a9565b614c5e6020830184614bd9565b9392505050565b6000608082019050614c7a60008301876146b8565b614c8760208301866146b8565b614c946040830185614bd9565b8181036060830152614ca681846146d6565b905095945050505050565b6000604082019050614cc660008301856146b8565b614cd36020830184614bd9565b9392505050565b6000602082019050614cef60008301846146c7565b92915050565b60006020820190508181036000830152614d0f818461470f565b905092915050565b60006020820190508181036000830152614d3081614779565b9050919050565b60006020820190508181036000830152614d508161479c565b9050919050565b60006020820190508181036000830152614d70816147bf565b9050919050565b60006020820190508181036000830152614d90816147e2565b9050919050565b60006020820190508181036000830152614db081614805565b9050919050565b60006020820190508181036000830152614dd081614828565b9050919050565b60006020820190508181036000830152614df08161484b565b9050919050565b60006020820190508181036000830152614e108161486e565b9050919050565b60006020820190508181036000830152614e3081614891565b9050919050565b60006020820190508181036000830152614e50816148b4565b9050919050565b60006020820190508181036000830152614e70816148d7565b9050919050565b60006020820190508181036000830152614e90816148fa565b9050919050565b60006020820190508181036000830152614eb08161491d565b9050919050565b60006020820190508181036000830152614ed081614940565b9050919050565b60006020820190508181036000830152614ef081614963565b9050919050565b60006020820190508181036000830152614f1081614986565b9050919050565b60006020820190508181036000830152614f30816149a9565b9050919050565b60006020820190508181036000830152614f50816149cc565b9050919050565b60006020820190508181036000830152614f70816149ef565b9050919050565b60006020820190508181036000830152614f9081614a12565b9050919050565b60006020820190508181036000830152614fb081614a35565b9050919050565b60006020820190508181036000830152614fd081614a58565b9050919050565b60006020820190508181036000830152614ff081614a7b565b9050919050565b6000602082019050818103600083015261501081614a9e565b9050919050565b6000602082019050818103600083015261503081614ac1565b9050919050565b6000602082019050818103600083015261505081614ae4565b9050919050565b6000602082019050818103600083015261507081614b2a565b9050919050565b6000602082019050818103600083015261509081614b4d565b9050919050565b600060208201905081810360008301526150b081614b70565b9050919050565b600060208201905081810360008301526150d081614b93565b9050919050565b600060208201905081810360008301526150f081614bb6565b9050919050565b600060208201905061510c6000830184614bd9565b92915050565b600061511c61512d565b9050615128828261542c565b919050565b6000604051905090565b600067ffffffffffffffff821115615152576151516155c2565b5b61515b8261560f565b9050602081019050919050565b600067ffffffffffffffff821115615183576151826155c2565b5b61518c8261560f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006151f282615378565b91506151fd83615378565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615232576152316154d7565b5b828201905092915050565b600061524882615378565b915061525383615378565b92508261526357615262615506565b5b828204905092915050565b600061527982615378565b915061528483615378565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152bd576152bc6154d7565b5b828202905092915050565b60006152d382615378565b91506152de83615378565b9250828210156152f1576152f06154d7565b5b828203905092915050565b600061530782615358565b9050919050565b600061531982615358565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061538d82615394565b9050919050565b600061539f826153a6565b9050919050565b60006153b182615358565b9050919050565b82818337600083830152505050565b60005b838110156153e55780820151818401526020810190506153ca565b838111156153f4576000848401525b50505050565b6000600282049050600182168061541257607f821691505b6020821081141561542657615425615535565b5b50919050565b6154358261560f565b810181811067ffffffffffffffff82111715615454576154536155c2565b5b80604052505050565b600061546882615378565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561549b5761549a6154d7565b5b600182019050919050565b60006154b182615378565b91506154bc83615378565b9250826154cc576154cb615506565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420676976656177617920706f6f6c20666f72206460008201527f6973747269627574696f6e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c792061646f707420313520706967736b696e20617060008201527f657320617420612074696d650000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468657265206973206e6f20616d6f756e74206c65667420746f20636c61696d600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520706967736b696e206170657300000000000000000000000000000000602082015250565b7f53616c65206973206e6f7420616374697665206f7220796f757220616464726560008201527f737320646f65736e2774206f776e206120424159432f4d415943000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615e41816152fc565b8114615e4c57600080fd5b50565b615e588161530e565b8114615e6357600080fd5b50565b615e6f81615320565b8114615e7a57600080fd5b50565b615e868161532c565b8114615e9157600080fd5b50565b615e9d81615378565b8114615ea857600080fd5b5056fea2646970667358221220d4796abf8f9578d0e62fbcbfaf8880c97c12a11abc298e1a551cba8f5491028164736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000000b506967736b696e41706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000550534b494e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061031c576000357c0100000000000000000000000000000000000000000000000000000000900480636817c76c116101ad578063d0e30db0116100f9578063e93bdaa3116100b2578063eb8d24441161008c578063eb8d244414610b1f578063ebf7074514610b4a578063f2fde38b14610b54578063f4a0a52814610b7d5761031c565b8063e93bdaa314610aa0578063e985e9c514610acb578063e986655014610b085761031c565b8063d0e30db0146109b1578063d0ebdbe7146109bb578063dbf39169146109e4578063dfe93fa314610a0d578063e0fbb86214610a38578063e36d649814610a755761031c565b80639e0a397e11610166578063b88d4fde11610140578063b88d4fde146108f5578063b8e2122e1461091e578063c87b56dd14610949578063cb774d47146109865761031c565b80639e0a397e14610887578063a22cb465146108a3578063b07ed982146108cc5761031c565b80636817c76c146107875780636c0360eb146107b257806370a08231146107dd578063715018a61461081a5780638da5cb5b1461083157806395d89b411461085c5761031c565b806342842e0e1161026c57806355aa37ad1161022557806360b02f70116101ff57806360b02f70146106bb57806360f3309b146106e45780636352211e146107215780636445138a1461075e5761031c565b806355aa37ad1461065057806355f804b31461067b5780635def376c146106a45761031c565b806342842e0e1461055657806342966c681461057f5780634d7313a4146105a85780634e71d92d146105d15780634f6ccce7146105e857806350f7c204146106255761031c565b806318160ddd116102d95780632d83af70116102b35780632d83af70146104c25780632e1a7d4d146104d95780632f745c591461050257806334918dfd1461053f5761031c565b806318160ddd1461044357806323b872dd1461046e57806328565fa0146104975761031c565b806301ffc9a71461032157806306fdde031461035e578063081812fc14610389578063095ea7b3146103c65780630f7309e8146103ef578063109695231461041a575b600080fd5b34801561032d57600080fd5b50610348600480360381019061034391906144cc565b610ba6565b6040516103559190614cda565b60405180910390f35b34801561036a57600080fd5b50610373610bb8565b6040516103809190614cf5565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab919061456f565b610c4a565b6040516103bd9190614c21565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e8919061448c565b610ccf565b005b3480156103fb57600080fd5b50610404610de7565b6040516104119190614cf5565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190614526565b610e75565b005b34801561044f57600080fd5b50610458610f0b565b60405161046591906150f7565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190614376565b610f18565b005b3480156104a357600080fd5b506104ac610f78565b6040516104b991906150f7565b60405180910390f35b3480156104ce57600080fd5b506104d7610f7e565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061456f565b611026565b005b34801561050e57600080fd5b506105296004803603810190610524919061448c565b611205565b60405161053691906150f7565b60405180910390f35b34801561054b57600080fd5b506105546112aa565b005b34801561056257600080fd5b5061057d60048036038101906105789190614376565b611352565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061456f565b611372565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190614609565b6113ce565b005b3480156105dd57600080fd5b506105e6611491565b005b3480156105f457600080fd5b5061060f600480360381019061060a919061456f565b61159f565b60405161061c91906150f7565b60405180910390f35b34801561063157600080fd5b5061063a611610565b60405161064791906150f7565b60405180910390f35b34801561065c57600080fd5b50610665611616565b6040516106729190614cda565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190614526565b611629565b005b3480156106b057600080fd5b506106b96116bf565b005b3480156106c757600080fd5b506106e260048036038101906106dd91906145c9565b611767565b005b3480156106f057600080fd5b5061070b60048036038101906107069190614309565b611837565b60405161071891906150f7565b60405180910390f35b34801561072d57600080fd5b506107486004803603810190610743919061456f565b611893565b6040516107559190614c21565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190614336565b611945565b005b34801561079357600080fd5b5061079c611a47565b6040516107a991906150f7565b60405180910390f35b3480156107be57600080fd5b506107c7611a4d565b6040516107d49190614cf5565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190614309565b611adb565b60405161081191906150f7565b60405180910390f35b34801561082657600080fd5b5061082f611b93565b005b34801561083d57600080fd5b50610846611cd0565b6040516108539190614c21565b60405180910390f35b34801561086857600080fd5b50610871611cfa565b60405161087e9190614cf5565b60405180910390f35b6108a1600480360381019061089c919061456f565b611d8c565b005b3480156108af57600080fd5b506108ca60048036038101906108c5919061444c565b612106565b005b3480156108d857600080fd5b506108f360048036038101906108ee919061456f565b612287565b005b34801561090157600080fd5b5061091c600480360381019061091791906143c9565b61230d565b005b34801561092a57600080fd5b5061093361236f565b6040516109409190614cda565b60405180910390f35b34801561095557600080fd5b50610970600480360381019061096b919061456f565b612382565b60405161097d9190614cf5565b60405180910390f35b34801561099257600080fd5b5061099b612429565b6040516109a891906150f7565b60405180910390f35b6109b961242f565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190614309565b61256e565b005b3480156109f057600080fd5b50610a0b6004803603810190610a069190614649565b61262e565b005b348015610a1957600080fd5b50610a226127b5565b604051610a2f91906150f7565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a919061456f565b6127ba565b604051610a6c91906150f7565b60405180910390f35b348015610a8157600080fd5b50610a8a6127e4565b604051610a9791906150f7565b60405180910390f35b348015610aac57600080fd5b50610ab56127ea565b604051610ac291906150f7565b60405180910390f35b348015610ad757600080fd5b50610af26004803603810190610aed9190614336565b6127f0565b604051610aff9190614cda565b60405180910390f35b348015610b1457600080fd5b50610b1d612884565b005b348015610b2b57600080fd5b50610b346129f8565b604051610b419190614cda565b60405180910390f35b610b52612a0b565b005b348015610b6057600080fd5b50610b7b6004803603810190610b769190614309565b612b38565b005b348015610b8957600080fd5b50610ba46004803603810190610b9f919061456f565b612ce4565b005b6000610bb182612d6a565b9050919050565b606060008054610bc7906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf3906153fa565b8015610c405780601f10610c1557610100808354040283529160200191610c40565b820191906000526020600020905b815481529060010190602001808311610c2357829003601f168201915b5050505050905090565b6000610c5582612de4565b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614f77565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cda82611893565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4290615017565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d6a612e50565b73ffffffffffffffffffffffffffffffffffffffff161480610d995750610d9881610d93612e50565b6127f0565b5b610dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcf90614ef7565b60405180910390fd5b610de28383612e58565b505050565b60108054610df4906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610e20906153fa565b8015610e6d5780601f10610e4257610100808354040283529160200191610e6d565b820191906000526020600020905b815481529060010190602001808311610e5057829003601f168201915b505050505081565b610e7d612e50565b73ffffffffffffffffffffffffffffffffffffffff16610e9b611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890614f97565b60405180910390fd5b8060109080519060200190610f0792919061409d565b5050565b6000600880549050905090565b610f29610f23612e50565b82612f11565b610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f90615057565b60405180910390fd5b610f73838383612fef565b505050565b60135481565b610f86612e50565b73ffffffffffffffffffffffffffffffffffffffff16610fa4611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190614f97565b60405180910390fd5b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b61102e612e50565b73ffffffffffffffffffffffffffffffffffffffff1661104c611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990614f97565b60405180910390fd5b803073ffffffffffffffffffffffffffffffffffffffff163110156110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390614df7565b60405180910390fd5b6000612710905060005b600881101561120057600082601c836008811061112657611125615593565b5b015485611133919061526e565b61113d919061523d565b905061117e6014836008811061115657611155615593565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261324b565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056601483600881106111b3576111b2615593565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516111e4929190614cb1565b60405180910390a15080806111f89061545d565b915050611106565b505050565b600061121083611adb565b8210611251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124890614d17565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6112b2612e50565b73ffffffffffffffffffffffffffffffffffffffff166112d0611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d90614f97565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61136d8383836040518060200160405280600081525061230d565b505050565b61138361137d612e50565b82612f11565b6113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b9906150d7565b60405180910390fd5b6113cb81613356565b50565b6113d6612e50565b73ffffffffffffffffffffffffffffffffffffffff166113f4611cd0565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144190614f97565b60405180910390fd5b611454818361324b565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568183604051611485929190614c3c565b60405180910390a15050565b60008061149d33611adb565b905060005b818110156115145760006114b63383611205565b905060286000828152602001908152602001600020546025546114d991906152c8565b846114e491906151e7565b9350602554602860008381526020019081526020016000208190555050808061150c9061545d565b9150506114a2565b5060008211611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f90614ff7565b60405180910390fd5b7f0d7976053781e071cecf47e898ad2a6dc87621ca33734e96eb4b92453319e8c93383604051611589929190614cb1565b60405180910390a161159b338361324b565b5050565b60006115a9610f0b565b82106115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190615077565b60405180910390fd5b600882815481106115fe576115fd615593565b5b90600052602060002001549050919050565b600c5481565b600e60029054906101000a900460ff1681565b611631612e50565b73ffffffffffffffffffffffffffffffffffffffff1661164f611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146116a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169c90614f97565b60405180910390fd5b80600f90805190602001906116bb92919061409d565b5050565b6116c7612e50565b73ffffffffffffffffffffffffffffffffffffffff166116e5611cd0565b73ffffffffffffffffffffffffffffffffffffffff161461173b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173290614f97565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b61176f612e50565b73ffffffffffffffffffffffffffffffffffffffff1661178d611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614f97565b60405180910390fd5b60006117ef600b613467565b90506000600190505b8381116118315761181483828461180f91906151e7565b613475565b61181e600b613493565b80806118299061545d565b9150506117f8565b50505050565b60008060009050600061184984611adb565b905060005b81811015611888576118686118638683611205565b6127ba565b8361187391906151e7565b925080806118809061545d565b91505061184e565b508192505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193390614f37565b60405180910390fd5b80915050919050565b61194d612e50565b73ffffffffffffffffffffffffffffffffffffffff1661196b611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146119c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b890614f97565b60405180910390fd5b81602660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080602760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600d5481565b600f8054611a5a906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611a86906153fa565b8015611ad35780601f10611aa857610100808354040283529160200191611ad3565b820191906000526020600020905b815481529060010190602001808311611ab657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614f17565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9b612e50565b73ffffffffffffffffffffffffffffffffffffffff16611bb9611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614611c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0690614f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611d09906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611d35906153fa565b8015611d825780601f10611d5757610100808354040283529160200191611d82565b820191906000526020600020905b815481529060010190602001808311611d6557829003601f168201915b5050505050905090565b600e60009054906101000a900460ff1680611e855750600e60019054906101000a900460ff168015611e8457506000602660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611e329190614c21565b60206040518083038186803b158015611e4a57600080fd5b505afa158015611e5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e82919061459c565b115b5b80611f6e5750600e60029054906101000a900460ff168015611f6d57506000602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611f1b9190614c21565b60206040518083038186803b158015611f3357600080fd5b505afa158015611f47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6b919061459c565b115b5b611fad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa4906150b7565b60405180910390fd5b600c5481611fb9610f0b565b611fc391906151e7565b1115612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb90615097565b60405180910390fd5b3481600d54612013919061526e565b1115612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614e37565b60405180910390fd5b600f811115612098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208f90614eb7565b60405180910390fd5b60005b818110156120ef57600060016120b1600b613467565b6120bb91906151e7565b9050600c5481116120db576120d0600b613493565b6120da3382613475565b5b5080806120e79061545d565b91505061209b565b506000601154141561210357436011819055505b50565b61210e612e50565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561217c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217390614dd7565b60405180910390fd5b8060056000612189612e50565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612236612e50565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227b9190614cda565b60405180910390a35050565b61228f612e50565b73ffffffffffffffffffffffffffffffffffffffff166122ad611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fa90614f97565b60405180910390fd5b80600c8190555050565b61231e612318612e50565b83612f11565b61235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490615057565b60405180910390fd5b612369848484846134a9565b50505050565b600e60019054906101000a900460ff1681565b606061238d82612de4565b6123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390614fd7565b60405180910390fd5b60006123d6613505565b905060008151116123f65760405180602001604052806000815250612421565b8061240084613597565b604051602001612411929190614be8565b6040516020818303038152906040525b915050919050565b60125481565b612437612e50565b73ffffffffffffffffffffffffffffffffffffffff16612455611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614806124cb575061247a612e50565b73ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190614e17565b60405180910390fd5b612512610f0b565b3461251d919061523d565b6025600082825461252e91906151e7565b925050819055507f44863bc9b335caf97ca3a3ab6fb67776965a88292ed53b0679f8eae4a67b630c3460405161256491906150f7565b60405180910390a1565b612576612e50565b73ffffffffffffffffffffffffffffffffffffffff16612594611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146125ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e190614f97565b60405180910390fd5b80602460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612636612e50565b73ffffffffffffffffffffffffffffffffffffffff16612654611cd0565b73ffffffffffffffffffffffffffffffffffffffff16146126aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a190614f97565b60405180910390fd5b81819050836126b9919061526e565b60135410156126fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f490614d77565b60405180910390fd5b60005b8282905081101561278857600061272f84848481811061272357612722615593565b5b90506020020135611893565b905061273b818661324b565b7fa2f64fbb55c427c0bc1fcedda3d5334d3bd370e7fa4d82855e9983ac338ba8a2818660405161276c929190614cb1565b60405180910390a15080806127809061545d565b915050612700565b508181905083612798919061526e565b601360008282546127a991906152c8565b92505081905550505050565b600f81565b600060286000838152602001908152602001600020546025546127dd91906152c8565b9050919050565b60115481565b60255481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61288c612e50565b73ffffffffffffffffffffffffffffffffffffffff166128aa611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614f97565b60405180910390fd5b600060125414612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c90614ed7565b60405180910390fd5b6000601154141561298b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298290615037565b60405180910390fd5b600c5460115440600190046129a091906154a6565b60128190555060ff601154436129b691906152c8565b11156129e257600c546001436129cc91906152c8565b40600190046129db91906154a6565b6012819055505b600060125414156129f65760016012819055505b565b600e60009054906101000a900460ff1681565b612a13612e50565b73ffffffffffffffffffffffffffffffffffffffff16612a31611cd0565b73ffffffffffffffffffffffffffffffffffffffff161480612aa75750612a56612e50565b73ffffffffffffffffffffffffffffffffffffffff16602460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612add90614e17565b60405180910390fd5b3460136000828254612af891906151e7565b925050819055507f74922bf31de94632f536e144c79f7f51753f0e8b477dc9c622770d3d03c1a36234604051612b2e91906150f7565b60405180910390a1565b612b40612e50565b73ffffffffffffffffffffffffffffffffffffffff16612b5e611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bab90614f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1b90614d57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612cec612e50565b73ffffffffffffffffffffffffffffffffffffffff16612d0a611cd0565b73ffffffffffffffffffffffffffffffffffffffff1614612d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5790614f97565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ddd5750612ddc82613717565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ecb83611893565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612f1c82612de4565b612f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5290614e97565b60405180910390fd5b6000612f6683611893565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fd557508373ffffffffffffffffffffffffffffffffffffffff16612fbd84610c4a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612fe65750612fe581856127f0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661300f82611893565b73ffffffffffffffffffffffffffffffffffffffff1614613065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305c90614fb7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cc90614db7565b60405180910390fd5b6130e08383836137f9565b6130eb600082612e58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461313b91906152c8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461319291906151e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b803073ffffffffffffffffffffffffffffffffffffffff163110156132a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329c90614e77565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516132cb90614c0c565b60006040518083038185875af1925050503d8060008114613308576040519150601f19603f3d011682016040523d82523d6000602084013e61330d565b606091505b5050905080613351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334890614e57565b60405180910390fd5b505050565b600061336182611893565b905061336f816000846137f9565b61337a600083612e58565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ca91906152c8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b61348f828260405180602001604052806000815250613809565b5050565b6001816000016000828254019250508190555050565b6134b4848484612fef565b6134c084848484613864565b6134ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f690614d37565b60405180910390fd5b50505050565b6060600f8054613514906153fa565b80601f0160208091040260200160405190810160405280929190818152602001828054613540906153fa565b801561358d5780601f106135625761010080835404028352916020019161358d565b820191906000526020600020905b81548152906001019060200180831161357057829003601f168201915b5050505050905090565b606060008214156135df576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613712565b600082905060005b600082146136115780806135fa9061545d565b915050600a8261360a919061523d565b91506135e7565b60008167ffffffffffffffff81111561362d5761362c6155c2565b5b6040519080825280601f01601f19166020018201604052801561365f5781602001600182028036833780820191505090505b5090505b6000851461370b5760018261367891906152c8565b9150600a8561368791906154a6565b603061369391906151e7565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106136c8576136c7615593565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613704919061523d565b9450613663565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137e257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137f257506137f182613a33565b5b9050919050565b613804838383613a9d565b505050565b6138138383613bb1565b6138206000848484613864565b61385f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385690614d37565b60405180910390fd5b505050565b60006138858473ffffffffffffffffffffffffffffffffffffffff16613d7f565b15613a26578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138ae612e50565b8786866040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016138ec9493929190614c65565b602060405180830381600087803b15801561390657600080fd5b505af192505050801561393757506040513d601f19601f8201168201806040525081019061393491906144f9565b60015b6139ba573d8060008114613967576040519150601f19603f3d011682016040523d82523d6000602084013e61396c565b606091505b506000815114156139b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a990614d37565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613a2b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613aa8838383613d92565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613aeb57613ae681613d97565b613b2a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613b2957613b288382613de0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b6d57613b6881613f4d565b613bac565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613bab57613baa828261401e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c1890614f57565b60405180910390fd5b613c2a81612de4565b15613c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c6190614d97565b60405180910390fd5b613c76600083836137f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cc691906151e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613ded84611adb565b613df791906152c8565b9050600060076000848152602001908152602001600020549050818114613edc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613f6191906152c8565b9050600060096000848152602001908152602001600020549050600060088381548110613f9157613f90615593565b5b906000526020600020015490508060088381548110613fb357613fb2615593565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061400257614001615564565b5b6001900381819060005260206000200160009055905550505050565b600061402983611adb565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546140a9906153fa565b90600052602060002090601f0160209004810192826140cb5760008555614112565b82601f106140e457805160ff1916838001178555614112565b82800160010185558215614112579182015b828111156141115782518255916020019190600101906140f6565b5b50905061411f9190614123565b5090565b5b8082111561413c576000816000905550600101614124565b5090565b600061415361414e84615137565b615112565b90508281526020810184848401111561416f5761416e615600565b5b61417a8482856153b8565b509392505050565b600061419561419084615168565b615112565b9050828152602081018484840111156141b1576141b0615600565b5b6141bc8482856153b8565b509392505050565b6000813590506141d381615e38565b92915050565b6000813590506141e881615e4f565b92915050565b60008083601f840112614204576142036155f6565b5b8235905067ffffffffffffffff811115614221576142206155f1565b5b60208301915083602082028301111561423d5761423c6155fb565b5b9250929050565b60008135905061425381615e66565b92915050565b60008135905061426881615e7d565b92915050565b60008151905061427d81615e7d565b92915050565b600082601f830112614298576142976155f6565b5b81356142a8848260208601614140565b91505092915050565b600082601f8301126142c6576142c56155f6565b5b81356142d6848260208601614182565b91505092915050565b6000813590506142ee81615e94565b92915050565b60008151905061430381615e94565b92915050565b60006020828403121561431f5761431e61560a565b5b600061432d848285016141c4565b91505092915050565b6000806040838503121561434d5761434c61560a565b5b600061435b858286016141c4565b925050602061436c858286016141c4565b9150509250929050565b60008060006060848603121561438f5761438e61560a565b5b600061439d868287016141c4565b93505060206143ae868287016141c4565b92505060406143bf868287016142df565b9150509250925092565b600080600080608085870312156143e3576143e261560a565b5b60006143f1878288016141c4565b9450506020614402878288016141c4565b9350506040614413878288016142df565b925050606085013567ffffffffffffffff81111561443457614433615605565b5b61444087828801614283565b91505092959194509250565b600080604083850312156144635761446261560a565b5b6000614471858286016141c4565b925050602061448285828601614244565b9150509250929050565b600080604083850312156144a3576144a261560a565b5b60006144b1858286016141c4565b92505060206144c2858286016142df565b9150509250929050565b6000602082840312156144e2576144e161560a565b5b60006144f084828501614259565b91505092915050565b60006020828403121561450f5761450e61560a565b5b600061451d8482850161426e565b91505092915050565b60006020828403121561453c5761453b61560a565b5b600082013567ffffffffffffffff81111561455a57614559615605565b5b614566848285016142b1565b91505092915050565b6000602082840312156145855761458461560a565b5b6000614593848285016142df565b91505092915050565b6000602082840312156145b2576145b161560a565b5b60006145c0848285016142f4565b91505092915050565b600080604083850312156145e0576145df61560a565b5b60006145ee858286016142df565b92505060206145ff858286016141c4565b9150509250929050565b600080604083850312156146205761461f61560a565b5b600061462e858286016142df565b925050602061463f858286016141d9565b9150509250929050565b6000806000604084860312156146625761466161560a565b5b6000614670868287016142df565b935050602084013567ffffffffffffffff81111561469157614690615605565b5b61469d868287016141ee565b92509250509250925092565b6146b281615382565b82525050565b6146c1816152fc565b82525050565b6146d081615320565b82525050565b60006146e182615199565b6146eb81856151af565b93506146fb8185602086016153c7565b6147048161560f565b840191505092915050565b600061471a826151a4565b61472481856151cb565b93506147348185602086016153c7565b61473d8161560f565b840191505092915050565b6000614753826151a4565b61475d81856151dc565b935061476d8185602086016153c7565b80840191505092915050565b6000614786602b836151cb565b915061479182615620565b604082019050919050565b60006147a96032836151cb565b91506147b48261566f565b604082019050919050565b60006147cc6026836151cb565b91506147d7826156be565b604082019050919050565b60006147ef602b836151cb565b91506147fa8261570d565b604082019050919050565b6000614812601c836151cb565b915061481d8261575c565b602082019050919050565b60006148356024836151cb565b915061484082615785565b604082019050919050565b60006148586019836151cb565b9150614863826157d4565b602082019050919050565b600061487b6014836151cb565b9150614886826157fd565b602082019050919050565b600061489e6022836151cb565b91506148a982615826565b604082019050919050565b60006148c1601f836151cb565b91506148cc82615875565b602082019050919050565b60006148e4603a836151cb565b91506148ef8261589e565b604082019050919050565b6000614907601d836151cb565b9150614912826158ed565b602082019050919050565b600061492a602c836151cb565b915061493582615916565b604082019050919050565b600061494d602c836151cb565b915061495882615965565b604082019050919050565b6000614970601d836151cb565b915061497b826159b4565b602082019050919050565b60006149936038836151cb565b915061499e826159dd565b604082019050919050565b60006149b6602a836151cb565b91506149c182615a2c565b604082019050919050565b60006149d96029836151cb565b91506149e482615a7b565b604082019050919050565b60006149fc6020836151cb565b9150614a0782615aca565b602082019050919050565b6000614a1f602c836151cb565b9150614a2a82615af3565b604082019050919050565b6000614a426020836151cb565b9150614a4d82615b42565b602082019050919050565b6000614a656029836151cb565b9150614a7082615b6b565b604082019050919050565b6000614a88602f836151cb565b9150614a9382615bba565b604082019050919050565b6000614aab6020836151cb565b9150614ab682615c09565b602082019050919050565b6000614ace6021836151cb565b9150614ad982615c32565b604082019050919050565b6000614af16020836151cb565b9150614afc82615c81565b602082019050919050565b6000614b146000836151c0565b9150614b1f82615caa565b600082019050919050565b6000614b376031836151cb565b9150614b4282615cad565b604082019050919050565b6000614b5a602c836151cb565b9150614b6582615cfc565b604082019050919050565b6000614b7d6030836151cb565b9150614b8882615d4b565b604082019050919050565b6000614ba0603a836151cb565b9150614bab82615d9a565b604082019050919050565b6000614bc36030836151cb565b9150614bce82615de9565b604082019050919050565b614be281615378565b82525050565b6000614bf48285614748565b9150614c008284614748565b91508190509392505050565b6000614c1782614b07565b9150819050919050565b6000602082019050614c3660008301846146b8565b92915050565b6000604082019050614c5160008301856146a9565b614c5e6020830184614bd9565b9392505050565b6000608082019050614c7a60008301876146b8565b614c8760208301866146b8565b614c946040830185614bd9565b8181036060830152614ca681846146d6565b905095945050505050565b6000604082019050614cc660008301856146b8565b614cd36020830184614bd9565b9392505050565b6000602082019050614cef60008301846146c7565b92915050565b60006020820190508181036000830152614d0f818461470f565b905092915050565b60006020820190508181036000830152614d3081614779565b9050919050565b60006020820190508181036000830152614d508161479c565b9050919050565b60006020820190508181036000830152614d70816147bf565b9050919050565b60006020820190508181036000830152614d90816147e2565b9050919050565b60006020820190508181036000830152614db081614805565b9050919050565b60006020820190508181036000830152614dd081614828565b9050919050565b60006020820190508181036000830152614df08161484b565b9050919050565b60006020820190508181036000830152614e108161486e565b9050919050565b60006020820190508181036000830152614e3081614891565b9050919050565b60006020820190508181036000830152614e50816148b4565b9050919050565b60006020820190508181036000830152614e70816148d7565b9050919050565b60006020820190508181036000830152614e90816148fa565b9050919050565b60006020820190508181036000830152614eb08161491d565b9050919050565b60006020820190508181036000830152614ed081614940565b9050919050565b60006020820190508181036000830152614ef081614963565b9050919050565b60006020820190508181036000830152614f1081614986565b9050919050565b60006020820190508181036000830152614f30816149a9565b9050919050565b60006020820190508181036000830152614f50816149cc565b9050919050565b60006020820190508181036000830152614f70816149ef565b9050919050565b60006020820190508181036000830152614f9081614a12565b9050919050565b60006020820190508181036000830152614fb081614a35565b9050919050565b60006020820190508181036000830152614fd081614a58565b9050919050565b60006020820190508181036000830152614ff081614a7b565b9050919050565b6000602082019050818103600083015261501081614a9e565b9050919050565b6000602082019050818103600083015261503081614ac1565b9050919050565b6000602082019050818103600083015261505081614ae4565b9050919050565b6000602082019050818103600083015261507081614b2a565b9050919050565b6000602082019050818103600083015261509081614b4d565b9050919050565b600060208201905081810360008301526150b081614b70565b9050919050565b600060208201905081810360008301526150d081614b93565b9050919050565b600060208201905081810360008301526150f081614bb6565b9050919050565b600060208201905061510c6000830184614bd9565b92915050565b600061511c61512d565b9050615128828261542c565b919050565b6000604051905090565b600067ffffffffffffffff821115615152576151516155c2565b5b61515b8261560f565b9050602081019050919050565b600067ffffffffffffffff821115615183576151826155c2565b5b61518c8261560f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006151f282615378565b91506151fd83615378565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615232576152316154d7565b5b828201905092915050565b600061524882615378565b915061525383615378565b92508261526357615262615506565b5b828204905092915050565b600061527982615378565b915061528483615378565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152bd576152bc6154d7565b5b828202905092915050565b60006152d382615378565b91506152de83615378565b9250828210156152f1576152f06154d7565b5b828203905092915050565b600061530782615358565b9050919050565b600061531982615358565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061538d82615394565b9050919050565b600061539f826153a6565b9050919050565b60006153b182615358565b9050919050565b82818337600083830152505050565b60005b838110156153e55780820151818401526020810190506153ca565b838111156153f4576000848401525b50505050565b6000600282049050600182168061541257607f821691505b6020821081141561542657615425615535565b5b50919050565b6154358261560f565b810181811067ffffffffffffffff82111715615454576154536155c2565b5b80604052505050565b600061546882615378565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561549b5761549a6154d7565b5b600182019050919050565b60006154b182615378565b91506154bc83615378565b9250826154cc576154cb615506565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420676976656177617920706f6f6c20666f72206460008201527f6973747269627574696f6e000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f43616c6c6572206973206e6f7420746865206f776e6572206f72206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c792061646f707420313520706967736b696e20617060008201527f657320617420612074696d650000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5468657265206973206e6f20616d6f756e74206c65667420746f20636c61696d600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c6520706967736b696e206170657300000000000000000000000000000000602082015250565b7f53616c65206973206e6f7420616374697665206f7220796f757220616464726560008201527f737320646f65736e2774206f776e206120424159432f4d415943000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615e41816152fc565b8114615e4c57600080fd5b50565b615e588161530e565b8114615e6357600080fd5b50565b615e6f81615320565b8114615e7a57600080fd5b50565b615e868161532c565b8114615e9157600080fd5b50565b615e9d81615378565b8114615ea857600080fd5b5056fea2646970667358221220d4796abf8f9578d0e62fbcbfaf8880c97c12a11abc298e1a551cba8f5491028164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000000b506967736b696e41706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000550534b494e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): PigskinApes
Arg [1] : symbol (string): PSKIN
Arg [2] : maxPigskinApeSupply (uint256): 4000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000fa0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 506967736b696e41706573000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 50534b494e000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
PSKIN TokenNet Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.