Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 70 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 21023401 | 489 days ago | IN | 0 ETH | 0.00050754 | ||||
| Set Approval For... | 20293710 | 591 days ago | IN | 0 ETH | 0.00007365 | ||||
| Set Approval For... | 18864354 | 791 days ago | IN | 0 ETH | 0.00102368 | ||||
| Set Approval For... | 18811061 | 798 days ago | IN | 0 ETH | 0.00156283 | ||||
| Set Approval For... | 18809901 | 798 days ago | IN | 0 ETH | 0.00179358 | ||||
| Safe Transfer Fr... | 16469498 | 1127 days ago | IN | 0 ETH | 0.00064536 | ||||
| Safe Transfer Fr... | 16438584 | 1131 days ago | IN | 0 ETH | 0.00071939 | ||||
| Safe Transfer Fr... | 16438579 | 1131 days ago | IN | 0 ETH | 0.00078192 | ||||
| Safe Transfer Fr... | 16438518 | 1131 days ago | IN | 0 ETH | 0.00072748 | ||||
| Safe Transfer Fr... | 16438511 | 1131 days ago | IN | 0 ETH | 0.00081366 | ||||
| Safe Transfer Fr... | 16438475 | 1131 days ago | IN | 0 ETH | 0.00110641 | ||||
| Set Approval For... | 14244381 | 1464 days ago | IN | 0 ETH | 0.00124507 | ||||
| Set Approval For... | 13915876 | 1515 days ago | IN | 0 ETH | 0.0033001 | ||||
| Set Approval For... | 13711854 | 1546 days ago | IN | 0 ETH | 0.00548704 | ||||
| Mint | 13677065 | 1552 days ago | IN | 0 ETH | 0.02080275 | ||||
| Mint | 13677055 | 1552 days ago | IN | 0 ETH | 0.02256687 | ||||
| Mint | 13624502 | 1560 days ago | IN | 0 ETH | 0.05009333 | ||||
| Set Approval For... | 13620712 | 1561 days ago | IN | 0 ETH | 0.00449408 | ||||
| Set Approval For... | 13620708 | 1561 days ago | IN | 0 ETH | 0.00788123 | ||||
| Mint | 13579805 | 1567 days ago | IN | 0 ETH | 0.04144345 | ||||
| Mint | 13579798 | 1567 days ago | IN | 0 ETH | 0.03821642 | ||||
| Mint | 13579793 | 1567 days ago | IN | 0 ETH | 0.04660936 | ||||
| Mint | 13579779 | 1567 days ago | IN | 0 ETH | 0.03660797 | ||||
| Batch Mint | 13575787 | 1568 days ago | IN | 0 ETH | 0.0466349 | ||||
| Mint | 13572544 | 1569 days ago | IN | 0 ETH | 0.02500058 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FunctionDraw
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED
pragma solidity =0.8.6;
import "../common/RaribleERC721.sol";
contract FunctionDraw is RaribleERC721 {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
uint256 private nextTokenId;
string private baseURI;
mapping(uint256 => string) private tokenURISuffixes;
constructor (
address signer,
string memory name,
string memory symbol,
string memory contractURI,
string memory initialBaseURI,
address payable[] memory commonRoyaltyAddresses,
uint256[] memory commonRoyaltiesWithTwoDecimals
)
RaribleERC721(
signer,
name,
symbol,
contractURI,
commonRoyaltyAddresses,
commonRoyaltiesWithTwoDecimals
)
{
baseURI = initialBaseURI;
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
_setupRole(MINTER_ROLE, msg.sender);
}
modifier onlyMinter {
require(hasRole(MINTER_ROLE, msg.sender), "Must have minter role to mint");
_;
}
function mint(
address to,
string memory metadataCid,
address payable[] memory _royaltyAddresses,
uint256[] memory _royaltiesWithTwoDecimals
) external onlyMinter {
_setRoyaltiesOf(nextTokenId, _royaltyAddresses, _royaltiesWithTwoDecimals);
tokenURISuffixes[nextTokenId] = metadataCid;
_mint(to, nextTokenId++);
}
function batchMint(
address to,
string[] memory metadataCidList,
address payable[] memory _royaltyAddresses,
uint256[] memory _royaltiesWithTwoDecimals
) external onlyMinter {
for (uint256 i = 0; i < metadataCidList.length; i++) {
_setRoyaltiesOf(nextTokenId, _royaltyAddresses, _royaltiesWithTwoDecimals);
tokenURISuffixes[nextTokenId] = metadataCidList[i];
_mint(to, nextTokenId++);
}
}
function updateBaseURI(string calldata newBaseURI) external onlyOwner {
baseURI = newBaseURI;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenURISuffixes[tokenId]))
: '';
}
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(RaribleERC721)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
// this is copied from MintableOwnableToken
// https://etherscan.io/address/0x987a4d3edbe363bc351771bb8abdf2a332a19131#code
// modified by TART-tokyo
pragma solidity =0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "../extensions/HasContractURI.sol";
import "../extensions/HasSecondarySaleFees.sol";
import "../roles/SignerRole.sol";
contract RaribleERC721 is Ownable, ERC721Burnable, HasContractURI, HasSecondarySaleFees, SignerRole {
event CreateERC721_v4(address indexed creator, string name, string symbol);
constructor(
address signer,
string memory name,
string memory symbol,
string memory contractURI,
address payable[] memory commonRoyaltyAddresses,
uint256[] memory commonRoyalties
)
ERC721(name, symbol)
HasContractURI(contractURI)
SignerRole()
HasSecondarySaleFees(commonRoyaltyAddresses, commonRoyalties)
{
grantRole(SIGNER_ROLE, signer);
grantRole(SIGNER_ROLE, msg.sender);
emit CreateERC721_v4(msg.sender, name, symbol);
}
function setContractURI(string memory contractURI) external onlyOwner {
_setContractURI(contractURI);
}
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(AccessControlEnumerable, ERC721, HasContractURI, HasSecondarySaleFees)
returns (bool)
{
return
AccessControlEnumerable.supportsInterface(interfaceId) ||
ERC721.supportsInterface(interfaceId) ||
HasContractURI.supportsInterface(interfaceId) ||
HasSecondarySaleFees.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
_burn(tokenId);
}
}// SPDX-License-Identifier: MIT
// this is copied from MintableOwnableToken
// https://etherscan.io/address/0x987a4d3edbe363bc351771bb8abdf2a332a19131#code
// modified by TART-tokyo
pragma solidity =0.8.6;
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
contract HasContractURI is ERC165 {
string public contractURI;
/*
* bytes4(keccak256('contractURI()')) == 0xe8a3d485
*/
bytes4 private constant _INTERFACE_ID_CONTRACT_URI = 0xe8a3d485;
constructor(string memory _contractURI) {
contractURI = _contractURI;
}
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) {
return
interfaceId == _INTERFACE_ID_CONTRACT_URI ||
super.supportsInterface(interfaceId);
}
function _setContractURI(string memory _contractURI) internal {
contractURI = _contractURI;
}
}// SPDX-License-Identifier: MIT
// this is copied from chocomintapp/chocofactory
// https://github.com/chocomintapp/chocofactory/blob/main/packages/contracts/contracts/extentions/HasSecondarySaleFees.sol
// modified by TART-tokyo
pragma solidity =0.8.6;
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
interface IHasSecondarySaleFees {
function getFeeBps(uint256 id) external view returns (uint256[] memory);
function getFeeRecipients(uint256 id) external view returns (address payable[] memory);
}
contract HasSecondarySaleFees is IERC165, IHasSecondarySaleFees {
address payable[] private commonRoyaltyAddresses;
uint256[] private commonRoyaltiesWithTwoDecimals;
mapping(uint256 => address payable[]) private royaltyAddresses;
mapping(uint256 => uint256[]) private royaltiesWithTwoDecimals;
constructor(
address payable[] memory _commonRoyaltyAddresses,
uint256[] memory _commonRoyaltiesWithTwoDecimals
) {
_setCommonRoyalties(_commonRoyaltyAddresses, _commonRoyaltiesWithTwoDecimals);
}
function _setRoyaltiesOf(
uint256 _tokenId,
address payable[] memory _royaltyAddresses,
uint256[] memory _royaltiesWithTwoDecimals
) internal {
require(_royaltyAddresses.length == _royaltiesWithTwoDecimals.length, "input length must be same");
for (uint256 i = 0; i < _royaltyAddresses.length; i++) {
require(_royaltyAddresses[i] != address(0), "Must not be zero-address");
}
royaltyAddresses[_tokenId] = _royaltyAddresses;
royaltiesWithTwoDecimals[_tokenId] = _royaltiesWithTwoDecimals;
}
function _setCommonRoyalties(
address payable[] memory _commonRoyaltyAddresses,
uint256[] memory _commonRoyaltiesWithTwoDecimals
) internal {
require(_commonRoyaltyAddresses.length == _commonRoyaltiesWithTwoDecimals.length, "input length must be same");
for (uint256 i = 0; i < _commonRoyaltyAddresses.length; i++) {
require(_commonRoyaltyAddresses[i] != address(0), "Must not be zero-address");
}
commonRoyaltyAddresses = _commonRoyaltyAddresses;
commonRoyaltiesWithTwoDecimals = _commonRoyaltiesWithTwoDecimals;
}
function getFeeRecipients(uint256 _tokenId)
external view override returns (address payable[] memory)
{
if (royaltyAddresses[_tokenId].length == 0) {
return commonRoyaltyAddresses;
}
uint256 length = commonRoyaltyAddresses.length + royaltyAddresses[_tokenId].length;
address payable[] memory recipients = new address payable[](length);
for (uint256 i = 0; i < commonRoyaltyAddresses.length; i++) {
recipients[i] = commonRoyaltyAddresses[i];
}
for (uint256 i = 0; i < royaltyAddresses[_tokenId].length; i++) {
recipients[i + commonRoyaltyAddresses.length] = royaltyAddresses[_tokenId][i];
}
return recipients;
}
function getFeeBps(uint256 _tokenId) external view override returns (uint256[] memory) {
if (royaltiesWithTwoDecimals[_tokenId].length == 0) {
return commonRoyaltiesWithTwoDecimals;
}
uint256 length = commonRoyaltiesWithTwoDecimals.length + royaltiesWithTwoDecimals[_tokenId].length;
uint256[] memory fees = new uint256[](length);
for (uint256 i = 0; i < commonRoyaltiesWithTwoDecimals.length; i++) {
fees[i] = commonRoyaltiesWithTwoDecimals[i];
}
for (uint256 i = 0; i < royaltiesWithTwoDecimals[_tokenId].length; i++) {
fees[i + commonRoyaltyAddresses.length] = royaltiesWithTwoDecimals[_tokenId][i];
}
return fees;
}
function supportsInterface(bytes4 interfaceId)
public
view
virtual
override(IERC165)
returns (bool)
{
return interfaceId == type(IHasSecondarySaleFees).interfaceId;
}
}// SPDX-License-Identifier: MIT
// this is copied from MintableOwnableToken
// https://etherscan.io/address/0x987a4d3edbe363bc351771bb8abdf2a332a19131#code
// modified by TART-tokyo
pragma solidity =0.8.6;
import "../interface/iSignerRole.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
contract SignerRole is iSignerRole, AccessControlEnumerable {
bytes32 public constant SIGNER_ROLE = keccak256("SIGNER_ROLE");
constructor() {
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
_setupRole(SIGNER_ROLE, msg.sender);
}
modifier onlySigner() {
require(isSigner(msg.sender), "msg.sender is not a signer");
_;
}
function isSigner(address account) public override view returns (bool) {
return hasRole(SIGNER_ROLE, account);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping (uint256 => address) private _owners;
// Mapping owner address to token count
mapping (address => uint256) private _balances;
// Mapping from token ID to approved address
mapping (uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping (address => mapping (address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC721).interfaceId
|| interfaceId == type(IERC721Metadata).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: '';
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId);
require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
private returns (bool)
{
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
// solhint-disable-next-line no-inline-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant alphabet = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = alphabet[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// this is copied from MintableOwnableToken
// https://etherscan.io/address/0x987a4d3edbe363bc351771bb8abdf2a332a19131#code
// modified by TART-tokyo
pragma solidity =0.8.6;
interface iSignerRole {
function isSigner(address account) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";
/**
* @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
*/
interface IAccessControlEnumerable {
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
function getRoleMemberCount(bytes32 role) external view returns (uint256);
}
/**
* @dev Extension of {AccessControl} that allows enumerating the members of each role.
*/
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
using EnumerableSet for EnumerableSet.AddressSet;
mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlEnumerable).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
return _roleMembers[role].at(index);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
return _roleMembers[role].length();
}
/**
* @dev Overload {grantRole} to track enumerable memberships
*/
function grantRole(bytes32 role, address account) public virtual override {
super.grantRole(role, account);
_roleMembers[role].add(account);
}
/**
* @dev Overload {revokeRole} to track enumerable memberships
*/
function revokeRole(bytes32 role, address account) public virtual override {
super.revokeRole(role, account);
_roleMembers[role].remove(account);
}
/**
* @dev Overload {renounceRole} to track enumerable memberships
*/
function renounceRole(bytes32 role, address account) public virtual override {
super.renounceRole(role, account);
_roleMembers[role].remove(account);
}
/**
* @dev Overload {_setupRole} to track enumerable memberships
*/
function _setupRole(bytes32 role, address account) internal virtual override {
super._setupRole(role, account);
_roleMembers[role].add(account);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
function hasRole(bytes32 role, address account) external view returns (bool);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function renounceRole(bytes32 role, address account) external;
}
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping (address => bool) members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId
|| super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
*/
function _checkRole(bytes32 role, address account) internal view {
if(!hasRole(role, account)) {
revert(string(abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)));
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) { // Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
// When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
// so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
require(set._values.length > index, "EnumerableSet: index out of bounds");
return set._values[index];
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"initialBaseURI","type":"string"},{"internalType":"address payable[]","name":"commonRoyaltyAddresses","type":"address[]"},{"internalType":"uint256[]","name":"commonRoyaltiesWithTwoDecimals","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":"creator","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"CreateERC721_v4","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string[]","name":"metadataCidList","type":"string[]"},{"internalType":"address payable[]","name":"_royaltyAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_royaltiesWithTwoDecimals","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"metadataCid","type":"string"},{"internalType":"address payable[]","name":"_royaltyAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_royaltiesWithTwoDecimals","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405162006ace38038062006ace833981810160405281019062000037919062000e0d565b8686868685858181848787600062000054620002c460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200010a92919062000a5d565b5080600290805190602001906200012392919062000a5d565b50505080600790805190602001906200013e92919062000a5d565b5050620001528282620002cc60201b60201c565b5050620001696000801b33620003fd60201b60201c565b6200019b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7033620003fd60201b60201c565b620001cd7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70876200044560201b60201c565b620001ff7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70336200044560201b60201c565b3373ffffffffffffffffffffffffffffffffffffffff167f565f2552ba3b09c1a27ca36ec97f816d9f12f464c3f7f145c28b527057df0ac78686604051620002499291906200111b565b60405180910390a250505050505082600f90805190602001906200026f92919062000a5d565b50620002856000801b33620003fd60201b60201c565b620002b77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620003fd60201b60201c565b50505050505050620016d0565b600033905090565b805182511462000313576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030a906200119a565b60405180910390fd5b60005b8251811015620003c657600073ffffffffffffffffffffffffffffffffffffffff168382815181106200034e576200034d6200152d565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415620003b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a79062001178565b60405180910390fd5b8080620003bd9062001481565b91505062000316565b508160089080519060200190620003df92919062000aee565b508060099080519060200190620003f892919062000b7d565b505050565b6200041482826200048d60201b62001c581760201c565b6200044081600d6000858152602001908152602001600020620004a360201b62001c661790919060201c565b505050565b6200045c8282620004db60201b62001c961760201c565b6200048881600d6000858152602001908152602001600020620004a360201b62001c661790919060201c565b505050565b6200049f82826200052460201b60201c565b5050565b6000620004d3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200061660201b60201c565b905092915050565b620004ec826200069060201b60201c565b6200050d8162000501620002c460201b60201c565b620006b060201b60201c565b6200051f83836200052460201b60201c565b505050565b6200053682826200077460201b60201c565b62000612576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620005b7620002c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200062a8383620007df60201b60201c565b620006855782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506200068a565b600090505b92915050565b6000600c6000838152602001908152602001600020600101549050919050565b620006c282826200077460201b60201c565b6200077057620006f58173ffffffffffffffffffffffffffffffffffffffff1660146200080260201b62001cbf1760201c565b620007108360001c60206200080260201b62001cbf1760201c565b60405160200162000723929190620010b5565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007679190620010f7565b60405180910390fd5b5050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b606060006002836002620008179190620012fd565b620008239190620012a0565b67ffffffffffffffff8111156200083f576200083e6200155c565b5b6040519080825280601f01601f191660200182016040528015620008725781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110620008ad57620008ac6200152d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106200091457620009136200152d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002620009569190620012fd565b620009629190620012a0565b90505b600181111562000a0c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110620009a857620009a76200152d565b5b1a60f81b828281518110620009c257620009c16200152d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062000a0490620013e6565b905062000965565b506000841462000a53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a4a9062001156565b60405180910390fd5b8091505092915050565b82805462000a6b9062001415565b90600052602060002090601f01602090048101928262000a8f576000855562000adb565b82601f1062000aaa57805160ff191683800117855562000adb565b8280016001018555821562000adb579182015b8281111562000ada57825182559160200191906001019062000abd565b5b50905062000aea919062000bcf565b5090565b82805482825590600052602060002090810192821562000b6a579160200282015b8281111562000b695782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000b0f565b5b50905062000b79919062000bcf565b5090565b82805482825590600052602060002090810192821562000bbc579160200282015b8281111562000bbb57825182559160200191906001019062000b9e565b5b50905062000bcb919062000bcf565b5090565b5b8082111562000bea57600081600090555060010162000bd0565b5090565b600062000c0562000bff84620011e5565b620011bc565b9050808382526020820190508285602086028201111562000c2b5762000c2a62001590565b5b60005b8581101562000c5f578162000c44888262000d46565b84526020840193506020830192505060018101905062000c2e565b5050509392505050565b600062000c8062000c7a8462001214565b620011bc565b9050808382526020820190508285602086028201111562000ca65762000ca562001590565b5b60005b8581101562000cda578162000cbf888262000df6565b84526020840193506020830192505060018101905062000ca9565b5050509392505050565b600062000cfb62000cf58462001243565b620011bc565b90508281526020810184848401111562000d1a5762000d1962001595565b5b62000d27848285620013b0565b509392505050565b60008151905062000d408162001682565b92915050565b60008151905062000d57816200169c565b92915050565b600082601f83011262000d755762000d746200158b565b5b815162000d8784826020860162000bee565b91505092915050565b600082601f83011262000da85762000da76200158b565b5b815162000dba84826020860162000c69565b91505092915050565b600082601f83011262000ddb5762000dda6200158b565b5b815162000ded84826020860162000ce4565b91505092915050565b60008151905062000e0781620016b6565b92915050565b600080600080600080600060e0888a03121562000e2f5762000e2e6200159f565b5b600062000e3f8a828b0162000d2f565b975050602088015167ffffffffffffffff81111562000e635762000e626200159a565b5b62000e718a828b0162000dc3565b965050604088015167ffffffffffffffff81111562000e955762000e946200159a565b5b62000ea38a828b0162000dc3565b955050606088015167ffffffffffffffff81111562000ec75762000ec66200159a565b5b62000ed58a828b0162000dc3565b945050608088015167ffffffffffffffff81111562000ef95762000ef86200159a565b5b62000f078a828b0162000dc3565b93505060a088015167ffffffffffffffff81111562000f2b5762000f2a6200159a565b5b62000f398a828b0162000d5d565b92505060c088015167ffffffffffffffff81111562000f5d5762000f5c6200159a565b5b62000f6b8a828b0162000d90565b91505092959891949750929550565b600062000f878262001279565b62000f93818562001284565b935062000fa5818560208601620013b0565b62000fb081620015a4565b840191505092915050565b600062000fc88262001279565b62000fd4818562001295565b935062000fe6818560208601620013b0565b80840191505092915050565b60006200100160208362001284565b91506200100e82620015b5565b602082019050919050565b60006200102860188362001284565b91506200103582620015de565b602082019050919050565b60006200104f60198362001284565b91506200105c8262001607565b602082019050919050565b60006200107660178362001295565b9150620010838262001630565b601782019050919050565b60006200109d60118362001295565b9150620010aa8262001659565b601182019050919050565b6000620010c28262001067565b9150620010d0828562000fbb565b9150620010dd826200108e565b9150620010eb828462000fbb565b91508190509392505050565b6000602082019050818103600083015262001113818462000f7a565b905092915050565b6000604082019050818103600083015262001137818562000f7a565b905081810360208301526200114d818462000f7a565b90509392505050565b60006020820190508181036000830152620011718162000ff2565b9050919050565b60006020820190508181036000830152620011938162001019565b9050919050565b60006020820190508181036000830152620011b58162001040565b9050919050565b6000620011c8620011db565b9050620011d682826200144b565b919050565b6000604051905090565b600067ffffffffffffffff8211156200120357620012026200155c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156200123257620012316200155c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156200126157620012606200155c565b5b6200126c82620015a4565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000620012ad82620013a6565b9150620012ba83620013a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620012f257620012f1620014cf565b5b828201905092915050565b60006200130a82620013a6565b91506200131783620013a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620013535762001352620014cf565b5b828202905092915050565b60006200136b8262001386565b9050919050565b60006200137f8262001386565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620013d0578082015181840152602081019050620013b3565b83811115620013e0576000848401525b50505050565b6000620013f382620013a6565b915060008214156200140a5762001409620014cf565b5b600182039050919050565b600060028204905060018216806200142e57607f821691505b60208210811415620014455762001444620014fe565b5b50919050565b6200145682620015a4565b810181811067ffffffffffffffff821117156200147857620014776200155c565b5b80604052505050565b60006200148e82620013a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620014c457620014c3620014cf565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4d757374206e6f74206265207a65726f2d616464726573730000000000000000600082015250565b7f696e707574206c656e677468206d7573742062652073616d6500000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6200168d816200135e565b81146200169957600080fd5b50565b620016a78162001372565b8114620016b357600080fd5b50565b620016c181620013a6565b8114620016cd57600080fd5b50565b6153ee80620016e06000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80639010d07c11610125578063b88d4fde116100ad578063d53913931161007c578063d539139314610646578063d547741f14610664578063e8a3d48514610680578063e985e9c51461069e578063f2fde38b146106ce57610211565b8063b88d4fde1461059a578063b9c4d9fb146105b6578063c87b56dd146105e6578063ca15c8731461061657610211565b806395d89b41116100f457806395d89b4114610508578063a1ebf35d14610526578063a217fddf14610544578063a22cb46514610562578063a9769d1b1461057e57610211565b80639010d07c1461047057806391d14854146104a0578063931688cb146104d0578063938e3d7b146104ec57610211565b80632f2ff15d116101a85780636352211e116101775780636352211e146103b857806370a08231146103e8578063715018a6146104185780637df73e27146104225780638da5cb5b1461045257610211565b80632f2ff15d1461034857806336568abe1461036457806342842e0e1461038057806342966c681461039c57610211565b80630ebd4c7f116101e45780630ebd4c7f146102b0578063158a4d5e146102e057806323b872dd146102fc578063248a9ca31461031857610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190613c2c565b6106ea565b60405161023d9190614425565b60405180910390f35b61024e6106fc565b60405161025b919061445b565b60405180910390f35b61027e60048036038101906102799190613d1c565b61078e565b60405161028b919061437a565b60405180910390f35b6102ae60048036038101906102a99190613b3f565b610813565b005b6102ca60048036038101906102c59190613d1c565b61092b565b6040516102d79190614403565b60405180910390f35b6102fa60048036038101906102f59190613a84565b610b1d565b005b610316600480360381019061031191906138b3565b610be3565b005b610332600480360381019061032d9190613b7f565b610c43565b60405161033f9190614440565b60405180910390f35b610362600480360381019061035d9190613bac565b610c63565b005b61037e60048036038101906103799190613bac565b610c97565b005b61039a600480360381019061039591906138b3565b610ccb565b005b6103b660048036038101906103b19190613d1c565b610ceb565b005b6103d260048036038101906103cd9190613d1c565b610d47565b6040516103df919061437a565b60405180910390f35b61040260048036038101906103fd9190613846565b610df9565b60405161040f919061475d565b60405180910390f35b610420610eb1565b005b61043c60048036038101906104379190613846565b610feb565b6040516104499190614425565b60405180910390f35b61045a61101e565b604051610467919061437a565b60405180910390f35b61048a60048036038101906104859190613bec565b611047565b604051610497919061437a565b60405180910390f35b6104ba60048036038101906104b59190613bac565b611076565b6040516104c79190614425565b60405180910390f35b6104ea60048036038101906104e59190613c86565b6110e1565b005b61050660048036038101906105019190613cd3565b611173565b005b6105106111fb565b60405161051d919061445b565b60405180910390f35b61052e61128d565b60405161053b9190614440565b60405180910390f35b61054c6112b1565b6040516105599190614440565b60405180910390f35b61057c60048036038101906105779190613a44565b6112b8565b005b61059860048036038101906105939190613989565b611439565b005b6105b460048036038101906105af9190613906565b611539565b005b6105d060048036038101906105cb9190613d1c565b61159b565b6040516105dd91906143e1565b60405180910390f35b61060060048036038101906105fb9190613d1c565b61185f565b60405161060d919061445b565b60405180910390f35b610630600480360381019061062b9190613b7f565b611911565b60405161063d919061475d565b60405180910390f35b61064e611935565b60405161065b9190614440565b60405180910390f35b61067e60048036038101906106799190613bac565b611959565b005b61068861198d565b604051610695919061445b565b60405180910390f35b6106b860048036038101906106b39190613873565b611a1b565b6040516106c59190614425565b60405180910390f35b6106e860048036038101906106e39190613846565b611aaf565b005b60006106f582611efb565b9050919050565b60606001805461070b90614b2d565b80601f016020809104026020016040519081016040528092919081815260200182805461073790614b2d565b80156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b5050505050905090565b600061079982611f3d565b6107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf9061463d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081e82610d47565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610886906146bd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108ae611fa9565b73ffffffffffffffffffffffffffffffffffffffff1614806108dd57506108dc816108d7611fa9565b611a1b565b5b61091c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109139061459d565b60405180910390fd5b6109268383611fb1565b505050565b60606000600b60008481526020019081526020016000208054905014156109a457600980548060200260200160405190810160405280929190818152602001828054801561099857602002820191906000526020600020905b815481526020019060010190808311610984575b50505050509050610b18565b6000600b6000848152602001908152602001600020805490506009805490506109cd919061494d565b905060008167ffffffffffffffff8111156109eb576109ea614c95565b5b604051908082528060200260200182016040528015610a195781602001602082028036833780820191505090505b50905060005b600980549050811015610a7d5760098181548110610a4057610a3f614c66565b5b9060005260206000200154828281518110610a5e57610a5d614c66565b5b6020026020010181815250508080610a7590614b90565b915050610a1f565b5060005b600b600086815260200190815260200160002080549050811015610b1157600b60008681526020019081526020016000208181548110610ac457610ac3614c66565b5b90600052602060002001548260088054905083610ae1919061494d565b81518110610af257610af1614c66565b5b6020026020010181815250508080610b0990614b90565b915050610a81565b5080925050505b919050565b610b477f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611076565b610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d9061461d565b60405180910390fd5b610b93600e54838361206a565b8260106000600e5481526020019081526020016000209080519060200190610bbc929190613285565b50610bdd84600e6000815480929190610bd490614b90565b919050556121ad565b50505050565b610bf4610bee611fa9565b8261237b565b610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a906146dd565b60405180910390fd5b610c3e838383612459565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c6d8282611c96565b610c9281600d6000858152602001908152602001600020611c6690919063ffffffff16565b505050565b610ca182826126b5565b610cc681600d600085815260200190815260200160002061273890919063ffffffff16565b505050565b610ce683838360405180602001604052806000815250611539565b505050565b610cfc610cf6611fa9565b8261237b565b610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d329061471d565b60405180910390fd5b610d4481612768565b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de7906145dd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906145bd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb9611fa9565b73ffffffffffffffffffffffffffffffffffffffff16610ed761101e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f249061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006110177fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7083611076565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061106e82600d600086815260200190815260200160002061287990919063ffffffff16565b905092915050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110e9611fa9565b73ffffffffffffffffffffffffffffffffffffffff1661110761101e565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111549061465d565b60405180910390fd5b8181600f919061116e92919061330b565b505050565b61117b611fa9565b73ffffffffffffffffffffffffffffffffffffffff1661119961101e565b73ffffffffffffffffffffffffffffffffffffffff16146111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e69061465d565b60405180910390fd5b6111f881612893565b50565b60606002805461120a90614b2d565b80601f016020809104026020016040519081016040528092919081815260200182805461123690614b2d565b80156112835780601f1061125857610100808354040283529160200191611283565b820191906000526020600020905b81548152906001019060200180831161126657829003601f168201915b5050505050905090565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b6112c0611fa9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113259061453d565b60405180910390fd5b806006600061133b611fa9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e8611fa9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142d9190614425565b60405180910390a35050565b6114637f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611076565b6114a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114999061461d565b60405180910390fd5b60005b8351811015611532576114bb600e54848461206a565b8381815181106114ce576114cd614c66565b5b602002602001015160106000600e54815260200190815260200160002090805190602001906114fe929190613285565b5061151f85600e600081548092919061151690614b90565b919050556121ad565b808061152a90614b90565b9150506114a5565b5050505050565b61154a611544611fa9565b8361237b565b611589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611580906146dd565b60405180910390fd5b611595848484846128ad565b50505050565b60606000600a600084815260200190815260200160002080549050141561164a57600880548060200260200160405190810160405280929190818152602001828054801561163e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116115f4575b5050505050905061185a565b6000600a600084815260200190815260200160002080549050600880549050611673919061494d565b905060008167ffffffffffffffff81111561169157611690614c95565b5b6040519080825280602002602001820160405280156116bf5781602001602082028036833780820191505090505b50905060005b60088054905081101561177157600881815481106116e6576116e5614c66565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061172457611723614c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061176990614b90565b9150506116c5565b5060005b600a60008681526020019081526020016000208054905081101561185357600a600086815260200190815260200160002081815481106117b8576117b7614c66565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600880549050836117f5919061494d565b8151811061180657611805614c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061184b90614b90565b915050611775565b5080925050505b919050565b606061186a82611f3d565b6118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a09061469d565b60405180910390fd5b6000600f80546118b890614b2d565b9050116118d4576040518060200160405280600081525061190a565b600f601060008481526020019081526020016000206040516020016118fa92919061431c565b6040516020818303038152906040525b9050919050565b600061192e600d6000848152602001908152602001600020612909565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611963828261291e565b61198881600d600085815260200190815260200160002061273890919063ffffffff16565b505050565b6007805461199a90614b2d565b80601f01602080910402602001604051908101604052809291908181526020018280546119c690614b2d565b8015611a135780601f106119e857610100808354040283529160200191611a13565b820191906000526020600020905b8154815290600101906020018083116119f657829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ab7611fa9565b73ffffffffffffffffffffffffffffffffffffffff16611ad561101e565b73ffffffffffffffffffffffffffffffffffffffff1614611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b229061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b92906144dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c628282612947565b5050565b6000611c8e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a28565b905092915050565b611c9f82610c43565b611cb081611cab611fa9565b612a98565b611cba8383612947565b505050565b606060006002836002611cd291906149a3565b611cdc919061494d565b67ffffffffffffffff811115611cf557611cf4614c95565b5b6040519080825280601f01601f191660200182016040528015611d275781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611d5f57611d5e614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611dc357611dc2614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611e0391906149a3565b611e0d919061494d565b90505b6001811115611ead577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611e4f57611e4e614c66565b5b1a60f81b828281518110611e6657611e65614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611ea690614b03565b9050611e10565b5060008414611ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee89061449d565b60405180910390fd5b8091505092915050565b6000611f0682612b35565b80611f165750611f1582612baf565b5b80611f265750611f2582612c91565b5b80611f365750611f3582612cf2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661202483610d47565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80518251146120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a5906146fd565b60405180910390fd5b60005b825181101561215757600073ffffffffffffffffffffffffffffffffffffffff168382815181106120e5576120e4614c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b9061457d565b60405180910390fd5b808061214f90614b90565b9150506120b1565b5081600a6000858152602001908152602001600020908051906020019061217f929190613391565b5080600b600085815260200190815260200160002090805190602001906121a792919061341b565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612214906145fd565b60405180910390fd5b61222681611f3d565b15612266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225d906144fd565b60405180910390fd5b61227260008383612d5c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c2919061494d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061238682611f3d565b6123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc9061455d565b60405180910390fd5b60006123d083610d47565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061243f57508373ffffffffffffffffffffffffffffffffffffffff166124278461078e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612450575061244f8185611a1b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661247982610d47565b73ffffffffffffffffffffffffffffffffffffffff16146124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561253f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125369061451d565b60405180910390fd5b61254a838383612d5c565b612555600082611fb1565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a591906149fd565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125fc919061494d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126bd611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461272a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127219061473d565b60405180910390fd5b6127348282612d61565b5050565b6000612760836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e43565b905092915050565b600061277382610d47565b905061278181600084612d5c565b61278c600083611fb1565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127dc91906149fd565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006128888360000183612f4f565b60001c905092915050565b80600790805190602001906128a9929190613285565b5050565b6128b8848484612459565b6128c484848484612fc3565b612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa906144bd565b60405180910390fd5b50505050565b60006129178260000161315a565b9050919050565b61292782610c43565b61293881612933611fa9565b612a98565b6129428383612d61565b505050565b6129518282611076565b612a24576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129c9611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612a34838361316b565b612a8d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612a92565b600090505b92915050565b612aa28282611076565b612b3157612ac78173ffffffffffffffffffffffffffffffffffffffff166014611cbf565b612ad58360001c6020611cbf565b604051602001612ae6929190614340565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28919061445b565b60405180910390fd5b5050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ba85750612ba78261318e565b5b9050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c7a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c8a5750612c8982613208565b5b9050919050565b600063e8a3d48560e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ceb5750612cea82612baf565b5b9050919050565b60007fb7799584000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612d6b8282611076565b15612e3f576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612de4611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612f43576000600182612e7591906149fd565b9050600060018660000180549050612e8d91906149fd565b90506000866000018281548110612ea757612ea6614c66565b5b9060005260206000200154905080876000018481548110612ecb57612eca614c66565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480612f0757612f06614c37565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612f49565b60009150505b92915050565b600081836000018054905011612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f919061447d565b60405180910390fd5b826000018281548110612fb057612faf614c66565b5b9060005260206000200154905092915050565b6000612fe48473ffffffffffffffffffffffffffffffffffffffff16613272565b1561314d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300d611fa9565b8786866040518563ffffffff1660e01b815260040161302f9493929190614395565b602060405180830381600087803b15801561304957600080fd5b505af192505050801561307a57506040513d601f19601f820116820180604052508101906130779190613c59565b60015b6130fd573d80600081146130aa576040519150601f19603f3d011682016040523d82523d6000602084013e6130af565b606091505b506000815114156130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec906144bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613152565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613201575061320082612cf2565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b82805461329190614b2d565b90600052602060002090601f0160209004810192826132b357600085556132fa565b82601f106132cc57805160ff19168380011785556132fa565b828001600101855582156132fa579182015b828111156132f95782518255916020019190600101906132de565b5b5090506133079190613468565b5090565b82805461331790614b2d565b90600052602060002090601f0160209004810192826133395760008555613380565b82601f1061335257803560ff1916838001178555613380565b82800160010185558215613380579182015b8281111561337f578235825591602001919060010190613364565b5b50905061338d9190613468565b5090565b82805482825590600052602060002090810192821561340a579160200282015b828111156134095782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906133b1565b5b5090506134179190613468565b5090565b828054828255906000526020600020908101928215613457579160200282015b8281111561345657825182559160200191906001019061343b565b5b5090506134649190613468565b5090565b5b80821115613481576000816000905550600101613469565b5090565b60006134986134938461479d565b614778565b905080838252602082019050828560208602820111156134bb576134ba614cce565b5b60005b858110156134eb57816134d1888261368c565b8452602084019350602083019250506001810190506134be565b5050509392505050565b6000613508613503846147c9565b614778565b9050808382526020820190508285602086028201111561352b5761352a614cce565b5b60005b8581101561357957813567ffffffffffffffff81111561355157613550614cc9565b5b80860161355e8982613803565b8552602085019450602084019350505060018101905061352e565b5050509392505050565b6000613596613591846147f5565b614778565b905080838252602082019050828560208602820111156135b9576135b8614cce565b5b60005b858110156135e957816135cf8882613831565b8452602084019350602083019250506001810190506135bc565b5050509392505050565b600061360661360184614821565b614778565b90508281526020810184848401111561362257613621614cd3565b5b61362d848285614ac1565b509392505050565b600061364861364384614852565b614778565b90508281526020810184848401111561366457613663614cd3565b5b61366f848285614ac1565b509392505050565b6000813590506136868161532e565b92915050565b60008135905061369b81615345565b92915050565b600082601f8301126136b6576136b5614cc9565b5b81356136c6848260208601613485565b91505092915050565b600082601f8301126136e4576136e3614cc9565b5b81356136f48482602086016134f5565b91505092915050565b600082601f83011261371257613711614cc9565b5b8135613722848260208601613583565b91505092915050565b60008135905061373a8161535c565b92915050565b60008135905061374f81615373565b92915050565b6000813590506137648161538a565b92915050565b6000815190506137798161538a565b92915050565b600082601f83011261379457613793614cc9565b5b81356137a48482602086016135f3565b91505092915050565b60008083601f8401126137c3576137c2614cc9565b5b8235905067ffffffffffffffff8111156137e0576137df614cc4565b5b6020830191508360018202830111156137fc576137fb614cce565b5b9250929050565b600082601f83011261381857613817614cc9565b5b8135613828848260208601613635565b91505092915050565b600081359050613840816153a1565b92915050565b60006020828403121561385c5761385b614cdd565b5b600061386a84828501613677565b91505092915050565b6000806040838503121561388a57613889614cdd565b5b600061389885828601613677565b92505060206138a985828601613677565b9150509250929050565b6000806000606084860312156138cc576138cb614cdd565b5b60006138da86828701613677565b93505060206138eb86828701613677565b92505060406138fc86828701613831565b9150509250925092565b600080600080608085870312156139205761391f614cdd565b5b600061392e87828801613677565b945050602061393f87828801613677565b935050604061395087828801613831565b925050606085013567ffffffffffffffff81111561397157613970614cd8565b5b61397d8782880161377f565b91505092959194509250565b600080600080608085870312156139a3576139a2614cdd565b5b60006139b187828801613677565b945050602085013567ffffffffffffffff8111156139d2576139d1614cd8565b5b6139de878288016136cf565b935050604085013567ffffffffffffffff8111156139ff576139fe614cd8565b5b613a0b878288016136a1565b925050606085013567ffffffffffffffff811115613a2c57613a2b614cd8565b5b613a38878288016136fd565b91505092959194509250565b60008060408385031215613a5b57613a5a614cdd565b5b6000613a6985828601613677565b9250506020613a7a8582860161372b565b9150509250929050565b60008060008060808587031215613a9e57613a9d614cdd565b5b6000613aac87828801613677565b945050602085013567ffffffffffffffff811115613acd57613acc614cd8565b5b613ad987828801613803565b935050604085013567ffffffffffffffff811115613afa57613af9614cd8565b5b613b06878288016136a1565b925050606085013567ffffffffffffffff811115613b2757613b26614cd8565b5b613b33878288016136fd565b91505092959194509250565b60008060408385031215613b5657613b55614cdd565b5b6000613b6485828601613677565b9250506020613b7585828601613831565b9150509250929050565b600060208284031215613b9557613b94614cdd565b5b6000613ba384828501613740565b91505092915050565b60008060408385031215613bc357613bc2614cdd565b5b6000613bd185828601613740565b9250506020613be285828601613677565b9150509250929050565b60008060408385031215613c0357613c02614cdd565b5b6000613c1185828601613740565b9250506020613c2285828601613831565b9150509250929050565b600060208284031215613c4257613c41614cdd565b5b6000613c5084828501613755565b91505092915050565b600060208284031215613c6f57613c6e614cdd565b5b6000613c7d8482850161376a565b91505092915050565b60008060208385031215613c9d57613c9c614cdd565b5b600083013567ffffffffffffffff811115613cbb57613cba614cd8565b5b613cc7858286016137ad565b92509250509250929050565b600060208284031215613ce957613ce8614cdd565b5b600082013567ffffffffffffffff811115613d0757613d06614cd8565b5b613d1384828501613803565b91505092915050565b600060208284031215613d3257613d31614cdd565b5b6000613d4084828501613831565b91505092915050565b6000613d558383613d79565b60208301905092915050565b6000613d6d83836142fe565b60208301905092915050565b613d8281614a43565b82525050565b613d9181614a31565b82525050565b6000613da2826148b8565b613dac81856148fe565b9350613db783614883565b8060005b83811015613de8578151613dcf8882613d49565b9750613dda836148e4565b925050600181019050613dbb565b5085935050505092915050565b6000613e00826148c3565b613e0a818561490f565b9350613e1583614893565b8060005b83811015613e46578151613e2d8882613d61565b9750613e38836148f1565b925050600181019050613e19565b5085935050505092915050565b613e5c81614a55565b82525050565b613e6b81614a61565b82525050565b6000613e7c826148ce565b613e868185614920565b9350613e96818560208601614ad0565b613e9f81614ce2565b840191505092915050565b6000613eb5826148d9565b613ebf8185614931565b9350613ecf818560208601614ad0565b613ed881614ce2565b840191505092915050565b6000613eee826148d9565b613ef88185614942565b9350613f08818560208601614ad0565b80840191505092915050565b60008154613f2181614b2d565b613f2b8186614942565b94506001821660008114613f465760018114613f5757613f8a565b60ff19831686528186019350613f8a565b613f60856148a3565b60005b83811015613f8257815481890152600182019150602081019050613f63565b838801955050505b50505092915050565b6000613fa0602283614931565b9150613fab82614cf3565b604082019050919050565b6000613fc3602083614931565b9150613fce82614d42565b602082019050919050565b6000613fe6603283614931565b9150613ff182614d6b565b604082019050919050565b6000614009602683614931565b915061401482614dba565b604082019050919050565b600061402c601c83614931565b915061403782614e09565b602082019050919050565b600061404f602483614931565b915061405a82614e32565b604082019050919050565b6000614072601983614931565b915061407d82614e81565b602082019050919050565b6000614095602c83614931565b91506140a082614eaa565b604082019050919050565b60006140b8601883614931565b91506140c382614ef9565b602082019050919050565b60006140db603883614931565b91506140e682614f22565b604082019050919050565b60006140fe602a83614931565b915061410982614f71565b604082019050919050565b6000614121602983614931565b915061412c82614fc0565b604082019050919050565b6000614144602083614931565b915061414f8261500f565b602082019050919050565b6000614167601d83614931565b915061417282615038565b602082019050919050565b600061418a602c83614931565b915061419582615061565b604082019050919050565b60006141ad602083614931565b91506141b8826150b0565b602082019050919050565b60006141d0602983614931565b91506141db826150d9565b604082019050919050565b60006141f3602f83614931565b91506141fe82615128565b604082019050919050565b6000614216602183614931565b915061422182615177565b604082019050919050565b6000614239603183614931565b9150614244826151c6565b604082019050919050565b600061425c601983614931565b915061426782615215565b602082019050919050565b600061427f601783614942565b915061428a8261523e565b601782019050919050565b60006142a2603083614931565b91506142ad82615267565b604082019050919050565b60006142c5601183614942565b91506142d0826152b6565b601182019050919050565b60006142e8602f83614931565b91506142f3826152df565b604082019050919050565b61430781614ab7565b82525050565b61431681614ab7565b82525050565b60006143288285613f14565b91506143348284613f14565b91508190509392505050565b600061434b82614272565b91506143578285613ee3565b9150614362826142b8565b915061436e8284613ee3565b91508190509392505050565b600060208201905061438f6000830184613d88565b92915050565b60006080820190506143aa6000830187613d88565b6143b76020830186613d88565b6143c4604083018561430d565b81810360608301526143d68184613e71565b905095945050505050565b600060208201905081810360008301526143fb8184613d97565b905092915050565b6000602082019050818103600083015261441d8184613df5565b905092915050565b600060208201905061443a6000830184613e53565b92915050565b60006020820190506144556000830184613e62565b92915050565b600060208201905081810360008301526144758184613eaa565b905092915050565b6000602082019050818103600083015261449681613f93565b9050919050565b600060208201905081810360008301526144b681613fb6565b9050919050565b600060208201905081810360008301526144d681613fd9565b9050919050565b600060208201905081810360008301526144f681613ffc565b9050919050565b600060208201905081810360008301526145168161401f565b9050919050565b6000602082019050818103600083015261453681614042565b9050919050565b6000602082019050818103600083015261455681614065565b9050919050565b6000602082019050818103600083015261457681614088565b9050919050565b60006020820190508181036000830152614596816140ab565b9050919050565b600060208201905081810360008301526145b6816140ce565b9050919050565b600060208201905081810360008301526145d6816140f1565b9050919050565b600060208201905081810360008301526145f681614114565b9050919050565b6000602082019050818103600083015261461681614137565b9050919050565b600060208201905081810360008301526146368161415a565b9050919050565b600060208201905081810360008301526146568161417d565b9050919050565b60006020820190508181036000830152614676816141a0565b9050919050565b60006020820190508181036000830152614696816141c3565b9050919050565b600060208201905081810360008301526146b6816141e6565b9050919050565b600060208201905081810360008301526146d681614209565b9050919050565b600060208201905081810360008301526146f68161422c565b9050919050565b600060208201905081810360008301526147168161424f565b9050919050565b6000602082019050818103600083015261473681614295565b9050919050565b60006020820190508181036000830152614756816142db565b9050919050565b6000602082019050614772600083018461430d565b92915050565b6000614782614793565b905061478e8282614b5f565b919050565b6000604051905090565b600067ffffffffffffffff8211156147b8576147b7614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147e4576147e3614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148105761480f614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483c5761483b614c95565b5b61484582614ce2565b9050602081019050919050565b600067ffffffffffffffff82111561486d5761486c614c95565b5b61487682614ce2565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061495882614ab7565b915061496383614ab7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561499857614997614bd9565b5b828201905092915050565b60006149ae82614ab7565b91506149b983614ab7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f2576149f1614bd9565b5b828202905092915050565b6000614a0882614ab7565b9150614a1383614ab7565b925082821015614a2657614a25614bd9565b5b828203905092915050565b6000614a3c82614a97565b9050919050565b6000614a4e82614a97565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614aee578082015181840152602081019050614ad3565b83811115614afd576000848401525b50505050565b6000614b0e82614ab7565b91506000821415614b2257614b21614bd9565b5b600182039050919050565b60006002820490506001821680614b4557607f821691505b60208210811415614b5957614b58614c08565b5b50919050565b614b6882614ce2565b810181811067ffffffffffffffff82111715614b8757614b86614c95565b5b80604052505050565b6000614b9b82614ab7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bce57614bcd614bd9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d757374206e6f74206265207a65726f2d616464726573730000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d7573742068617665206d696e74657220726f6c6520746f206d696e74000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f696e707574206c656e677468206d7573742062652073616d6500000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61533781614a31565b811461534257600080fd5b50565b61534e81614a43565b811461535957600080fd5b50565b61536581614a55565b811461537057600080fd5b50565b61537c81614a61565b811461538757600080fd5b50565b61539381614a6b565b811461539e57600080fd5b50565b6153aa81614ab7565b81146153b557600080fd5b5056fea26469706673582212204582a986d21ce002135e6f8d57d1509e8d42dfdd9dac5753eea586d773a0187964736f6c63430008060033000000000000000000000000f03ba06dd459ae597357b491219fcb573f5fe68300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000d46756e6374696f6e20447261770000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044452415700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6170692d6d61696e6e65742e72617269626c652e636f6d2f636f6e74726163744d657461646174612f7b616464726573737d000000000000000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002fd5a64cd0303c86f10fe69dc19fc08023a47be600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000190
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80639010d07c11610125578063b88d4fde116100ad578063d53913931161007c578063d539139314610646578063d547741f14610664578063e8a3d48514610680578063e985e9c51461069e578063f2fde38b146106ce57610211565b8063b88d4fde1461059a578063b9c4d9fb146105b6578063c87b56dd146105e6578063ca15c8731461061657610211565b806395d89b41116100f457806395d89b4114610508578063a1ebf35d14610526578063a217fddf14610544578063a22cb46514610562578063a9769d1b1461057e57610211565b80639010d07c1461047057806391d14854146104a0578063931688cb146104d0578063938e3d7b146104ec57610211565b80632f2ff15d116101a85780636352211e116101775780636352211e146103b857806370a08231146103e8578063715018a6146104185780637df73e27146104225780638da5cb5b1461045257610211565b80632f2ff15d1461034857806336568abe1461036457806342842e0e1461038057806342966c681461039c57610211565b80630ebd4c7f116101e45780630ebd4c7f146102b0578063158a4d5e146102e057806323b872dd146102fc578063248a9ca31461031857610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190613c2c565b6106ea565b60405161023d9190614425565b60405180910390f35b61024e6106fc565b60405161025b919061445b565b60405180910390f35b61027e60048036038101906102799190613d1c565b61078e565b60405161028b919061437a565b60405180910390f35b6102ae60048036038101906102a99190613b3f565b610813565b005b6102ca60048036038101906102c59190613d1c565b61092b565b6040516102d79190614403565b60405180910390f35b6102fa60048036038101906102f59190613a84565b610b1d565b005b610316600480360381019061031191906138b3565b610be3565b005b610332600480360381019061032d9190613b7f565b610c43565b60405161033f9190614440565b60405180910390f35b610362600480360381019061035d9190613bac565b610c63565b005b61037e60048036038101906103799190613bac565b610c97565b005b61039a600480360381019061039591906138b3565b610ccb565b005b6103b660048036038101906103b19190613d1c565b610ceb565b005b6103d260048036038101906103cd9190613d1c565b610d47565b6040516103df919061437a565b60405180910390f35b61040260048036038101906103fd9190613846565b610df9565b60405161040f919061475d565b60405180910390f35b610420610eb1565b005b61043c60048036038101906104379190613846565b610feb565b6040516104499190614425565b60405180910390f35b61045a61101e565b604051610467919061437a565b60405180910390f35b61048a60048036038101906104859190613bec565b611047565b604051610497919061437a565b60405180910390f35b6104ba60048036038101906104b59190613bac565b611076565b6040516104c79190614425565b60405180910390f35b6104ea60048036038101906104e59190613c86565b6110e1565b005b61050660048036038101906105019190613cd3565b611173565b005b6105106111fb565b60405161051d919061445b565b60405180910390f35b61052e61128d565b60405161053b9190614440565b60405180910390f35b61054c6112b1565b6040516105599190614440565b60405180910390f35b61057c60048036038101906105779190613a44565b6112b8565b005b61059860048036038101906105939190613989565b611439565b005b6105b460048036038101906105af9190613906565b611539565b005b6105d060048036038101906105cb9190613d1c565b61159b565b6040516105dd91906143e1565b60405180910390f35b61060060048036038101906105fb9190613d1c565b61185f565b60405161060d919061445b565b60405180910390f35b610630600480360381019061062b9190613b7f565b611911565b60405161063d919061475d565b60405180910390f35b61064e611935565b60405161065b9190614440565b60405180910390f35b61067e60048036038101906106799190613bac565b611959565b005b61068861198d565b604051610695919061445b565b60405180910390f35b6106b860048036038101906106b39190613873565b611a1b565b6040516106c59190614425565b60405180910390f35b6106e860048036038101906106e39190613846565b611aaf565b005b60006106f582611efb565b9050919050565b60606001805461070b90614b2d565b80601f016020809104026020016040519081016040528092919081815260200182805461073790614b2d565b80156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b5050505050905090565b600061079982611f3d565b6107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf9061463d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081e82610d47565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610886906146bd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108ae611fa9565b73ffffffffffffffffffffffffffffffffffffffff1614806108dd57506108dc816108d7611fa9565b611a1b565b5b61091c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109139061459d565b60405180910390fd5b6109268383611fb1565b505050565b60606000600b60008481526020019081526020016000208054905014156109a457600980548060200260200160405190810160405280929190818152602001828054801561099857602002820191906000526020600020905b815481526020019060010190808311610984575b50505050509050610b18565b6000600b6000848152602001908152602001600020805490506009805490506109cd919061494d565b905060008167ffffffffffffffff8111156109eb576109ea614c95565b5b604051908082528060200260200182016040528015610a195781602001602082028036833780820191505090505b50905060005b600980549050811015610a7d5760098181548110610a4057610a3f614c66565b5b9060005260206000200154828281518110610a5e57610a5d614c66565b5b6020026020010181815250508080610a7590614b90565b915050610a1f565b5060005b600b600086815260200190815260200160002080549050811015610b1157600b60008681526020019081526020016000208181548110610ac457610ac3614c66565b5b90600052602060002001548260088054905083610ae1919061494d565b81518110610af257610af1614c66565b5b6020026020010181815250508080610b0990614b90565b915050610a81565b5080925050505b919050565b610b477f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611076565b610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d9061461d565b60405180910390fd5b610b93600e54838361206a565b8260106000600e5481526020019081526020016000209080519060200190610bbc929190613285565b50610bdd84600e6000815480929190610bd490614b90565b919050556121ad565b50505050565b610bf4610bee611fa9565b8261237b565b610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a906146dd565b60405180910390fd5b610c3e838383612459565b505050565b6000600c6000838152602001908152602001600020600101549050919050565b610c6d8282611c96565b610c9281600d6000858152602001908152602001600020611c6690919063ffffffff16565b505050565b610ca182826126b5565b610cc681600d600085815260200190815260200160002061273890919063ffffffff16565b505050565b610ce683838360405180602001604052806000815250611539565b505050565b610cfc610cf6611fa9565b8261237b565b610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d329061471d565b60405180910390fd5b610d4481612768565b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de7906145dd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e61906145bd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb9611fa9565b73ffffffffffffffffffffffffffffffffffffffff16610ed761101e565b73ffffffffffffffffffffffffffffffffffffffff1614610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f249061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006110177fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7083611076565b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061106e82600d600086815260200190815260200160002061287990919063ffffffff16565b905092915050565b6000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110e9611fa9565b73ffffffffffffffffffffffffffffffffffffffff1661110761101e565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111549061465d565b60405180910390fd5b8181600f919061116e92919061330b565b505050565b61117b611fa9565b73ffffffffffffffffffffffffffffffffffffffff1661119961101e565b73ffffffffffffffffffffffffffffffffffffffff16146111ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e69061465d565b60405180910390fd5b6111f881612893565b50565b60606002805461120a90614b2d565b80601f016020809104026020016040519081016040528092919081815260200182805461123690614b2d565b80156112835780601f1061125857610100808354040283529160200191611283565b820191906000526020600020905b81548152906001019060200180831161126657829003601f168201915b5050505050905090565b7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b6000801b81565b6112c0611fa9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113259061453d565b60405180910390fd5b806006600061133b611fa9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e8611fa9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142d9190614425565b60405180910390a35050565b6114637f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611076565b6114a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114999061461d565b60405180910390fd5b60005b8351811015611532576114bb600e54848461206a565b8381815181106114ce576114cd614c66565b5b602002602001015160106000600e54815260200190815260200160002090805190602001906114fe929190613285565b5061151f85600e600081548092919061151690614b90565b919050556121ad565b808061152a90614b90565b9150506114a5565b5050505050565b61154a611544611fa9565b8361237b565b611589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611580906146dd565b60405180910390fd5b611595848484846128ad565b50505050565b60606000600a600084815260200190815260200160002080549050141561164a57600880548060200260200160405190810160405280929190818152602001828054801561163e57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116115f4575b5050505050905061185a565b6000600a600084815260200190815260200160002080549050600880549050611673919061494d565b905060008167ffffffffffffffff81111561169157611690614c95565b5b6040519080825280602002602001820160405280156116bf5781602001602082028036833780820191505090505b50905060005b60088054905081101561177157600881815481106116e6576116e5614c66565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061172457611723614c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061176990614b90565b9150506116c5565b5060005b600a60008681526020019081526020016000208054905081101561185357600a600086815260200190815260200160002081815481106117b8576117b7614c66565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600880549050836117f5919061494d565b8151811061180657611805614c66565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061184b90614b90565b915050611775565b5080925050505b919050565b606061186a82611f3d565b6118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a09061469d565b60405180910390fd5b6000600f80546118b890614b2d565b9050116118d4576040518060200160405280600081525061190a565b600f601060008481526020019081526020016000206040516020016118fa92919061431c565b6040516020818303038152906040525b9050919050565b600061192e600d6000848152602001908152602001600020612909565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611963828261291e565b61198881600d600085815260200190815260200160002061273890919063ffffffff16565b505050565b6007805461199a90614b2d565b80601f01602080910402602001604051908101604052809291908181526020018280546119c690614b2d565b8015611a135780601f106119e857610100808354040283529160200191611a13565b820191906000526020600020905b8154815290600101906020018083116119f657829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ab7611fa9565b73ffffffffffffffffffffffffffffffffffffffff16611ad561101e565b73ffffffffffffffffffffffffffffffffffffffff1614611b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b229061465d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b92906144dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c628282612947565b5050565b6000611c8e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a28565b905092915050565b611c9f82610c43565b611cb081611cab611fa9565b612a98565b611cba8383612947565b505050565b606060006002836002611cd291906149a3565b611cdc919061494d565b67ffffffffffffffff811115611cf557611cf4614c95565b5b6040519080825280601f01601f191660200182016040528015611d275781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611d5f57611d5e614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611dc357611dc2614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611e0391906149a3565b611e0d919061494d565b90505b6001811115611ead577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611e4f57611e4e614c66565b5b1a60f81b828281518110611e6657611e65614c66565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611ea690614b03565b9050611e10565b5060008414611ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee89061449d565b60405180910390fd5b8091505092915050565b6000611f0682612b35565b80611f165750611f1582612baf565b5b80611f265750611f2582612c91565b5b80611f365750611f3582612cf2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661202483610d47565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80518251146120ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a5906146fd565b60405180910390fd5b60005b825181101561215757600073ffffffffffffffffffffffffffffffffffffffff168382815181106120e5576120e4614c66565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b9061457d565b60405180910390fd5b808061214f90614b90565b9150506120b1565b5081600a6000858152602001908152602001600020908051906020019061217f929190613391565b5080600b600085815260200190815260200160002090805190602001906121a792919061341b565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561221d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612214906145fd565b60405180910390fd5b61222681611f3d565b15612266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225d906144fd565b60405180910390fd5b61227260008383612d5c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c2919061494d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061238682611f3d565b6123c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bc9061455d565b60405180910390fd5b60006123d083610d47565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061243f57508373ffffffffffffffffffffffffffffffffffffffff166124278461078e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612450575061244f8185611a1b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661247982610d47565b73ffffffffffffffffffffffffffffffffffffffff16146124cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c69061467d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561253f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125369061451d565b60405180910390fd5b61254a838383612d5c565b612555600082611fb1565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125a591906149fd565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125fc919061494d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126bd611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461272a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127219061473d565b60405180910390fd5b6127348282612d61565b5050565b6000612760836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612e43565b905092915050565b600061277382610d47565b905061278181600084612d5c565b61278c600083611fb1565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127dc91906149fd565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006128888360000183612f4f565b60001c905092915050565b80600790805190602001906128a9929190613285565b5050565b6128b8848484612459565b6128c484848484612fc3565b612903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fa906144bd565b60405180910390fd5b50505050565b60006129178260000161315a565b9050919050565b61292782610c43565b61293881612933611fa9565b612a98565b6129428383612d61565b505050565b6129518282611076565b612a24576001600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129c9611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000612a34838361316b565b612a8d578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612a92565b600090505b92915050565b612aa28282611076565b612b3157612ac78173ffffffffffffffffffffffffffffffffffffffff166014611cbf565b612ad58360001c6020611cbf565b604051602001612ae6929190614340565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b28919061445b565b60405180910390fd5b5050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ba85750612ba78261318e565b5b9050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c7a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c8a5750612c8982613208565b5b9050919050565b600063e8a3d48560e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ceb5750612cea82612baf565b5b9050919050565b60007fb7799584000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612d6b8282611076565b15612e3f576000600c600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612de4611fa9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114612f43576000600182612e7591906149fd565b9050600060018660000180549050612e8d91906149fd565b90506000866000018281548110612ea757612ea6614c66565b5b9060005260206000200154905080876000018481548110612ecb57612eca614c66565b5b9060005260206000200181905550838760010160008381526020019081526020016000208190555086600001805480612f0757612f06614c37565b5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612f49565b60009150505b92915050565b600081836000018054905011612f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f919061447d565b60405180910390fd5b826000018281548110612fb057612faf614c66565b5b9060005260206000200154905092915050565b6000612fe48473ffffffffffffffffffffffffffffffffffffffff16613272565b1561314d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300d611fa9565b8786866040518563ffffffff1660e01b815260040161302f9493929190614395565b602060405180830381600087803b15801561304957600080fd5b505af192505050801561307a57506040513d601f19601f820116820180604052508101906130779190613c59565b60015b6130fd573d80600081146130aa576040519150601f19603f3d011682016040523d82523d6000602084013e6130af565b606091505b506000815114156130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec906144bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613152565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613201575061320082612cf2565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080823b905060008111915050919050565b82805461329190614b2d565b90600052602060002090601f0160209004810192826132b357600085556132fa565b82601f106132cc57805160ff19168380011785556132fa565b828001600101855582156132fa579182015b828111156132f95782518255916020019190600101906132de565b5b5090506133079190613468565b5090565b82805461331790614b2d565b90600052602060002090601f0160209004810192826133395760008555613380565b82601f1061335257803560ff1916838001178555613380565b82800160010185558215613380579182015b8281111561337f578235825591602001919060010190613364565b5b50905061338d9190613468565b5090565b82805482825590600052602060002090810192821561340a579160200282015b828111156134095782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906133b1565b5b5090506134179190613468565b5090565b828054828255906000526020600020908101928215613457579160200282015b8281111561345657825182559160200191906001019061343b565b5b5090506134649190613468565b5090565b5b80821115613481576000816000905550600101613469565b5090565b60006134986134938461479d565b614778565b905080838252602082019050828560208602820111156134bb576134ba614cce565b5b60005b858110156134eb57816134d1888261368c565b8452602084019350602083019250506001810190506134be565b5050509392505050565b6000613508613503846147c9565b614778565b9050808382526020820190508285602086028201111561352b5761352a614cce565b5b60005b8581101561357957813567ffffffffffffffff81111561355157613550614cc9565b5b80860161355e8982613803565b8552602085019450602084019350505060018101905061352e565b5050509392505050565b6000613596613591846147f5565b614778565b905080838252602082019050828560208602820111156135b9576135b8614cce565b5b60005b858110156135e957816135cf8882613831565b8452602084019350602083019250506001810190506135bc565b5050509392505050565b600061360661360184614821565b614778565b90508281526020810184848401111561362257613621614cd3565b5b61362d848285614ac1565b509392505050565b600061364861364384614852565b614778565b90508281526020810184848401111561366457613663614cd3565b5b61366f848285614ac1565b509392505050565b6000813590506136868161532e565b92915050565b60008135905061369b81615345565b92915050565b600082601f8301126136b6576136b5614cc9565b5b81356136c6848260208601613485565b91505092915050565b600082601f8301126136e4576136e3614cc9565b5b81356136f48482602086016134f5565b91505092915050565b600082601f83011261371257613711614cc9565b5b8135613722848260208601613583565b91505092915050565b60008135905061373a8161535c565b92915050565b60008135905061374f81615373565b92915050565b6000813590506137648161538a565b92915050565b6000815190506137798161538a565b92915050565b600082601f83011261379457613793614cc9565b5b81356137a48482602086016135f3565b91505092915050565b60008083601f8401126137c3576137c2614cc9565b5b8235905067ffffffffffffffff8111156137e0576137df614cc4565b5b6020830191508360018202830111156137fc576137fb614cce565b5b9250929050565b600082601f83011261381857613817614cc9565b5b8135613828848260208601613635565b91505092915050565b600081359050613840816153a1565b92915050565b60006020828403121561385c5761385b614cdd565b5b600061386a84828501613677565b91505092915050565b6000806040838503121561388a57613889614cdd565b5b600061389885828601613677565b92505060206138a985828601613677565b9150509250929050565b6000806000606084860312156138cc576138cb614cdd565b5b60006138da86828701613677565b93505060206138eb86828701613677565b92505060406138fc86828701613831565b9150509250925092565b600080600080608085870312156139205761391f614cdd565b5b600061392e87828801613677565b945050602061393f87828801613677565b935050604061395087828801613831565b925050606085013567ffffffffffffffff81111561397157613970614cd8565b5b61397d8782880161377f565b91505092959194509250565b600080600080608085870312156139a3576139a2614cdd565b5b60006139b187828801613677565b945050602085013567ffffffffffffffff8111156139d2576139d1614cd8565b5b6139de878288016136cf565b935050604085013567ffffffffffffffff8111156139ff576139fe614cd8565b5b613a0b878288016136a1565b925050606085013567ffffffffffffffff811115613a2c57613a2b614cd8565b5b613a38878288016136fd565b91505092959194509250565b60008060408385031215613a5b57613a5a614cdd565b5b6000613a6985828601613677565b9250506020613a7a8582860161372b565b9150509250929050565b60008060008060808587031215613a9e57613a9d614cdd565b5b6000613aac87828801613677565b945050602085013567ffffffffffffffff811115613acd57613acc614cd8565b5b613ad987828801613803565b935050604085013567ffffffffffffffff811115613afa57613af9614cd8565b5b613b06878288016136a1565b925050606085013567ffffffffffffffff811115613b2757613b26614cd8565b5b613b33878288016136fd565b91505092959194509250565b60008060408385031215613b5657613b55614cdd565b5b6000613b6485828601613677565b9250506020613b7585828601613831565b9150509250929050565b600060208284031215613b9557613b94614cdd565b5b6000613ba384828501613740565b91505092915050565b60008060408385031215613bc357613bc2614cdd565b5b6000613bd185828601613740565b9250506020613be285828601613677565b9150509250929050565b60008060408385031215613c0357613c02614cdd565b5b6000613c1185828601613740565b9250506020613c2285828601613831565b9150509250929050565b600060208284031215613c4257613c41614cdd565b5b6000613c5084828501613755565b91505092915050565b600060208284031215613c6f57613c6e614cdd565b5b6000613c7d8482850161376a565b91505092915050565b60008060208385031215613c9d57613c9c614cdd565b5b600083013567ffffffffffffffff811115613cbb57613cba614cd8565b5b613cc7858286016137ad565b92509250509250929050565b600060208284031215613ce957613ce8614cdd565b5b600082013567ffffffffffffffff811115613d0757613d06614cd8565b5b613d1384828501613803565b91505092915050565b600060208284031215613d3257613d31614cdd565b5b6000613d4084828501613831565b91505092915050565b6000613d558383613d79565b60208301905092915050565b6000613d6d83836142fe565b60208301905092915050565b613d8281614a43565b82525050565b613d9181614a31565b82525050565b6000613da2826148b8565b613dac81856148fe565b9350613db783614883565b8060005b83811015613de8578151613dcf8882613d49565b9750613dda836148e4565b925050600181019050613dbb565b5085935050505092915050565b6000613e00826148c3565b613e0a818561490f565b9350613e1583614893565b8060005b83811015613e46578151613e2d8882613d61565b9750613e38836148f1565b925050600181019050613e19565b5085935050505092915050565b613e5c81614a55565b82525050565b613e6b81614a61565b82525050565b6000613e7c826148ce565b613e868185614920565b9350613e96818560208601614ad0565b613e9f81614ce2565b840191505092915050565b6000613eb5826148d9565b613ebf8185614931565b9350613ecf818560208601614ad0565b613ed881614ce2565b840191505092915050565b6000613eee826148d9565b613ef88185614942565b9350613f08818560208601614ad0565b80840191505092915050565b60008154613f2181614b2d565b613f2b8186614942565b94506001821660008114613f465760018114613f5757613f8a565b60ff19831686528186019350613f8a565b613f60856148a3565b60005b83811015613f8257815481890152600182019150602081019050613f63565b838801955050505b50505092915050565b6000613fa0602283614931565b9150613fab82614cf3565b604082019050919050565b6000613fc3602083614931565b9150613fce82614d42565b602082019050919050565b6000613fe6603283614931565b9150613ff182614d6b565b604082019050919050565b6000614009602683614931565b915061401482614dba565b604082019050919050565b600061402c601c83614931565b915061403782614e09565b602082019050919050565b600061404f602483614931565b915061405a82614e32565b604082019050919050565b6000614072601983614931565b915061407d82614e81565b602082019050919050565b6000614095602c83614931565b91506140a082614eaa565b604082019050919050565b60006140b8601883614931565b91506140c382614ef9565b602082019050919050565b60006140db603883614931565b91506140e682614f22565b604082019050919050565b60006140fe602a83614931565b915061410982614f71565b604082019050919050565b6000614121602983614931565b915061412c82614fc0565b604082019050919050565b6000614144602083614931565b915061414f8261500f565b602082019050919050565b6000614167601d83614931565b915061417282615038565b602082019050919050565b600061418a602c83614931565b915061419582615061565b604082019050919050565b60006141ad602083614931565b91506141b8826150b0565b602082019050919050565b60006141d0602983614931565b91506141db826150d9565b604082019050919050565b60006141f3602f83614931565b91506141fe82615128565b604082019050919050565b6000614216602183614931565b915061422182615177565b604082019050919050565b6000614239603183614931565b9150614244826151c6565b604082019050919050565b600061425c601983614931565b915061426782615215565b602082019050919050565b600061427f601783614942565b915061428a8261523e565b601782019050919050565b60006142a2603083614931565b91506142ad82615267565b604082019050919050565b60006142c5601183614942565b91506142d0826152b6565b601182019050919050565b60006142e8602f83614931565b91506142f3826152df565b604082019050919050565b61430781614ab7565b82525050565b61431681614ab7565b82525050565b60006143288285613f14565b91506143348284613f14565b91508190509392505050565b600061434b82614272565b91506143578285613ee3565b9150614362826142b8565b915061436e8284613ee3565b91508190509392505050565b600060208201905061438f6000830184613d88565b92915050565b60006080820190506143aa6000830187613d88565b6143b76020830186613d88565b6143c4604083018561430d565b81810360608301526143d68184613e71565b905095945050505050565b600060208201905081810360008301526143fb8184613d97565b905092915050565b6000602082019050818103600083015261441d8184613df5565b905092915050565b600060208201905061443a6000830184613e53565b92915050565b60006020820190506144556000830184613e62565b92915050565b600060208201905081810360008301526144758184613eaa565b905092915050565b6000602082019050818103600083015261449681613f93565b9050919050565b600060208201905081810360008301526144b681613fb6565b9050919050565b600060208201905081810360008301526144d681613fd9565b9050919050565b600060208201905081810360008301526144f681613ffc565b9050919050565b600060208201905081810360008301526145168161401f565b9050919050565b6000602082019050818103600083015261453681614042565b9050919050565b6000602082019050818103600083015261455681614065565b9050919050565b6000602082019050818103600083015261457681614088565b9050919050565b60006020820190508181036000830152614596816140ab565b9050919050565b600060208201905081810360008301526145b6816140ce565b9050919050565b600060208201905081810360008301526145d6816140f1565b9050919050565b600060208201905081810360008301526145f681614114565b9050919050565b6000602082019050818103600083015261461681614137565b9050919050565b600060208201905081810360008301526146368161415a565b9050919050565b600060208201905081810360008301526146568161417d565b9050919050565b60006020820190508181036000830152614676816141a0565b9050919050565b60006020820190508181036000830152614696816141c3565b9050919050565b600060208201905081810360008301526146b6816141e6565b9050919050565b600060208201905081810360008301526146d681614209565b9050919050565b600060208201905081810360008301526146f68161422c565b9050919050565b600060208201905081810360008301526147168161424f565b9050919050565b6000602082019050818103600083015261473681614295565b9050919050565b60006020820190508181036000830152614756816142db565b9050919050565b6000602082019050614772600083018461430d565b92915050565b6000614782614793565b905061478e8282614b5f565b919050565b6000604051905090565b600067ffffffffffffffff8211156147b8576147b7614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156147e4576147e3614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156148105761480f614c95565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483c5761483b614c95565b5b61484582614ce2565b9050602081019050919050565b600067ffffffffffffffff82111561486d5761486c614c95565b5b61487682614ce2565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061495882614ab7565b915061496383614ab7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561499857614997614bd9565b5b828201905092915050565b60006149ae82614ab7565b91506149b983614ab7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f2576149f1614bd9565b5b828202905092915050565b6000614a0882614ab7565b9150614a1383614ab7565b925082821015614a2657614a25614bd9565b5b828203905092915050565b6000614a3c82614a97565b9050919050565b6000614a4e82614a97565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614aee578082015181840152602081019050614ad3565b83811115614afd576000848401525b50505050565b6000614b0e82614ab7565b91506000821415614b2257614b21614bd9565b5b600182039050919050565b60006002820490506001821680614b4557607f821691505b60208210811415614b5957614b58614c08565b5b50919050565b614b6882614ce2565b810181811067ffffffffffffffff82111715614b8757614b86614c95565b5b80604052505050565b6000614b9b82614ab7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bce57614bcd614bd9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d757374206e6f74206265207a65726f2d616464726573730000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d7573742068617665206d696e74657220726f6c6520746f206d696e74000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f696e707574206c656e677468206d7573742062652073616d6500000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61533781614a31565b811461534257600080fd5b50565b61534e81614a43565b811461535957600080fd5b50565b61536581614a55565b811461537057600080fd5b50565b61537c81614a61565b811461538757600080fd5b50565b61539381614a6b565b811461539e57600080fd5b50565b6153aa81614ab7565b81146153b557600080fd5b5056fea26469706673582212204582a986d21ce002135e6f8d57d1509e8d42dfdd9dac5753eea586d773a0187964736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f03ba06dd459ae597357b491219fcb573f5fe68300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000d46756e6374696f6e20447261770000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044452415700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6170692d6d61696e6e65742e72617269626c652e636f6d2f636f6e74726163744d657461646174612f7b616464726573737d000000000000000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002fd5a64cd0303c86f10fe69dc19fc08023a47be600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000190
-----Decoded View---------------
Arg [0] : signer (address): 0xf03Ba06Dd459AE597357b491219fCb573f5fe683
Arg [1] : name (string): Function Draw
Arg [2] : symbol (string): DRAW
Arg [3] : contractURI (string): https://api-mainnet.rarible.com/contractMetadata/{address}
Arg [4] : initialBaseURI (string): https://ipfs.io/ipfs/
Arg [5] : commonRoyaltyAddresses (address[]): 0x2FD5A64cD0303c86f10Fe69DC19fC08023A47be6
Arg [6] : commonRoyaltiesWithTwoDecimals (uint256[]): 400
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 000000000000000000000000f03ba06dd459ae597357b491219fcb573f5fe683
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 46756e6374696f6e204472617700000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 4452415700000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [12] : 68747470733a2f2f6170692d6d61696e6e65742e72617269626c652e636f6d2f
Arg [13] : 636f6e74726163744d657461646174612f7b616464726573737d000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [15] : 68747470733a2f2f697066732e696f2f697066732f0000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [17] : 0000000000000000000000002fd5a64cd0303c86f10fe69dc19fc08023a47be6
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000190
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 ]
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.