Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 219 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24404627 | 17 days ago | IN | 0 ETH | 0.00009809 | ||||
| Set Approval For... | 24194622 | 47 days ago | IN | 0 ETH | 0.00000235 | ||||
| Transfer From | 23895092 | 89 days ago | IN | 0 ETH | 0.00017398 | ||||
| Set Approval For... | 23349846 | 165 days ago | IN | 0 ETH | 0.00006382 | ||||
| Set Approval For... | 23322300 | 169 days ago | IN | 0 ETH | 0.00003074 | ||||
| Set Approval For... | 23178446 | 189 days ago | IN | 0 ETH | 0.00005453 | ||||
| Set Approval For... | 22673280 | 260 days ago | IN | 0 ETH | 0.00011012 | ||||
| Set Approval For... | 22669000 | 260 days ago | IN | 0 ETH | 0.00010094 | ||||
| Set Approval For... | 22615548 | 268 days ago | IN | 0 ETH | 0.00014009 | ||||
| Transfer From | 22562057 | 275 days ago | IN | 0 ETH | 0.00008442 | ||||
| Transfer From | 22503283 | 283 days ago | IN | 0 ETH | 0.00013426 | ||||
| Set Approval For... | 22475385 | 287 days ago | IN | 0 ETH | 0.00033759 | ||||
| Safe Transfer Fr... | 22104263 | 339 days ago | IN | 0 ETH | 0.00007784 | ||||
| Set Approval For... | 22073263 | 343 days ago | IN | 0 ETH | 0.00002411 | ||||
| Set Approval For... | 22008182 | 353 days ago | IN | 0 ETH | 0.00004523 | ||||
| Transfer From | 21834887 | 377 days ago | IN | 0 ETH | 0.0001118 | ||||
| Set Approval For... | 21816978 | 379 days ago | IN | 0 ETH | 0.0000957 | ||||
| Safe Transfer Fr... | 21816973 | 379 days ago | IN | 0 ETH | 0.00017524 | ||||
| Set Approval For... | 21181369 | 468 days ago | IN | 0 ETH | 0.00349429 | ||||
| Set Approval For... | 21103439 | 479 days ago | IN | 0 ETH | 0.00023703 | ||||
| Set Approval For... | 20983983 | 496 days ago | IN | 0 ETH | 0.00244886 | ||||
| Safe Transfer Fr... | 20540034 | 558 days ago | IN | 0 ETH | 0.00011855 | ||||
| Set Approval For... | 20230313 | 601 days ago | IN | 0 ETH | 0.00020196 | ||||
| Safe Transfer Fr... | 20143180 | 613 days ago | IN | 0 ETH | 0.0002262 | ||||
| Safe Transfer Fr... | 20143176 | 613 days ago | IN | 0 ETH | 0.00024195 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Chrome
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Chrome, Kim Asendorf & Leander Herzog, 2023
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
contract Chrome is ERC721, ERC721Enumerable, ERC721Burnable, ReentrancyGuard, Pausable, Ownable {
using Strings for uint256;
uint256 public mintPrice;
uint256 public supply;
uint256 setId = 0;
uint256 mintId = 128;
string public title;
string public description;
string public script;
string public imageURI;
string public externalURL;
mapping(address => bool) private allowlist;
bool public isAllowlist = false;
bool public isPublic = false;
constructor(string memory _name, string memory _symbol, uint256 _mintPrice, uint256 _supply) ERC721(_name, _symbol) {
mintPrice = _mintPrice;
supply = _supply;
}
function pause() public onlyOwner {
_pause();
}
function unpause() public onlyOwner {
_unpause();
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal whenNotPaused override(ERC721, ERC721Enumerable) {
super._beforeTokenTransfer(from, to, tokenId, batchSize);
}
function mint(uint256 num) public payable whenNotPaused nonReentrant {
require(isAllowlist && allowlist[msg.sender] || isPublic, "NOT_ELIGIBLE");
require(mintId >= setId * 8 + num, "TOKENS_SOLD_OUT");
require(mintPrice * num == msg.value, "WRONG_AMOUNT");
for (uint256 i = 0; i < num; i++) {
safeMint(mintId);
mintId -= 1;
}
}
function mintSet() public payable whenNotPaused nonReentrant {
require(isAllowlist && allowlist[msg.sender] || isPublic, "NOT_ELIGIBLE");
require(mintId >= setId * 8 + 8, "SETS_SOLD_OUT");
require(mintPrice * 8 == msg.value, "WRONG_AMOUNT");
for (uint256 i = 1; i <= 8; i++) {
safeMint(setId * 8 + i);
}
setId += 1;
}
function ownerMint() public onlyOwner {
safeMint(mintId);
mintId -= 1;
}
function ownerMintSet() public onlyOwner {
require(mintId >= (setId + 1) * 8, "SETS_SOLD_OUT");
for (uint256 i = 1; i <= 8; i++) {
safeMint(setId * 8 + i);
}
setId += 1;
}
function safeMint(uint256 tokenId) private {
_safeMint(msg.sender, tokenId);
}
function withdraw(address recipient1, address recipient2) public payable onlyOwner {
Address.sendValue(payable(recipient1), address(this).balance/2);
Address.sendValue(payable(recipient2), address(this).balance);
}
function setMintPrice(uint256 _mintPrice) public onlyOwner {
mintPrice = _mintPrice;
}
function setSupply(uint256 _supply) public onlyOwner {
supply = _supply;
}
function getBalance() public view returns (uint256) {
return address(this).balance;
}
function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
require(_exists(tokenId), "NOT_EXISTS");
bytes memory html = buildHTML(tokenId);
bytes memory attributes = abi.encodePacked(
'[',
'{"trait_type":"Set","value":"', ((tokenId-1)/8+1).toString(), '"},',
'{"trait_type":"Layout","value":"', ((tokenId-1)%8+1).toString(), '"}',
']'
);
bytes memory dataURI = abi.encodePacked(
'{',
'"name":"', title, ' ', tokenId.toString(), '",',
'"description":"', description, '",',
'"image":"', imageURI, tokenId.toString(), '.jpg",',
'"external_url":"', externalURL, '?token=', tokenId.toString(), '",',
'"animation_url":"data:text/html;base64,', Base64.encode(html), '",'
'"attributes":', attributes,
'}'
);
return string(
abi.encodePacked(
"data:application/json;base64,",
Base64.encode(dataURI)
)
);
}
function _burn(uint256 tokenId) internal override(ERC721) {
super._burn(tokenId);
}
function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
return super.supportsInterface(interfaceId);
}
function setTitle(string memory _title) public onlyOwner {
title = _title;
}
function setDescription(string memory _description) public onlyOwner {
description = _description;
}
function setScript(string memory _script) public onlyOwner {
script = _script;
}
function setImageURI(string memory _imageURI) public onlyOwner {
imageURI = _imageURI;
}
function setExternalURL(string memory _externalURL) public onlyOwner {
externalURL = _externalURL;
}
function addToAllowlist(address[] calldata toAdd) external onlyOwner {
for (uint256 i = 0; i < toAdd.length; i++) {
allowlist[toAdd[i]] = true;
}
}
function removeFromAllowlist(address[] calldata toRemove) external onlyOwner {
for (uint256 i = 0; i < toRemove.length; i++) {
delete allowlist[toRemove[i]];
}
}
function setIsAllowlist(bool _isAllowlist) public onlyOwner {
isAllowlist = _isAllowlist;
}
function setIsPublic(bool _isPublic) public onlyOwner {
isPublic = _isPublic;
}
function buildHTML(uint256 tokenId) internal view returns (bytes memory) {
return abi.encodePacked(
'<!DOCTYPE HTML><html>',
'<head><meta name=\'viewport\' content=\'width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=2.0\'></head>',
'<body><script>let tId=', tokenId.toString(), ';', script, '</script></body></html>'
);
}
function getHTML(uint256 tokenId) public view returns (string memory) {
require(_exists(tokenId), "NOT_EXISTS");
bytes memory html = buildHTML(tokenId);
return string(html);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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 (last updated v4.7.0) (security/Pausable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
require(!paused(), "Pausable: paused");
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
require(paused(), "Pausable: not paused");
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _ownerOf(tokenId);
require(owner != address(0), "ERC721: invalid token ID");
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) {
_requireMinted(tokenId);
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 overridden 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 token owner or approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @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 _ownerOf(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) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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, 1);
// Check that tokenId was not minted by `_beforeTokenTransfer` hook
require(!_exists(tokenId), "ERC721: token already minted");
unchecked {
// Will not overflow unless all 2**256 token ids are minted to the same owner.
// Given that tokens are minted one by one, it is impossible in practice that
// this ever happens. Might change if we allow batch minting.
// The ERC fails to describe this case.
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
* This is an internal function that does not check if the sender is authorized to operate on the token.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId, 1);
// Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
owner = ERC721.ownerOf(tokenId);
// Clear approvals
delete _tokenApprovals[tokenId];
unchecked {
// Cannot overflow, as that would require more tokens to be burned/transferred
// out than the owner initially received through minting and transferring in.
_balances[owner] -= 1;
}
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId, 1);
}
/**
* @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 from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId, 1);
// Check that tokenId was not transferred by `_beforeTokenTransfer` hook
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
// Clear approvals from the previous owner
delete _tokenApprovals[tokenId];
unchecked {
// `_balances[from]` cannot overflow for the same reason as described in `_burn`:
// `from`'s balance is the number of token held, which is at least one before the current
// transfer.
// `_balances[to]` could overflow in the conditions described in `_mint`. That would require
// all 2**256 token ids to be minted, which in practice is impossible.
_balances[from] -= 1;
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId, 1);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @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 {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
* - When `from` is zero, the tokens will be minted for `to`.
* - When `to` is zero, ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256, /* firstTokenId */
uint256 batchSize
) internal virtual {
if (batchSize > 1) {
if (from != address(0)) {
_balances[from] -= batchSize;
}
if (to != address(0)) {
_balances[to] += batchSize;
}
}
}
/**
* @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
* - When `from` is zero, the tokens were minted for `to`.
* - When `to` is zero, ``from``'s tokens were burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
_burn(tokenId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual override {
super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
if (batchSize > 1) {
// Will only trigger during construction. Batch transferring (minting) is not available afterwards.
revert("ERC721Enumerable: consecutive transfers not supported");
}
uint256 tokenId = firstTokenId;
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/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 (last updated v4.8.0) (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`.
*
* 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;
/**
* @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* 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 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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or 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 {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// 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
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides a set of functions to operate with Base64 strings.
*
* _Available since v4.5._
*/
library Base64 {
/**
* @dev Base64 Encoding/Decoding Table
*/
string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
/**
* @dev Converts a `bytes` to its Bytes64 `string` representation.
*/
function encode(bytes memory data) internal pure returns (string memory) {
/**
* Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
* https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
*/
if (data.length == 0) return "";
// Loads the table into memory
string memory table = _TABLE;
// Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
// and split into 4 numbers of 6 bits.
// The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
// - `data.length + 2` -> Round up
// - `/ 3` -> Number of 3-bytes chunks
// - `4 *` -> 4 characters for each chunk
string memory result = new string(4 * ((data.length + 2) / 3));
/// @solidity memory-safe-assembly
assembly {
// Prepare the lookup table (skip the first "length" byte)
let tablePtr := add(table, 1)
// Prepare result pointer, jump over length
let resultPtr := add(result, 32)
// Run over the input, 3 bytes at a time
for {
let dataPtr := data
let endPtr := add(data, mload(data))
} lt(dataPtr, endPtr) {
} {
// Advance 3 bytes
dataPtr := add(dataPtr, 3)
let input := mload(dataPtr)
// To write each character, shift the 3 bytes (18 bits) chunk
// 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
// and apply logical AND with 0x3F which is the number of
// the previous character in the ASCII table prior to the Base64 Table
// The result is then added to the table to get the character to write,
// and finally write it in the result pointer but with a left shift
// of 256 (1 byte) - 8 (1 ASCII char) = 248 bits
mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
resultPtr := add(resultPtr, 1) // Advance
mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
resultPtr := add(resultPtr, 1) // Advance
mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
resultPtr := add(resultPtr, 1) // Advance
mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
resultPtr := add(resultPtr, 1) // Advance
}
// When data `bytes` is not exactly 3 bytes long
// it is padded with `=` characters at the end
switch mod(mload(data), 3)
case 1 {
mstore8(sub(resultPtr, 1), 0x3d)
mstore8(sub(resultPtr, 2), 0x3d)
}
case 2 {
mstore8(sub(resultPtr, 1), 0x3d)
}
}
return result;
}
}// 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
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator
) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1);
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(
uint256 x,
uint256 y,
uint256 denominator,
Rounding rounding
) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// ā `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// ā `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10**64) {
value /= 10**64;
result += 64;
}
if (value >= 10**32) {
value /= 10**32;
result += 32;
}
if (value >= 10**16) {
value /= 10**16;
result += 16;
}
if (value >= 10**8) {
value /= 10**8;
result += 8;
}
if (value >= 10**4) {
value /= 10**4;
result += 4;
}
if (value >= 10**2) {
value /= 10**2;
result += 2;
}
if (value >= 10**1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}{
"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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"toAdd","type":"address[]"}],"name":"addToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"externalURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintSet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownerMintSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"toRemove","type":"address[]"}],"name":"removeFromAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"script","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_externalURL","type":"string"}],"name":"setExternalURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageURI","type":"string"}],"name":"setImageURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowlist","type":"bool"}],"name":"setIsAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublic","type":"bool"}],"name":"setIsPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_script","type":"string"}],"name":"setScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_title","type":"string"}],"name":"setTitle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"title","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient1","type":"address"},{"internalType":"address","name":"recipient2","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
60806040526000600e556080600f556000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff0219169083151502179055503480156200005157600080fd5b506040516200673d3803806200673d833981810160405281019062000077919062000396565b838381600090816200008a919062000687565b5080600190816200009c919062000687565b5050506001600a819055506000600b60006101000a81548160ff021916908315150217905550620000e2620000d6620000fa60201b60201c565b6200010260201b60201c565b81600c8190555080600d81905550505050506200076e565b600033905090565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200023182620001e6565b810181811067ffffffffffffffff82111715620002535762000252620001f7565b5b80604052505050565b600062000268620001c8565b905062000276828262000226565b919050565b600067ffffffffffffffff821115620002995762000298620001f7565b5b620002a482620001e6565b9050602081019050919050565b60005b83811015620002d1578082015181840152602081019050620002b4565b60008484015250505050565b6000620002f4620002ee846200027b565b6200025c565b905082815260208101848484011115620003135762000312620001e1565b5b62000320848285620002b1565b509392505050565b600082601f83011262000340576200033f620001dc565b5b815162000352848260208601620002dd565b91505092915050565b6000819050919050565b62000370816200035b565b81146200037c57600080fd5b50565b600081519050620003908162000365565b92915050565b60008060008060808587031215620003b357620003b2620001d2565b5b600085015167ffffffffffffffff811115620003d457620003d3620001d7565b5b620003e28782880162000328565b945050602085015167ffffffffffffffff811115620004065762000405620001d7565b5b620004148782880162000328565b935050604062000427878288016200037f565b92505060606200043a878288016200037f565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200049957607f821691505b602082108103620004af57620004ae62000451565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005197fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004da565b620005258683620004da565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000568620005626200055c846200035b565b6200053d565b6200035b565b9050919050565b6000819050919050565b620005848362000547565b6200059c62000593826200056f565b848454620004e7565b825550505050565b600090565b620005b3620005a4565b620005c081848462000579565b505050565b5b81811015620005e857620005dc600082620005a9565b600181019050620005c6565b5050565b601f82111562000637576200060181620004b5565b6200060c84620004ca565b810160208510156200061c578190505b620006346200062b85620004ca565b830182620005c5565b50505b505050565b600082821c905092915050565b60006200065c600019846008026200063c565b1980831691505092915050565b600062000677838362000649565b9150826002028217905092915050565b620006928262000446565b67ffffffffffffffff811115620006ae57620006ad620001f7565b5b620006ba825462000480565b620006c7828285620005ec565b600060209050601f831160018114620006ff5760008415620006ea578287015190505b620006f6858262000669565b86555062000766565b601f1984166200070f86620004b5565b60005b82811015620007395784890151825560018201915060208501945060208101905062000712565b8683101562000759578489015162000755601f89168262000649565b8355505b6001600288020188555050505b505050505050565b615fbf806200077e6000396000f3fe6080604052600436106102c95760003560e01c80636817c76c11610175578063b12dc991116100dc578063e763b01711610095578063f2fde38b1161006f578063f2fde38b14610a78578063f4a0a52814610aa1578063f940e38514610aca578063fdab3b3f14610ae6576102c9565b8063e763b01714610a06578063e985e9c514610a10578063ebe9eb9f14610a4d576102c9565b8063b12dc9911461090a578063b88d4fde14610921578063b99edfb21461094a578063c87b56dd14610975578063d1aa2193146109b2578063dc9a1535146109db576102c9565b80638456cb591161012e5780638456cb591461082f5780638da5cb5b1461084657806390c3f38f1461087157806395d89b411461089a578063a0712d68146108c5578063a22cb465146108e1576102c9565b80636817c76c1461073357806370a082311461075e578063715018a61461079b5780637284e416146107b257806372910be0146107dd57806378a4ab8514610806576102c9565b8063169d8edd1161023457806342842e0e116101ed5780634f6ccce7116101c75780634f6ccce7146106655780635207c273146106a25780635c975abb146106cb5780636352211e146106f6576102c9565b806342842e0e146105e857806342966c68146106115780634a79d50c1461063a576102c9565b8063169d8edd146104ec57806318160ddd1461051757806323b872dd146105425780632f745c591461056b5780633b4c4b25146105a85780633f4ba83a146105d1576102c9565b8063081812fc11610286578063081812fc146103ca578063095ea7b314610407578063102581d214610430578063104b6cb71461046d57806312065fe014610496578063135d088d146104c1576102c9565b806301dbcd4a146102ce57806301ffc9a7146102f757806304787ca214610334578063047fc9aa1461035d578063051872031461038857806306fdde031461039f575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613baa565b610b0f565b005b34801561030357600080fd5b5061031e60048036038101906103199190613c4b565b610b2a565b60405161032b9190613c93565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613baa565b610b3c565b005b34801561036957600080fd5b50610372610b57565b60405161037f9190613cc7565b60405180910390f35b34801561039457600080fd5b5061039d610b5d565b005b3480156103ab57600080fd5b506103b4610c25565b6040516103c19190613d61565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190613daf565b610cb7565b6040516103fe9190613e1d565b60405180910390f35b34801561041357600080fd5b5061042e60048036038101906104299190613e64565b610cfd565b005b34801561043c57600080fd5b5061045760048036038101906104529190613daf565b610e14565b6040516104649190613d61565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613f04565b610e74565b005b3480156104a257600080fd5b506104ab610f18565b6040516104b89190613cc7565b60405180910390f35b3480156104cd57600080fd5b506104d6610f20565b6040516104e39190613d61565b60405180910390f35b3480156104f857600080fd5b50610501610fae565b60405161050e9190613c93565b60405180910390f35b34801561052357600080fd5b5061052c610fc1565b6040516105399190613cc7565b60405180910390f35b34801561054e57600080fd5b5061056960048036038101906105649190613f51565b610fce565b005b34801561057757600080fd5b50610592600480360381019061058d9190613e64565b61102e565b60405161059f9190613cc7565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613daf565b6110d3565b005b3480156105dd57600080fd5b506105e66110e5565b005b3480156105f457600080fd5b5061060f600480360381019061060a9190613f51565b6110f7565b005b34801561061d57600080fd5b5061063860048036038101906106339190613daf565b611117565b005b34801561064657600080fd5b5061064f611173565b60405161065c9190613d61565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613daf565b611201565b6040516106999190613cc7565b60405180910390f35b3480156106ae57600080fd5b506106c960048036038101906106c49190613f04565b611272565b005b3480156106d757600080fd5b506106e061131f565b6040516106ed9190613c93565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613daf565b611336565b60405161072a9190613e1d565b60405180910390f35b34801561073f57600080fd5b506107486113bc565b6040516107559190613cc7565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613fa4565b6113c2565b6040516107929190613cc7565b60405180910390f35b3480156107a757600080fd5b506107b0611479565b005b3480156107be57600080fd5b506107c761148d565b6040516107d49190613d61565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613baa565b61151b565b005b34801561081257600080fd5b5061082d60048036038101906108289190613baa565b611536565b005b34801561083b57600080fd5b50610844611551565b005b34801561085257600080fd5b5061085b611563565b6040516108689190613e1d565b60405180910390f35b34801561087d57600080fd5b5061089860048036038101906108939190613baa565b61158d565b005b3480156108a657600080fd5b506108af6115a8565b6040516108bc9190613d61565b60405180910390f35b6108df60048036038101906108da9190613daf565b61163a565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613ffd565b611801565b005b34801561091657600080fd5b5061091f611817565b005b34801561092d57600080fd5b50610948600480360381019061094391906140de565b611846565b005b34801561095657600080fd5b5061095f6118a8565b60405161096c9190613d61565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613daf565b611936565b6040516109a99190613d61565b60405180910390f35b3480156109be57600080fd5b506109d960048036038101906109d49190614161565b611a95565b005b3480156109e757600080fd5b506109f0611aba565b6040516109fd9190613c93565b60405180910390f35b610a0e611acd565b005b348015610a1c57600080fd5b50610a376004803603810190610a32919061418e565b611caf565b604051610a449190613c93565b60405180910390f35b348015610a5957600080fd5b50610a62611d43565b604051610a6f9190613d61565b60405180910390f35b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613fa4565b611dd1565b005b348015610aad57600080fd5b50610ac86004803603810190610ac39190613daf565b611e54565b005b610ae46004803603810190610adf919061418e565b611e66565b005b348015610af257600080fd5b50610b0d6004803603810190610b089190614161565b611e92565b005b610b17611eb7565b8060149081610b2691906143da565b5050565b6000610b3582611f35565b9050919050565b610b44611eb7565b8060139081610b5391906143da565b5050565b600d5481565b610b65611eb7565b60086001600e54610b7691906144db565b610b80919061450f565b600f541015610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb9061459d565b60405180910390fd5b6000600190505b60088111610c0857610bf5816008600e54610be6919061450f565b610bf091906144db565b611faf565b8080610c00906145bd565b915050610bcb565b506001600e6000828254610c1c91906144db565b92505081905550565b606060008054610c34906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c60906141fd565b8015610cad5780601f10610c8257610100808354040283529160200191610cad565b820191906000526020600020905b815481529060010190602001808311610c9057829003601f168201915b5050505050905090565b6000610cc282611fbc565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d0882611336565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f90614677565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d97612007565b73ffffffffffffffffffffffffffffffffffffffff161480610dc65750610dc581610dc0612007565b611caf565b5b610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc90614709565b60405180910390fd5b610e0f838361200f565b505050565b6060610e1f826120c8565b610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590614775565b60405180910390fd5b6000610e6983612109565b905080915050919050565b610e7c611eb7565b60005b82829050811015610f135760156000848484818110610ea157610ea0614795565b5b9050602002016020810190610eb69190613fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690558080610f0b906145bd565b915050610e7f565b505050565b600047905090565b60138054610f2d906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610f59906141fd565b8015610fa65780601f10610f7b57610100808354040283529160200191610fa6565b820191906000526020600020905b815481529060010190602001808311610f8957829003601f168201915b505050505081565b601660009054906101000a900460ff1681565b6000600880549050905090565b610fdf610fd9612007565b8261213d565b61101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590614836565b60405180910390fd5b6110298383836121d2565b505050565b6000611039836113c2565b821061107a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611071906148c8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110db611eb7565b80600d8190555050565b6110ed611eb7565b6110f56124cb565b565b61111283838360405180602001604052806000815250611846565b505050565b611128611122612007565b8261213d565b611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90614836565b60405180910390fd5b6111708161252e565b50565b60108054611180906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546111ac906141fd565b80156111f95780601f106111ce576101008083540402835291602001916111f9565b820191906000526020600020905b8154815290600101906020018083116111dc57829003601f168201915b505050505081565b600061120b610fc1565b821061124c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112439061495a565b60405180910390fd5b600882815481106112605761125f614795565b5b90600052602060002001549050919050565b61127a611eb7565b60005b8282905081101561131a576001601560008585858181106112a1576112a0614795565b5b90506020020160208101906112b69190613fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611312906145bd565b91505061127d565b505050565b6000600b60009054906101000a900460ff16905090565b6000806113428361253a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa906149c6565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142990614a58565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611481611eb7565b61148b6000612577565b565b6011805461149a906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546114c6906141fd565b80156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b505050505081565b611523611eb7565b806010908161153291906143da565b5050565b61153e611eb7565b806012908161154d91906143da565b5050565b611559611eb7565b61156161263d565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611595611eb7565b80601190816115a491906143da565b5050565b6060600180546115b7906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546115e3906141fd565b80156116305780601f1061160557610100808354040283529160200191611630565b820191906000526020600020905b81548152906001019060200180831161161357829003601f168201915b5050505050905090565b6116426126a0565b61164a6126ea565b601660009054906101000a900460ff1680156116af5750601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806116c65750601660019054906101000a900460ff165b611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614ac4565b60405180910390fd5b806008600e54611715919061450f565b61171f91906144db565b600f541015611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a90614b30565b60405180910390fd5b3481600c54611772919061450f565b146117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990614b9c565b60405180910390fd5b60005b818110156117f5576117c8600f54611faf565b6001600f60008282546117db9190614bbc565b9250508190555080806117ed906145bd565b9150506117b5565b506117fe612739565b50565b61181361180c612007565b8383612743565b5050565b61181f611eb7565b61182a600f54611faf565b6001600f600082825461183d9190614bbc565b92505081905550565b611857611851612007565b8361213d565b611896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188d90614836565b60405180910390fd5b6118a2848484846128af565b50505050565b601480546118b5906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546118e1906141fd565b801561192e5780601f106119035761010080835404028352916020019161192e565b820191906000526020600020905b81548152906001019060200180831161191157829003601f168201915b505050505081565b6060611941826120c8565b611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790614775565b60405180910390fd5b600061198b83612109565b905060006119bc600160086001876119a39190614bbc565b6119ad9190614c1f565b6119b791906144db565b61290b565b6119e9600160086001886119d09190614bbc565b6119da9190614c50565b6119e491906144db565b61290b565b6040516020016119fa929190614e85565b604051602081830303815290604052905060006010611a188661290b565b60116013611a258961290b565b6014611a308b61290b565b611a398a6129d9565b89604051602001611a529998979695949392919061536b565b6040516020818303038152906040529050611a6c816129d9565b604051602001611a7c91906154d0565b6040516020818303038152906040529350505050919050565b611a9d611eb7565b80601660006101000a81548160ff02191690831515021790555050565b601660019054906101000a900460ff1681565b611ad56126a0565b611add6126ea565b601660009054906101000a900460ff168015611b425750601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611b595750601660019054906101000a900460ff165b611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90614ac4565b60405180910390fd5b600880600e54611ba8919061450f565b611bb291906144db565b600f541015611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed9061459d565b60405180910390fd5b346008600c54611c06919061450f565b14611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d90614b9c565b60405180910390fd5b6000600190505b60088111611c8a57611c77816008600e54611c68919061450f565b611c7291906144db565b611faf565b8080611c82906145bd565b915050611c4d565b506001600e6000828254611c9e91906144db565b92505081905550611cad612739565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60128054611d50906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7c906141fd565b8015611dc95780601f10611d9e57610100808354040283529160200191611dc9565b820191906000526020600020905b815481529060010190602001808311611dac57829003601f168201915b505050505081565b611dd9611eb7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f90615564565b60405180910390fd5b611e5181612577565b50565b611e5c611eb7565b80600c8190555050565b611e6e611eb7565b611e8482600247611e7f9190614c1f565b612b3c565b611e8e8147612b3c565b5050565b611e9a611eb7565b80601660016101000a81548160ff02191690831515021790555050565b611ebf612007565b73ffffffffffffffffffffffffffffffffffffffff16611edd611563565b73ffffffffffffffffffffffffffffffffffffffff1614611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a906155d0565b60405180910390fd5b565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa85750611fa782612c30565b5b9050919050565b611fb93382612d12565b50565b611fc5816120c8565b612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb906149c6565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661208283611336565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166120ea8361253a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606121148261290b565b60126040516020016121279291906157de565b6040516020818303038152906040529050919050565b60008061214983611336565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218b575061218a8185611caf565b5b806121c957508373ffffffffffffffffffffffffffffffffffffffff166121b184610cb7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121f282611336565b73ffffffffffffffffffffffffffffffffffffffff1614612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f906158ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae9061593d565b60405180910390fd5b6122c48383836001612d30565b8273ffffffffffffffffffffffffffffffffffffffff166122e482611336565b73ffffffffffffffffffffffffffffffffffffffff161461233a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612331906158ab565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c68383836001612d4a565b505050565b6124d3612d50565b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612517612007565b6040516125249190613e1d565b60405180910390a1565b61253781612d99565b50565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126456126a0565b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612689612007565b6040516126969190613e1d565b60405180910390a1565b6126a861131f565b156126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df906159a9565b60405180910390fd5b565b6002600a540361272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690615a15565b60405180910390fd5b6002600a81905550565b6001600a81905550565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a890615a81565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128a29190613c93565b60405180910390a3505050565b6128ba8484846121d2565b6128c684848484612ee7565b612905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fc90615b13565b60405180910390fd5b50505050565b60606000600161291a8461306e565b01905060008167ffffffffffffffff81111561293957612938613a7f565b5b6040519080825280601f01601f19166020018201604052801561296b5781602001600182028036833780820191505090505b509050600082602001820190505b6001156129ce578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816129c2576129c1614bf0565b5b04945060008503612979575b819350505050919050565b606060008251036129fb57604051806020016040528060008152509050612b37565b6000604051806060016040528060408152602001615f4a6040913990506000600360028551612a2a91906144db565b612a349190614c1f565b6004612a40919061450f565b67ffffffffffffffff811115612a5957612a58613a7f565b5b6040519080825280601f01601f191660200182016040528015612a8b5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612af7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612a9c565b5050600386510660018114612b135760028114612b2657612b2e565b603d6001830353603d6002830353612b2e565b603d60018303535b50505080925050505b919050565b80471015612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690615b7f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ba590615bc5565b60006040518083038185875af1925050503d8060008114612be2576040519150601f19603f3d011682016040523d82523d6000602084013e612be7565b606091505b5050905080612c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2290615c4c565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cfb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d0b5750612d0a826131c1565b5b9050919050565b612d2c82826040518060200160405280600081525061322b565b5050565b612d386126a0565b612d4484848484613286565b50505050565b50505050565b612d5861131f565b612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8e90615cb8565b60405180910390fd5b565b6000612da482611336565b9050612db4816000846001612d30565b612dbd82611336565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ee3816000846001612d4a565b5050565b6000612f088473ffffffffffffffffffffffffffffffffffffffff166133e4565b15613061578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f31612007565b8786866040518563ffffffff1660e01b8152600401612f539493929190615d22565b6020604051808303816000875af1925050508015612f8f57506040513d601f19601f82011682018060405250810190612f8c9190615d83565b60015b613011573d8060008114612fbf576040519150601f19603f3d011682016040523d82523d6000602084013e612fc4565b606091505b506000815103613009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300090615b13565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613066565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130cc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130c2576130c1614bf0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613109576d04ee2d6d415b85acef810000000083816130ff576130fe614bf0565b5b0492506020810190505b662386f26fc10000831061313857662386f26fc10000838161312e5761312d614bf0565b5b0492506010810190505b6305f5e1008310613161576305f5e100838161315757613156614bf0565b5b0492506008810190505b612710831061318657612710838161317c5761317b614bf0565b5b0492506004810190505b606483106131a9576064838161319f5761319e614bf0565b5b0492506002810190505b600a83106131b8576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132358383613407565b6132426000848484612ee7565b613281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327890615b13565b60405180910390fd5b505050565b61329284848484613624565b60018111156132d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132cd90615e22565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361331d576133188161374a565b61335c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461335b5761335a8582613793565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361339e5761339981613900565b6133dd565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146133dc576133db84826139d1565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90615e8e565b60405180910390fd5b61347f816120c8565b156134bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b690615efa565b60405180910390fd5b6134cd600083836001612d30565b6134d6816120c8565b15613516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350d90615efa565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613620600083836001612d4a565b5050565b600181111561374457600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136b85780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136b09190614bbc565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137435780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461373b91906144db565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137a0846113c2565b6137aa9190614bbc565b905060006007600084815260200190815260200160002054905081811461388f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139149190614bbc565b905060006009600084815260200190815260200160002054905060006008838154811061394457613943614795565b5b90600052602060002001549050806008838154811061396657613965614795565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139b5576139b4615f1a565b5b6001900381819060005260206000200160009055905550505050565b60006139dc836113c2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ab782613a6e565b810181811067ffffffffffffffff82111715613ad657613ad5613a7f565b5b80604052505050565b6000613ae9613a50565b9050613af58282613aae565b919050565b600067ffffffffffffffff821115613b1557613b14613a7f565b5b613b1e82613a6e565b9050602081019050919050565b82818337600083830152505050565b6000613b4d613b4884613afa565b613adf565b905082815260208101848484011115613b6957613b68613a69565b5b613b74848285613b2b565b509392505050565b600082601f830112613b9157613b90613a64565b5b8135613ba1848260208601613b3a565b91505092915050565b600060208284031215613bc057613bbf613a5a565b5b600082013567ffffffffffffffff811115613bde57613bdd613a5f565b5b613bea84828501613b7c565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c2881613bf3565b8114613c3357600080fd5b50565b600081359050613c4581613c1f565b92915050565b600060208284031215613c6157613c60613a5a565b5b6000613c6f84828501613c36565b91505092915050565b60008115159050919050565b613c8d81613c78565b82525050565b6000602082019050613ca86000830184613c84565b92915050565b6000819050919050565b613cc181613cae565b82525050565b6000602082019050613cdc6000830184613cb8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d1c578082015181840152602081019050613d01565b60008484015250505050565b6000613d3382613ce2565b613d3d8185613ced565b9350613d4d818560208601613cfe565b613d5681613a6e565b840191505092915050565b60006020820190508181036000830152613d7b8184613d28565b905092915050565b613d8c81613cae565b8114613d9757600080fd5b50565b600081359050613da981613d83565b92915050565b600060208284031215613dc557613dc4613a5a565b5b6000613dd384828501613d9a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e0782613ddc565b9050919050565b613e1781613dfc565b82525050565b6000602082019050613e326000830184613e0e565b92915050565b613e4181613dfc565b8114613e4c57600080fd5b50565b600081359050613e5e81613e38565b92915050565b60008060408385031215613e7b57613e7a613a5a565b5b6000613e8985828601613e4f565b9250506020613e9a85828601613d9a565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613ec457613ec3613a64565b5b8235905067ffffffffffffffff811115613ee157613ee0613ea4565b5b602083019150836020820283011115613efd57613efc613ea9565b5b9250929050565b60008060208385031215613f1b57613f1a613a5a565b5b600083013567ffffffffffffffff811115613f3957613f38613a5f565b5b613f4585828601613eae565b92509250509250929050565b600080600060608486031215613f6a57613f69613a5a565b5b6000613f7886828701613e4f565b9350506020613f8986828701613e4f565b9250506040613f9a86828701613d9a565b9150509250925092565b600060208284031215613fba57613fb9613a5a565b5b6000613fc884828501613e4f565b91505092915050565b613fda81613c78565b8114613fe557600080fd5b50565b600081359050613ff781613fd1565b92915050565b6000806040838503121561401457614013613a5a565b5b600061402285828601613e4f565b925050602061403385828601613fe8565b9150509250929050565b600067ffffffffffffffff82111561405857614057613a7f565b5b61406182613a6e565b9050602081019050919050565b600061408161407c8461403d565b613adf565b90508281526020810184848401111561409d5761409c613a69565b5b6140a8848285613b2b565b509392505050565b600082601f8301126140c5576140c4613a64565b5b81356140d584826020860161406e565b91505092915050565b600080600080608085870312156140f8576140f7613a5a565b5b600061410687828801613e4f565b945050602061411787828801613e4f565b935050604061412887828801613d9a565b925050606085013567ffffffffffffffff81111561414957614148613a5f565b5b614155878288016140b0565b91505092959194509250565b60006020828403121561417757614176613a5a565b5b600061418584828501613fe8565b91505092915050565b600080604083850312156141a5576141a4613a5a565b5b60006141b385828601613e4f565b92505060206141c485828601613e4f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421557607f821691505b602082108103614228576142276141ce565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614253565b61429a8683614253565b95508019841693508086168417925050509392505050565b6000819050919050565b60006142d76142d26142cd84613cae565b6142b2565b613cae565b9050919050565b6000819050919050565b6142f1836142bc565b6143056142fd826142de565b848454614260565b825550505050565b600090565b61431a61430d565b6143258184846142e8565b505050565b5b818110156143495761433e600082614312565b60018101905061432b565b5050565b601f82111561438e5761435f8161422e565b61436884614243565b81016020851015614377578190505b61438b61438385614243565b83018261432a565b50505b505050565b600082821c905092915050565b60006143b160001984600802614393565b1980831691505092915050565b60006143ca83836143a0565b9150826002028217905092915050565b6143e382613ce2565b67ffffffffffffffff8111156143fc576143fb613a7f565b5b61440682546141fd565b61441182828561434d565b600060209050601f8311600181146144445760008415614432578287015190505b61443c85826143be565b8655506144a4565b601f1984166144528661422e565b60005b8281101561447a57848901518255600182019150602085019450602081019050614455565b868310156144975784890151614493601f8916826143a0565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e682613cae565b91506144f183613cae565b9250828201905080821115614509576145086144ac565b5b92915050565b600061451a82613cae565b915061452583613cae565b925082820261453381613cae565b9150828204841483151761454a576145496144ac565b5b5092915050565b7f534554535f534f4c445f4f555400000000000000000000000000000000000000600082015250565b6000614587600d83613ced565b915061459282614551565b602082019050919050565b600060208201905081810360008301526145b68161457a565b9050919050565b60006145c882613cae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145fa576145f96144ac565b5b600182019050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614661602183613ced565b915061466c82614605565b604082019050919050565b6000602082019050818103600083015261469081614654565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006146f3603d83613ced565b91506146fe82614697565b604082019050919050565b60006020820190508181036000830152614722816146e6565b9050919050565b7f4e4f545f45584953545300000000000000000000000000000000000000000000600082015250565b600061475f600a83613ced565b915061476a82614729565b602082019050919050565b6000602082019050818103600083015261478e81614752565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614820602d83613ced565b915061482b826147c4565b604082019050919050565b6000602082019050818103600083015261484f81614813565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006148b2602b83613ced565b91506148bd82614856565b604082019050919050565b600060208201905081810360008301526148e1816148a5565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614944602c83613ced565b915061494f826148e8565b604082019050919050565b6000602082019050818103600083015261497381614937565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006149b0601883613ced565b91506149bb8261497a565b602082019050919050565b600060208201905081810360008301526149df816149a3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614a42602983613ced565b9150614a4d826149e6565b604082019050919050565b60006020820190508181036000830152614a7181614a35565b9050919050565b7f4e4f545f454c494749424c450000000000000000000000000000000000000000600082015250565b6000614aae600c83613ced565b9150614ab982614a78565b602082019050919050565b60006020820190508181036000830152614add81614aa1565b9050919050565b7f544f4b454e535f534f4c445f4f55540000000000000000000000000000000000600082015250565b6000614b1a600f83613ced565b9150614b2582614ae4565b602082019050919050565b60006020820190508181036000830152614b4981614b0d565b9050919050565b7f57524f4e475f414d4f554e540000000000000000000000000000000000000000600082015250565b6000614b86600c83613ced565b9150614b9182614b50565b602082019050919050565b60006020820190508181036000830152614bb581614b79565b9050919050565b6000614bc782613cae565b9150614bd283613cae565b9250828203905081811115614bea57614be96144ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c2a82613cae565b9150614c3583613cae565b925082614c4557614c44614bf0565b5b828204905092915050565b6000614c5b82613cae565b9150614c6683613cae565b925082614c7657614c75614bf0565b5b828206905092915050565b600081905092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cc2600183614c81565b9150614ccd82614c8c565b600182019050919050565b7f7b2274726169745f74797065223a22536574222c2276616c7565223a22000000600082015250565b6000614d0e601d83614c81565b9150614d1982614cd8565b601d82019050919050565b6000614d2f82613ce2565b614d398185614c81565b9350614d49818560208601613cfe565b80840191505092915050565b7f227d2c0000000000000000000000000000000000000000000000000000000000600082015250565b6000614d8b600383614c81565b9150614d9682614d55565b600382019050919050565b7f7b2274726169745f74797065223a224c61796f7574222c2276616c7565223a22600082015250565b6000614dd7602083614c81565b9150614de282614da1565b602082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e23600283614c81565b9150614e2e82614ded565b600282019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e6f600183614c81565b9150614e7a82614e39565b600182019050919050565b6000614e9082614cb5565b9150614e9b82614d01565b9150614ea78285614d24565b9150614eb282614d7e565b9150614ebd82614dca565b9150614ec98284614d24565b9150614ed482614e16565b9150614edf82614e62565b91508190509392505050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f21600183614c81565b9150614f2c82614eeb565b600182019050919050565b7f226e616d65223a22000000000000000000000000000000000000000000000000600082015250565b6000614f6d600883614c81565b9150614f7882614f37565b600882019050919050565b60008154614f90816141fd565b614f9a8186614c81565b94506001821660008114614fb55760018114614fca57614ffd565b60ff1983168652811515820286019350614ffd565b614fd38561422e565b60005b83811015614ff557815481890152600182019150602081019050614fd6565b838801955050505b50505092915050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b600061503c600183614c81565b915061504782615006565b600182019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615088600283614c81565b915061509382615052565b600282019050919050565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b60006150d4600f83614c81565b91506150df8261509e565b600f82019050919050565b7f22696d616765223a220000000000000000000000000000000000000000000000600082015250565b6000615120600983614c81565b915061512b826150ea565b600982019050919050565b7f2e6a7067222c0000000000000000000000000000000000000000000000000000600082015250565b600061516c600683614c81565b915061517782615136565b600682019050919050565b7f2265787465726e616c5f75726c223a2200000000000000000000000000000000600082015250565b60006151b8601083614c81565b91506151c382615182565b601082019050919050565b7f3f746f6b656e3d00000000000000000000000000000000000000000000000000600082015250565b6000615204600783614c81565b915061520f826151ce565b600782019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b6000615276602783614c81565b91506152818261521a565b602782019050919050565b7f222c2261747472696275746573223a0000000000000000000000000000000000600082015250565b60006152c2600f83614c81565b91506152cd8261528c565b600f82019050919050565b600081519050919050565b600081905092915050565b60006152f9826152d8565b61530381856152e3565b9350615313818560208601613cfe565b80840191505092915050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615355600183614c81565b91506153608261531f565b600182019050919050565b600061537682614f14565b915061538182614f60565b915061538d828c614f83565b91506153988261502f565b91506153a4828b614d24565b91506153af8261507b565b91506153ba826150c7565b91506153c6828a614f83565b91506153d18261507b565b91506153dc82615113565b91506153e88289614f83565b91506153f48288614d24565b91506153ff8261515f565b915061540a826151ab565b91506154168287614f83565b9150615421826151f7565b915061542d8286614d24565b91506154388261507b565b915061544382615269565b915061544f8285614d24565b915061545a826152b5565b915061546682846152ee565b915061547182615348565b91508190509a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006154ba601d83614c81565b91506154c582615484565b601d82019050919050565b60006154db826154ad565b91506154e78284614d24565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061554e602683613ced565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155ba602083613ced565b91506155c582615584565b602082019050919050565b600060208201905081810360008301526155e9816155ad565b9050919050565b7f3c21444f43545950452048544d4c3e3c68746d6c3e0000000000000000000000600082015250565b6000615626601583614c81565b9150615631826155f0565b601582019050919050565b7f3c686561643e3c6d657461206e616d653d2776696577706f72742720636f6e7460008201527f656e743d2777696474683d6465766963652d77696474682c757365722d73636160208201527f6c61626c653d6e6f2c6d696e696d756d2d7363616c653d312e302c6d6178696d60408201527f756d2d7363616c653d322e30273e3c2f686561643e0000000000000000000000606082015250565b60006156e4607583614c81565b91506156ef8261563c565b607582019050919050565b7f3c626f64793e3c7363726970743e6c6574207449643d00000000000000000000600082015250565b6000615730601683614c81565b915061573b826156fa565b601682019050919050565b7f3b00000000000000000000000000000000000000000000000000000000000000600082015250565b600061577c600183614c81565b915061578782615746565b600182019050919050565b7f3c2f7363726970743e3c2f626f64793e3c2f68746d6c3e000000000000000000600082015250565b60006157c8601783614c81565b91506157d382615792565b601782019050919050565b60006157e982615619565b91506157f4826156d7565b91506157ff82615723565b915061580b8285614d24565b91506158168261576f565b91506158228284614f83565b915061582d826157bb565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615895602583613ced565b91506158a082615839565b604082019050919050565b600060208201905081810360008301526158c481615888565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615927602483613ced565b9150615932826158cb565b604082019050919050565b600060208201905081810360008301526159568161591a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615993601083613ced565b915061599e8261595d565b602082019050919050565b600060208201905081810360008301526159c281615986565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006159ff601f83613ced565b9150615a0a826159c9565b602082019050919050565b60006020820190508181036000830152615a2e816159f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a6b601983613ced565b9150615a7682615a35565b602082019050919050565b60006020820190508181036000830152615a9a81615a5e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615afd603283613ced565b9150615b0882615aa1565b604082019050919050565b60006020820190508181036000830152615b2c81615af0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615b69601d83613ced565b9150615b7482615b33565b602082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b50565b6000615baf6000836152e3565b9150615bba82615b9f565b600082019050919050565b6000615bd082615ba2565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615c36603a83613ced565b9150615c4182615bda565b604082019050919050565b60006020820190508181036000830152615c6581615c29565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615ca2601483613ced565b9150615cad82615c6c565b602082019050919050565b60006020820190508181036000830152615cd181615c95565b9050919050565b600082825260208201905092915050565b6000615cf4826152d8565b615cfe8185615cd8565b9350615d0e818560208601613cfe565b615d1781613a6e565b840191505092915050565b6000608082019050615d376000830187613e0e565b615d446020830186613e0e565b615d516040830185613cb8565b8181036060830152615d638184615ce9565b905095945050505050565b600081519050615d7d81613c1f565b92915050565b600060208284031215615d9957615d98613a5a565b5b6000615da784828501615d6e565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615e0c603583613ced565b9150615e1782615db0565b604082019050919050565b60006020820190508181036000830152615e3b81615dff565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e78602083613ced565b9150615e8382615e42565b602082019050919050565b60006020820190508181036000830152615ea781615e6b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ee4601c83613ced565b9150615eef82615eae565b602082019050919050565b60006020820190508181036000830152615f1381615ed7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220881b81617092b98ff2a446f44a864eb955abbe07c0b28815ea4cf4dea929cdd364736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064368726f6d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064348524f4d450000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102c95760003560e01c80636817c76c11610175578063b12dc991116100dc578063e763b01711610095578063f2fde38b1161006f578063f2fde38b14610a78578063f4a0a52814610aa1578063f940e38514610aca578063fdab3b3f14610ae6576102c9565b8063e763b01714610a06578063e985e9c514610a10578063ebe9eb9f14610a4d576102c9565b8063b12dc9911461090a578063b88d4fde14610921578063b99edfb21461094a578063c87b56dd14610975578063d1aa2193146109b2578063dc9a1535146109db576102c9565b80638456cb591161012e5780638456cb591461082f5780638da5cb5b1461084657806390c3f38f1461087157806395d89b411461089a578063a0712d68146108c5578063a22cb465146108e1576102c9565b80636817c76c1461073357806370a082311461075e578063715018a61461079b5780637284e416146107b257806372910be0146107dd57806378a4ab8514610806576102c9565b8063169d8edd1161023457806342842e0e116101ed5780634f6ccce7116101c75780634f6ccce7146106655780635207c273146106a25780635c975abb146106cb5780636352211e146106f6576102c9565b806342842e0e146105e857806342966c68146106115780634a79d50c1461063a576102c9565b8063169d8edd146104ec57806318160ddd1461051757806323b872dd146105425780632f745c591461056b5780633b4c4b25146105a85780633f4ba83a146105d1576102c9565b8063081812fc11610286578063081812fc146103ca578063095ea7b314610407578063102581d214610430578063104b6cb71461046d57806312065fe014610496578063135d088d146104c1576102c9565b806301dbcd4a146102ce57806301ffc9a7146102f757806304787ca214610334578063047fc9aa1461035d578063051872031461038857806306fdde031461039f575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f09190613baa565b610b0f565b005b34801561030357600080fd5b5061031e60048036038101906103199190613c4b565b610b2a565b60405161032b9190613c93565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613baa565b610b3c565b005b34801561036957600080fd5b50610372610b57565b60405161037f9190613cc7565b60405180910390f35b34801561039457600080fd5b5061039d610b5d565b005b3480156103ab57600080fd5b506103b4610c25565b6040516103c19190613d61565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190613daf565b610cb7565b6040516103fe9190613e1d565b60405180910390f35b34801561041357600080fd5b5061042e60048036038101906104299190613e64565b610cfd565b005b34801561043c57600080fd5b5061045760048036038101906104529190613daf565b610e14565b6040516104649190613d61565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613f04565b610e74565b005b3480156104a257600080fd5b506104ab610f18565b6040516104b89190613cc7565b60405180910390f35b3480156104cd57600080fd5b506104d6610f20565b6040516104e39190613d61565b60405180910390f35b3480156104f857600080fd5b50610501610fae565b60405161050e9190613c93565b60405180910390f35b34801561052357600080fd5b5061052c610fc1565b6040516105399190613cc7565b60405180910390f35b34801561054e57600080fd5b5061056960048036038101906105649190613f51565b610fce565b005b34801561057757600080fd5b50610592600480360381019061058d9190613e64565b61102e565b60405161059f9190613cc7565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613daf565b6110d3565b005b3480156105dd57600080fd5b506105e66110e5565b005b3480156105f457600080fd5b5061060f600480360381019061060a9190613f51565b6110f7565b005b34801561061d57600080fd5b5061063860048036038101906106339190613daf565b611117565b005b34801561064657600080fd5b5061064f611173565b60405161065c9190613d61565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613daf565b611201565b6040516106999190613cc7565b60405180910390f35b3480156106ae57600080fd5b506106c960048036038101906106c49190613f04565b611272565b005b3480156106d757600080fd5b506106e061131f565b6040516106ed9190613c93565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613daf565b611336565b60405161072a9190613e1d565b60405180910390f35b34801561073f57600080fd5b506107486113bc565b6040516107559190613cc7565b60405180910390f35b34801561076a57600080fd5b5061078560048036038101906107809190613fa4565b6113c2565b6040516107929190613cc7565b60405180910390f35b3480156107a757600080fd5b506107b0611479565b005b3480156107be57600080fd5b506107c761148d565b6040516107d49190613d61565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff9190613baa565b61151b565b005b34801561081257600080fd5b5061082d60048036038101906108289190613baa565b611536565b005b34801561083b57600080fd5b50610844611551565b005b34801561085257600080fd5b5061085b611563565b6040516108689190613e1d565b60405180910390f35b34801561087d57600080fd5b5061089860048036038101906108939190613baa565b61158d565b005b3480156108a657600080fd5b506108af6115a8565b6040516108bc9190613d61565b60405180910390f35b6108df60048036038101906108da9190613daf565b61163a565b005b3480156108ed57600080fd5b5061090860048036038101906109039190613ffd565b611801565b005b34801561091657600080fd5b5061091f611817565b005b34801561092d57600080fd5b50610948600480360381019061094391906140de565b611846565b005b34801561095657600080fd5b5061095f6118a8565b60405161096c9190613d61565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613daf565b611936565b6040516109a99190613d61565b60405180910390f35b3480156109be57600080fd5b506109d960048036038101906109d49190614161565b611a95565b005b3480156109e757600080fd5b506109f0611aba565b6040516109fd9190613c93565b60405180910390f35b610a0e611acd565b005b348015610a1c57600080fd5b50610a376004803603810190610a32919061418e565b611caf565b604051610a449190613c93565b60405180910390f35b348015610a5957600080fd5b50610a62611d43565b604051610a6f9190613d61565b60405180910390f35b348015610a8457600080fd5b50610a9f6004803603810190610a9a9190613fa4565b611dd1565b005b348015610aad57600080fd5b50610ac86004803603810190610ac39190613daf565b611e54565b005b610ae46004803603810190610adf919061418e565b611e66565b005b348015610af257600080fd5b50610b0d6004803603810190610b089190614161565b611e92565b005b610b17611eb7565b8060149081610b2691906143da565b5050565b6000610b3582611f35565b9050919050565b610b44611eb7565b8060139081610b5391906143da565b5050565b600d5481565b610b65611eb7565b60086001600e54610b7691906144db565b610b80919061450f565b600f541015610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb9061459d565b60405180910390fd5b6000600190505b60088111610c0857610bf5816008600e54610be6919061450f565b610bf091906144db565b611faf565b8080610c00906145bd565b915050610bcb565b506001600e6000828254610c1c91906144db565b92505081905550565b606060008054610c34906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c60906141fd565b8015610cad5780601f10610c8257610100808354040283529160200191610cad565b820191906000526020600020905b815481529060010190602001808311610c9057829003601f168201915b5050505050905090565b6000610cc282611fbc565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d0882611336565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f90614677565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d97612007565b73ffffffffffffffffffffffffffffffffffffffff161480610dc65750610dc581610dc0612007565b611caf565b5b610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc90614709565b60405180910390fd5b610e0f838361200f565b505050565b6060610e1f826120c8565b610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5590614775565b60405180910390fd5b6000610e6983612109565b905080915050919050565b610e7c611eb7565b60005b82829050811015610f135760156000848484818110610ea157610ea0614795565b5b9050602002016020810190610eb69190613fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff02191690558080610f0b906145bd565b915050610e7f565b505050565b600047905090565b60138054610f2d906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610f59906141fd565b8015610fa65780601f10610f7b57610100808354040283529160200191610fa6565b820191906000526020600020905b815481529060010190602001808311610f8957829003601f168201915b505050505081565b601660009054906101000a900460ff1681565b6000600880549050905090565b610fdf610fd9612007565b8261213d565b61101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101590614836565b60405180910390fd5b6110298383836121d2565b505050565b6000611039836113c2565b821061107a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611071906148c8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110db611eb7565b80600d8190555050565b6110ed611eb7565b6110f56124cb565b565b61111283838360405180602001604052806000815250611846565b505050565b611128611122612007565b8261213d565b611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90614836565b60405180910390fd5b6111708161252e565b50565b60108054611180906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546111ac906141fd565b80156111f95780601f106111ce576101008083540402835291602001916111f9565b820191906000526020600020905b8154815290600101906020018083116111dc57829003601f168201915b505050505081565b600061120b610fc1565b821061124c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112439061495a565b60405180910390fd5b600882815481106112605761125f614795565b5b90600052602060002001549050919050565b61127a611eb7565b60005b8282905081101561131a576001601560008585858181106112a1576112a0614795565b5b90506020020160208101906112b69190613fa4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611312906145bd565b91505061127d565b505050565b6000600b60009054906101000a900460ff16905090565b6000806113428361253a565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113aa906149c6565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142990614a58565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611481611eb7565b61148b6000612577565b565b6011805461149a906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546114c6906141fd565b80156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b505050505081565b611523611eb7565b806010908161153291906143da565b5050565b61153e611eb7565b806012908161154d91906143da565b5050565b611559611eb7565b61156161263d565b565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611595611eb7565b80601190816115a491906143da565b5050565b6060600180546115b7906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546115e3906141fd565b80156116305780601f1061160557610100808354040283529160200191611630565b820191906000526020600020905b81548152906001019060200180831161161357829003601f168201915b5050505050905090565b6116426126a0565b61164a6126ea565b601660009054906101000a900460ff1680156116af5750601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806116c65750601660019054906101000a900460ff165b611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614ac4565b60405180910390fd5b806008600e54611715919061450f565b61171f91906144db565b600f541015611763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175a90614b30565b60405180910390fd5b3481600c54611772919061450f565b146117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a990614b9c565b60405180910390fd5b60005b818110156117f5576117c8600f54611faf565b6001600f60008282546117db9190614bbc565b9250508190555080806117ed906145bd565b9150506117b5565b506117fe612739565b50565b61181361180c612007565b8383612743565b5050565b61181f611eb7565b61182a600f54611faf565b6001600f600082825461183d9190614bbc565b92505081905550565b611857611851612007565b8361213d565b611896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188d90614836565b60405180910390fd5b6118a2848484846128af565b50505050565b601480546118b5906141fd565b80601f01602080910402602001604051908101604052809291908181526020018280546118e1906141fd565b801561192e5780601f106119035761010080835404028352916020019161192e565b820191906000526020600020905b81548152906001019060200180831161191157829003601f168201915b505050505081565b6060611941826120c8565b611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790614775565b60405180910390fd5b600061198b83612109565b905060006119bc600160086001876119a39190614bbc565b6119ad9190614c1f565b6119b791906144db565b61290b565b6119e9600160086001886119d09190614bbc565b6119da9190614c50565b6119e491906144db565b61290b565b6040516020016119fa929190614e85565b604051602081830303815290604052905060006010611a188661290b565b60116013611a258961290b565b6014611a308b61290b565b611a398a6129d9565b89604051602001611a529998979695949392919061536b565b6040516020818303038152906040529050611a6c816129d9565b604051602001611a7c91906154d0565b6040516020818303038152906040529350505050919050565b611a9d611eb7565b80601660006101000a81548160ff02191690831515021790555050565b601660019054906101000a900460ff1681565b611ad56126a0565b611add6126ea565b601660009054906101000a900460ff168015611b425750601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611b595750601660019054906101000a900460ff165b611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90614ac4565b60405180910390fd5b600880600e54611ba8919061450f565b611bb291906144db565b600f541015611bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bed9061459d565b60405180910390fd5b346008600c54611c06919061450f565b14611c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3d90614b9c565b60405180910390fd5b6000600190505b60088111611c8a57611c77816008600e54611c68919061450f565b611c7291906144db565b611faf565b8080611c82906145bd565b915050611c4d565b506001600e6000828254611c9e91906144db565b92505081905550611cad612739565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60128054611d50906141fd565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7c906141fd565b8015611dc95780601f10611d9e57610100808354040283529160200191611dc9565b820191906000526020600020905b815481529060010190602001808311611dac57829003601f168201915b505050505081565b611dd9611eb7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f90615564565b60405180910390fd5b611e5181612577565b50565b611e5c611eb7565b80600c8190555050565b611e6e611eb7565b611e8482600247611e7f9190614c1f565b612b3c565b611e8e8147612b3c565b5050565b611e9a611eb7565b80601660016101000a81548160ff02191690831515021790555050565b611ebf612007565b73ffffffffffffffffffffffffffffffffffffffff16611edd611563565b73ffffffffffffffffffffffffffffffffffffffff1614611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a906155d0565b60405180910390fd5b565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa85750611fa782612c30565b5b9050919050565b611fb93382612d12565b50565b611fc5816120c8565b612004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffb906149c6565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661208283611336565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166120ea8361253a565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606121148261290b565b60126040516020016121279291906157de565b6040516020818303038152906040529050919050565b60008061214983611336565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218b575061218a8185611caf565b5b806121c957508373ffffffffffffffffffffffffffffffffffffffff166121b184610cb7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121f282611336565b73ffffffffffffffffffffffffffffffffffffffff1614612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f906158ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae9061593d565b60405180910390fd5b6122c48383836001612d30565b8273ffffffffffffffffffffffffffffffffffffffff166122e482611336565b73ffffffffffffffffffffffffffffffffffffffff161461233a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612331906158ab565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c68383836001612d4a565b505050565b6124d3612d50565b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612517612007565b6040516125249190613e1d565b60405180910390a1565b61253781612d99565b50565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126456126a0565b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612689612007565b6040516126969190613e1d565b60405180910390a1565b6126a861131f565b156126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df906159a9565b60405180910390fd5b565b6002600a540361272f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272690615a15565b60405180910390fd5b6002600a81905550565b6001600a81905550565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a890615a81565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128a29190613c93565b60405180910390a3505050565b6128ba8484846121d2565b6128c684848484612ee7565b612905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fc90615b13565b60405180910390fd5b50505050565b60606000600161291a8461306e565b01905060008167ffffffffffffffff81111561293957612938613a7f565b5b6040519080825280601f01601f19166020018201604052801561296b5781602001600182028036833780820191505090505b509050600082602001820190505b6001156129ce578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816129c2576129c1614bf0565b5b04945060008503612979575b819350505050919050565b606060008251036129fb57604051806020016040528060008152509050612b37565b6000604051806060016040528060408152602001615f4a6040913990506000600360028551612a2a91906144db565b612a349190614c1f565b6004612a40919061450f565b67ffffffffffffffff811115612a5957612a58613a7f565b5b6040519080825280601f01601f191660200182016040528015612a8b5781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612af7576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612a9c565b5050600386510660018114612b135760028114612b2657612b2e565b603d6001830353603d6002830353612b2e565b603d60018303535b50505080925050505b919050565b80471015612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690615b7f565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ba590615bc5565b60006040518083038185875af1925050503d8060008114612be2576040519150601f19603f3d011682016040523d82523d6000602084013e612be7565b606091505b5050905080612c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2290615c4c565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cfb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d0b5750612d0a826131c1565b5b9050919050565b612d2c82826040518060200160405280600081525061322b565b5050565b612d386126a0565b612d4484848484613286565b50505050565b50505050565b612d5861131f565b612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8e90615cb8565b60405180910390fd5b565b6000612da482611336565b9050612db4816000846001612d30565b612dbd82611336565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ee3816000846001612d4a565b5050565b6000612f088473ffffffffffffffffffffffffffffffffffffffff166133e4565b15613061578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f31612007565b8786866040518563ffffffff1660e01b8152600401612f539493929190615d22565b6020604051808303816000875af1925050508015612f8f57506040513d601f19601f82011682018060405250810190612f8c9190615d83565b60015b613011573d8060008114612fbf576040519150601f19603f3d011682016040523d82523d6000602084013e612fc4565b606091505b506000815103613009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300090615b13565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613066565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130cc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130c2576130c1614bf0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613109576d04ee2d6d415b85acef810000000083816130ff576130fe614bf0565b5b0492506020810190505b662386f26fc10000831061313857662386f26fc10000838161312e5761312d614bf0565b5b0492506010810190505b6305f5e1008310613161576305f5e100838161315757613156614bf0565b5b0492506008810190505b612710831061318657612710838161317c5761317b614bf0565b5b0492506004810190505b606483106131a9576064838161319f5761319e614bf0565b5b0492506002810190505b600a83106131b8576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132358383613407565b6132426000848484612ee7565b613281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327890615b13565b60405180910390fd5b505050565b61329284848484613624565b60018111156132d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132cd90615e22565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361331d576133188161374a565b61335c565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461335b5761335a8582613793565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361339e5761339981613900565b6133dd565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146133dc576133db84826139d1565b5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90615e8e565b60405180910390fd5b61347f816120c8565b156134bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b690615efa565b60405180910390fd5b6134cd600083836001612d30565b6134d6816120c8565b15613516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350d90615efa565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613620600083836001612d4a565b5050565b600181111561374457600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146136b85780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136b09190614bbc565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137435780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461373b91906144db565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137a0846113c2565b6137aa9190614bbc565b905060006007600084815260200190815260200160002054905081811461388f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139149190614bbc565b905060006009600084815260200190815260200160002054905060006008838154811061394457613943614795565b5b90600052602060002001549050806008838154811061396657613965614795565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139b5576139b4615f1a565b5b6001900381819060005260206000200160009055905550505050565b60006139dc836113c2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ab782613a6e565b810181811067ffffffffffffffff82111715613ad657613ad5613a7f565b5b80604052505050565b6000613ae9613a50565b9050613af58282613aae565b919050565b600067ffffffffffffffff821115613b1557613b14613a7f565b5b613b1e82613a6e565b9050602081019050919050565b82818337600083830152505050565b6000613b4d613b4884613afa565b613adf565b905082815260208101848484011115613b6957613b68613a69565b5b613b74848285613b2b565b509392505050565b600082601f830112613b9157613b90613a64565b5b8135613ba1848260208601613b3a565b91505092915050565b600060208284031215613bc057613bbf613a5a565b5b600082013567ffffffffffffffff811115613bde57613bdd613a5f565b5b613bea84828501613b7c565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c2881613bf3565b8114613c3357600080fd5b50565b600081359050613c4581613c1f565b92915050565b600060208284031215613c6157613c60613a5a565b5b6000613c6f84828501613c36565b91505092915050565b60008115159050919050565b613c8d81613c78565b82525050565b6000602082019050613ca86000830184613c84565b92915050565b6000819050919050565b613cc181613cae565b82525050565b6000602082019050613cdc6000830184613cb8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d1c578082015181840152602081019050613d01565b60008484015250505050565b6000613d3382613ce2565b613d3d8185613ced565b9350613d4d818560208601613cfe565b613d5681613a6e565b840191505092915050565b60006020820190508181036000830152613d7b8184613d28565b905092915050565b613d8c81613cae565b8114613d9757600080fd5b50565b600081359050613da981613d83565b92915050565b600060208284031215613dc557613dc4613a5a565b5b6000613dd384828501613d9a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e0782613ddc565b9050919050565b613e1781613dfc565b82525050565b6000602082019050613e326000830184613e0e565b92915050565b613e4181613dfc565b8114613e4c57600080fd5b50565b600081359050613e5e81613e38565b92915050565b60008060408385031215613e7b57613e7a613a5a565b5b6000613e8985828601613e4f565b9250506020613e9a85828601613d9a565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613ec457613ec3613a64565b5b8235905067ffffffffffffffff811115613ee157613ee0613ea4565b5b602083019150836020820283011115613efd57613efc613ea9565b5b9250929050565b60008060208385031215613f1b57613f1a613a5a565b5b600083013567ffffffffffffffff811115613f3957613f38613a5f565b5b613f4585828601613eae565b92509250509250929050565b600080600060608486031215613f6a57613f69613a5a565b5b6000613f7886828701613e4f565b9350506020613f8986828701613e4f565b9250506040613f9a86828701613d9a565b9150509250925092565b600060208284031215613fba57613fb9613a5a565b5b6000613fc884828501613e4f565b91505092915050565b613fda81613c78565b8114613fe557600080fd5b50565b600081359050613ff781613fd1565b92915050565b6000806040838503121561401457614013613a5a565b5b600061402285828601613e4f565b925050602061403385828601613fe8565b9150509250929050565b600067ffffffffffffffff82111561405857614057613a7f565b5b61406182613a6e565b9050602081019050919050565b600061408161407c8461403d565b613adf565b90508281526020810184848401111561409d5761409c613a69565b5b6140a8848285613b2b565b509392505050565b600082601f8301126140c5576140c4613a64565b5b81356140d584826020860161406e565b91505092915050565b600080600080608085870312156140f8576140f7613a5a565b5b600061410687828801613e4f565b945050602061411787828801613e4f565b935050604061412887828801613d9a565b925050606085013567ffffffffffffffff81111561414957614148613a5f565b5b614155878288016140b0565b91505092959194509250565b60006020828403121561417757614176613a5a565b5b600061418584828501613fe8565b91505092915050565b600080604083850312156141a5576141a4613a5a565b5b60006141b385828601613e4f565b92505060206141c485828601613e4f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421557607f821691505b602082108103614228576142276141ce565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614253565b61429a8683614253565b95508019841693508086168417925050509392505050565b6000819050919050565b60006142d76142d26142cd84613cae565b6142b2565b613cae565b9050919050565b6000819050919050565b6142f1836142bc565b6143056142fd826142de565b848454614260565b825550505050565b600090565b61431a61430d565b6143258184846142e8565b505050565b5b818110156143495761433e600082614312565b60018101905061432b565b5050565b601f82111561438e5761435f8161422e565b61436884614243565b81016020851015614377578190505b61438b61438385614243565b83018261432a565b50505b505050565b600082821c905092915050565b60006143b160001984600802614393565b1980831691505092915050565b60006143ca83836143a0565b9150826002028217905092915050565b6143e382613ce2565b67ffffffffffffffff8111156143fc576143fb613a7f565b5b61440682546141fd565b61441182828561434d565b600060209050601f8311600181146144445760008415614432578287015190505b61443c85826143be565b8655506144a4565b601f1984166144528661422e565b60005b8281101561447a57848901518255600182019150602085019450602081019050614455565b868310156144975784890151614493601f8916826143a0565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144e682613cae565b91506144f183613cae565b9250828201905080821115614509576145086144ac565b5b92915050565b600061451a82613cae565b915061452583613cae565b925082820261453381613cae565b9150828204841483151761454a576145496144ac565b5b5092915050565b7f534554535f534f4c445f4f555400000000000000000000000000000000000000600082015250565b6000614587600d83613ced565b915061459282614551565b602082019050919050565b600060208201905081810360008301526145b68161457a565b9050919050565b60006145c882613cae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145fa576145f96144ac565b5b600182019050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614661602183613ced565b915061466c82614605565b604082019050919050565b6000602082019050818103600083015261469081614654565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006146f3603d83613ced565b91506146fe82614697565b604082019050919050565b60006020820190508181036000830152614722816146e6565b9050919050565b7f4e4f545f45584953545300000000000000000000000000000000000000000000600082015250565b600061475f600a83613ced565b915061476a82614729565b602082019050919050565b6000602082019050818103600083015261478e81614752565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614820602d83613ced565b915061482b826147c4565b604082019050919050565b6000602082019050818103600083015261484f81614813565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006148b2602b83613ced565b91506148bd82614856565b604082019050919050565b600060208201905081810360008301526148e1816148a5565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614944602c83613ced565b915061494f826148e8565b604082019050919050565b6000602082019050818103600083015261497381614937565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006149b0601883613ced565b91506149bb8261497a565b602082019050919050565b600060208201905081810360008301526149df816149a3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614a42602983613ced565b9150614a4d826149e6565b604082019050919050565b60006020820190508181036000830152614a7181614a35565b9050919050565b7f4e4f545f454c494749424c450000000000000000000000000000000000000000600082015250565b6000614aae600c83613ced565b9150614ab982614a78565b602082019050919050565b60006020820190508181036000830152614add81614aa1565b9050919050565b7f544f4b454e535f534f4c445f4f55540000000000000000000000000000000000600082015250565b6000614b1a600f83613ced565b9150614b2582614ae4565b602082019050919050565b60006020820190508181036000830152614b4981614b0d565b9050919050565b7f57524f4e475f414d4f554e540000000000000000000000000000000000000000600082015250565b6000614b86600c83613ced565b9150614b9182614b50565b602082019050919050565b60006020820190508181036000830152614bb581614b79565b9050919050565b6000614bc782613cae565b9150614bd283613cae565b9250828203905081811115614bea57614be96144ac565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c2a82613cae565b9150614c3583613cae565b925082614c4557614c44614bf0565b5b828204905092915050565b6000614c5b82613cae565b9150614c6683613cae565b925082614c7657614c75614bf0565b5b828206905092915050565b600081905092915050565b7f5b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cc2600183614c81565b9150614ccd82614c8c565b600182019050919050565b7f7b2274726169745f74797065223a22536574222c2276616c7565223a22000000600082015250565b6000614d0e601d83614c81565b9150614d1982614cd8565b601d82019050919050565b6000614d2f82613ce2565b614d398185614c81565b9350614d49818560208601613cfe565b80840191505092915050565b7f227d2c0000000000000000000000000000000000000000000000000000000000600082015250565b6000614d8b600383614c81565b9150614d9682614d55565b600382019050919050565b7f7b2274726169745f74797065223a224c61796f7574222c2276616c7565223a22600082015250565b6000614dd7602083614c81565b9150614de282614da1565b602082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e23600283614c81565b9150614e2e82614ded565b600282019050919050565b7f5d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e6f600183614c81565b9150614e7a82614e39565b600182019050919050565b6000614e9082614cb5565b9150614e9b82614d01565b9150614ea78285614d24565b9150614eb282614d7e565b9150614ebd82614dca565b9150614ec98284614d24565b9150614ed482614e16565b9150614edf82614e62565b91508190509392505050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f21600183614c81565b9150614f2c82614eeb565b600182019050919050565b7f226e616d65223a22000000000000000000000000000000000000000000000000600082015250565b6000614f6d600883614c81565b9150614f7882614f37565b600882019050919050565b60008154614f90816141fd565b614f9a8186614c81565b94506001821660008114614fb55760018114614fca57614ffd565b60ff1983168652811515820286019350614ffd565b614fd38561422e565b60005b83811015614ff557815481890152600182019150602081019050614fd6565b838801955050505b50505092915050565b7f2000000000000000000000000000000000000000000000000000000000000000600082015250565b600061503c600183614c81565b915061504782615006565b600182019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615088600283614c81565b915061509382615052565b600282019050919050565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b60006150d4600f83614c81565b91506150df8261509e565b600f82019050919050565b7f22696d616765223a220000000000000000000000000000000000000000000000600082015250565b6000615120600983614c81565b915061512b826150ea565b600982019050919050565b7f2e6a7067222c0000000000000000000000000000000000000000000000000000600082015250565b600061516c600683614c81565b915061517782615136565b600682019050919050565b7f2265787465726e616c5f75726c223a2200000000000000000000000000000000600082015250565b60006151b8601083614c81565b91506151c382615182565b601082019050919050565b7f3f746f6b656e3d00000000000000000000000000000000000000000000000000600082015250565b6000615204600783614c81565b915061520f826151ce565b600782019050919050565b7f22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d6c3b60008201527f6261736536342c00000000000000000000000000000000000000000000000000602082015250565b6000615276602783614c81565b91506152818261521a565b602782019050919050565b7f222c2261747472696275746573223a0000000000000000000000000000000000600082015250565b60006152c2600f83614c81565b91506152cd8261528c565b600f82019050919050565b600081519050919050565b600081905092915050565b60006152f9826152d8565b61530381856152e3565b9350615313818560208601613cfe565b80840191505092915050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615355600183614c81565b91506153608261531f565b600182019050919050565b600061537682614f14565b915061538182614f60565b915061538d828c614f83565b91506153988261502f565b91506153a4828b614d24565b91506153af8261507b565b91506153ba826150c7565b91506153c6828a614f83565b91506153d18261507b565b91506153dc82615113565b91506153e88289614f83565b91506153f48288614d24565b91506153ff8261515f565b915061540a826151ab565b91506154168287614f83565b9150615421826151f7565b915061542d8286614d24565b91506154388261507b565b915061544382615269565b915061544f8285614d24565b915061545a826152b5565b915061546682846152ee565b915061547182615348565b91508190509a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006154ba601d83614c81565b91506154c582615484565b601d82019050919050565b60006154db826154ad565b91506154e78284614d24565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061554e602683613ced565b9150615559826154f2565b604082019050919050565b6000602082019050818103600083015261557d81615541565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155ba602083613ced565b91506155c582615584565b602082019050919050565b600060208201905081810360008301526155e9816155ad565b9050919050565b7f3c21444f43545950452048544d4c3e3c68746d6c3e0000000000000000000000600082015250565b6000615626601583614c81565b9150615631826155f0565b601582019050919050565b7f3c686561643e3c6d657461206e616d653d2776696577706f72742720636f6e7460008201527f656e743d2777696474683d6465766963652d77696474682c757365722d73636160208201527f6c61626c653d6e6f2c6d696e696d756d2d7363616c653d312e302c6d6178696d60408201527f756d2d7363616c653d322e30273e3c2f686561643e0000000000000000000000606082015250565b60006156e4607583614c81565b91506156ef8261563c565b607582019050919050565b7f3c626f64793e3c7363726970743e6c6574207449643d00000000000000000000600082015250565b6000615730601683614c81565b915061573b826156fa565b601682019050919050565b7f3b00000000000000000000000000000000000000000000000000000000000000600082015250565b600061577c600183614c81565b915061578782615746565b600182019050919050565b7f3c2f7363726970743e3c2f626f64793e3c2f68746d6c3e000000000000000000600082015250565b60006157c8601783614c81565b91506157d382615792565b601782019050919050565b60006157e982615619565b91506157f4826156d7565b91506157ff82615723565b915061580b8285614d24565b91506158168261576f565b91506158228284614f83565b915061582d826157bb565b91508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615895602583613ced565b91506158a082615839565b604082019050919050565b600060208201905081810360008301526158c481615888565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615927602483613ced565b9150615932826158cb565b604082019050919050565b600060208201905081810360008301526159568161591a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615993601083613ced565b915061599e8261595d565b602082019050919050565b600060208201905081810360008301526159c281615986565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006159ff601f83613ced565b9150615a0a826159c9565b602082019050919050565b60006020820190508181036000830152615a2e816159f2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a6b601983613ced565b9150615a7682615a35565b602082019050919050565b60006020820190508181036000830152615a9a81615a5e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615afd603283613ced565b9150615b0882615aa1565b604082019050919050565b60006020820190508181036000830152615b2c81615af0565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615b69601d83613ced565b9150615b7482615b33565b602082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b50565b6000615baf6000836152e3565b9150615bba82615b9f565b600082019050919050565b6000615bd082615ba2565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615c36603a83613ced565b9150615c4182615bda565b604082019050919050565b60006020820190508181036000830152615c6581615c29565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615ca2601483613ced565b9150615cad82615c6c565b602082019050919050565b60006020820190508181036000830152615cd181615c95565b9050919050565b600082825260208201905092915050565b6000615cf4826152d8565b615cfe8185615cd8565b9350615d0e818560208601613cfe565b615d1781613a6e565b840191505092915050565b6000608082019050615d376000830187613e0e565b615d446020830186613e0e565b615d516040830185613cb8565b8181036060830152615d638184615ce9565b905095945050505050565b600081519050615d7d81613c1f565b92915050565b600060208284031215615d9957615d98613a5a565b5b6000615da784828501615d6e565b91505092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000615e0c603583613ced565b9150615e1782615db0565b604082019050919050565b60006020820190508181036000830152615e3b81615dff565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e78602083613ced565b9150615e8382615e42565b602082019050919050565b60006020820190508181036000830152615ea781615e6b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615ee4601c83613ced565b9150615eef82615eae565b602082019050919050565b60006020820190508181036000830152615f1381615ed7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220881b81617092b98ff2a446f44a864eb955abbe07c0b28815ea4cf4dea929cdd364736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000064368726f6d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064348524f4d450000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Chrome
Arg [1] : _symbol (string): CHROME
Arg [2] : _mintPrice (uint256): 500000000000000000
Arg [3] : _supply (uint256): 128
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000006f05b59d3b20000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4368726f6d650000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 4348524f4d450000000000000000000000000000000000000000000000000000
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.