Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 254 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24229188 | 42 days ago | IN | 0 ETH | 0.00005059 | ||||
| Set Approval For... | 24141349 | 54 days ago | IN | 0 ETH | 0.00000324 | ||||
| Set Approval For... | 24135099 | 55 days ago | IN | 0 ETH | 0.00004452 | ||||
| Set Approval For... | 23382885 | 160 days ago | IN | 0 ETH | 0.00006889 | ||||
| Set Approval For... | 23152677 | 193 days ago | IN | 0 ETH | 0.00001033 | ||||
| Set Approval For... | 23147231 | 193 days ago | IN | 0 ETH | 0.00022379 | ||||
| Set Approval For... | 23134864 | 195 days ago | IN | 0 ETH | 0.0000702 | ||||
| Set Approval For... | 23134616 | 195 days ago | IN | 0 ETH | 0.00014338 | ||||
| Set Approval For... | 23018184 | 211 days ago | IN | 0 ETH | 0.00013924 | ||||
| Set Approval For... | 23016751 | 212 days ago | IN | 0 ETH | 0.00010681 | ||||
| Safe Transfer Fr... | 23016729 | 212 days ago | IN | 0 ETH | 0.00001871 | ||||
| Set Approval For... | 23010305 | 212 days ago | IN | 0 ETH | 0.00010467 | ||||
| Set Approval For... | 22863701 | 233 days ago | IN | 0 ETH | 0.00000605 | ||||
| Set Approval For... | 22863700 | 233 days ago | IN | 0 ETH | 0.00001078 | ||||
| Set Approval For... | 22715276 | 254 days ago | IN | 0 ETH | 0.00001957 | ||||
| Set Approval For... | 19702025 | 675 days ago | IN | 0 ETH | 0.00035867 | ||||
| Set Approval For... | 19701150 | 675 days ago | IN | 0 ETH | 0.00026981 | ||||
| Set Approval For... | 19542167 | 697 days ago | IN | 0 ETH | 0.00119055 | ||||
| Set Approval For... | 19516703 | 701 days ago | IN | 0 ETH | 0.00085093 | ||||
| Set Approval For... | 19475052 | 707 days ago | IN | 0 ETH | 0.00155522 | ||||
| Set Approval For... | 19462713 | 708 days ago | IN | 0 ETH | 0.00192794 | ||||
| Set Approval For... | 19113424 | 757 days ago | IN | 0 ETH | 0.00119454 | ||||
| Set Approval For... | 19113316 | 757 days ago | IN | 0 ETH | 0.00097552 | ||||
| Set Approval For... | 19084887 | 761 days ago | IN | 0 ETH | 0.00157264 | ||||
| Set Approval For... | 19081514 | 762 days ago | IN | 0 ETH | 0.00053486 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14082511 | 1490 days ago | 8 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
DreamGardensNFT
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// _
// (` ). _
// ( ). .:(` )`.
// ) _( '`. :( . )
// .=(`( . ) .-- `. ( ) )
// (( (..__.:'-' .+( ) ` _` ) )
// `. `( ) ) ( . ) ( ) ._
// ) ` __.:' ) ( ( )) `-'.-(` )
// ) ) ( ) --' `- __.' :( ))
// .-' (_.' .') `( ) ))
// (_ ) dreaming gardens ` __.:'
//
// --..,___.--,--'`,---..-.--+--.,,-,,..._.--..-._.-a:f--.
//
// by @eddietree
pragma solidity ^0.8.0;
import "./ERC721Tradable.sol";
contract DreamGardensNFT is ERC721Tradable {
// JSONS
string private _prerevealMetaURI = "https://gateway.pinata.cloud/ipfs/QmSX9UEjufVvifmszeUJENiCtMLFq8wA7jGhTJFdxeCACU/";
string private _revealedMetaURI = "https://gateway.pinata.cloud/ipfs/QmRA71NveXF5EFUSds873WqxkVuT8HvvATgz65ev3ea9d5/";
string private _nightmareMetaURI = "https://gateway.pinata.cloud/ipfs/QmbpWLqDtN3sdFtev4TkWca3tasGmAHgJkpXA21GBkLDke/";
// states
bool public saleIsActive = false;
bool public isRevealed = false;
uint256 public constant MAX_SUPPLY = 128;
uint256 public constant MAX_PUBLIC_MINT = 16;
uint256 public constant PRICE_PER_TOKEN = 0.064 ether;
bool [MAX_SUPPLY] private _nightmareMap;
mapping(address => uint8) private _allowList;
constructor(address _proxyRegistryAddress) ERC721Tradable("Dream Gardens NFT", "DREAMGARDEN", _proxyRegistryAddress) public {
for(uint i = 0; i < MAX_SUPPLY; i+=1) {
_nightmareMap[i] = false;
}
}
function setSaleState(bool newState) public onlyOwner {
saleIsActive = newState;
}
function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner {
for (uint256 i = 0; i < addresses.length; i++) {
_allowList[addresses[i]] = numAllowedToMint;
}
}
function allowListNumAvailableToMint(address addr) external view returns (uint8) {
return _allowList[addr];
}
function revealAll() public onlyOwner {
isRevealed = true;
}
///////////////////// URI
function setPreRevealURI(string memory _value) public onlyOwner {
_prerevealMetaURI = _value;
}
function setRevealedURI(string memory _value) public onlyOwner {
_revealedMetaURI = _value;
}
function setNightmareURI(string memory _value) public onlyOwner {
_nightmareMetaURI = _value;
}
function tokenURI(uint256 _tokenId) override public view returns (string memory) {
require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");
if (!isRevealed) { // prereveal
return string(abi.encodePacked(_prerevealMetaURI, Strings.toString(_tokenId), ".json"));
} else if (isNightmare(_tokenId)) { // nightmare
return string(abi.encodePacked(_nightmareMetaURI, Strings.toString(_tokenId), ".json"));
} else { // revealed
return string(abi.encodePacked(_revealedMetaURI, Strings.toString(_tokenId), ".json"));
}
}
/////////////// nightmare
function isNightmare(uint256 _tokenId) public view returns (bool) {
require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");
return _nightmareMap[_tokenId-1];
}
function setNightmareMode(uint256 _tokenId) public {
require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");
address ownerOfToken = ownerOf(_tokenId);
require(ownerOfToken == msg.sender, "Not the owner");
// make sure owner owns this token
if (ownerOfToken == msg.sender) {
_nightmareMap[_tokenId-1] = true;
}
}
function forceNightmareMode(uint256 _tokenId, bool _nightmareMode) public onlyOwner {
require(_tokenId >= 1 && _tokenId <= MAX_SUPPLY, "Not valid token range");
_nightmareMap[_tokenId-1] = _nightmareMode;
}
function nightmareCount() public view returns (uint) {
uint count = 0;
for(uint i = 0; i < MAX_SUPPLY; i+=1) {
count += _nightmareMap[i] == true ? 1 : 0;
}
return count;
}
/////////////// mint
function reserveGarden(uint numberOfTokens) public onlyOwner {
uint256 ts = totalSupply();
require(ts + numberOfTokens <= MAX_SUPPLY, "Mint would exceed max tokens");
for (uint256 i = 0; i < numberOfTokens; i++) {
mintTo(msg.sender);
}
}
function reserveGardenGift(uint numberOfTokens, address addr) public onlyOwner {
uint256 ts = totalSupply();
require(ts + numberOfTokens <= MAX_SUPPLY, "Mint would exceed max tokens");
for (uint256 i = 0; i < numberOfTokens; i++) {
mintTo(addr);
}
}
function mintGardenAllowlist(uint8 numberOfTokens) public payable {
uint256 ts = totalSupply();
require(numberOfTokens > 0, "Need to mint at least 1 token");
require(numberOfTokens <= MAX_PUBLIC_MINT, "Exceeded max token purchase");
require(numberOfTokens <= _allowList[msg.sender], "Exceeded max available to purchase");
require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");
_allowList[msg.sender] -= numberOfTokens;
for (uint256 i = 0; i < numberOfTokens; i++) {
mintTo(msg.sender);
}
}
function mintGarden(uint numberOfTokens) public payable {
uint256 ts = totalSupply();
require(saleIsActive, "Sale must be active to mint tokens");
require(numberOfTokens <= MAX_PUBLIC_MINT, "Exceeded max token purchase");
require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed max tokens");
require(PRICE_PER_TOKEN * numberOfTokens <= msg.value, "Ether value sent is not correct");
for (uint256 i = 0; i < numberOfTokens; i++) {
mintTo(msg.sender);
}
}
function withdraw() public onlyOwner {
uint balance = address(this).balance;
payable(msg.sender).transfer(balance);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";
contract OwnableDelegateProxy {}
/**
* Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
*/
contract ProxyRegistry {
mapping(address => OwnableDelegateProxy) public proxies;
}
/**
* @title ERC721Tradable
* ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
*/
abstract contract ERC721Tradable is ERC721, ContextMixin, NativeMetaTransaction, Ownable {
using SafeMath for uint256;
using Counters for Counters.Counter;
Counters.Counter private _nextTokenId;
address proxyRegistryAddress;
constructor(
string memory _name,
string memory _symbol,
address _proxyRegistryAddress
) ERC721(_name, _symbol) {
proxyRegistryAddress = _proxyRegistryAddress;
// nextTokenId is initialized to 1, since starting at 0 leads to higher gas cost for the first minter
_nextTokenId.increment();
_initializeEIP712(_name);
}
/**
* @dev Mints a token to an address with a tokenURI.
* @param _to address of the future owner of the token
*/
function mintTo(address _to) internal {
uint256 currentTokenId = _nextTokenId.current();
_nextTokenId.increment();
_safeMint(_to, currentTokenId);
}
/**
@dev Returns the total tokens minted so far.
1 is always subtracted from the Counter since it tracks the next available tokenId.
*/
function totalSupply() public view returns (uint256) {
return _nextTokenId.current() - 1;
}
/**
* Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
*/
function isApprovedForAll(address owner, address operator)
override
public
view
returns (bool)
{
// Whitelist OpenSea proxy contract for easy trading.
ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
if (address(proxyRegistry.proxies(owner)) == operator) {
return true;
}
return super.isApprovedForAll(owner, operator);
}
/**
* This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
*/
function _msgSender()
internal
override
view
returns (address sender)
{
return ContextMixin.msgSender();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract ContextMixin {
function msgSender()
internal
view
returns (address payable sender)
{
if (msg.sender == address(this)) {
bytes memory array = msg.data;
uint256 index = msg.data.length;
assembly {
// Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
sender := and(
mload(add(array, index)),
0xffffffffffffffffffffffffffffffffffffffff
)
}
} else {
sender = payable(msg.sender);
}
return sender;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";
contract NativeMetaTransaction is EIP712Base {
using SafeMath for uint256;
bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
bytes(
"MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
)
);
event MetaTransactionExecuted(
address userAddress,
address payable relayerAddress,
bytes functionSignature
);
mapping(address => uint256) nonces;
/*
* Meta transaction structure.
* No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
* He should call the desired function directly in that case.
*/
struct MetaTransaction {
uint256 nonce;
address from;
bytes functionSignature;
}
function executeMetaTransaction(
address userAddress,
bytes memory functionSignature,
bytes32 sigR,
bytes32 sigS,
uint8 sigV
) public payable returns (bytes memory) {
MetaTransaction memory metaTx = MetaTransaction({
nonce: nonces[userAddress],
from: userAddress,
functionSignature: functionSignature
});
require(
verify(userAddress, metaTx, sigR, sigS, sigV),
"Signer and signature do not match"
);
// increase nonce for user (to avoid re-use)
nonces[userAddress] = nonces[userAddress].add(1);
emit MetaTransactionExecuted(
userAddress,
payable(msg.sender),
functionSignature
);
// Append userAddress and relayer address at the end to extract it from calling context
(bool success, bytes memory returnData) = address(this).call(
abi.encodePacked(functionSignature, userAddress)
);
require(success, "Function call not successful");
return returnData;
}
function hashMetaTransaction(MetaTransaction memory metaTx)
internal
pure
returns (bytes32)
{
return
keccak256(
abi.encode(
META_TRANSACTION_TYPEHASH,
metaTx.nonce,
metaTx.from,
keccak256(metaTx.functionSignature)
)
);
}
function getNonce(address user) public view returns (uint256 nonce) {
nonce = nonces[user];
}
function verify(
address signer,
MetaTransaction memory metaTx,
bytes32 sigR,
bytes32 sigS,
uint8 sigV
) internal view returns (bool) {
require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
return
signer ==
ecrecover(
toTypedMessageHash(hashMetaTransaction(metaTx)),
sigV,
sigR,
sigS
);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {Initializable} from "./Initializable.sol";
contract EIP712Base is Initializable {
struct EIP712Domain {
string name;
string version;
address verifyingContract;
bytes32 salt;
}
string constant public ERC712_VERSION = "1";
bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
bytes(
"EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
)
);
bytes32 internal domainSeperator;
// supposed to be called once while initializing.
// one of the contracts that inherits this contract follows proxy pattern
// so it is not possible to do this in a constructor
function _initializeEIP712(
string memory name
)
internal
initializer
{
_setDomainSeperator(name);
}
function _setDomainSeperator(string memory name) internal {
domainSeperator = keccak256(
abi.encode(
EIP712_DOMAIN_TYPEHASH,
keccak256(bytes(name)),
keccak256(bytes(ERC712_VERSION)),
address(this),
bytes32(getChainId())
)
);
}
function getDomainSeperator() public view returns (bytes32) {
return domainSeperator;
}
function getChainId() public view returns (uint256) {
uint256 id;
assembly {
id := chainid()
}
return id;
}
/**
* Accept message hash and returns hash message in EIP712 compatible form
* So that it can be used to recover signer from signature signed using EIP712 formatted data
* https://eips.ethereum.org/EIPS/eip-712
* "\\x19" makes the encoding deterministic
* "\\x01" is the version byte to make it compatible to EIP-191
*/
function toTypedMessageHash(bytes32 messageHash)
internal
view
returns (bytes32)
{
return
keccak256(
abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Initializable {
bool inited = false;
modifier initializer() {
require(!inited, "already inited");
_;
inited = true;
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"allowListNumAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_nightmareMode","type":"bool"}],"name":"forceNightmareMode","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":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isNightmare","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintGarden","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintGardenAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nightmareCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveGarden","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"name":"reserveGardenGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealAll","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":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"setNightmareMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setNightmareURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526000600660006101000a81548160ff02191690831515021790555060405180608001604052806051815260200162005e5c60519139600c908051906020019062000050929190620005be565b5060405180608001604052806051815260200162005dba60519139600d908051906020019062000082929190620005be565b5060405180608001604052806051815260200162005e0b60519139600e9080519060200190620000b4929190620005be565b506000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff021916908315150217905550348015620000f857600080fd5b5060405162005ead38038062005ead83398181016040528101906200011e919062000685565b6040518060400160405280601181526020017f447265616d2047617264656e73204e46540000000000000000000000000000008152506040518060400160405280600b81526020017f445245414d47415244454e0000000000000000000000000000000000000000008152508282828160009080519060200190620001a5929190620005be565b508060019080519060200190620001be929190620005be565b505050620001e1620001d5620002d560201b60201c565b620002f160201b60201c565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000239600a620003b760201b620026331760201c565b6200024a83620003cd60201b60201c565b50505060005b6080811015620002cd5760006010826080811062000297577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff021916908315150217905550600181620002c59190620007a5565b905062000250565b5050620008f8565b6000620002ec6200044f60201b620026491760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600660009054906101000a900460ff161562000420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004179062000772565b60405180910390fd5b62000431816200050260201b60201c565b6001600660006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620004fb57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620004ff565b3390505b90565b6040518060800160405280604f815260200162005d6b604f91398051906020012081805190602001206040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250805190602001203062000579620005b160201b60201c565b60001b6040516020016200059295949392919062000715565b6040516020818303038152906040528051906020012060078190555050565b6000804690508091505090565b828054620005cc906200084a565b90600052602060002090601f016020900481019282620005f057600085556200063c565b82601f106200060b57805160ff19168380011785556200063c565b828001600101855582156200063c579182015b828111156200063b5782518255916020019190600101906200061e565b5b5090506200064b91906200064f565b5090565b5b808211156200066a57600081600090555060010162000650565b5090565b6000815190506200067f81620008de565b92915050565b6000602082840312156200069857600080fd5b6000620006a8848285016200066e565b91505092915050565b620006bc8162000802565b82525050565b620006cd8162000816565b82525050565b6000620006e2600e8362000794565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600060a0820190506200072c6000830188620006c2565b6200073b6020830187620006c2565b6200074a6040830186620006c2565b620007596060830185620006b1565b620007686080830184620006c2565b9695505050505050565b600060208201905081810360008301526200078d81620006d3565b9050919050565b600082825260208201905092915050565b6000620007b28262000840565b9150620007bf8362000840565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007f757620007f662000880565b5b828201905092915050565b60006200080f8262000820565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200086357607f821691505b602082108114156200087a5762000879620008af565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620008e98162000802565b8114620008f557600080fd5b50565b61546380620009086000396000f3fe60806040526004361061025c5760003560e01c806342d0e74e11610144578063993a917e116100b6578063c87b56dd1161007a578063c87b56dd146108b4578063e985e9c5146108f1578063eb8d24441461092e578063ef43340614610959578063f2fde38b14610984578063f6dfd49e146109ad5761025c565b8063993a917e146107f4578063a02c5fbc14610810578063a22cb46514610839578063b88d4fde14610862578063c4e370951461088b5761025c565b8063715018a611610108578063715018a61461070a5780638295784d14610721578063833b94991461074a5780638ac466e4146107755780638da5cb5b1461079e57806395d89b41146107c95761025c565b806342d0e74e1461062357806354214f691461063a5780636352211e1461066557806365f13097146106a257806370a08231146106cd5761025c565b80632778a78a116101dd578063326d4388116101a1578063326d43881461053b57806332cb6b0c146105645780633408e4701461058f578063373c0457146105ba5780633ccfd60b146105e357806342842e0e146105fa5761025c565b80632778a78a1461044657806328c77f701461048357806329e9df77146104ac5780632a85db55146104d55780632d0335ab146104fe5761025c565b80630c53c51c116102245780630c53c51c1461036c5780630f7e59701461039c57806318160ddd146103c757806320379ee5146103f257806323b872dd1461041d5761025c565b806301ffc9a71461026157806306fdde031461029e57806307f3e9e5146102c9578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613ba8565b6109c9565b60405161029591906149cd565b60405180910390f35b3480156102aa57600080fd5b506102b3610aab565b6040516102c09190614aaf565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb91906138f1565b610b3d565b6040516102fd9190614e4c565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613c64565b610b93565b60405161033a9190614928565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613aeb565b610c18565b005b61038660048036038101906103819190613a5c565b610d30565b6040516103939190614a8d565b60405180910390f35b3480156103a857600080fd5b506103b1610fa2565b6040516103be9190614aaf565b60405180910390f35b3480156103d357600080fd5b506103dc610fdb565b6040516103e99190614e31565b60405180910390f35b3480156103fe57600080fd5b50610407610ff8565b60405161041491906149e8565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190613956565b611002565b005b34801561045257600080fd5b5061046d60048036038101906104689190613c64565b611062565b60405161047a91906149cd565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613c64565b611118565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613c8d565b61121b565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613c23565b61131f565b005b34801561050a57600080fd5b50610525600480360381019061052091906138f1565b6113b5565b6040516105329190614e31565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613c23565b6113fe565b005b34801561057057600080fd5b50610579611494565b6040516105869190614e31565b60405180910390f35b34801561059b57600080fd5b506105a4611499565b6040516105b19190614e31565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613cc9565b6114a6565b005b3480156105ef57600080fd5b506105f86115dd565b005b34801561060657600080fd5b50610621600480360381019061061c9190613956565b6116a8565b005b34801561062f57600080fd5b506106386116c8565b005b34801561064657600080fd5b5061064f611761565b60405161065c91906149cd565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613c64565b611774565b6040516106999190614928565b60405180910390f35b3480156106ae57600080fd5b506106b7611826565b6040516106c49190614e31565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef91906138f1565b61182b565b6040516107019190614e31565b60405180910390f35b34801561071657600080fd5b5061071f6118e3565b005b34801561072d57600080fd5b5061074860048036038101906107439190613b27565b61196b565b005b34801561075657600080fd5b5061075f611ab3565b60405161076c9190614e31565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190613c23565b611abe565b005b3480156107aa57600080fd5b506107b3611b54565b6040516107c09190614928565b60405180910390f35b3480156107d557600080fd5b506107de611b7e565b6040516107eb9190614aaf565b60405180910390f35b61080e60048036038101906108099190613d05565b611c10565b005b34801561081c57600080fd5b5061083760048036038101906108329190613c64565b611e8a565b005b34801561084557600080fd5b50610860600480360381019061085b9190613a20565b611ff6565b005b34801561086e57600080fd5b50610889600480360381019061088491906139a5565b61200c565b005b34801561089757600080fd5b506108b260048036038101906108ad9190613b7f565b61206e565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613c64565b612107565b6040516108e89190614aaf565b60405180910390f35b3480156108fd57600080fd5b506109186004803603810190610913919061391a565b612213565b60405161092591906149cd565b60405180910390f35b34801561093a57600080fd5b50610943612315565b60405161095091906149cd565b60405180910390f35b34801561096557600080fd5b5061096e612328565b60405161097b9190614e31565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a691906138f1565b6123cc565b005b6109c760048036038101906109c29190613c64565b6124c4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa45750610aa3826126fa565b5b9050919050565b606060008054610aba90615195565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae690615195565b8015610b335780601f10610b0857610100808354040283529160200191610b33565b820191906000526020600020905b815481529060010190602001808311610b1657829003601f168201915b5050505050905090565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610b9e82612764565b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614cf1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2382611774565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614d91565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb36127d0565b73ffffffffffffffffffffffffffffffffffffffff161480610ce25750610ce181610cdc6127d0565b612213565b5b610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890614c51565b60405180910390fd5b610d2b83836127df565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610db38782878787612898565b610df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de990614d51565b60405180910390fd5b610e456001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129a190919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610ebb93929190614943565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ef092919061489a565b604051602081830303815290604052604051610f0c9190614883565b6000604051808303816000865af19150503d8060008114610f49576040519150601f19603f3d011682016040523d82523d6000602084013e610f4e565b606091505b509150915081610f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8a90614b11565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610fe9600a6129b7565b610ff3919061503c565b905090565b6000600754905090565b61101361100d6127d0565b826129c5565b611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990614e11565b60405180910390fd5b61105d838383612aa3565b505050565b600060018210158015611076575060808211155b6110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac90614b91565b60405180910390fd5b60106001836110c4919061503c565b608081106110fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff169050919050565b6111206127d0565b73ffffffffffffffffffffffffffffffffffffffff1661113e611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90614d11565b60405180910390fd5b600061119e610fdb565b9050608082826111ae9190614f5b565b11156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e690614b51565b60405180910390fd5b60005b828110156112165761120333612cff565b808061120e906151c7565b9150506111f2565b505050565b6112236127d0565b73ffffffffffffffffffffffffffffffffffffffff16611241611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90614d11565b60405180910390fd5b60006112a1610fdb565b9050608083826112b19190614f5b565b11156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990614b51565b60405180910390fd5b60005b838110156113195761130683612cff565b8080611311906151c7565b9150506112f5565b50505050565b6113276127d0565b73ffffffffffffffffffffffffffffffffffffffff16611345611b54565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614d11565b60405180910390fd5b80600c90805190602001906113b192919061368c565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114066127d0565b73ffffffffffffffffffffffffffffffffffffffff16611424611b54565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614d11565b60405180910390fd5b80600d908051906020019061149092919061368c565b5050565b608081565b6000804690508091505090565b6114ae6127d0565b73ffffffffffffffffffffffffffffffffffffffff166114cc611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990614d11565b60405180910390fd5b60018210158015611534575060808211155b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90614b91565b60405180910390fd5b806010600184611583919061503c565b608081106115ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505050565b6115e56127d0565b73ffffffffffffffffffffffffffffffffffffffff16611603611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090614d11565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116a4573d6000803e3d6000fd5b5050565b6116c38383836040518060200160405280600081525061200c565b505050565b6116d06127d0565b73ffffffffffffffffffffffffffffffffffffffff166116ee611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90614d11565b60405180910390fd5b6001600f60016101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490614cb1565b60405180910390fd5b80915050919050565b601081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390614c91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118eb6127d0565b73ffffffffffffffffffffffffffffffffffffffff16611909611b54565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195690614d11565b60405180910390fd5b6119696000612d25565b565b6119736127d0565b73ffffffffffffffffffffffffffffffffffffffff16611991611b54565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614d11565b60405180910390fd5b60005b83839050811015611aad578160146000868685818110611a33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a4891906138f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611aa5906151c7565b9150506119ea565b50505050565b66e35fa931a0000081565b611ac66127d0565b73ffffffffffffffffffffffffffffffffffffffff16611ae4611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3190614d11565b60405180910390fd5b80600e9080519060200190611b5092919061368c565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b8d90615195565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb990615195565b8015611c065780601f10611bdb57610100808354040283529160200191611c06565b820191906000526020600020905b815481529060010190602001808311611be957829003601f168201915b5050505050905090565b6000611c1a610fdb565b905060008260ff1611611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614df1565b60405180910390fd5b60108260ff161115611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca090614db1565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3590614dd1565b60405180910390fd5b60808260ff1682611d4f9190614f5b565b1115611d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8790614b31565b60405180910390fd5b348260ff1666e35fa931a00000611da79190614fe2565b1115611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90614bf1565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611e439190615070565b92506101000a81548160ff021916908360ff16021790555060005b8260ff16811015611e8557611e7233612cff565b8080611e7d906151c7565b915050611e5e565b505050565b60018110158015611e9c575060808111155b611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614b91565b60405180910390fd5b6000611ee682611774565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d90614c71565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff25760016010600184611f9b919061503c565b60808110611fd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505b5050565b6120086120016127d0565b8383612deb565b5050565b61201d6120176127d0565b836129c5565b61205c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205390614e11565b60405180910390fd5b61206884848484612f58565b50505050565b6120766127d0565b73ffffffffffffffffffffffffffffffffffffffff16612094611b54565b73ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614d11565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b60606001821015801561211b575060808211155b61215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190614b91565b60405180910390fd5b600f60019054906101000a900460ff166121a057600c61217983612fb4565b60405160200161218a9291906148c2565b604051602081830303815290604052905061220e565b6121a982611062565b156121e057600e6121b983612fb4565b6040516020016121ca9291906148c2565b604051602081830303815290604052905061220e565b600d6121eb83612fb4565b6040516020016121fc9291906148c2565b60405160208183030381529060405290505b919050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161228b9190614928565b60206040518083038186803b1580156122a357600080fd5b505afa1580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db9190613bfa565b73ffffffffffffffffffffffffffffffffffffffff16141561230157600191505061230f565b61230b8484613161565b9150505b92915050565b600f60009054906101000a900460ff1681565b6000806000905060005b60808110156123c4576001151560108260808110612379577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1615151461239d5760006123a0565b60015b60ff16826123ae9190614f5b565b91506001816123bd9190614f5b565b9050612332565b508091505090565b6123d46127d0565b73ffffffffffffffffffffffffffffffffffffffff166123f2611b54565b73ffffffffffffffffffffffffffffffffffffffff1614612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614d11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614af1565b60405180910390fd5b6124c181612d25565b50565b60006124ce610fdb565b9050600f60009054906101000a900460ff1661251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251690614d71565b60405180910390fd5b6010821115612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a90614db1565b60405180910390fd5b608082826125719190614f5b565b11156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990614b31565b60405180910390fd5b348266e35fa931a000006125c69190614fe2565b1115612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90614bf1565b60405180910390fd5b60005b8281101561262e5761261b33612cff565b8080612626906151c7565b91505061260a565b505050565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156126f357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506126f7565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006127da612649565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661285283611774565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290090614c31565b60405180910390fd5b600161291c612917876131f5565b61325d565b8386866040516000815260200160405260405161293c9493929190614a48565b6020604051602081039080840390855afa15801561295e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836129af9190614f5b565b905092915050565b600081600001549050919050565b60006129d082612764565b612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0690614c11565b60405180910390fd5b6000612a1a83611774565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8957508373ffffffffffffffffffffffffffffffffffffffff16612a7184610b93565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a9a5750612a998185612213565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ac382611774565b73ffffffffffffffffffffffffffffffffffffffff1614612b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1090614d31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8090614bb1565b60405180910390fd5b612b94838383613296565b612b9f6000826127df565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bef919061503c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c469190614f5b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612d0b600a6129b7565b9050612d17600a612633565b612d21828261329b565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5190614bd1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f4b91906149cd565b60405180910390a3505050565b612f63848484612aa3565b612f6f848484846132b9565b612fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa590614ad1565b60405180910390fd5b50505050565b60606000821415612ffc576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061315c565b600082905060005b6000821461302e578080613017906151c7565b915050600a826130279190614fb1565b9150613004565b60008167ffffffffffffffff811115613070577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130a25781602001600182028036833780820191505090505b5090505b60008514613155576001826130bb919061503c565b9150600a856130ca919061523e565b60306130d69190614f5b565b60f81b818381518110613112577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561314e9190614fb1565b94506130a6565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060800160405280604381526020016153eb6043913980519060200120826000015183602001518460400151805190602001206040516020016132409493929190614a03565b604051602081830303815290604052805190602001209050919050565b6000613267610ff8565b826040516020016132799291906148f1565b604051602081830303815290604052805190602001209050919050565b505050565b6132b5828260405180602001604052806000815250613450565b5050565b60006132da8473ffffffffffffffffffffffffffffffffffffffff166134ab565b15613443578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133036127d0565b8786866040518563ffffffff1660e01b81526004016133259493929190614981565b602060405180830381600087803b15801561333f57600080fd5b505af192505050801561337057506040513d601f19601f8201168201806040525081019061336d9190613bd1565b60015b6133f3573d80600081146133a0576040519150601f19603f3d011682016040523d82523d6000602084013e6133a5565b606091505b506000815114156133eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e290614ad1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613448565b600190505b949350505050565b61345a83836134be565b61346760008484846132b9565b6134a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349d90614ad1565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561352e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352590614cd1565b60405180910390fd5b61353781612764565b15613577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356e90614b71565b60405180910390fd5b61358360008383613296565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135d39190614f5b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461369890615195565b90600052602060002090601f0160209004810192826136ba5760008555613701565b82601f106136d357805160ff1916838001178555613701565b82800160010185558215613701579182015b828111156137005782518255916020019190600101906136e5565b5b50905061370e9190613712565b5090565b5b8082111561372b576000816000905550600101613713565b5090565b600061374261373d84614e98565b614e67565b90508281526020810184848401111561375a57600080fd5b613765848285615153565b509392505050565b600061378061377b84614ec8565b614e67565b90508281526020810184848401111561379857600080fd5b6137a3848285615153565b509392505050565b6000813590506137ba81615349565b92915050565b60008083601f8401126137d257600080fd5b8235905067ffffffffffffffff8111156137eb57600080fd5b60208301915083602082028301111561380357600080fd5b9250929050565b60008135905061381981615360565b92915050565b60008135905061382e81615377565b92915050565b6000813590506138438161538e565b92915050565b6000815190506138588161538e565b92915050565b600082601f83011261386f57600080fd5b813561387f84826020860161372f565b91505092915050565b600081519050613897816153a5565b92915050565b600082601f8301126138ae57600080fd5b81356138be84826020860161376d565b91505092915050565b6000813590506138d6816153bc565b92915050565b6000813590506138eb816153d3565b92915050565b60006020828403121561390357600080fd5b6000613911848285016137ab565b91505092915050565b6000806040838503121561392d57600080fd5b600061393b858286016137ab565b925050602061394c858286016137ab565b9150509250929050565b60008060006060848603121561396b57600080fd5b6000613979868287016137ab565b935050602061398a868287016137ab565b925050604061399b868287016138c7565b9150509250925092565b600080600080608085870312156139bb57600080fd5b60006139c9878288016137ab565b94505060206139da878288016137ab565b93505060406139eb878288016138c7565b925050606085013567ffffffffffffffff811115613a0857600080fd5b613a148782880161385e565b91505092959194509250565b60008060408385031215613a3357600080fd5b6000613a41858286016137ab565b9250506020613a528582860161380a565b9150509250929050565b600080600080600060a08688031215613a7457600080fd5b6000613a82888289016137ab565b955050602086013567ffffffffffffffff811115613a9f57600080fd5b613aab8882890161385e565b9450506040613abc8882890161381f565b9350506060613acd8882890161381f565b9250506080613ade888289016138dc565b9150509295509295909350565b60008060408385031215613afe57600080fd5b6000613b0c858286016137ab565b9250506020613b1d858286016138c7565b9150509250929050565b600080600060408486031215613b3c57600080fd5b600084013567ffffffffffffffff811115613b5657600080fd5b613b62868287016137c0565b93509350506020613b75868287016138dc565b9150509250925092565b600060208284031215613b9157600080fd5b6000613b9f8482850161380a565b91505092915050565b600060208284031215613bba57600080fd5b6000613bc884828501613834565b91505092915050565b600060208284031215613be357600080fd5b6000613bf184828501613849565b91505092915050565b600060208284031215613c0c57600080fd5b6000613c1a84828501613888565b91505092915050565b600060208284031215613c3557600080fd5b600082013567ffffffffffffffff811115613c4f57600080fd5b613c5b8482850161389d565b91505092915050565b600060208284031215613c7657600080fd5b6000613c84848285016138c7565b91505092915050565b60008060408385031215613ca057600080fd5b6000613cae858286016138c7565b9250506020613cbf858286016137ab565b9150509250929050565b60008060408385031215613cdc57600080fd5b6000613cea858286016138c7565b9250506020613cfb8582860161380a565b9150509250929050565b600060208284031215613d1757600080fd5b6000613d25848285016138dc565b91505092915050565b613d37816150b6565b82525050565b613d46816150a4565b82525050565b613d5d613d58826150a4565b615210565b82525050565b613d6c816150c8565b82525050565b613d7b816150d4565b82525050565b613d92613d8d826150d4565b615222565b82525050565b6000613da382614f0d565b613dad8185614f23565b9350613dbd818560208601615162565b613dc68161532b565b840191505092915050565b6000613ddc82614f0d565b613de68185614f34565b9350613df6818560208601615162565b80840191505092915050565b6000613e0d82614f18565b613e178185614f3f565b9350613e27818560208601615162565b613e308161532b565b840191505092915050565b6000613e4682614f18565b613e508185614f50565b9350613e60818560208601615162565b80840191505092915050565b60008154613e7981615195565b613e838186614f50565b94506001821660008114613e9e5760018114613eaf57613ee2565b60ff19831686528186019350613ee2565b613eb885614ef8565b60005b83811015613eda57815481890152600182019150602081019050613ebb565b838801955050505b50505092915050565b6000613ef8603283614f3f565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613f5e602683614f3f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fc4601c83614f3f565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000614004602083614f3f565b91507f507572636861736520776f756c6420657863656564206d617820746f6b656e736000830152602082019050919050565b6000614044601c83614f3f565b91507f4d696e7420776f756c6420657863656564206d617820746f6b656e73000000006000830152602082019050919050565b6000614084601c83614f3f565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140c4600283614f50565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614104601583614f3f565b91507f4e6f742076616c696420746f6b656e2072616e676500000000000000000000006000830152602082019050919050565b6000614144602483614f3f565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141aa601983614f3f565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006141ea601f83614f3f565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061422a602c83614f3f565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614290602583614f3f565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142f6603883614f3f565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061435c600d83614f3f565b91507f4e6f7420746865206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b600061439c602a83614f3f565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614402602983614f3f565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614468602083614f3f565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006144a8602c83614f3f565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061450e600583614f50565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061454e602083614f3f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061458e602983614f3f565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145f4602183614f3f565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061465a602283614f3f565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146c0602183614f3f565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614726601b83614f3f565b91507f4578636565646564206d617820746f6b656e20707572636861736500000000006000830152602082019050919050565b6000614766602283614f3f565b91507f4578636565646564206d617820617661696c61626c6520746f2070757263686160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147cc601d83614f3f565b91507f4e65656420746f206d696e74206174206c65617374203120746f6b656e0000006000830152602082019050919050565b600061480c603183614f3f565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b61486e8161513c565b82525050565b61487d81615146565b82525050565b600061488f8284613dd1565b915081905092915050565b60006148a68285613dd1565b91506148b28284613d4c565b6014820191508190509392505050565b60006148ce8285613e6c565b91506148da8284613e3b565b91506148e582614501565b91508190509392505050565b60006148fc826140b7565b91506149088285613d81565b6020820191506149188284613d81565b6020820191508190509392505050565b600060208201905061493d6000830184613d3d565b92915050565b60006060820190506149586000830186613d3d565b6149656020830185613d2e565b81810360408301526149778184613d98565b9050949350505050565b60006080820190506149966000830187613d3d565b6149a36020830186613d3d565b6149b06040830185614865565b81810360608301526149c28184613d98565b905095945050505050565b60006020820190506149e26000830184613d63565b92915050565b60006020820190506149fd6000830184613d72565b92915050565b6000608082019050614a186000830187613d72565b614a256020830186614865565b614a326040830185613d3d565b614a3f6060830184613d72565b95945050505050565b6000608082019050614a5d6000830187613d72565b614a6a6020830186614874565b614a776040830185613d72565b614a846060830184613d72565b95945050505050565b60006020820190508181036000830152614aa78184613d98565b905092915050565b60006020820190508181036000830152614ac98184613e02565b905092915050565b60006020820190508181036000830152614aea81613eeb565b9050919050565b60006020820190508181036000830152614b0a81613f51565b9050919050565b60006020820190508181036000830152614b2a81613fb7565b9050919050565b60006020820190508181036000830152614b4a81613ff7565b9050919050565b60006020820190508181036000830152614b6a81614037565b9050919050565b60006020820190508181036000830152614b8a81614077565b9050919050565b60006020820190508181036000830152614baa816140f7565b9050919050565b60006020820190508181036000830152614bca81614137565b9050919050565b60006020820190508181036000830152614bea8161419d565b9050919050565b60006020820190508181036000830152614c0a816141dd565b9050919050565b60006020820190508181036000830152614c2a8161421d565b9050919050565b60006020820190508181036000830152614c4a81614283565b9050919050565b60006020820190508181036000830152614c6a816142e9565b9050919050565b60006020820190508181036000830152614c8a8161434f565b9050919050565b60006020820190508181036000830152614caa8161438f565b9050919050565b60006020820190508181036000830152614cca816143f5565b9050919050565b60006020820190508181036000830152614cea8161445b565b9050919050565b60006020820190508181036000830152614d0a8161449b565b9050919050565b60006020820190508181036000830152614d2a81614541565b9050919050565b60006020820190508181036000830152614d4a81614581565b9050919050565b60006020820190508181036000830152614d6a816145e7565b9050919050565b60006020820190508181036000830152614d8a8161464d565b9050919050565b60006020820190508181036000830152614daa816146b3565b9050919050565b60006020820190508181036000830152614dca81614719565b9050919050565b60006020820190508181036000830152614dea81614759565b9050919050565b60006020820190508181036000830152614e0a816147bf565b9050919050565b60006020820190508181036000830152614e2a816147ff565b9050919050565b6000602082019050614e466000830184614865565b92915050565b6000602082019050614e616000830184614874565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614e8e57614e8d6152fc565b5b8060405250919050565b600067ffffffffffffffff821115614eb357614eb26152fc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614ee357614ee26152fc565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f668261513c565b9150614f718361513c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa657614fa561526f565b5b828201905092915050565b6000614fbc8261513c565b9150614fc78361513c565b925082614fd757614fd661529e565b5b828204905092915050565b6000614fed8261513c565b9150614ff88361513c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150315761503061526f565b5b828202905092915050565b60006150478261513c565b91506150528361513c565b9250828210156150655761506461526f565b5b828203905092915050565b600061507b82615146565b915061508683615146565b9250828210156150995761509861526f565b5b828203905092915050565b60006150af8261511c565b9050919050565b60006150c18261511c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615115826150a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615180578082015181840152602081019050615165565b8381111561518f576000848401525b50505050565b600060028204905060018216806151ad57607f821691505b602082108114156151c1576151c06152cd565b5b50919050565b60006151d28261513c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152055761520461526f565b5b600182019050919050565b600061521b8261522c565b9050919050565b6000819050919050565b60006152378261533c565b9050919050565b60006152498261513c565b91506152548361513c565b9250826152645761526361529e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615352816150a4565b811461535d57600080fd5b50565b615369816150c8565b811461537457600080fd5b50565b615380816150d4565b811461538b57600080fd5b50565b615397816150de565b81146153a257600080fd5b50565b6153ae8161510a565b81146153b957600080fd5b50565b6153c58161513c565b81146153d057600080fd5b50565b6153dc81615146565b81146153e757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220dab8c49febb0598dbcd80a3f3280b2b866dc18441f52b74eeab9434b990c6a5764736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d524137314e76655846354546555364733837335771786b567554384876764154677a363565763365613964352f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6270574c7144744e3373644674657634546b57636133746173476d4148674a6b705841323147426b4c446b652f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d53583955456a7566567669666d737a65554a454e6943744d4c4671387741376a4768544a46647865434143552f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806342d0e74e11610144578063993a917e116100b6578063c87b56dd1161007a578063c87b56dd146108b4578063e985e9c5146108f1578063eb8d24441461092e578063ef43340614610959578063f2fde38b14610984578063f6dfd49e146109ad5761025c565b8063993a917e146107f4578063a02c5fbc14610810578063a22cb46514610839578063b88d4fde14610862578063c4e370951461088b5761025c565b8063715018a611610108578063715018a61461070a5780638295784d14610721578063833b94991461074a5780638ac466e4146107755780638da5cb5b1461079e57806395d89b41146107c95761025c565b806342d0e74e1461062357806354214f691461063a5780636352211e1461066557806365f13097146106a257806370a08231146106cd5761025c565b80632778a78a116101dd578063326d4388116101a1578063326d43881461053b57806332cb6b0c146105645780633408e4701461058f578063373c0457146105ba5780633ccfd60b146105e357806342842e0e146105fa5761025c565b80632778a78a1461044657806328c77f701461048357806329e9df77146104ac5780632a85db55146104d55780632d0335ab146104fe5761025c565b80630c53c51c116102245780630c53c51c1461036c5780630f7e59701461039c57806318160ddd146103c757806320379ee5146103f257806323b872dd1461041d5761025c565b806301ffc9a71461026157806306fdde031461029e57806307f3e9e5146102c9578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613ba8565b6109c9565b60405161029591906149cd565b60405180910390f35b3480156102aa57600080fd5b506102b3610aab565b6040516102c09190614aaf565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb91906138f1565b610b3d565b6040516102fd9190614e4c565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613c64565b610b93565b60405161033a9190614928565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613aeb565b610c18565b005b61038660048036038101906103819190613a5c565b610d30565b6040516103939190614a8d565b60405180910390f35b3480156103a857600080fd5b506103b1610fa2565b6040516103be9190614aaf565b60405180910390f35b3480156103d357600080fd5b506103dc610fdb565b6040516103e99190614e31565b60405180910390f35b3480156103fe57600080fd5b50610407610ff8565b60405161041491906149e8565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190613956565b611002565b005b34801561045257600080fd5b5061046d60048036038101906104689190613c64565b611062565b60405161047a91906149cd565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613c64565b611118565b005b3480156104b857600080fd5b506104d360048036038101906104ce9190613c8d565b61121b565b005b3480156104e157600080fd5b506104fc60048036038101906104f79190613c23565b61131f565b005b34801561050a57600080fd5b50610525600480360381019061052091906138f1565b6113b5565b6040516105329190614e31565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613c23565b6113fe565b005b34801561057057600080fd5b50610579611494565b6040516105869190614e31565b60405180910390f35b34801561059b57600080fd5b506105a4611499565b6040516105b19190614e31565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613cc9565b6114a6565b005b3480156105ef57600080fd5b506105f86115dd565b005b34801561060657600080fd5b50610621600480360381019061061c9190613956565b6116a8565b005b34801561062f57600080fd5b506106386116c8565b005b34801561064657600080fd5b5061064f611761565b60405161065c91906149cd565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613c64565b611774565b6040516106999190614928565b60405180910390f35b3480156106ae57600080fd5b506106b7611826565b6040516106c49190614e31565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef91906138f1565b61182b565b6040516107019190614e31565b60405180910390f35b34801561071657600080fd5b5061071f6118e3565b005b34801561072d57600080fd5b5061074860048036038101906107439190613b27565b61196b565b005b34801561075657600080fd5b5061075f611ab3565b60405161076c9190614e31565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190613c23565b611abe565b005b3480156107aa57600080fd5b506107b3611b54565b6040516107c09190614928565b60405180910390f35b3480156107d557600080fd5b506107de611b7e565b6040516107eb9190614aaf565b60405180910390f35b61080e60048036038101906108099190613d05565b611c10565b005b34801561081c57600080fd5b5061083760048036038101906108329190613c64565b611e8a565b005b34801561084557600080fd5b50610860600480360381019061085b9190613a20565b611ff6565b005b34801561086e57600080fd5b50610889600480360381019061088491906139a5565b61200c565b005b34801561089757600080fd5b506108b260048036038101906108ad9190613b7f565b61206e565b005b3480156108c057600080fd5b506108db60048036038101906108d69190613c64565b612107565b6040516108e89190614aaf565b60405180910390f35b3480156108fd57600080fd5b506109186004803603810190610913919061391a565b612213565b60405161092591906149cd565b60405180910390f35b34801561093a57600080fd5b50610943612315565b60405161095091906149cd565b60405180910390f35b34801561096557600080fd5b5061096e612328565b60405161097b9190614e31565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a691906138f1565b6123cc565b005b6109c760048036038101906109c29190613c64565b6124c4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa45750610aa3826126fa565b5b9050919050565b606060008054610aba90615195565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae690615195565b8015610b335780601f10610b0857610100808354040283529160200191610b33565b820191906000526020600020905b815481529060010190602001808311610b1657829003601f168201915b5050505050905090565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610b9e82612764565b610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614cf1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2382611774565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614d91565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb36127d0565b73ffffffffffffffffffffffffffffffffffffffff161480610ce25750610ce181610cdc6127d0565b612213565b5b610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890614c51565b60405180910390fd5b610d2b83836127df565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610db38782878787612898565b610df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de990614d51565b60405180910390fd5b610e456001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546129a190919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610ebb93929190614943565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610ef092919061489a565b604051602081830303815290604052604051610f0c9190614883565b6000604051808303816000865af19150503d8060008114610f49576040519150601f19603f3d011682016040523d82523d6000602084013e610f4e565b606091505b509150915081610f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8a90614b11565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60006001610fe9600a6129b7565b610ff3919061503c565b905090565b6000600754905090565b61101361100d6127d0565b826129c5565b611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990614e11565b60405180910390fd5b61105d838383612aa3565b505050565b600060018210158015611076575060808211155b6110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac90614b91565b60405180910390fd5b60106001836110c4919061503c565b608081106110fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff169050919050565b6111206127d0565b73ffffffffffffffffffffffffffffffffffffffff1661113e611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90614d11565b60405180910390fd5b600061119e610fdb565b9050608082826111ae9190614f5b565b11156111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e690614b51565b60405180910390fd5b60005b828110156112165761120333612cff565b808061120e906151c7565b9150506111f2565b505050565b6112236127d0565b73ffffffffffffffffffffffffffffffffffffffff16611241611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128e90614d11565b60405180910390fd5b60006112a1610fdb565b9050608083826112b19190614f5b565b11156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990614b51565b60405180910390fd5b60005b838110156113195761130683612cff565b8080611311906151c7565b9150506112f5565b50505050565b6113276127d0565b73ffffffffffffffffffffffffffffffffffffffff16611345611b54565b73ffffffffffffffffffffffffffffffffffffffff161461139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290614d11565b60405180910390fd5b80600c90805190602001906113b192919061368c565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114066127d0565b73ffffffffffffffffffffffffffffffffffffffff16611424611b54565b73ffffffffffffffffffffffffffffffffffffffff161461147a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147190614d11565b60405180910390fd5b80600d908051906020019061149092919061368c565b5050565b608081565b6000804690508091505090565b6114ae6127d0565b73ffffffffffffffffffffffffffffffffffffffff166114cc611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151990614d11565b60405180910390fd5b60018210158015611534575060808211155b611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90614b91565b60405180910390fd5b806010600184611583919061503c565b608081106115ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505050565b6115e56127d0565b73ffffffffffffffffffffffffffffffffffffffff16611603611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165090614d11565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156116a4573d6000803e3d6000fd5b5050565b6116c38383836040518060200160405280600081525061200c565b505050565b6116d06127d0565b73ffffffffffffffffffffffffffffffffffffffff166116ee611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90614d11565b60405180910390fd5b6001600f60016101000a81548160ff021916908315150217905550565b600f60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490614cb1565b60405180910390fd5b80915050919050565b601081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390614c91565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118eb6127d0565b73ffffffffffffffffffffffffffffffffffffffff16611909611b54565b73ffffffffffffffffffffffffffffffffffffffff161461195f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195690614d11565b60405180910390fd5b6119696000612d25565b565b6119736127d0565b73ffffffffffffffffffffffffffffffffffffffff16611991611b54565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614d11565b60405180910390fd5b60005b83839050811015611aad578160146000868685818110611a33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a4891906138f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611aa5906151c7565b9150506119ea565b50505050565b66e35fa931a0000081565b611ac66127d0565b73ffffffffffffffffffffffffffffffffffffffff16611ae4611b54565b73ffffffffffffffffffffffffffffffffffffffff1614611b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3190614d11565b60405180910390fd5b80600e9080519060200190611b5092919061368c565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b8d90615195565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb990615195565b8015611c065780601f10611bdb57610100808354040283529160200191611c06565b820191906000526020600020905b815481529060010190602001808311611be957829003601f168201915b5050505050905090565b6000611c1a610fdb565b905060008260ff1611611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614df1565b60405180910390fd5b60108260ff161115611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca090614db1565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611d3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3590614dd1565b60405180910390fd5b60808260ff1682611d4f9190614f5b565b1115611d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8790614b31565b60405180910390fd5b348260ff1666e35fa931a00000611da79190614fe2565b1115611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90614bf1565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611e439190615070565b92506101000a81548160ff021916908360ff16021790555060005b8260ff16811015611e8557611e7233612cff565b8080611e7d906151c7565b915050611e5e565b505050565b60018110158015611e9c575060808111155b611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614b91565b60405180910390fd5b6000611ee682611774565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d90614c71565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ff25760016010600184611f9b919061503c565b60808110611fd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190066101000a81548160ff0219169083151502179055505b5050565b6120086120016127d0565b8383612deb565b5050565b61201d6120176127d0565b836129c5565b61205c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205390614e11565b60405180910390fd5b61206884848484612f58565b50505050565b6120766127d0565b73ffffffffffffffffffffffffffffffffffffffff16612094611b54565b73ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614d11565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b60606001821015801561211b575060808211155b61215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190614b91565b60405180910390fd5b600f60019054906101000a900460ff166121a057600c61217983612fb4565b60405160200161218a9291906148c2565b604051602081830303815290604052905061220e565b6121a982611062565b156121e057600e6121b983612fb4565b6040516020016121ca9291906148c2565b604051602081830303815290604052905061220e565b600d6121eb83612fb4565b6040516020016121fc9291906148c2565b60405160208183030381529060405290505b919050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161228b9190614928565b60206040518083038186803b1580156122a357600080fd5b505afa1580156122b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122db9190613bfa565b73ffffffffffffffffffffffffffffffffffffffff16141561230157600191505061230f565b61230b8484613161565b9150505b92915050565b600f60009054906101000a900460ff1681565b6000806000905060005b60808110156123c4576001151560108260808110612379577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602091828204019190069054906101000a900460ff1615151461239d5760006123a0565b60015b60ff16826123ae9190614f5b565b91506001816123bd9190614f5b565b9050612332565b508091505090565b6123d46127d0565b73ffffffffffffffffffffffffffffffffffffffff166123f2611b54565b73ffffffffffffffffffffffffffffffffffffffff1614612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614d11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614af1565b60405180910390fd5b6124c181612d25565b50565b60006124ce610fdb565b9050600f60009054906101000a900460ff1661251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251690614d71565b60405180910390fd5b6010821115612563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255a90614db1565b60405180910390fd5b608082826125719190614f5b565b11156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a990614b31565b60405180910390fd5b348266e35fa931a000006125c69190614fe2565b1115612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90614bf1565b60405180910390fd5b60005b8281101561262e5761261b33612cff565b8080612626906151c7565b91505061260a565b505050565b6001816000016000828254019250508190555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156126f357600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506126f7565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006127da612649565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661285283611774565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290090614c31565b60405180910390fd5b600161291c612917876131f5565b61325d565b8386866040516000815260200160405260405161293c9493929190614a48565b6020604051602081039080840390855afa15801561295e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836129af9190614f5b565b905092915050565b600081600001549050919050565b60006129d082612764565b612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0690614c11565b60405180910390fd5b6000612a1a83611774565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a8957508373ffffffffffffffffffffffffffffffffffffffff16612a7184610b93565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a9a5750612a998185612213565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ac382611774565b73ffffffffffffffffffffffffffffffffffffffff1614612b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1090614d31565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8090614bb1565b60405180910390fd5b612b94838383613296565b612b9f6000826127df565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bef919061503c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c469190614f5b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612d0b600a6129b7565b9050612d17600a612633565b612d21828261329b565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5190614bd1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f4b91906149cd565b60405180910390a3505050565b612f63848484612aa3565b612f6f848484846132b9565b612fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa590614ad1565b60405180910390fd5b50505050565b60606000821415612ffc576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061315c565b600082905060005b6000821461302e578080613017906151c7565b915050600a826130279190614fb1565b9150613004565b60008167ffffffffffffffff811115613070577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130a25781602001600182028036833780820191505090505b5090505b60008514613155576001826130bb919061503c565b9150600a856130ca919061523e565b60306130d69190614f5b565b60f81b818381518110613112577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561314e9190614fb1565b94506130a6565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060800160405280604381526020016153eb6043913980519060200120826000015183602001518460400151805190602001206040516020016132409493929190614a03565b604051602081830303815290604052805190602001209050919050565b6000613267610ff8565b826040516020016132799291906148f1565b604051602081830303815290604052805190602001209050919050565b505050565b6132b5828260405180602001604052806000815250613450565b5050565b60006132da8473ffffffffffffffffffffffffffffffffffffffff166134ab565b15613443578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133036127d0565b8786866040518563ffffffff1660e01b81526004016133259493929190614981565b602060405180830381600087803b15801561333f57600080fd5b505af192505050801561337057506040513d601f19601f8201168201806040525081019061336d9190613bd1565b60015b6133f3573d80600081146133a0576040519150601f19603f3d011682016040523d82523d6000602084013e6133a5565b606091505b506000815114156133eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e290614ad1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613448565b600190505b949350505050565b61345a83836134be565b61346760008484846132b9565b6134a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349d90614ad1565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561352e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352590614cd1565b60405180910390fd5b61353781612764565b15613577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356e90614b71565b60405180910390fd5b61358360008383613296565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135d39190614f5b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461369890615195565b90600052602060002090601f0160209004810192826136ba5760008555613701565b82601f106136d357805160ff1916838001178555613701565b82800160010185558215613701579182015b828111156137005782518255916020019190600101906136e5565b5b50905061370e9190613712565b5090565b5b8082111561372b576000816000905550600101613713565b5090565b600061374261373d84614e98565b614e67565b90508281526020810184848401111561375a57600080fd5b613765848285615153565b509392505050565b600061378061377b84614ec8565b614e67565b90508281526020810184848401111561379857600080fd5b6137a3848285615153565b509392505050565b6000813590506137ba81615349565b92915050565b60008083601f8401126137d257600080fd5b8235905067ffffffffffffffff8111156137eb57600080fd5b60208301915083602082028301111561380357600080fd5b9250929050565b60008135905061381981615360565b92915050565b60008135905061382e81615377565b92915050565b6000813590506138438161538e565b92915050565b6000815190506138588161538e565b92915050565b600082601f83011261386f57600080fd5b813561387f84826020860161372f565b91505092915050565b600081519050613897816153a5565b92915050565b600082601f8301126138ae57600080fd5b81356138be84826020860161376d565b91505092915050565b6000813590506138d6816153bc565b92915050565b6000813590506138eb816153d3565b92915050565b60006020828403121561390357600080fd5b6000613911848285016137ab565b91505092915050565b6000806040838503121561392d57600080fd5b600061393b858286016137ab565b925050602061394c858286016137ab565b9150509250929050565b60008060006060848603121561396b57600080fd5b6000613979868287016137ab565b935050602061398a868287016137ab565b925050604061399b868287016138c7565b9150509250925092565b600080600080608085870312156139bb57600080fd5b60006139c9878288016137ab565b94505060206139da878288016137ab565b93505060406139eb878288016138c7565b925050606085013567ffffffffffffffff811115613a0857600080fd5b613a148782880161385e565b91505092959194509250565b60008060408385031215613a3357600080fd5b6000613a41858286016137ab565b9250506020613a528582860161380a565b9150509250929050565b600080600080600060a08688031215613a7457600080fd5b6000613a82888289016137ab565b955050602086013567ffffffffffffffff811115613a9f57600080fd5b613aab8882890161385e565b9450506040613abc8882890161381f565b9350506060613acd8882890161381f565b9250506080613ade888289016138dc565b9150509295509295909350565b60008060408385031215613afe57600080fd5b6000613b0c858286016137ab565b9250506020613b1d858286016138c7565b9150509250929050565b600080600060408486031215613b3c57600080fd5b600084013567ffffffffffffffff811115613b5657600080fd5b613b62868287016137c0565b93509350506020613b75868287016138dc565b9150509250925092565b600060208284031215613b9157600080fd5b6000613b9f8482850161380a565b91505092915050565b600060208284031215613bba57600080fd5b6000613bc884828501613834565b91505092915050565b600060208284031215613be357600080fd5b6000613bf184828501613849565b91505092915050565b600060208284031215613c0c57600080fd5b6000613c1a84828501613888565b91505092915050565b600060208284031215613c3557600080fd5b600082013567ffffffffffffffff811115613c4f57600080fd5b613c5b8482850161389d565b91505092915050565b600060208284031215613c7657600080fd5b6000613c84848285016138c7565b91505092915050565b60008060408385031215613ca057600080fd5b6000613cae858286016138c7565b9250506020613cbf858286016137ab565b9150509250929050565b60008060408385031215613cdc57600080fd5b6000613cea858286016138c7565b9250506020613cfb8582860161380a565b9150509250929050565b600060208284031215613d1757600080fd5b6000613d25848285016138dc565b91505092915050565b613d37816150b6565b82525050565b613d46816150a4565b82525050565b613d5d613d58826150a4565b615210565b82525050565b613d6c816150c8565b82525050565b613d7b816150d4565b82525050565b613d92613d8d826150d4565b615222565b82525050565b6000613da382614f0d565b613dad8185614f23565b9350613dbd818560208601615162565b613dc68161532b565b840191505092915050565b6000613ddc82614f0d565b613de68185614f34565b9350613df6818560208601615162565b80840191505092915050565b6000613e0d82614f18565b613e178185614f3f565b9350613e27818560208601615162565b613e308161532b565b840191505092915050565b6000613e4682614f18565b613e508185614f50565b9350613e60818560208601615162565b80840191505092915050565b60008154613e7981615195565b613e838186614f50565b94506001821660008114613e9e5760018114613eaf57613ee2565b60ff19831686528186019350613ee2565b613eb885614ef8565b60005b83811015613eda57815481890152600182019150602081019050613ebb565b838801955050505b50505092915050565b6000613ef8603283614f3f565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613f5e602683614f3f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fc4601c83614f3f565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b6000614004602083614f3f565b91507f507572636861736520776f756c6420657863656564206d617820746f6b656e736000830152602082019050919050565b6000614044601c83614f3f565b91507f4d696e7420776f756c6420657863656564206d617820746f6b656e73000000006000830152602082019050919050565b6000614084601c83614f3f565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006140c4600283614f50565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000614104601583614f3f565b91507f4e6f742076616c696420746f6b656e2072616e676500000000000000000000006000830152602082019050919050565b6000614144602483614f3f565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141aa601983614f3f565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006141ea601f83614f3f565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b600061422a602c83614f3f565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614290602583614f3f565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142f6603883614f3f565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061435c600d83614f3f565b91507f4e6f7420746865206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b600061439c602a83614f3f565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614402602983614f3f565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614468602083614f3f565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006144a8602c83614f3f565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061450e600583614f50565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061454e602083614f3f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061458e602983614f3f565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145f4602183614f3f565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061465a602283614f3f565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146c0602183614f3f565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614726601b83614f3f565b91507f4578636565646564206d617820746f6b656e20707572636861736500000000006000830152602082019050919050565b6000614766602283614f3f565b91507f4578636565646564206d617820617661696c61626c6520746f2070757263686160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147cc601d83614f3f565b91507f4e65656420746f206d696e74206174206c65617374203120746f6b656e0000006000830152602082019050919050565b600061480c603183614f3f565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b61486e8161513c565b82525050565b61487d81615146565b82525050565b600061488f8284613dd1565b915081905092915050565b60006148a68285613dd1565b91506148b28284613d4c565b6014820191508190509392505050565b60006148ce8285613e6c565b91506148da8284613e3b565b91506148e582614501565b91508190509392505050565b60006148fc826140b7565b91506149088285613d81565b6020820191506149188284613d81565b6020820191508190509392505050565b600060208201905061493d6000830184613d3d565b92915050565b60006060820190506149586000830186613d3d565b6149656020830185613d2e565b81810360408301526149778184613d98565b9050949350505050565b60006080820190506149966000830187613d3d565b6149a36020830186613d3d565b6149b06040830185614865565b81810360608301526149c28184613d98565b905095945050505050565b60006020820190506149e26000830184613d63565b92915050565b60006020820190506149fd6000830184613d72565b92915050565b6000608082019050614a186000830187613d72565b614a256020830186614865565b614a326040830185613d3d565b614a3f6060830184613d72565b95945050505050565b6000608082019050614a5d6000830187613d72565b614a6a6020830186614874565b614a776040830185613d72565b614a846060830184613d72565b95945050505050565b60006020820190508181036000830152614aa78184613d98565b905092915050565b60006020820190508181036000830152614ac98184613e02565b905092915050565b60006020820190508181036000830152614aea81613eeb565b9050919050565b60006020820190508181036000830152614b0a81613f51565b9050919050565b60006020820190508181036000830152614b2a81613fb7565b9050919050565b60006020820190508181036000830152614b4a81613ff7565b9050919050565b60006020820190508181036000830152614b6a81614037565b9050919050565b60006020820190508181036000830152614b8a81614077565b9050919050565b60006020820190508181036000830152614baa816140f7565b9050919050565b60006020820190508181036000830152614bca81614137565b9050919050565b60006020820190508181036000830152614bea8161419d565b9050919050565b60006020820190508181036000830152614c0a816141dd565b9050919050565b60006020820190508181036000830152614c2a8161421d565b9050919050565b60006020820190508181036000830152614c4a81614283565b9050919050565b60006020820190508181036000830152614c6a816142e9565b9050919050565b60006020820190508181036000830152614c8a8161434f565b9050919050565b60006020820190508181036000830152614caa8161438f565b9050919050565b60006020820190508181036000830152614cca816143f5565b9050919050565b60006020820190508181036000830152614cea8161445b565b9050919050565b60006020820190508181036000830152614d0a8161449b565b9050919050565b60006020820190508181036000830152614d2a81614541565b9050919050565b60006020820190508181036000830152614d4a81614581565b9050919050565b60006020820190508181036000830152614d6a816145e7565b9050919050565b60006020820190508181036000830152614d8a8161464d565b9050919050565b60006020820190508181036000830152614daa816146b3565b9050919050565b60006020820190508181036000830152614dca81614719565b9050919050565b60006020820190508181036000830152614dea81614759565b9050919050565b60006020820190508181036000830152614e0a816147bf565b9050919050565b60006020820190508181036000830152614e2a816147ff565b9050919050565b6000602082019050614e466000830184614865565b92915050565b6000602082019050614e616000830184614874565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614e8e57614e8d6152fc565b5b8060405250919050565b600067ffffffffffffffff821115614eb357614eb26152fc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614ee357614ee26152fc565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614f668261513c565b9150614f718361513c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa657614fa561526f565b5b828201905092915050565b6000614fbc8261513c565b9150614fc78361513c565b925082614fd757614fd661529e565b5b828204905092915050565b6000614fed8261513c565b9150614ff88361513c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150315761503061526f565b5b828202905092915050565b60006150478261513c565b91506150528361513c565b9250828210156150655761506461526f565b5b828203905092915050565b600061507b82615146565b915061508683615146565b9250828210156150995761509861526f565b5b828203905092915050565b60006150af8261511c565b9050919050565b60006150c18261511c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615115826150a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615180578082015181840152602081019050615165565b8381111561518f576000848401525b50505050565b600060028204905060018216806151ad57607f821691505b602082108114156151c1576151c06152cd565b5b50919050565b60006151d28261513c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152055761520461526f565b5b600182019050919050565b600061521b8261522c565b9050919050565b6000819050919050565b60006152378261533c565b9050919050565b60006152498261513c565b91506152548361513c565b9250826152645761526361529e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615352816150a4565b811461535d57600080fd5b50565b615369816150c8565b811461537457600080fd5b50565b615380816150d4565b811461538b57600080fd5b50565b615397816150de565b81146153a257600080fd5b50565b6153ae8161510a565b81146153b957600080fd5b50565b6153c58161513c565b81146153d057600080fd5b50565b6153dc81615146565b81146153e757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220dab8c49febb0598dbcd80a3f3280b2b866dc18441f52b74eeab9434b990c6a5764736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
Net 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.