ERC-721
Overview
Max Total Supply
889 MOONZ
Holders
304
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MOONZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonMoonz
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; import {Calendar, Timezone} from "./base/Calendar.sol"; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol"; import {PaymentSplitter} from "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import {ERC721Enumerable, ERC721, IERC721} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract MoonMoonz is Ownable, Pausable, ERC721("Moon Moonz", "MOONZ"), ERC721Enumerable { using Strings for uint256; using MerkleProof for bytes32[]; /* -------------------------------------------------------------------------- */ /* Constants */ /* -------------------------------------------------------------------------- */ uint256 public constant MAX_SUPPLY = 5555; uint256 public constant PRICE = 0.0088 ether; /* -------------------------------------------------------------------------- */ /* Variables */ /* -------------------------------------------------------------------------- */ string public baseURI; string public unrevealedURI; uint256 public saleState; // 0 -> closed / 1 -> vip / 2 -> wl / 3 -> waitlist / 4 -> public address public immutable splitter; // -> payment splitter bytes32 public root1; // vip bytes32 public root2; // wl bytes32 public root3; // waitlist bool public lockedAtNight; mapping(address => bool) public bought; // -> true if address already bought a token mapping(uint256 => Timezone) public timezoneOf; // -> timezone data by token ID mapping(address => bool) public controllers; /* -------------------------------------------------------------------------- */ /* Modifiers */ /* -------------------------------------------------------------------------- */ modifier requireWhitelisted(bytes32 root, bytes32[] calldata proof) { require(proof.verify(root, keccak256(abi.encodePacked(msg.sender))), "Invalid whitelist proof"); _; } modifier requireSaleState(uint256 _saleState) { require(saleState == _saleState, "Invalid sale state"); _; } modifier requireValue() { require(msg.value == PRICE, "Invalid ether amount"); payable(splitter).call{value: msg.value}(""); _; } modifier requireNotMinted() { require(!bought[msg.sender], "Already minted"); bought[msg.sender] = true; _; } modifier requireSupply(uint256 max) { require(super.totalSupply() < max, "Max supply was reached"); _; } /* -------------------------------------------------------------------------- */ /* Constructor */ /* -------------------------------------------------------------------------- */ constructor( address[] memory payees, uint256[] memory shares, string memory _unrevealedURI ) { splitter = address(new PaymentSplitter(payees, shares)); unrevealedURI = _unrevealedURI; super._safeMint(msg.sender, 0); } /* -------------------------------------------------------------------------- */ /* Sale */ /* -------------------------------------------------------------------------- */ function claimTeam(uint256 amount) external onlyOwner requireSupply(MAX_SUPPLY) { uint256 supply = super.totalSupply(); for (uint256 i; i < amount; i++) super._safeMint(msg.sender, supply++); } function claimVIP(bytes32[] calldata proof) external requireSaleState(1) requireWhitelisted(root1, proof) requireNotMinted requireSupply(901) { super._safeMint(msg.sender, super.totalSupply()); } function claimWL(bytes32[] calldata proof) external payable requireSaleState(2) requireValue requireWhitelisted(root2, proof) requireNotMinted requireSupply(MAX_SUPPLY) { super._safeMint(msg.sender, super.totalSupply()); } function claimWaitlist(bytes32[] calldata proof) external payable requireSaleState(3) requireValue requireWhitelisted(root3, proof) requireNotMinted requireSupply(MAX_SUPPLY) { super._safeMint(msg.sender, super.totalSupply()); } function claim() external payable requireSaleState(4) requireValue requireNotMinted requireSupply(MAX_SUPPLY) { super._safeMint(msg.sender, super.totalSupply()); } /* -------------------------------------------------------------------------- */ /* Maintenance */ /* -------------------------------------------------------------------------- */ function setPaused() external onlyOwner { if (super.paused()) super._unpause(); else super._pause(); } function setSaleState(uint256 _saleState) external onlyOwner { saleState = _saleState; } function setBaseURI(string memory _baseURI) external onlyOwner { delete unrevealedURI; baseURI = _baseURI; } function setUnrevealedURI(string memory _unrevealedURI) external onlyOwner { unrevealedURI = _unrevealedURI; } function setRoots( bytes32 _root1, bytes32 _root2, bytes32 _root3 ) external onlyOwner { root1 = _root1; root2 = _root2; root3 = _root3; } function setTimezones(uint256[] calldata ids, Timezone[] calldata timezones) external onlyOwner { require(ids.length == timezones.length, "Lengths mismatch"); for (uint256 i; i < timezones.length; i++) timezoneOf[ids[i]] = timezones[i]; } function setControllers(address[] calldata addrs, bool state) external onlyOwner { for (uint256 i; i < addrs.length; i++) controllers[addrs[i]] = state; } function setLockedAtNight() external onlyOwner { lockedAtNight = !lockedAtNight; } /* -------------------------------------------------------------------------- */ /* Overrides */ /* -------------------------------------------------------------------------- */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(super._exists(tokenId), "ERC721Metadata: query for nonexisting tokenId"); return bytes(unrevealedURI).length > 0 ? unrevealedURI : string(abi.encodePacked(baseURI, tokenId.toString())); } function isApprovedForAll(address _owner, address operator) public view override(ERC721, IERC721) returns (bool) { return controllers[operator] || super.isApprovedForAll(_owner, operator); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) whenNotPaused { if (lockedAtNight) { // Requires it to be night on the token's timezone [6 pm, 6 am[ require(from == address(0) || controllers[from] || Calendar.night(timezoneOf[tokenId]), "Still day"); } super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; enum Timezone { UNIVERSAL, WESTERN, EASTERN } library Calendar { uint256 internal constant START = 1640995200; // -> 01/01/2022 12:00 AM UTC function night(Timezone timezone) internal view returns (bool) { uint256 start = timezone == Timezone.UNIVERSAL ? START : timezone == Timezone.WESTERN ? START + 5 hours : START - 5 hours; uint256 elapsedToday = (block.timestamp - start) % 1 days; return elapsedToday < 6 hours || elapsedToday >= 18 hours; } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"string","name":"_unrevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"bought","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimWaitlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedAtNight","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"root3","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setControllers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setLockedAtNight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root1","type":"bytes32"},{"internalType":"bytes32","name":"_root2","type":"bytes32"},{"internalType":"bytes32","name":"_root3","type":"bytes32"}],"name":"setRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"enum Timezone[]","name":"timezones","type":"uint8[]"}],"name":"setTimezones","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"splitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"timezoneOf","outputs":[{"internalType":"enum Timezone","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162009b8138038062009b81833981810160405281019062000037919062001300565b6040518060400160405280600a81526020017f4d6f6f6e204d6f6f6e7a000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4d4f4f4e5a000000000000000000000000000000000000000000000000000000815250620000c3620000b7620001a460201b60201c565b620001ac60201b60201c565b60008060146101000a81548160ff0219169083151502179055508160019081620000ee9190620015fa565b508060029081620001009190620015fa565b5050508282604051620001139062000f04565b620001209291906200187d565b604051809103906000f0801580156200013d573d6000803e3d6000fd5b5073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505080600c9081620001829190620015fa565b506200019b3360006200027060201b620022c61760201c565b50505062001ede565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002928282604051806020016040528060008152506200029660201b60201c565b5050565b620002a883836200030460201b60201c565b620002bd6000848484620004fd60201b60201c565b620002ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f6906200193f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000376576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036d90620019b1565b60405180910390fd5b6200038781620006a660201b60201c565b15620003ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c19062001a23565b60405180910390fd5b620003de600083836200071260201b60201c565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000430919062001a74565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620004f9600083836200085b60201b60201c565b5050565b60006200052b8473ffffffffffffffffffffffffffffffffffffffff166200086060201b620022e41760201c565b1562000699578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200055d620001a460201b60201c565b8786866040518563ffffffff1660e01b815260040162000581949392919062001b50565b6020604051808303816000875af1925050508015620005c057506040513d601f19601f82011682018060405250810190620005bd919062001c01565b60015b62000648573d8060008114620005f3576040519150601f19603f3d011682016040523d82523d6000602084013e620005f8565b606091505b50600081510362000640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000637906200193f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506200069e565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b620007226200088360201b60201c565b601160009054906101000a900460ff16156200083e57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480620007bd5750601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80620007fb5750620007fa6013600083815260200190815260200160002060009054906101000a900460ff16620008d860201b620023071760201c565b5b6200083d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008349062001c83565b60405180910390fd5b5b62000856838383620009bc60201b620023d21760201c565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6200089362000b0160201b60201c565b15620008d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008cd9062001cf5565b60405180910390fd5b565b60008060006002811115620008f257620008f162001d17565b5b83600281111562000908576200090762001d17565b5b1462000976576001600281111562000925576200092462001d17565b5b8360028111156200093b576200093a62001d17565b5b146200095b576146506361cf998062000955919062001d46565b62000970565b6146506361cf99806200096f919062001a74565b5b6200097c565b6361cf99805b9050600062015180824262000992919062001d46565b6200099e919062001db0565b9050615460811080620009b3575061fd208110155b92505050919050565b620009d483838362000b1760201b620024e41760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000a205762000a1a8162000b1c60201b60201c565b62000a68565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000a675762000a66838262000b6560201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000ab45762000aae8162000ce260201b60201c565b62000afc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000afb5762000afa828262000dbe60201b60201c565b5b5b505050565b60008060149054906101000a900460ff16905090565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000b7f8462000e4a60201b620014231760201c565b62000b8b919062001d46565b905060006008600084815260200190815260200160002054905081811462000c71576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905062000cf8919062001d46565b90506000600a600084815260200190815260200160002054905060006009838154811062000d2b5762000d2a62001de8565b5b90600052602060002001549050806009838154811062000d505762000d4f62001de8565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548062000da25762000da162001e17565b5b6001900381819060005260206000200160009055905550505050565b600062000dd68362000e4a60201b620014231760201c565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000ebd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000eb49062001ebc565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61239280620077ef83390190565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000f768262000f2b565b810181811067ffffffffffffffff8211171562000f985762000f9762000f3c565b5b80604052505050565b600062000fad62000f12565b905062000fbb828262000f6b565b919050565b600067ffffffffffffffff82111562000fde5762000fdd62000f3c565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620010218262000ff4565b9050919050565b620010338162001014565b81146200103f57600080fd5b50565b600081519050620010538162001028565b92915050565b6000620010706200106a8462000fc0565b62000fa1565b9050808382526020820190506020840283018581111562001096576200109562000fef565b5b835b81811015620010c35780620010ae888262001042565b84526020840193505060208101905062001098565b5050509392505050565b600082601f830112620010e557620010e462000f26565b5b8151620010f784826020860162001059565b91505092915050565b600067ffffffffffffffff8211156200111e576200111d62000f3c565b5b602082029050602081019050919050565b6000819050919050565b62001144816200112f565b81146200115057600080fd5b50565b600081519050620011648162001139565b92915050565b6000620011816200117b8462001100565b62000fa1565b90508083825260208201905060208402830185811115620011a757620011a662000fef565b5b835b81811015620011d45780620011bf888262001153565b845260208401935050602081019050620011a9565b5050509392505050565b600082601f830112620011f657620011f562000f26565b5b8151620012088482602086016200116a565b91505092915050565b600080fd5b600067ffffffffffffffff82111562001234576200123362000f3c565b5b6200123f8262000f2b565b9050602081019050919050565b60005b838110156200126c5780820151818401526020810190506200124f565b838111156200127c576000848401525b50505050565b600062001299620012938462001216565b62000fa1565b905082815260208101848484011115620012b857620012b762001211565b5b620012c58482856200124c565b509392505050565b600082601f830112620012e557620012e462000f26565b5b8151620012f784826020860162001282565b91505092915050565b6000806000606084860312156200131c576200131b62000f1c565b5b600084015167ffffffffffffffff8111156200133d576200133c62000f21565b5b6200134b86828701620010cd565b935050602084015167ffffffffffffffff8111156200136f576200136e62000f21565b5b6200137d86828701620011de565b925050604084015167ffffffffffffffff811115620013a157620013a062000f21565b5b620013af86828701620012cd565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200140c57607f821691505b602082108103620014225762001421620013c4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200148c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200144d565b6200149886836200144d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620014db620014d5620014cf846200112f565b620014b0565b6200112f565b9050919050565b6000819050919050565b620014f783620014ba565b6200150f6200150682620014e2565b8484546200145a565b825550505050565b600090565b6200152662001517565b62001533818484620014ec565b505050565b5b818110156200155b576200154f6000826200151c565b60018101905062001539565b5050565b601f821115620015aa57620015748162001428565b6200157f846200143d565b810160208510156200158f578190505b620015a76200159e856200143d565b83018262001538565b50505b505050565b600082821c905092915050565b6000620015cf60001984600802620015af565b1980831691505092915050565b6000620015ea8383620015bc565b9150826002028217905092915050565b6200160582620013b9565b67ffffffffffffffff81111562001621576200162062000f3c565b5b6200162d8254620013f3565b6200163a8282856200155f565b600060209050601f8311600181146200167257600084156200165d578287015190505b620016698582620015dc565b865550620016d9565b601f198416620016828662001428565b60005b82811015620016ac5784890151825560018201915060208501945060208101905062001685565b86831015620016cc5784890151620016c8601f891682620015bc565b8355505b6001600288020188555050505b505050505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b620017188162001014565b82525050565b60006200172c83836200170d565b60208301905092915050565b6000602082019050919050565b60006200175282620016e1565b6200175e8185620016ec565b93506200176b83620016fd565b8060005b83811015620017a25781516200178688826200171e565b9750620017938362001738565b9250506001810190506200176f565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b620017e6816200112f565b82525050565b6000620017fa8383620017db565b60208301905092915050565b6000602082019050919050565b60006200182082620017af565b6200182c8185620017ba565b93506200183983620017cb565b8060005b8381101562001870578151620018548882620017ec565b9750620018618362001806565b9250506001810190506200183d565b5085935050505092915050565b6000604082019050818103600083015262001899818562001745565b90508181036020830152620018af818462001813565b90509392505050565b600082825260208201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062001927603283620018b8565b91506200193482620018c9565b604082019050919050565b600060208201905081810360008301526200195a8162001918565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062001999602083620018b8565b9150620019a68262001961565b602082019050919050565b60006020820190508181036000830152620019cc816200198a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001a0b601c83620018b8565b915062001a1882620019d3565b602082019050919050565b6000602082019050818103600083015262001a3e81620019fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001a81826200112f565b915062001a8e836200112f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001ac65762001ac562001a45565b5b828201905092915050565b62001adc8162001014565b82525050565b62001aed816200112f565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001b1c8262001af3565b62001b28818562001afe565b935062001b3a8185602086016200124c565b62001b458162000f2b565b840191505092915050565b600060808201905062001b67600083018762001ad1565b62001b76602083018662001ad1565b62001b85604083018562001ae2565b818103606083015262001b99818462001b0f565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62001bdb8162001ba4565b811462001be757600080fd5b50565b60008151905062001bfb8162001bd0565b92915050565b60006020828403121562001c1a5762001c1962000f1c565b5b600062001c2a8482850162001bea565b91505092915050565b7f5374696c6c206461790000000000000000000000000000000000000000000000600082015250565b600062001c6b600983620018b8565b915062001c788262001c33565b602082019050919050565b6000602082019050818103600083015262001c9e8162001c5c565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600062001cdd601083620018b8565b915062001cea8262001ca5565b602082019050919050565b6000602082019050818103600083015262001d108162001cce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600062001d53826200112f565b915062001d60836200112f565b92508282101562001d765762001d7562001a45565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001dbd826200112f565b915062001dca836200112f565b92508262001ddd5762001ddc62001d81565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600062001ea4602983620018b8565b915062001eb18262001e46565b604082019050919050565b6000602082019050818103600083015262001ed78162001e95565b9050919050565b6080516158e062001f0f60003960008181610dc501528181610e98015281816116f80152611acb01526158e06000f3fe60806040526004361061027d5760003560e01c80637035bf181161014f578063b6eef384116100c1578063e31ee7941161007a578063e31ee7941461095d578063e985e9c514610988578063ed674441146109c5578063efe2f9f2146109dc578063f2fde38b14610a19578063fe2c7fee14610a425761027d565b8063b6eef3841461084a578063b88d4fde14610866578063ba093b351461088f578063c87b56dd146108b8578063da0d2bf0146108f5578063da8c229e146109205761027d565b80638d859f3e116101135780638d859f3e1461075b5780638da5cb5b1461078657806395d89b41146107b15780639f7584a3146107dc578063a22cb465146107f8578063a9c8822a146108215761027d565b80637035bf181461068857806370a08231146106b3578063715018a6146106f05780637e1c4542146107075780638b4feb6a146107305761027d565b806342842e0e116101f3578063603f4d52116101ac578063603f4d52146105645780636299d5b61461058f5780636352211e146105b8578063667022fd146105f557806368546a87146106325780636c0360eb1461065d5761027d565b806342842e0e146104775780634e71d92d146104a05780634f6ccce7146104aa57806355f804b3146104e757806356468c2f146105105780635c975abb146105395761027d565b806318160ddd1161024557806318160ddd1461037957806323b872dd146103a45780632f745c59146103cd57806332cb6b0c1461040a57806337a66d85146104355780633cd8045e1461044c5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063084c408814610327578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613ad7565b610a6b565b6040516102b69190613b1f565b60405180910390f35b3480156102cb57600080fd5b506102d4610a7d565b6040516102e19190613bd3565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613c2b565b610b0f565b60405161031e9190613c99565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613c2b565b610b55565b005b34801561035c57600080fd5b5061037760048036038101906103729190613ce0565b610b67565b005b34801561038557600080fd5b5061038e610c7e565b60405161039b9190613d2f565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613d4a565b610c8b565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613ce0565b610ceb565b6040516104019190613d2f565b60405180910390f35b34801561041657600080fd5b5061041f610d90565b60405161042c9190613d2f565b60405180910390f35b34801561044157600080fd5b5061044a610d96565b005b34801561045857600080fd5b50610461610dc3565b60405161046e9190613c99565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613d4a565b610de7565b005b6104a8610e07565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190613c2b565b611065565b6040516104de9190613d2f565b60405180910390f35b3480156104f357600080fd5b5061050e60048036038101906105099190613ed2565b6110d6565b005b34801561051c57600080fd5b5061053760048036038101906105329190613fd1565b6110ff565b005b34801561054557600080fd5b5061054e6111f2565b60405161055b9190613b1f565b60405180910390f35b34801561057057600080fd5b50610579611208565b6040516105869190613d2f565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190614088565b61120e565b005b3480156105c457600080fd5b506105df60048036038101906105da9190613c2b565b611230565b6040516105ec9190613c99565b60405180910390f35b34801561060157600080fd5b5061061c600480360381019061061791906140db565b6112e1565b6040516106299190613b1f565b60405180910390f35b34801561063e57600080fd5b50610647611301565b6040516106549190614117565b60405180910390f35b34801561066957600080fd5b50610672611307565b60405161067f9190613bd3565b60405180910390f35b34801561069457600080fd5b5061069d611395565b6040516106aa9190613bd3565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d591906140db565b611423565b6040516106e79190613d2f565b60405180910390f35b3480156106fc57600080fd5b506107056114da565b005b34801561071357600080fd5b5061072e600480360381019061072991906141b4565b6114ee565b005b34801561073c57600080fd5b5061074561159b565b6040516107529190614117565b60405180910390f35b34801561076757600080fd5b506107706115a1565b60405161077d9190613d2f565b60405180910390f35b34801561079257600080fd5b5061079b6115ac565b6040516107a89190613c99565b60405180910390f35b3480156107bd57600080fd5b506107c66115d5565b6040516107d39190613bd3565b60405180910390f35b6107f660048036038101906107f1919061426a565b611667565b005b34801561080457600080fd5b5061081f600480360381019061081a91906142b7565b61198a565b005b34801561082d57600080fd5b5061084860048036038101906108439190613c2b565b6119a0565b005b610864600480360381019061085f919061426a565b611a3a565b005b34801561087257600080fd5b5061088d60048036038101906108889190614398565b611d5d565b005b34801561089b57600080fd5b506108b660048036038101906108b1919061426a565b611dbf565b005b3480156108c457600080fd5b506108df60048036038101906108da9190613c2b565b612010565b6040516108ec9190613bd3565b60405180910390f35b34801561090157600080fd5b5061090a612133565b6040516109179190614117565b60405180910390f35b34801561092c57600080fd5b50610947600480360381019061094291906140db565b612139565b6040516109549190613b1f565b60405180910390f35b34801561096957600080fd5b50610972612159565b60405161097f9190613b1f565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa919061441b565b61216c565b6040516109bc9190613b1f565b60405180910390f35b3480156109d157600080fd5b506109da6121d4565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613c2b565b612208565b604051610a1091906144d2565b60405180910390f35b348015610a2557600080fd5b50610a406004803603810190610a3b91906140db565b612228565b005b348015610a4e57600080fd5b50610a696004803603810190610a649190613ed2565b6122ab565b005b6000610a76826124e9565b9050919050565b606060018054610a8c9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab89061451c565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905090565b6000610b1a82612563565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b5d6125ae565b80600d8190555050565b6000610b7282611230565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906145bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0161262c565b73ffffffffffffffffffffffffffffffffffffffff161480610c305750610c2f81610c2a61262c565b61216c565b5b610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6690614651565b60405180910390fd5b610c798383612634565b505050565b6000600980549050905090565b610c9c610c9661262c565b826126ed565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd2906146e3565b60405180910390fd5b610ce6838383612782565b505050565b6000610cf683611423565b8210610d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2e90614775565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6115b381565b610d9e6125ae565b610da66111f2565b15610db857610db36129e8565b610dc1565b610dc0612a4a565b5b565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e0283838360405180602001604052806000815250611d5d565b505050565b600480600d5414610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e44906147e1565b60405180910390fd5b661f438daa0600003414610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061484d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1634604051610eda9061489e565b60006040518083038185875af1925050503d8060008114610f17576040519150601f19603f3d011682016040523d82523d6000602084013e610f1c565b606091505b505050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa3906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611010610c7e565b10611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061496b565b60405180910390fd5b6110613361105c610c7e565b6122c6565b5050565b600061106f610c7e565b82106110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906149fd565b60405180910390fd5b600982815481106110c4576110c3614a1d565b5b90600052602060002001549050919050565b6110de6125ae565b600c60006110ec9190613a0e565b80600b90816110fb9190614bf8565b5050565b6111076125ae565b81819050848490501461114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690614d16565b60405180910390fd5b60005b828290508110156111eb578282828181106111705761116f614a1d565b5b90506020020160208101906111859190614d5b565b6013600087878581811061119c5761119b614a1d565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360028111156111d3576111d261445b565b5b021790555080806111e390614db7565b915050611152565b5050505050565b60008060149054906101000a900460ff16905090565b600d5481565b6112166125ae565b82600e8190555081600f8190555080601081905550505050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614e4b565b60405180910390fd5b80915050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600b80546113149061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546113409061451c565b801561138d5780601f106113625761010080835404028352916020019161138d565b820191906000526020600020905b81548152906001019060200180831161137057829003601f168201915b505050505081565b600c80546113a29061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546113ce9061451c565b801561141b5780601f106113f05761010080835404028352916020019161141b565b820191906000526020600020905b8154815290600101906020018083116113fe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90614edd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e26125ae565b6114ec6000612aad565b565b6114f66125ae565b60005b8383905081101561159557816014600086868581811061151c5761151b614a1d565b5b905060200201602081019061153191906140db565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061158d90614db7565b9150506114f9565b50505050565b600e5481565b661f438daa06000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115e49061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546116109061451c565b801561165d5780601f106116325761010080835404028352916020019161165d565b820191906000526020600020905b81548152906001019060200180831161164057829003601f168201915b5050505050905090565b600280600d54146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906147e1565b60405180910390fd5b661f438daa06000034146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed9061484d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163460405161173a9061489e565b60006040518083038185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e61177c565b606091505b505050600f54838361180083336040516020016117999190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b61183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183690614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c3906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611930610c7e565b10611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061496b565b60405180910390fd5b6119813361197c610c7e565b6122c6565b50505050505050565b61199c61199561262c565b8383612b88565b5050565b6119a86125ae565b6115b3806119b4610c7e565b106119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb9061496b565b60405180910390fd5b60006119fe610c7e565b905060005b83811015611a3457611a21338380611a1a90614db7565b94506122c6565b8080611a2c90614db7565b915050611a03565b50505050565b600380600d5414611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906147e1565b60405180910390fd5b661f438daa0600003414611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac09061484d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1634604051611b0d9061489e565b60006040518083038185875af1925050503d8060008114611b4a576040519150601f19603f3d011682016040523d82523d6000602084013e611b4f565b606091505b5050506010548383611bd38333604051602001611b6c9190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c96906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611d03610c7e565b10611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a9061496b565b60405180910390fd5b611d5433611d4f610c7e565b6122c6565b50505050505050565b611d6e611d6861262c565b836126ed565b611dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da4906146e3565b60405180910390fd5b611db984848484612cf4565b50505050565b600180600d5414611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906147e1565b60405180910390fd5b600e548383611e868333604051602001611e1f9190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f49906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061038580611fb6610c7e565b10611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9061496b565b60405180910390fd5b61200733612002610c7e565b6122c6565b50505050505050565b606061201b82612d50565b61205a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120519061503e565b60405180910390fd5b6000600c80546120699061451c565b9050116120a057600b61207b83612dbc565b60405160200161208c92919061511d565b60405160208183030381529060405261212c565b600c80546120ad9061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546120d99061451c565b80156121265780601f106120fb57610100808354040283529160200191612126565b820191906000526020600020905b81548152906001019060200180831161210957829003601f168201915b50505050505b9050919050565b60105481565b60146020528060005260406000206000915054906101000a900460ff1681565b601160009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806121cc57506121cb8383612f1c565b5b905092915050565b6121dc6125ae565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b60136020528060005260406000206000915054906101000a900460ff1681565b6122306125ae565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361229f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612296906151b3565b60405180910390fd5b6122a881612aad565b50565b6122b36125ae565b80600c90816122c29190614bf8565b5050565b6122e0828260405180602001604052806000815250612fb0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806000600281111561231e5761231d61445b565b5b8360028111156123315761233061445b565b5b14612391576001600281111561234a5761234961445b565b5b83600281111561235d5761235c61445b565b5b14612379576146506361cf998061237491906151d3565b61238c565b6146506361cf998061238b9190615207565b5b612397565b6361cf99805b905060006201518082426123ab91906151d3565b6123b5919061528c565b90506154608110806123c9575061fd208110155b92505050919050565b6123dd8383836124e4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361241f5761241a8161300b565b61245e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461245d5761245c8382613054565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124a05761249b816131c1565b6124df565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124de576124dd8282613292565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255c575061255b82613311565b5b9050919050565b61256c81612d50565b6125ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a290614e4b565b60405180910390fd5b50565b6125b661262c565b73ffffffffffffffffffffffffffffffffffffffff166125d46115ac565b73ffffffffffffffffffffffffffffffffffffffff161461262a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262190615309565b60405180910390fd5b565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126a783611230565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806126f983611230565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273b575061273a818561216c565b5b8061277957508373ffffffffffffffffffffffffffffffffffffffff1661276184610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127a282611230565b73ffffffffffffffffffffffffffffffffffffffff16146127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef9061539b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e9061542d565b60405180910390fd5b6128728383836133f3565b61287d600082612634565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128cd91906151d3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129249190615207565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129e3838383613514565b505050565b6129f0613519565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a3361262c565b604051612a409190613c99565b60405180910390a1565b612a52613562565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a9661262c565b604051612aa39190613c99565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612b7e85846135ac565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed90615499565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ce79190613b1f565b60405180910390a3505050565b612cff848484612782565b612d0b84848484613602565b612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d419061552b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612e03576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f17565b600082905060005b60008214612e35578080612e1e90614db7565b915050600a82612e2e919061554b565b9150612e0b565b60008167ffffffffffffffff811115612e5157612e50613da7565b5b6040519080825280601f01601f191660200182016040528015612e835781602001600182028036833780820191505090505b5090505b60008514612f1057600182612e9c91906151d3565b9150600a85612eab919061528c565b6030612eb79190615207565b60f81b818381518110612ecd57612ecc614a1d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f09919061554b565b9450612e87565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612fba8383613789565b612fc76000848484613602565b613006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffd9061552b565b60405180910390fd5b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161306184611423565b61306b91906151d3565b9050600060086000848152602001908152602001600020549050818114613150576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506131d591906151d3565b90506000600a600084815260200190815260200160002054905060006009838154811061320557613204614a1d565b5b90600052602060002001549050806009838154811061322757613226614a1d565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806132765761327561557c565b5b6001900381819060005260206000200160009055905550505050565b600061329d83611423565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133dc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133ec57506133eb82613962565b5b9050919050565b6133fb613562565b601160009054906101000a900460ff161561350457600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806134945750601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806134c457506134c36013600083815260200190815260200160002060009054906101000a900460ff16612307565b5b613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa906155f7565b60405180910390fd5b5b61350f8383836123d2565b505050565b505050565b6135216111f2565b613560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355790615663565b60405180910390fd5b565b61356a6111f2565b156135aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a1906156cf565b60405180910390fd5b565b60008082905060005b84518110156135f7576135e2828683815181106135d5576135d4614a1d565b5b60200260200101516139cc565b915080806135ef90614db7565b9150506135b5565b508091505092915050565b60006136238473ffffffffffffffffffffffffffffffffffffffff166122e4565b1561377c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261364c61262c565b8786866040518563ffffffff1660e01b815260040161366e9493929190615744565b6020604051808303816000875af19250505080156136aa57506040513d601f19601f820116820180604052508101906136a791906157a5565b60015b61372c573d80600081146136da576040519150601f19603f3d011682016040523d82523d6000602084013e6136df565b606091505b506000815103613724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371b9061552b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613781565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036137f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ef9061581e565b60405180910390fd5b61380181612d50565b15613841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138389061588a565b60405180910390fd5b61384d600083836133f3565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389d9190615207565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461395e60008383613514565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008183106139e4576139df82846139f7565b6139ef565b6139ee83836139f7565b5b905092915050565b600082600052816020526040600020905092915050565b508054613a1a9061451c565b6000825580601f10613a2c5750613a4b565b601f016020900490600052602060002090810190613a4a9190613a4e565b5b50565b5b80821115613a67576000816000905550600101613a4f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ab481613a7f565b8114613abf57600080fd5b50565b600081359050613ad181613aab565b92915050565b600060208284031215613aed57613aec613a75565b5b6000613afb84828501613ac2565b91505092915050565b60008115159050919050565b613b1981613b04565b82525050565b6000602082019050613b346000830184613b10565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b74578082015181840152602081019050613b59565b83811115613b83576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ba582613b3a565b613baf8185613b45565b9350613bbf818560208601613b56565b613bc881613b89565b840191505092915050565b60006020820190508181036000830152613bed8184613b9a565b905092915050565b6000819050919050565b613c0881613bf5565b8114613c1357600080fd5b50565b600081359050613c2581613bff565b92915050565b600060208284031215613c4157613c40613a75565b5b6000613c4f84828501613c16565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8382613c58565b9050919050565b613c9381613c78565b82525050565b6000602082019050613cae6000830184613c8a565b92915050565b613cbd81613c78565b8114613cc857600080fd5b50565b600081359050613cda81613cb4565b92915050565b60008060408385031215613cf757613cf6613a75565b5b6000613d0585828601613ccb565b9250506020613d1685828601613c16565b9150509250929050565b613d2981613bf5565b82525050565b6000602082019050613d446000830184613d20565b92915050565b600080600060608486031215613d6357613d62613a75565b5b6000613d7186828701613ccb565b9350506020613d8286828701613ccb565b9250506040613d9386828701613c16565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ddf82613b89565b810181811067ffffffffffffffff82111715613dfe57613dfd613da7565b5b80604052505050565b6000613e11613a6b565b9050613e1d8282613dd6565b919050565b600067ffffffffffffffff821115613e3d57613e3c613da7565b5b613e4682613b89565b9050602081019050919050565b82818337600083830152505050565b6000613e75613e7084613e22565b613e07565b905082815260208101848484011115613e9157613e90613da2565b5b613e9c848285613e53565b509392505050565b600082601f830112613eb957613eb8613d9d565b5b8135613ec9848260208601613e62565b91505092915050565b600060208284031215613ee857613ee7613a75565b5b600082013567ffffffffffffffff811115613f0657613f05613a7a565b5b613f1284828501613ea4565b91505092915050565b600080fd5b600080fd5b60008083601f840112613f3b57613f3a613d9d565b5b8235905067ffffffffffffffff811115613f5857613f57613f1b565b5b602083019150836020820283011115613f7457613f73613f20565b5b9250929050565b60008083601f840112613f9157613f90613d9d565b5b8235905067ffffffffffffffff811115613fae57613fad613f1b565b5b602083019150836020820283011115613fca57613fc9613f20565b5b9250929050565b60008060008060408587031215613feb57613fea613a75565b5b600085013567ffffffffffffffff81111561400957614008613a7a565b5b61401587828801613f25565b9450945050602085013567ffffffffffffffff81111561403857614037613a7a565b5b61404487828801613f7b565b925092505092959194509250565b6000819050919050565b61406581614052565b811461407057600080fd5b50565b6000813590506140828161405c565b92915050565b6000806000606084860312156140a1576140a0613a75565b5b60006140af86828701614073565b93505060206140c086828701614073565b92505060406140d186828701614073565b9150509250925092565b6000602082840312156140f1576140f0613a75565b5b60006140ff84828501613ccb565b91505092915050565b61411181614052565b82525050565b600060208201905061412c6000830184614108565b92915050565b60008083601f84011261414857614147613d9d565b5b8235905067ffffffffffffffff81111561416557614164613f1b565b5b60208301915083602082028301111561418157614180613f20565b5b9250929050565b61419181613b04565b811461419c57600080fd5b50565b6000813590506141ae81614188565b92915050565b6000806000604084860312156141cd576141cc613a75565b5b600084013567ffffffffffffffff8111156141eb576141ea613a7a565b5b6141f786828701614132565b9350935050602061420a8682870161419f565b9150509250925092565b60008083601f84011261422a57614229613d9d565b5b8235905067ffffffffffffffff81111561424757614246613f1b565b5b60208301915083602082028301111561426357614262613f20565b5b9250929050565b6000806020838503121561428157614280613a75565b5b600083013567ffffffffffffffff81111561429f5761429e613a7a565b5b6142ab85828601614214565b92509250509250929050565b600080604083850312156142ce576142cd613a75565b5b60006142dc85828601613ccb565b92505060206142ed8582860161419f565b9150509250929050565b600067ffffffffffffffff82111561431257614311613da7565b5b61431b82613b89565b9050602081019050919050565b600061433b614336846142f7565b613e07565b90508281526020810184848401111561435757614356613da2565b5b614362848285613e53565b509392505050565b600082601f83011261437f5761437e613d9d565b5b813561438f848260208601614328565b91505092915050565b600080600080608085870312156143b2576143b1613a75565b5b60006143c087828801613ccb565b94505060206143d187828801613ccb565b93505060406143e287828801613c16565b925050606085013567ffffffffffffffff81111561440357614402613a7a565b5b61440f8782880161436a565b91505092959194509250565b6000806040838503121561443257614431613a75565b5b600061444085828601613ccb565b925050602061445185828601613ccb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061449b5761449a61445b565b5b50565b60008190506144ac8261448a565b919050565b60006144bc8261449e565b9050919050565b6144cc816144b1565b82525050565b60006020820190506144e760008301846144c3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453457607f821691505b602082108103614547576145466144ed565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006145a9602183613b45565b91506145b48261454d565b604082019050919050565b600060208201905081810360008301526145d88161459c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061463b603e83613b45565b9150614646826145df565b604082019050919050565b6000602082019050818103600083015261466a8161462e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006146cd602e83613b45565b91506146d882614671565b604082019050919050565b600060208201905081810360008301526146fc816146c0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061475f602b83613b45565b915061476a82614703565b604082019050919050565b6000602082019050818103600083015261478e81614752565b9050919050565b7f496e76616c69642073616c652073746174650000000000000000000000000000600082015250565b60006147cb601283613b45565b91506147d682614795565b602082019050919050565b600060208201905081810360008301526147fa816147be565b9050919050565b7f496e76616c696420657468657220616d6f756e74000000000000000000000000600082015250565b6000614837601483613b45565b915061484282614801565b602082019050919050565b600060208201905081810360008301526148668161482a565b9050919050565b600081905092915050565b50565b600061488860008361486d565b915061489382614878565b600082019050919050565b60006148a98261487b565b9150819050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b60006148e9600e83613b45565b91506148f4826148b3565b602082019050919050565b60006020820190508181036000830152614918816148dc565b9050919050565b7f4d617820737570706c7920776173207265616368656400000000000000000000600082015250565b6000614955601683613b45565b91506149608261491f565b602082019050919050565b6000602082019050818103600083015261498481614948565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006149e7602c83613b45565b91506149f28261498b565b604082019050919050565b60006020820190508181036000830152614a16816149da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614aae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614a71565b614ab88683614a71565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614af5614af0614aeb84613bf5565b614ad0565b613bf5565b9050919050565b6000819050919050565b614b0f83614ada565b614b23614b1b82614afc565b848454614a7e565b825550505050565b600090565b614b38614b2b565b614b43818484614b06565b505050565b5b81811015614b6757614b5c600082614b30565b600181019050614b49565b5050565b601f821115614bac57614b7d81614a4c565b614b8684614a61565b81016020851015614b95578190505b614ba9614ba185614a61565b830182614b48565b50505b505050565b600082821c905092915050565b6000614bcf60001984600802614bb1565b1980831691505092915050565b6000614be88383614bbe565b9150826002028217905092915050565b614c0182613b3a565b67ffffffffffffffff811115614c1a57614c19613da7565b5b614c24825461451c565b614c2f828285614b6b565b600060209050601f831160018114614c625760008415614c50578287015190505b614c5a8582614bdc565b865550614cc2565b601f198416614c7086614a4c565b60005b82811015614c9857848901518255600182019150602085019450602081019050614c73565b86831015614cb55784890151614cb1601f891682614bbe565b8355505b6001600288020188555050505b505050505050565b7f4c656e67746873206d69736d6174636800000000000000000000000000000000600082015250565b6000614d00601083613b45565b9150614d0b82614cca565b602082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b60038110614d4357600080fd5b50565b600081359050614d5581614d36565b92915050565b600060208284031215614d7157614d70613a75565b5b6000614d7f84828501614d46565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614dc282613bf5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614df457614df3614d88565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e35601883613b45565b9150614e4082614dff565b602082019050919050565b60006020820190508181036000830152614e6481614e28565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614ec7602983613b45565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b60008160601b9050919050565b6000614f1582614efd565b9050919050565b6000614f2782614f0a565b9050919050565b614f3f614f3a82613c78565b614f1c565b82525050565b6000614f518284614f2e565b60148201915081905092915050565b7f496e76616c69642077686974656c6973742070726f6f66000000000000000000600082015250565b6000614f96601783613b45565b9150614fa182614f60565b602082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b7f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008201527f7374696e6720746f6b656e496400000000000000000000000000000000000000602082015250565b6000615028602d83613b45565b915061503382614fcc565b604082019050919050565b600060208201905081810360008301526150578161501b565b9050919050565b600081905092915050565b600081546150768161451c565b615080818661505e565b9450600182166000811461509b57600181146150b0576150e3565b60ff19831686528115158202860193506150e3565b6150b985614a4c565b60005b838110156150db578154818901526001820191506020810190506150bc565b838801955050505b50505092915050565b60006150f782613b3a565b615101818561505e565b9350615111818560208601613b56565b80840191505092915050565b60006151298285615069565b915061513582846150ec565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061519d602683613b45565b91506151a882615141565b604082019050919050565b600060208201905081810360008301526151cc81615190565b9050919050565b60006151de82613bf5565b91506151e983613bf5565b9250828210156151fc576151fb614d88565b5b828203905092915050565b600061521282613bf5565b915061521d83613bf5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561525257615251614d88565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061529782613bf5565b91506152a283613bf5565b9250826152b2576152b161525d565b5b828206905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152f3602083613b45565b91506152fe826152bd565b602082019050919050565b60006020820190508181036000830152615322816152e6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615385602583613b45565b915061539082615329565b604082019050919050565b600060208201905081810360008301526153b481615378565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615417602483613b45565b9150615422826153bb565b604082019050919050565b600060208201905081810360008301526154468161540a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615483601983613b45565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615515603283613b45565b9150615520826154b9565b604082019050919050565b6000602082019050818103600083015261554481615508565b9050919050565b600061555682613bf5565b915061556183613bf5565b9250826155715761557061525d565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f5374696c6c206461790000000000000000000000000000000000000000000000600082015250565b60006155e1600983613b45565b91506155ec826155ab565b602082019050919050565b60006020820190508181036000830152615610816155d4565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061564d601483613b45565b915061565882615617565b602082019050919050565b6000602082019050818103600083015261567c81615640565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156b9601083613b45565b91506156c482615683565b602082019050919050565b600060208201905081810360008301526156e8816156ac565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615716826156ef565b61572081856156fa565b9350615730818560208601613b56565b61573981613b89565b840191505092915050565b60006080820190506157596000830187613c8a565b6157666020830186613c8a565b6157736040830185613d20565b8181036060830152615785818461570b565b905095945050505050565b60008151905061579f81613aab565b92915050565b6000602082840312156157bb576157ba613a75565b5b60006157c984828501615790565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615808602083613b45565b9150615813826157d2565b602082019050919050565b60006020820190508181036000830152615837816157fb565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615874601c83613b45565b915061587f8261583e565b602082019050919050565b600060208201905081810360008301526158a381615867565b905091905056fea264697066735822122089217d94183ce50c121a266a9fe0a78454b5d9bc64ce98bd247d56ae18666f5f64736f6c634300080f003360806040526040516200239238038062002392833981810160405281019062000029919062000667565b805182511462000070576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000679062000773565b60405180910390fd5b6000825111620000b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ae90620007e5565b60405180910390fd5b60005b8251811015620001265762000110838281518110620000de57620000dd62000807565b5b6020026020010151838381518110620000fc57620000fb62000807565b5b60200260200101516200012f60201b60201c565b80806200011d9062000865565b915050620000ba565b50505062000b00565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620001a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001989062000928565b60405180910390fd5b60008111620001e7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001de906200099a565b60405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200026c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002639062000a32565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060005462000323919062000a54565b6000819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200035c92919062000ad3565b60405180910390a15050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003cc8262000381565b810181811067ffffffffffffffff82111715620003ee57620003ed62000392565b5b80604052505050565b60006200040362000368565b9050620004118282620003c1565b919050565b600067ffffffffffffffff82111562000434576200043362000392565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000477826200044a565b9050919050565b62000489816200046a565b81146200049557600080fd5b50565b600081519050620004a9816200047e565b92915050565b6000620004c6620004c08462000416565b620003f7565b90508083825260208201905060208402830185811115620004ec57620004eb62000445565b5b835b8181101562000519578062000504888262000498565b845260208401935050602081019050620004ee565b5050509392505050565b600082601f8301126200053b576200053a6200037c565b5b81516200054d848260208601620004af565b91505092915050565b600067ffffffffffffffff82111562000574576200057362000392565b5b602082029050602081019050919050565b6000819050919050565b6200059a8162000585565b8114620005a657600080fd5b50565b600081519050620005ba816200058f565b92915050565b6000620005d7620005d18462000556565b620003f7565b90508083825260208201905060208402830185811115620005fd57620005fc62000445565b5b835b818110156200062a5780620006158882620005a9565b845260208401935050602081019050620005ff565b5050509392505050565b600082601f8301126200064c576200064b6200037c565b5b81516200065e848260208601620005c0565b91505092915050565b6000806040838503121562000681576200068062000372565b5b600083015167ffffffffffffffff811115620006a257620006a162000377565b5b620006b08582860162000523565b925050602083015167ffffffffffffffff811115620006d457620006d362000377565b5b620006e28582860162000634565b9150509250929050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b60006200075b603283620006ec565b91506200076882620006fd565b604082019050919050565b600060208201905081810360008301526200078e816200074c565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b6000620007cd601a83620006ec565b9150620007da8262000795565b602082019050919050565b600060208201905081810360008301526200080081620007be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620008728262000585565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620008a757620008a662000836565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000910602c83620006ec565b91506200091d82620008b2565b604082019050919050565b60006020820190508181036000830152620009438162000901565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000982601d83620006ec565b91506200098f826200094a565b602082019050919050565b60006020820190508181036000830152620009b58162000973565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000a1a602b83620006ec565b915062000a2782620009bc565b604082019050919050565b6000602082019050818103600083015262000a4d8162000a0b565b9050919050565b600062000a618262000585565b915062000a6e8362000585565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000aa65762000aa562000836565b5b828201905092915050565b62000abc816200046a565b82525050565b62000acd8162000585565b82525050565b600060408201905062000aea600083018562000ab1565b62000af9602083018462000ac2565b9392505050565b6118828062000b106000396000f3fe6080604052600436106100a05760003560e01c80639852595c116100645780639852595c146101e3578063a3f8eace14610220578063c45ac0501461025d578063ce7c2ac21461029a578063d79779b2146102d7578063e33b7de314610314576100e7565b806319165587146100ec5780633a98ef3914610115578063406072a91461014057806348b750441461017d5780638b83209b146101a6576100e7565b366100e7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706100ce61033f565b346040516100dd929190610e49565b60405180910390a1005b600080fd5b3480156100f857600080fd5b50610113600480360381019061010e9190610eb5565b610347565b005b34801561012157600080fd5b5061012a6104cf565b6040516101379190610ee2565b60405180910390f35b34801561014c57600080fd5b5061016760048036038101906101629190610f67565b6104d8565b6040516101749190610ee2565b60405180910390f35b34801561018957600080fd5b506101a4600480360381019061019f9190610f67565b61055f565b005b3480156101b257600080fd5b506101cd60048036038101906101c89190610fd3565b61077b565b6040516101da9190611000565b60405180910390f35b3480156101ef57600080fd5b5061020a6004803603810190610205919061101b565b6107c3565b6040516102179190610ee2565b60405180910390f35b34801561022c57600080fd5b506102476004803603810190610242919061101b565b61080c565b6040516102549190610ee2565b60405180910390f35b34801561026957600080fd5b50610284600480360381019061027f9190610f67565b61083f565b6040516102919190610ee2565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc919061101b565b6108ee565b6040516102ce9190610ee2565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190611048565b610937565b60405161030b9190610ee2565b60405180910390f35b34801561032057600080fd5b50610329610980565b6040516103369190610ee2565b60405180910390f35b600033905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c0906110f8565b60405180910390fd5b60006103d48261080c565b905060008103610419576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104109061118a565b60405180910390fd5b80600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461046891906111d9565b92505081905550806001600082825461048191906111d9565b92505081905550610492828261098a565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516104c392919061128e565b60405180910390a15050565b60008054905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d8906110f8565b60405180910390fd5b60006105ed838361083f565b905060008103610632576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106299061118a565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546106be91906111d9565b9250508190555080600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461071491906111d9565b92505081905550610726838383610a7e565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a838360405161076e929190610e49565b60405180910390a2505050565b600060048281548110610791576107906112b7565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080610817610980565b4761082291906111d9565b90506108378382610832866107c3565b610b04565b915050919050565b60008061084b84610937565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108849190611000565b602060405180830381865afa1580156108a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c591906112fb565b6108cf91906111d9565b90506108e583826108e087876104d8565b610b04565b91505092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600154905090565b804710156109cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c490611374565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516109f3906113c5565b60006040518083038185875af1925050503d8060008114610a30576040519150601f19603f3d011682016040523d82523d6000602084013e610a35565b606091505b5050905080610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a709061144c565b60405180910390fd5b505050565b610aff8363a9059cbb60e01b8484604051602401610a9d929190610e49565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610b72565b505050565b600081600054600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485610b55919061146c565b610b5f91906114f5565b610b699190611526565b90509392505050565b6000610bd4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c399092919063ffffffff16565b9050600081511115610c345780806020019051810190610bf49190611592565b610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90611631565b60405180910390fd5b5b505050565b6060610c488484600085610c51565b90509392505050565b606082471015610c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8d906116c3565b60405180910390fd5b610c9f85610d65565b610cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd59061172f565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610d0791906117be565b60006040518083038185875af1925050503d8060008114610d44576040519150601f19603f3d011682016040523d82523d6000602084013e610d49565b606091505b5091509150610d59828286610d88565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315610d9857829050610de8565b600083511115610dab5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf919061182a565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610e1a82610def565b9050919050565b610e2a81610e0f565b82525050565b6000819050919050565b610e4381610e30565b82525050565b6000604082019050610e5e6000830185610e21565b610e6b6020830184610e3a565b9392505050565b600080fd5b6000610e8282610def565b9050919050565b610e9281610e77565b8114610e9d57600080fd5b50565b600081359050610eaf81610e89565b92915050565b600060208284031215610ecb57610eca610e72565b5b6000610ed984828501610ea0565b91505092915050565b6000602082019050610ef76000830184610e3a565b92915050565b6000610f0882610e0f565b9050919050565b610f1881610efd565b8114610f2357600080fd5b50565b600081359050610f3581610f0f565b92915050565b610f4481610e0f565b8114610f4f57600080fd5b50565b600081359050610f6181610f3b565b92915050565b60008060408385031215610f7e57610f7d610e72565b5b6000610f8c85828601610f26565b9250506020610f9d85828601610f52565b9150509250929050565b610fb081610e30565b8114610fbb57600080fd5b50565b600081359050610fcd81610fa7565b92915050565b600060208284031215610fe957610fe8610e72565b5b6000610ff784828501610fbe565b91505092915050565b60006020820190506110156000830184610e21565b92915050565b60006020828403121561103157611030610e72565b5b600061103f84828501610f52565b91505092915050565b60006020828403121561105e5761105d610e72565b5b600061106c84828501610f26565b91505092915050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b60006110e2602683611075565b91506110ed82611086565b604082019050919050565b60006020820190508181036000830152611111816110d5565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000611174602b83611075565b915061117f82611118565b604082019050919050565b600060208201905081810360008301526111a381611167565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006111e482610e30565b91506111ef83610e30565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611224576112236111aa565b5b828201905092915050565b6000819050919050565b600061125461124f61124a84610def565b61122f565b610def565b9050919050565b600061126682611239565b9050919050565b60006112788261125b565b9050919050565b6112888161126d565b82525050565b60006040820190506112a3600083018561127f565b6112b06020830184610e3a565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506112f581610fa7565b92915050565b60006020828403121561131157611310610e72565b5b600061131f848285016112e6565b91505092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061135e601d83611075565b915061136982611328565b602082019050919050565b6000602082019050818103600083015261138d81611351565b9050919050565b600081905092915050565b50565b60006113af600083611394565b91506113ba8261139f565b600082019050919050565b60006113d0826113a2565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000611436603a83611075565b9150611441826113da565b604082019050919050565b6000602082019050818103600083015261146581611429565b9050919050565b600061147782610e30565b915061148283610e30565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156114bb576114ba6111aa565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061150082610e30565b915061150b83610e30565b92508261151b5761151a6114c6565b5b828204905092915050565b600061153182610e30565b915061153c83610e30565b92508282101561154f5761154e6111aa565b5b828203905092915050565b60008115159050919050565b61156f8161155a565b811461157a57600080fd5b50565b60008151905061158c81611566565b92915050565b6000602082840312156115a8576115a7610e72565b5b60006115b68482850161157d565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061161b602a83611075565b9150611626826115bf565b604082019050919050565b6000602082019050818103600083015261164a8161160e565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006116ad602683611075565b91506116b882611651565b604082019050919050565b600060208201905081810360008301526116dc816116a0565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000611719601d83611075565b9150611724826116e3565b602082019050919050565b600060208201905081810360008301526117488161170c565b9050919050565b600081519050919050565b60005b8381101561177857808201518184015260208101905061175d565b83811115611787576000848401525b50505050565b60006117988261174f565b6117a28185611394565b93506117b281856020860161175a565b80840191505092915050565b60006117ca828461178d565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006117fc826117d5565b6118068185611075565b935061181681856020860161175a565b61181f816117e0565b840191505092915050565b6000602082019050818103600083015261184481846117f1565b90509291505056fea264697066735822122052d3842534d9ba6e8b683edf8ee4a3fb36f349d2f19cdf6c57283a17a608106464736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000003000000000000000000000000fefd56ffe4b20ff90c91f15cb397887519b7bcbc0000000000000000000000004600742e749082da79dd41095a99eca6a311533d000000000000000000000000b37a02d716fef6c88c34a17a73ed76c4619adcdd00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d614342583870344661434d415a4b667433556444464c3148484a6f54756a54336f52725a656a44336b4776570000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80637035bf181161014f578063b6eef384116100c1578063e31ee7941161007a578063e31ee7941461095d578063e985e9c514610988578063ed674441146109c5578063efe2f9f2146109dc578063f2fde38b14610a19578063fe2c7fee14610a425761027d565b8063b6eef3841461084a578063b88d4fde14610866578063ba093b351461088f578063c87b56dd146108b8578063da0d2bf0146108f5578063da8c229e146109205761027d565b80638d859f3e116101135780638d859f3e1461075b5780638da5cb5b1461078657806395d89b41146107b15780639f7584a3146107dc578063a22cb465146107f8578063a9c8822a146108215761027d565b80637035bf181461068857806370a08231146106b3578063715018a6146106f05780637e1c4542146107075780638b4feb6a146107305761027d565b806342842e0e116101f3578063603f4d52116101ac578063603f4d52146105645780636299d5b61461058f5780636352211e146105b8578063667022fd146105f557806368546a87146106325780636c0360eb1461065d5761027d565b806342842e0e146104775780634e71d92d146104a05780634f6ccce7146104aa57806355f804b3146104e757806356468c2f146105105780635c975abb146105395761027d565b806318160ddd1161024557806318160ddd1461037957806323b872dd146103a45780632f745c59146103cd57806332cb6b0c1461040a57806337a66d85146104355780633cd8045e1461044c5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063084c408814610327578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613ad7565b610a6b565b6040516102b69190613b1f565b60405180910390f35b3480156102cb57600080fd5b506102d4610a7d565b6040516102e19190613bd3565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613c2b565b610b0f565b60405161031e9190613c99565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613c2b565b610b55565b005b34801561035c57600080fd5b5061037760048036038101906103729190613ce0565b610b67565b005b34801561038557600080fd5b5061038e610c7e565b60405161039b9190613d2f565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613d4a565b610c8b565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613ce0565b610ceb565b6040516104019190613d2f565b60405180910390f35b34801561041657600080fd5b5061041f610d90565b60405161042c9190613d2f565b60405180910390f35b34801561044157600080fd5b5061044a610d96565b005b34801561045857600080fd5b50610461610dc3565b60405161046e9190613c99565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613d4a565b610de7565b005b6104a8610e07565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190613c2b565b611065565b6040516104de9190613d2f565b60405180910390f35b3480156104f357600080fd5b5061050e60048036038101906105099190613ed2565b6110d6565b005b34801561051c57600080fd5b5061053760048036038101906105329190613fd1565b6110ff565b005b34801561054557600080fd5b5061054e6111f2565b60405161055b9190613b1f565b60405180910390f35b34801561057057600080fd5b50610579611208565b6040516105869190613d2f565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b19190614088565b61120e565b005b3480156105c457600080fd5b506105df60048036038101906105da9190613c2b565b611230565b6040516105ec9190613c99565b60405180910390f35b34801561060157600080fd5b5061061c600480360381019061061791906140db565b6112e1565b6040516106299190613b1f565b60405180910390f35b34801561063e57600080fd5b50610647611301565b6040516106549190614117565b60405180910390f35b34801561066957600080fd5b50610672611307565b60405161067f9190613bd3565b60405180910390f35b34801561069457600080fd5b5061069d611395565b6040516106aa9190613bd3565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d591906140db565b611423565b6040516106e79190613d2f565b60405180910390f35b3480156106fc57600080fd5b506107056114da565b005b34801561071357600080fd5b5061072e600480360381019061072991906141b4565b6114ee565b005b34801561073c57600080fd5b5061074561159b565b6040516107529190614117565b60405180910390f35b34801561076757600080fd5b506107706115a1565b60405161077d9190613d2f565b60405180910390f35b34801561079257600080fd5b5061079b6115ac565b6040516107a89190613c99565b60405180910390f35b3480156107bd57600080fd5b506107c66115d5565b6040516107d39190613bd3565b60405180910390f35b6107f660048036038101906107f1919061426a565b611667565b005b34801561080457600080fd5b5061081f600480360381019061081a91906142b7565b61198a565b005b34801561082d57600080fd5b5061084860048036038101906108439190613c2b565b6119a0565b005b610864600480360381019061085f919061426a565b611a3a565b005b34801561087257600080fd5b5061088d60048036038101906108889190614398565b611d5d565b005b34801561089b57600080fd5b506108b660048036038101906108b1919061426a565b611dbf565b005b3480156108c457600080fd5b506108df60048036038101906108da9190613c2b565b612010565b6040516108ec9190613bd3565b60405180910390f35b34801561090157600080fd5b5061090a612133565b6040516109179190614117565b60405180910390f35b34801561092c57600080fd5b50610947600480360381019061094291906140db565b612139565b6040516109549190613b1f565b60405180910390f35b34801561096957600080fd5b50610972612159565b60405161097f9190613b1f565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa919061441b565b61216c565b6040516109bc9190613b1f565b60405180910390f35b3480156109d157600080fd5b506109da6121d4565b005b3480156109e857600080fd5b50610a0360048036038101906109fe9190613c2b565b612208565b604051610a1091906144d2565b60405180910390f35b348015610a2557600080fd5b50610a406004803603810190610a3b91906140db565b612228565b005b348015610a4e57600080fd5b50610a696004803603810190610a649190613ed2565b6122ab565b005b6000610a76826124e9565b9050919050565b606060018054610a8c9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab89061451c565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905090565b6000610b1a82612563565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b5d6125ae565b80600d8190555050565b6000610b7282611230565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906145bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0161262c565b73ffffffffffffffffffffffffffffffffffffffff161480610c305750610c2f81610c2a61262c565b61216c565b5b610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6690614651565b60405180910390fd5b610c798383612634565b505050565b6000600980549050905090565b610c9c610c9661262c565b826126ed565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd2906146e3565b60405180910390fd5b610ce6838383612782565b505050565b6000610cf683611423565b8210610d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2e90614775565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6115b381565b610d9e6125ae565b610da66111f2565b15610db857610db36129e8565b610dc1565b610dc0612a4a565b5b565b7f00000000000000000000000055192d58e87e585af2cd6894567193eb9bc7ac8e81565b610e0283838360405180602001604052806000815250611d5d565b505050565b600480600d5414610e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e44906147e1565b60405180910390fd5b661f438daa0600003414610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d9061484d565b60405180910390fd5b7f00000000000000000000000055192d58e87e585af2cd6894567193eb9bc7ac8e73ffffffffffffffffffffffffffffffffffffffff1634604051610eda9061489e565b60006040518083038185875af1925050503d8060008114610f17576040519150601f19603f3d011682016040523d82523d6000602084013e610f1c565b606091505b505050601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa3906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611010610c7e565b10611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061496b565b60405180910390fd5b6110613361105c610c7e565b6122c6565b5050565b600061106f610c7e565b82106110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906149fd565b60405180910390fd5b600982815481106110c4576110c3614a1d565b5b90600052602060002001549050919050565b6110de6125ae565b600c60006110ec9190613a0e565b80600b90816110fb9190614bf8565b5050565b6111076125ae565b81819050848490501461114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690614d16565b60405180910390fd5b60005b828290508110156111eb578282828181106111705761116f614a1d565b5b90506020020160208101906111859190614d5b565b6013600087878581811061119c5761119b614a1d565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360028111156111d3576111d261445b565b5b021790555080806111e390614db7565b915050611152565b5050505050565b60008060149054906101000a900460ff16905090565b600d5481565b6112166125ae565b82600e8190555081600f8190555080601081905550505050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614e4b565b60405180910390fd5b80915050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600b80546113149061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546113409061451c565b801561138d5780601f106113625761010080835404028352916020019161138d565b820191906000526020600020905b81548152906001019060200180831161137057829003601f168201915b505050505081565b600c80546113a29061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546113ce9061451c565b801561141b5780601f106113f05761010080835404028352916020019161141b565b820191906000526020600020905b8154815290600101906020018083116113fe57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90614edd565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e26125ae565b6114ec6000612aad565b565b6114f66125ae565b60005b8383905081101561159557816014600086868581811061151c5761151b614a1d565b5b905060200201602081019061153191906140db565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061158d90614db7565b9150506114f9565b50505050565b600e5481565b661f438daa06000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546115e49061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546116109061451c565b801561165d5780601f106116325761010080835404028352916020019161165d565b820191906000526020600020905b81548152906001019060200180831161164057829003601f168201915b5050505050905090565b600280600d54146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a4906147e1565b60405180910390fd5b661f438daa06000034146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed9061484d565b60405180910390fd5b7f00000000000000000000000055192d58e87e585af2cd6894567193eb9bc7ac8e73ffffffffffffffffffffffffffffffffffffffff163460405161173a9061489e565b60006040518083038185875af1925050503d8060008114611777576040519150601f19603f3d011682016040523d82523d6000602084013e61177c565b606091505b505050600f54838361180083336040516020016117999190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b61183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183690614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c3906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611930610c7e565b10611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061496b565b60405180910390fd5b6119813361197c610c7e565b6122c6565b50505050505050565b61199c61199561262c565b8383612b88565b5050565b6119a86125ae565b6115b3806119b4610c7e565b106119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb9061496b565b60405180910390fd5b60006119fe610c7e565b905060005b83811015611a3457611a21338380611a1a90614db7565b94506122c6565b8080611a2c90614db7565b915050611a03565b50505050565b600380600d5414611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a77906147e1565b60405180910390fd5b661f438daa0600003414611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac09061484d565b60405180910390fd5b7f00000000000000000000000055192d58e87e585af2cd6894567193eb9bc7ac8e73ffffffffffffffffffffffffffffffffffffffff1634604051611b0d9061489e565b60006040518083038185875af1925050503d8060008114611b4a576040519150601f19603f3d011682016040523d82523d6000602084013e611b4f565b606091505b5050506010548383611bd38333604051602001611b6c9190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c96906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506115b380611d03610c7e565b10611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a9061496b565b60405180910390fd5b611d5433611d4f610c7e565b6122c6565b50505050505050565b611d6e611d6861262c565b836126ed565b611dad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da4906146e3565b60405180910390fd5b611db984848484612cf4565b50505050565b600180600d5414611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906147e1565b60405180910390fd5b600e548383611e868333604051602001611e1f9190614f45565b60405160208183030381529060405280519060200120848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612b719092919063ffffffff16565b611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc90614fac565b60405180910390fd5b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f49906148ff565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061038580611fb6610c7e565b10611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed9061496b565b60405180910390fd5b61200733612002610c7e565b6122c6565b50505050505050565b606061201b82612d50565b61205a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120519061503e565b60405180910390fd5b6000600c80546120699061451c565b9050116120a057600b61207b83612dbc565b60405160200161208c92919061511d565b60405160208183030381529060405261212c565b600c80546120ad9061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546120d99061451c565b80156121265780601f106120fb57610100808354040283529160200191612126565b820191906000526020600020905b81548152906001019060200180831161210957829003601f168201915b50505050505b9050919050565b60105481565b60146020528060005260406000206000915054906101000a900460ff1681565b601160009054906101000a900460ff1681565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806121cc57506121cb8383612f1c565b5b905092915050565b6121dc6125ae565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b60136020528060005260406000206000915054906101000a900460ff1681565b6122306125ae565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361229f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612296906151b3565b60405180910390fd5b6122a881612aad565b50565b6122b36125ae565b80600c90816122c29190614bf8565b5050565b6122e0828260405180602001604052806000815250612fb0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806000600281111561231e5761231d61445b565b5b8360028111156123315761233061445b565b5b14612391576001600281111561234a5761234961445b565b5b83600281111561235d5761235c61445b565b5b14612379576146506361cf998061237491906151d3565b61238c565b6146506361cf998061238b9190615207565b5b612397565b6361cf99805b905060006201518082426123ab91906151d3565b6123b5919061528c565b90506154608110806123c9575061fd208110155b92505050919050565b6123dd8383836124e4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361241f5761241a8161300b565b61245e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461245d5761245c8382613054565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124a05761249b816131c1565b6124df565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124de576124dd8282613292565b5b5b505050565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061255c575061255b82613311565b5b9050919050565b61256c81612d50565b6125ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a290614e4b565b60405180910390fd5b50565b6125b661262c565b73ffffffffffffffffffffffffffffffffffffffff166125d46115ac565b73ffffffffffffffffffffffffffffffffffffffff161461262a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262190615309565b60405180910390fd5b565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126a783611230565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806126f983611230565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273b575061273a818561216c565b5b8061277957508373ffffffffffffffffffffffffffffffffffffffff1661276184610b0f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127a282611230565b73ffffffffffffffffffffffffffffffffffffffff16146127f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ef9061539b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e9061542d565b60405180910390fd5b6128728383836133f3565b61287d600082612634565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128cd91906151d3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129249190615207565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129e3838383613514565b505050565b6129f0613519565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a3361262c565b604051612a409190613c99565b60405180910390a1565b612a52613562565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a9661262c565b604051612aa39190613c99565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612b7e85846135ac565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed90615499565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ce79190613b1f565b60405180910390a3505050565b612cff848484612782565b612d0b84848484613602565b612d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d419061552b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612e03576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f17565b600082905060005b60008214612e35578080612e1e90614db7565b915050600a82612e2e919061554b565b9150612e0b565b60008167ffffffffffffffff811115612e5157612e50613da7565b5b6040519080825280601f01601f191660200182016040528015612e835781602001600182028036833780820191505090505b5090505b60008514612f1057600182612e9c91906151d3565b9150600a85612eab919061528c565b6030612eb79190615207565b60f81b818381518110612ecd57612ecc614a1d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f09919061554b565b9450612e87565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612fba8383613789565b612fc76000848484613602565b613006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffd9061552b565b60405180910390fd5b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161306184611423565b61306b91906151d3565b9050600060086000848152602001908152602001600020549050818114613150576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506131d591906151d3565b90506000600a600084815260200190815260200160002054905060006009838154811061320557613204614a1d565b5b90600052602060002001549050806009838154811061322757613226614a1d565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806132765761327561557c565b5b6001900381819060005260206000200160009055905550505050565b600061329d83611423565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133dc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133ec57506133eb82613962565b5b9050919050565b6133fb613562565b601160009054906101000a900460ff161561350457600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806134945750601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806134c457506134c36013600083815260200190815260200160002060009054906101000a900460ff16612307565b5b613503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fa906155f7565b60405180910390fd5b5b61350f8383836123d2565b505050565b505050565b6135216111f2565b613560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355790615663565b60405180910390fd5b565b61356a6111f2565b156135aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a1906156cf565b60405180910390fd5b565b60008082905060005b84518110156135f7576135e2828683815181106135d5576135d4614a1d565b5b60200260200101516139cc565b915080806135ef90614db7565b9150506135b5565b508091505092915050565b60006136238473ffffffffffffffffffffffffffffffffffffffff166122e4565b1561377c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261364c61262c565b8786866040518563ffffffff1660e01b815260040161366e9493929190615744565b6020604051808303816000875af19250505080156136aa57506040513d601f19601f820116820180604052508101906136a791906157a5565b60015b61372c573d80600081146136da576040519150601f19603f3d011682016040523d82523d6000602084013e6136df565b606091505b506000815103613724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371b9061552b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613781565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036137f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ef9061581e565b60405180910390fd5b61380181612d50565b15613841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138389061588a565b60405180910390fd5b61384d600083836133f3565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389d9190615207565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461395e60008383613514565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008183106139e4576139df82846139f7565b6139ef565b6139ee83836139f7565b5b905092915050565b600082600052816020526040600020905092915050565b508054613a1a9061451c565b6000825580601f10613a2c5750613a4b565b601f016020900490600052602060002090810190613a4a9190613a4e565b5b50565b5b80821115613a67576000816000905550600101613a4f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ab481613a7f565b8114613abf57600080fd5b50565b600081359050613ad181613aab565b92915050565b600060208284031215613aed57613aec613a75565b5b6000613afb84828501613ac2565b91505092915050565b60008115159050919050565b613b1981613b04565b82525050565b6000602082019050613b346000830184613b10565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b74578082015181840152602081019050613b59565b83811115613b83576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ba582613b3a565b613baf8185613b45565b9350613bbf818560208601613b56565b613bc881613b89565b840191505092915050565b60006020820190508181036000830152613bed8184613b9a565b905092915050565b6000819050919050565b613c0881613bf5565b8114613c1357600080fd5b50565b600081359050613c2581613bff565b92915050565b600060208284031215613c4157613c40613a75565b5b6000613c4f84828501613c16565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8382613c58565b9050919050565b613c9381613c78565b82525050565b6000602082019050613cae6000830184613c8a565b92915050565b613cbd81613c78565b8114613cc857600080fd5b50565b600081359050613cda81613cb4565b92915050565b60008060408385031215613cf757613cf6613a75565b5b6000613d0585828601613ccb565b9250506020613d1685828601613c16565b9150509250929050565b613d2981613bf5565b82525050565b6000602082019050613d446000830184613d20565b92915050565b600080600060608486031215613d6357613d62613a75565b5b6000613d7186828701613ccb565b9350506020613d8286828701613ccb565b9250506040613d9386828701613c16565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ddf82613b89565b810181811067ffffffffffffffff82111715613dfe57613dfd613da7565b5b80604052505050565b6000613e11613a6b565b9050613e1d8282613dd6565b919050565b600067ffffffffffffffff821115613e3d57613e3c613da7565b5b613e4682613b89565b9050602081019050919050565b82818337600083830152505050565b6000613e75613e7084613e22565b613e07565b905082815260208101848484011115613e9157613e90613da2565b5b613e9c848285613e53565b509392505050565b600082601f830112613eb957613eb8613d9d565b5b8135613ec9848260208601613e62565b91505092915050565b600060208284031215613ee857613ee7613a75565b5b600082013567ffffffffffffffff811115613f0657613f05613a7a565b5b613f1284828501613ea4565b91505092915050565b600080fd5b600080fd5b60008083601f840112613f3b57613f3a613d9d565b5b8235905067ffffffffffffffff811115613f5857613f57613f1b565b5b602083019150836020820283011115613f7457613f73613f20565b5b9250929050565b60008083601f840112613f9157613f90613d9d565b5b8235905067ffffffffffffffff811115613fae57613fad613f1b565b5b602083019150836020820283011115613fca57613fc9613f20565b5b9250929050565b60008060008060408587031215613feb57613fea613a75565b5b600085013567ffffffffffffffff81111561400957614008613a7a565b5b61401587828801613f25565b9450945050602085013567ffffffffffffffff81111561403857614037613a7a565b5b61404487828801613f7b565b925092505092959194509250565b6000819050919050565b61406581614052565b811461407057600080fd5b50565b6000813590506140828161405c565b92915050565b6000806000606084860312156140a1576140a0613a75565b5b60006140af86828701614073565b93505060206140c086828701614073565b92505060406140d186828701614073565b9150509250925092565b6000602082840312156140f1576140f0613a75565b5b60006140ff84828501613ccb565b91505092915050565b61411181614052565b82525050565b600060208201905061412c6000830184614108565b92915050565b60008083601f84011261414857614147613d9d565b5b8235905067ffffffffffffffff81111561416557614164613f1b565b5b60208301915083602082028301111561418157614180613f20565b5b9250929050565b61419181613b04565b811461419c57600080fd5b50565b6000813590506141ae81614188565b92915050565b6000806000604084860312156141cd576141cc613a75565b5b600084013567ffffffffffffffff8111156141eb576141ea613a7a565b5b6141f786828701614132565b9350935050602061420a8682870161419f565b9150509250925092565b60008083601f84011261422a57614229613d9d565b5b8235905067ffffffffffffffff81111561424757614246613f1b565b5b60208301915083602082028301111561426357614262613f20565b5b9250929050565b6000806020838503121561428157614280613a75565b5b600083013567ffffffffffffffff81111561429f5761429e613a7a565b5b6142ab85828601614214565b92509250509250929050565b600080604083850312156142ce576142cd613a75565b5b60006142dc85828601613ccb565b92505060206142ed8582860161419f565b9150509250929050565b600067ffffffffffffffff82111561431257614311613da7565b5b61431b82613b89565b9050602081019050919050565b600061433b614336846142f7565b613e07565b90508281526020810184848401111561435757614356613da2565b5b614362848285613e53565b509392505050565b600082601f83011261437f5761437e613d9d565b5b813561438f848260208601614328565b91505092915050565b600080600080608085870312156143b2576143b1613a75565b5b60006143c087828801613ccb565b94505060206143d187828801613ccb565b93505060406143e287828801613c16565b925050606085013567ffffffffffffffff81111561440357614402613a7a565b5b61440f8782880161436a565b91505092959194509250565b6000806040838503121561443257614431613a75565b5b600061444085828601613ccb565b925050602061445185828601613ccb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061449b5761449a61445b565b5b50565b60008190506144ac8261448a565b919050565b60006144bc8261449e565b9050919050565b6144cc816144b1565b82525050565b60006020820190506144e760008301846144c3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453457607f821691505b602082108103614547576145466144ed565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006145a9602183613b45565b91506145b48261454d565b604082019050919050565b600060208201905081810360008301526145d88161459c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061463b603e83613b45565b9150614646826145df565b604082019050919050565b6000602082019050818103600083015261466a8161462e565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006146cd602e83613b45565b91506146d882614671565b604082019050919050565b600060208201905081810360008301526146fc816146c0565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061475f602b83613b45565b915061476a82614703565b604082019050919050565b6000602082019050818103600083015261478e81614752565b9050919050565b7f496e76616c69642073616c652073746174650000000000000000000000000000600082015250565b60006147cb601283613b45565b91506147d682614795565b602082019050919050565b600060208201905081810360008301526147fa816147be565b9050919050565b7f496e76616c696420657468657220616d6f756e74000000000000000000000000600082015250565b6000614837601483613b45565b915061484282614801565b602082019050919050565b600060208201905081810360008301526148668161482a565b9050919050565b600081905092915050565b50565b600061488860008361486d565b915061489382614878565b600082019050919050565b60006148a98261487b565b9150819050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b60006148e9600e83613b45565b91506148f4826148b3565b602082019050919050565b60006020820190508181036000830152614918816148dc565b9050919050565b7f4d617820737570706c7920776173207265616368656400000000000000000000600082015250565b6000614955601683613b45565b91506149608261491f565b602082019050919050565b6000602082019050818103600083015261498481614948565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006149e7602c83613b45565b91506149f28261498b565b604082019050919050565b60006020820190508181036000830152614a16816149da565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614aae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614a71565b614ab88683614a71565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614af5614af0614aeb84613bf5565b614ad0565b613bf5565b9050919050565b6000819050919050565b614b0f83614ada565b614b23614b1b82614afc565b848454614a7e565b825550505050565b600090565b614b38614b2b565b614b43818484614b06565b505050565b5b81811015614b6757614b5c600082614b30565b600181019050614b49565b5050565b601f821115614bac57614b7d81614a4c565b614b8684614a61565b81016020851015614b95578190505b614ba9614ba185614a61565b830182614b48565b50505b505050565b600082821c905092915050565b6000614bcf60001984600802614bb1565b1980831691505092915050565b6000614be88383614bbe565b9150826002028217905092915050565b614c0182613b3a565b67ffffffffffffffff811115614c1a57614c19613da7565b5b614c24825461451c565b614c2f828285614b6b565b600060209050601f831160018114614c625760008415614c50578287015190505b614c5a8582614bdc565b865550614cc2565b601f198416614c7086614a4c565b60005b82811015614c9857848901518255600182019150602085019450602081019050614c73565b86831015614cb55784890151614cb1601f891682614bbe565b8355505b6001600288020188555050505b505050505050565b7f4c656e67746873206d69736d6174636800000000000000000000000000000000600082015250565b6000614d00601083613b45565b9150614d0b82614cca565b602082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b60038110614d4357600080fd5b50565b600081359050614d5581614d36565b92915050565b600060208284031215614d7157614d70613a75565b5b6000614d7f84828501614d46565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614dc282613bf5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614df457614df3614d88565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614e35601883613b45565b9150614e4082614dff565b602082019050919050565b60006020820190508181036000830152614e6481614e28565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614ec7602983613b45565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b60008160601b9050919050565b6000614f1582614efd565b9050919050565b6000614f2782614f0a565b9050919050565b614f3f614f3a82613c78565b614f1c565b82525050565b6000614f518284614f2e565b60148201915081905092915050565b7f496e76616c69642077686974656c6973742070726f6f66000000000000000000600082015250565b6000614f96601783613b45565b9150614fa182614f60565b602082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b7f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008201527f7374696e6720746f6b656e496400000000000000000000000000000000000000602082015250565b6000615028602d83613b45565b915061503382614fcc565b604082019050919050565b600060208201905081810360008301526150578161501b565b9050919050565b600081905092915050565b600081546150768161451c565b615080818661505e565b9450600182166000811461509b57600181146150b0576150e3565b60ff19831686528115158202860193506150e3565b6150b985614a4c565b60005b838110156150db578154818901526001820191506020810190506150bc565b838801955050505b50505092915050565b60006150f782613b3a565b615101818561505e565b9350615111818560208601613b56565b80840191505092915050565b60006151298285615069565b915061513582846150ec565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061519d602683613b45565b91506151a882615141565b604082019050919050565b600060208201905081810360008301526151cc81615190565b9050919050565b60006151de82613bf5565b91506151e983613bf5565b9250828210156151fc576151fb614d88565b5b828203905092915050565b600061521282613bf5565b915061521d83613bf5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561525257615251614d88565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061529782613bf5565b91506152a283613bf5565b9250826152b2576152b161525d565b5b828206905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152f3602083613b45565b91506152fe826152bd565b602082019050919050565b60006020820190508181036000830152615322816152e6565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615385602583613b45565b915061539082615329565b604082019050919050565b600060208201905081810360008301526153b481615378565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615417602483613b45565b9150615422826153bb565b604082019050919050565b600060208201905081810360008301526154468161540a565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615483601983613b45565b915061548e8261544d565b602082019050919050565b600060208201905081810360008301526154b281615476565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615515603283613b45565b9150615520826154b9565b604082019050919050565b6000602082019050818103600083015261554481615508565b9050919050565b600061555682613bf5565b915061556183613bf5565b9250826155715761557061525d565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f5374696c6c206461790000000000000000000000000000000000000000000000600082015250565b60006155e1600983613b45565b91506155ec826155ab565b602082019050919050565b60006020820190508181036000830152615610816155d4565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061564d601483613b45565b915061565882615617565b602082019050919050565b6000602082019050818103600083015261567c81615640565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006156b9601083613b45565b91506156c482615683565b602082019050919050565b600060208201905081810360008301526156e8816156ac565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615716826156ef565b61572081856156fa565b9350615730818560208601613b56565b61573981613b89565b840191505092915050565b60006080820190506157596000830187613c8a565b6157666020830186613c8a565b6157736040830185613d20565b8181036060830152615785818461570b565b905095945050505050565b60008151905061579f81613aab565b92915050565b6000602082840312156157bb576157ba613a75565b5b60006157c984828501615790565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615808602083613b45565b9150615813826157d2565b602082019050919050565b60006020820190508181036000830152615837816157fb565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615874601c83613b45565b915061587f8261583e565b602082019050919050565b600060208201905081810360008301526158a381615867565b905091905056fea264697066735822122089217d94183ce50c121a266a9fe0a78454b5d9bc64ce98bd247d56ae18666f5f64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000003000000000000000000000000fefd56ffe4b20ff90c91f15cb397887519b7bcbc0000000000000000000000004600742e749082da79dd41095a99eca6a311533d000000000000000000000000b37a02d716fef6c88c34a17a73ed76c4619adcdd00000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d614342583870344661434d415a4b667433556444464c3148484a6f54756a54336f52725a656a44336b4776570000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : payees (address[]): 0xfeFD56FFE4B20ff90c91F15cb397887519B7bCBc,0x4600742e749082Da79Dd41095A99eca6a311533d,0xB37a02d716fEf6c88c34A17A73ED76c4619AdCdD
Arg [1] : shares (uint256[]): 85,10,5
Arg [2] : _unrevealedURI (string): https://ipfs.io/ipfs/QmaCBX8p4FaCMAZKft3UdDFL1HHJoTujT3oRrZejD3kGvW
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 000000000000000000000000fefd56ffe4b20ff90c91f15cb397887519b7bcbc
Arg [5] : 0000000000000000000000004600742e749082da79dd41095a99eca6a311533d
Arg [6] : 000000000000000000000000b37a02d716fef6c88c34a17a73ed76c4619adcdd
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [12] : 68747470733a2f2f697066732e696f2f697066732f516d614342583870344661
Arg [13] : 434d415a4b667433556444464c3148484a6f54756a54336f52725a656a44336b
Arg [14] : 4776570000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.