ERC-721
NFT
Overview
Max Total Supply
1,582 MetaCollar
Holders
266
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MetaCollarLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MetaCollarMinter
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import './MetaCollar.sol'; contract MetaCollarMinter is MetaCollar { constructor( string memory name, string memory symbol, string memory baseTokenURI, address[] memory payees, uint256[] memory shares ) MetaCollar(name, symbol, baseTokenURI, payees, shares) {} /** * @dev Mint Logic. Presale & Public in same function */ function mint(uint256 quantity) payable public virtual nonReentrant whenNotSoldOut checkMax(quantity){ require(!paused, 'Paused'); if(presaleLive) { require(isOnAWhitelist(_msgSender()), '!whitelist'); require(msg.value >= PRESALE_PRICE * quantity, '<cost'); require(whitelistTotals[_msgSender()] + quantity < 9, "whitelist limit"); }else{ require(msg.value >= FULL_PRICE*quantity, '<cost'); } for (uint256 i = 0; i < quantity; i++) { _mint(_msgSender(), currentTokenId); currentTokenId++; if(presaleLive) { whitelistTotals[_msgSender()]++; } } } /** * @dev Airdrop functionality. Owner only able to airdrop the first 800 as public starts at 801. */ function mintByOwner(address to, uint256 quantity) public nonReentrant onlyOwner checkMax(quantity){ for(uint256 i= 0; i < quantity; i++){ _mint(to, currentAirdropId); currentAirdropId++; } } function togglePresale() public virtual onlyOwner{ presaleLive = !presaleLive; } function togglePause() public virtual onlyOwner{ paused = !paused; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/interfaces/IERC721.sol"; import './Whitelist.sol'; contract MetaCollar is Context, ERC721Enumerable, ERC721Burnable, PaymentSplitter, ReentrancyGuard, WhiteList { string private _baseTokenURI; bool public presaleLive = true; bool public paused = true; uint256 public constant PRESALE_PRICE = 0.05 ether; uint256 public constant FULL_PRICE = 0.08 ether; uint256 public SUPPLY = 8000; uint256 public currentTokenId = 801; // Starting at 801 because 800 are being held back uint256 public currentAirdropId = 1; address[] public WLContracts; constructor( string memory name, string memory symbol, string memory baseTokenURI, address[] memory payees, uint256[] memory shares ) ERC721(name, symbol) PaymentSplitter(payees, shares) Ownable() { _baseTokenURI = baseTokenURI; } modifier whenNotSoldOut() { require(currentTokenId <= SUPPLY, "Sold Out"); _; } modifier checkMax(uint256 quantity) { require(quantity < 51, ">50"); _; } function setVars(string memory baseTokenURI, uint256 supply) public onlyOwner { _baseTokenURI = baseTokenURI; SUPPLY = supply; } function tokenURI(uint256 tokenId) override public view returns (string memory) { return string(abi.encodePacked(_baseTokenURI, Strings.toString((tokenId)), '.json')); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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. * * `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 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 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(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 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(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 v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/interfaces/IERC721.sol"; contract WhiteList is Ownable{ mapping(address => bool) whitelist; mapping(address => uint256) public whitelistTotals; event AddedToWhitelist(address indexed account); IERC721[] public nfts; /** * @dev Add ERC721s to whitelist */ function addWhitelistNft(address[] memory _nfts) public onlyOwner { for (uint256 i = 0; i < _nfts.length; i++) { nfts.push(IERC721(_nfts[i])); } } /** * @dev Add Wallets to whitelist */ function addWhitelisters(address[] memory _addresses) public onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { whitelist[_addresses[i]] = true; whitelistTotals[_addresses[i]] = 0; emit AddedToWhitelist(_addresses[i]); } } /** * @dev If on whitelist or holder of NFT on whitelist */ function isOnAWhitelist(address _address) public view returns (bool) { if(whitelist[_address]) { return true; } for (uint256 i = 0; i < nfts.length; i++) { if(nfts[i].balanceOf(_address) > 0) { return true; } } return false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.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)); } } /** * @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 v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddedToWhitelist","type":"event"},{"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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FULL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"WLContracts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_nfts","type":"address[]"}],"name":"addWhitelistNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addWhitelisters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentAirdropId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_address","type":"address"}],"name":"isOnAWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nfts","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setVars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistTotals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526001601760006101000a81548160ff0219169083151502179055506001601760016101000a81548160ff021916908315150217905550611f406018556103216019556001601a553480156200005857600080fd5b5060405162006f0b38038062006f0b83398181016040528101906200007e9190620007f0565b84848484848181868681600090805190602001906200009f9291906200055c565b508060019080519060200190620000b89291906200055c565b505050805182511462000102576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000f99062000a23565b60405180910390fd5b600082511162000149576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001409062000a67565b60405180910390fd5b60005b82518110156200020057620001ea83828151811062000194577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110620001d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200025460201b60201c565b8080620001f79062000cb6565b9150506200014c565b50505060016011819055506200022b6200021f6200048e60201b60201c565b6200049660201b60201c565b8260169080519060200190620002439291906200055c565b505050505050505050505062000f15565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002c7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002be9062000a01565b60405180910390fd5b600081116200030d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003049062000a89565b60405180910390fd5b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000392576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003899062000a45565b60405180910390fd5b600e829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a5462000449919062000b79565b600a819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac828260405162000482929190620009d4565b60405180910390a15050565b600033905090565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200056a9062000c4a565b90600052602060002090601f0160209004810192826200058e5760008555620005da565b82601f10620005a957805160ff1916838001178555620005da565b82800160010185558215620005da579182015b82811115620005d9578251825591602001919060010190620005bc565b5b509050620005e99190620005ed565b5090565b5b8082111562000608576000816000905550600101620005ee565b5090565b6000620006236200061d8462000ad4565b62000aab565b905080838252602082019050828560208602820111156200064357600080fd5b60005b858110156200067757816200065c88826200073b565b84526020840193506020830192505060018101905062000646565b5050509392505050565b600062000698620006928462000b03565b62000aab565b90508083825260208201905082856020860282011115620006b857600080fd5b60005b85811015620006ec5781620006d18882620007d9565b845260208401935060208301925050600181019050620006bb565b5050509392505050565b60006200070d620007078462000b32565b62000aab565b9050828152602081018484840111156200072657600080fd5b6200073384828562000c14565b509392505050565b6000815190506200074c8162000ee1565b92915050565b600082601f8301126200076457600080fd5b8151620007768482602086016200060c565b91505092915050565b600082601f8301126200079157600080fd5b8151620007a384826020860162000681565b91505092915050565b600082601f830112620007be57600080fd5b8151620007d0848260208601620006f6565b91505092915050565b600081519050620007ea8162000efb565b92915050565b600080600080600060a086880312156200080957600080fd5b600086015167ffffffffffffffff8111156200082457600080fd5b6200083288828901620007ac565b955050602086015167ffffffffffffffff8111156200085057600080fd5b6200085e88828901620007ac565b945050604086015167ffffffffffffffff8111156200087c57600080fd5b6200088a88828901620007ac565b935050606086015167ffffffffffffffff811115620008a857600080fd5b620008b68882890162000752565b925050608086015167ffffffffffffffff811115620008d457600080fd5b620008e2888289016200077f565b9150509295509295909350565b620008fa8162000bd6565b82525050565b60006200090f602c8362000b68565b91506200091c8262000da2565b604082019050919050565b60006200093660328362000b68565b9150620009438262000df1565b604082019050919050565b60006200095d602b8362000b68565b91506200096a8262000e40565b604082019050919050565b600062000984601a8362000b68565b9150620009918262000e8f565b602082019050919050565b6000620009ab601d8362000b68565b9150620009b88262000eb8565b602082019050919050565b620009ce8162000c0a565b82525050565b6000604082019050620009eb6000830185620008ef565b620009fa6020830184620009c3565b9392505050565b6000602082019050818103600083015262000a1c8162000900565b9050919050565b6000602082019050818103600083015262000a3e8162000927565b9050919050565b6000602082019050818103600083015262000a60816200094e565b9050919050565b6000602082019050818103600083015262000a828162000975565b9050919050565b6000602082019050818103600083015262000aa4816200099c565b9050919050565b600062000ab762000aca565b905062000ac5828262000c80565b919050565b6000604051905090565b600067ffffffffffffffff82111562000af25762000af162000d62565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b215762000b2062000d62565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b505762000b4f62000d62565b5b62000b5b8262000d91565b9050602081019050919050565b600082825260208201905092915050565b600062000b868262000c0a565b915062000b938362000c0a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bcb5762000bca62000d04565b5b828201905092915050565b600062000be38262000bea565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c3457808201518184015260208101905062000c17565b8381111562000c44576000848401525b50505050565b6000600282049050600182168062000c6357607f821691505b6020821081141562000c7a5762000c7962000d33565b5b50919050565b62000c8b8262000d91565b810181811067ffffffffffffffff8211171562000cad5762000cac62000d62565b5b80604052505050565b600062000cc38262000c0a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000cf95762000cf862000d04565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000eec8162000bd6565b811462000ef857600080fd5b50565b62000f068162000c0a565b811462000f1257600080fd5b50565b615fe68062000f256000396000f3fe60806040526004361061028b5760003560e01c80635c975abb1161015a578063a22cb465116100c1578063d655c67f1161007a578063d655c67f14610a55578063d79779b214610a92578063e33b7de314610acf578063e985e9c514610afa578063f2fde38b14610b37578063f424d00d14610b60576102d2565b8063a22cb46514610947578063b88d4fde14610970578063c4ae316814610999578063c50497ae146109b0578063c87b56dd146109db578063ce7c2ac214610a18576102d2565b80638b83209b116101135780638b83209b146108325780638da5cb5b1461086f57806395d89b411461089a5780639852595c146108c55780639a864b6b14610902578063a0712d681461092b576102d2565b80635c975abb1461072057806362dc6e211461074b5780636352211e1461077657806370a08231146107b3578063715018a6146107f057806383a9e04914610807576102d2565b8063265aa621116101fe578063406072a9116101b7578063406072a9146105ee57806342842e0e1461062b57806342966c6814610654578063440b03751461067d57806348b75044146106ba5780634f6ccce7146106e3576102d2565b8063265aa621146104e057806329a5f81e1461051d5780632f745c591461054657806334393743146105835780633542aee21461059a5780633a98ef39146105c3576102d2565b80630b40cc99116102505780630b40cc99146103d057806311c06d93146103fb57806318160ddd14610426578063191655871461045157806323b872dd1461047a57806323dba4b8146104a3576102d2565b80629a9b7b146102d757806301ffc9a71461030257806306fdde031461033f578063081812fc1461036a578063095ea7b3146103a7576102d2565b366102d2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102b9610b89565b346040516102c8929190614d63565b60405180910390a1005b600080fd5b3480156102e357600080fd5b506102ec610b91565b6040516102f991906151e4565b60405180910390f35b34801561030e57600080fd5b50610329600480360381019061032491906144d7565b610b97565b6040516103369190614d8c565b60405180910390f35b34801561034b57600080fd5b50610354610ba9565b6040516103619190614dc2565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c91906145e2565b610c3b565b60405161039e9190614cd3565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190614431565b610cc0565b005b3480156103dc57600080fd5b506103e5610dd8565b6040516103f291906151e4565b60405180910390f35b34801561040757600080fd5b50610410610de4565b60405161041d91906151e4565b60405180910390f35b34801561043257600080fd5b5061043b610dea565b60405161044891906151e4565b60405180910390f35b34801561045d57600080fd5b50610478600480360381019061047391906142c6565b610df7565b005b34801561048657600080fd5b506104a1600480360381019061049c919061432b565b610fa2565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061429d565b611002565b6040516104d791906151e4565b60405180910390f35b3480156104ec57600080fd5b50610507600480360381019061050291906145e2565b61101a565b6040516105149190614da7565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f919061446d565b611059565b005b34801561055257600080fd5b5061056d60048036038101906105689190614431565b611298565b60405161057a91906151e4565b60405180910390f35b34801561058f57600080fd5b5061059861133d565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190614431565b6113e5565b005b3480156105cf57600080fd5b506105d8611543565b6040516105e591906151e4565b60405180910390f35b3480156105fa57600080fd5b5061061560048036038101906106109190614552565b61154d565b60405161062291906151e4565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d919061432b565b6115d4565b005b34801561066057600080fd5b5061067b600480360381019061067691906145e2565b6115f4565b005b34801561068957600080fd5b506106a4600480360381019061069f919061429d565b611650565b6040516106b19190614d8c565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190614552565b6117da565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906145e2565b611aa2565b60405161071791906151e4565b60405180910390f35b34801561072c57600080fd5b50610735611b39565b6040516107429190614d8c565b60405180910390f35b34801561075757600080fd5b50610760611b4c565b60405161076d91906151e4565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906145e2565b611b57565b6040516107aa9190614cd3565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d5919061429d565b611c09565b6040516107e791906151e4565b60405180910390f35b3480156107fc57600080fd5b50610805611cc1565b005b34801561081357600080fd5b5061081c611d49565b6040516108299190614d8c565b60405180910390f35b34801561083e57600080fd5b50610859600480360381019061085491906145e2565b611d5c565b6040516108669190614cd3565b60405180910390f35b34801561087b57600080fd5b50610884611dca565b6040516108919190614cd3565b60405180910390f35b3480156108a657600080fd5b506108af611df4565b6040516108bc9190614dc2565b60405180910390f35b3480156108d157600080fd5b506108ec60048036038101906108e7919061429d565b611e86565b6040516108f991906151e4565b60405180910390f35b34801561090e57600080fd5b506109296004803603810190610924919061446d565b611ecf565b005b610945600480360381019061094091906145e2565b612011565b005b34801561095357600080fd5b5061096e600480360381019061096991906143f5565b6123ab565b005b34801561097c57600080fd5b506109976004803603810190610992919061437a565b6123c1565b005b3480156109a557600080fd5b506109ae612423565b005b3480156109bc57600080fd5b506109c56124cb565b6040516109d291906151e4565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd91906145e2565b6124d1565b604051610a0f9190614dc2565b60405180910390f35b348015610a2457600080fd5b50610a3f6004803603810190610a3a919061429d565b612505565b604051610a4c91906151e4565b60405180910390f35b348015610a6157600080fd5b50610a7c6004803603810190610a7791906145e2565b61254e565b604051610a899190614cd3565b60405180910390f35b348015610a9e57600080fd5b50610ab96004803603810190610ab49190614529565b61258d565b604051610ac691906151e4565b60405180910390f35b348015610adb57600080fd5b50610ae46125d6565b604051610af191906151e4565b60405180910390f35b348015610b0657600080fd5b50610b216004803603810190610b1c91906142ef565b6125e0565b604051610b2e9190614d8c565b60405180910390f35b348015610b4357600080fd5b50610b5e6004803603810190610b59919061429d565b612674565b005b348015610b6c57600080fd5b50610b876004803603810190610b82919061458e565b61276c565b005b600033905090565b60195481565b6000610ba28261280a565b9050919050565b606060008054610bb89061555e565b80601f0160208091040260200160405190810160405280929190818152602001828054610be49061555e565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b5050505050905090565b6000610c4682612884565b610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90615024565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ccb82611b57565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3390615084565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d5b610b89565b73ffffffffffffffffffffffffffffffffffffffff161480610d8a5750610d8981610d84610b89565b6125e0565b5b610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090614fa4565b60405180910390fd5b610dd383836128f0565b505050565b67011c37937e08000081565b601a5481565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7090614ea4565b60405180910390fd5b6000610e836125d6565b47610e8e9190615315565b90506000610ea58383610ea086611e86565b6129a9565b90506000811415610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290614f84565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f3a9190615315565b9250508190555080600b6000828254610f539190615315565b92505081905550610f648382612a17565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f95929190614cee565b60405180910390a1505050565b610fb3610fad610b89565b82612b0b565b610ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe9906150e4565b60405180910390fd5b610ffd838383612be9565b505050565b60146020528060005260406000206000915090505481565b6015818154811061102a57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611061610b89565b73ffffffffffffffffffffffffffffffffffffffff1661107f611dca565b73ffffffffffffffffffffffffffffffffffffffff16146110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90615044565b60405180910390fd5b60005b815181101561129457600160136000848481518110611120577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000601460008484815181106111b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550818181518110611237577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab0360405160405180910390a2808061128c906155c1565b9150506110d8565b5050565b60006112a383611c09565b82106112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e04565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611345610b89565b73ffffffffffffffffffffffffffffffffffffffff16611363611dca565b73ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090615044565b60405180910390fd5b601760009054906101000a900460ff1615601760006101000a81548160ff021916908315150217905550565b6002601154141561142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290615164565b60405180910390fd5b600260118190555061143b610b89565b73ffffffffffffffffffffffffffffffffffffffff16611459611dca565b73ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690615044565b60405180910390fd5b80603381106114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea906151c4565b60405180910390fd5b60005b828110156115355761150a84601a54612e45565b601a600081548092919061151d906155c1565b9190505550808061152d906155c1565b9150506114f6565b505060016011819055505050565b6000600a54905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6115ef838383604051806020016040528060008152506123c1565b505050565b6116056115ff610b89565b82612b0b565b611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b906151a4565b60405180910390fd5b61164d81613013565b50565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156116ad57600190506117d5565b60005b6015805490508110156117cf576000601582815481106116f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161175c9190614cd3565b60206040518083038186803b15801561177457600080fd5b505afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061460b565b11156117bc5760019150506117d5565b80806117c7906155c1565b9150506116b0565b50600090505b919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390614ea4565b60405180910390fd5b60006118678361258d565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118a09190614cd3565b60206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061460b565b6118fa9190615315565b90506000611912838361190d878761154d565b6129a9565b90506000811415611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f90614f84565b60405180910390fd5b80601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e49190615315565b9250508190555080600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3a9190615315565b92505081905550611a4c848483613124565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611a94929190614d63565b60405180910390a250505050565b6000611aac610dea565b8210611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490615124565b60405180910390fd5b60088281548110611b27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601760019054906101000a900460ff1681565b66b1a2bc2ec5000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790614fe4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614fc4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cc9610b89565b73ffffffffffffffffffffffffffffffffffffffff16611ce7611dca565b73ffffffffffffffffffffffffffffffffffffffff1614611d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3490615044565b60405180910390fd5b611d4760006131aa565b565b601760009054906101000a900460ff1681565b6000600e8281548110611d98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e039061555e565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2f9061555e565b8015611e7c5780601f10611e5157610100808354040283529160200191611e7c565b820191906000526020600020905b815481529060010190602001808311611e5f57829003601f168201915b5050505050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ed7610b89565b73ffffffffffffffffffffffffffffffffffffffff16611ef5611dca565b73ffffffffffffffffffffffffffffffffffffffff1614611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290615044565b60405180910390fd5b60005b815181101561200d576015828281518110611f92577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080612005906155c1565b915050611f4e565b5050565b60026011541415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615164565b60405180910390fd5b600260118190555060185460195411156120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d90614e44565b60405180910390fd5b80603381106120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e1906151c4565b60405180910390fd5b601760019054906101000a900460ff161561213a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213190614de4565b60405180910390fd5b601760009054906101000a900460ff161561228c5761215f61215a610b89565b611650565b61219e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612195906150c4565b60405180910390fd5b8166b1a2bc2ec500006121b1919061539c565b3410156121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea90615184565b60405180910390fd5b60098260146000612202610b89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122479190615315565b10612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906150a4565b60405180910390fd5b6122e3565b8167011c37937e0800006122a0919061539c565b3410156122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990615184565b60405180910390fd5b5b60005b8281101561239e576123016122f9610b89565b601954612e45565b60196000815480929190612314906155c1565b9190505550601760009054906101000a900460ff161561238b576014600061233a610b89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612385906155c1565b91905055505b8080612396906155c1565b9150506122e6565b5050600160118190555050565b6123bd6123b6610b89565b8383613270565b5050565b6123d26123cc610b89565b83612b0b565b612411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612408906150e4565b60405180910390fd5b61241d848484846133dd565b50505050565b61242b610b89565b73ffffffffffffffffffffffffffffffffffffffff16612449611dca565b73ffffffffffffffffffffffffffffffffffffffff161461249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690615044565b60405180910390fd5b601760019054906101000a900460ff1615601760016101000a81548160ff021916908315150217905550565b60185481565b606060166124de83613439565b6040516020016124ef929190614c8f565b6040516020818303038152906040529050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b818154811061255e57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61267c610b89565b73ffffffffffffffffffffffffffffffffffffffff1661269a611dca565b73ffffffffffffffffffffffffffffffffffffffff16146126f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e790615044565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790614e64565b60405180910390fd5b612769816131aa565b50565b612774610b89565b73ffffffffffffffffffffffffffffffffffffffff16612792611dca565b73ffffffffffffffffffffffffffffffffffffffff16146127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90615044565b60405180910390fd5b81601690805190602001906127fe929190613fd7565b50806018819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061287d575061287c826135e6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296383611b57565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600a54600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856129fa919061539c565b612a04919061536b565b612a0e91906153f6565b90509392505050565b80471015612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5190614f24565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612a8090614cbe565b60006040518083038185875af1925050503d8060008114612abd576040519150601f19603f3d011682016040523d82523d6000602084013e612ac2565b606091505b5050905080612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd90614f04565b60405180910390fd5b505050565b6000612b1682612884565b612b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4c90614f64565b60405180910390fd5b6000612b6083611b57565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bcf57508373ffffffffffffffffffffffffffffffffffffffff16612bb784610c3b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612be05750612bdf81856125e0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c0982611b57565b73ffffffffffffffffffffffffffffffffffffffff1614612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690615064565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614ec4565b60405180910390fd5b612cda8383836136c8565b612ce56000826128f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d3591906153f6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8c9190615315565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eac90615004565b60405180910390fd5b612ebe81612884565b15612efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef590614e84565b60405180910390fd5b612f0a600083836136c8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f5a9190615315565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061301e82611b57565b905061302c816000846136c8565b6130376000836128f0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308791906153f6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6131a58363a9059cbb60e01b8484604051602401613143929190614d63565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506136d8565b505050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690614ee4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133d09190614d8c565b60405180910390a3505050565b6133e8848484612be9565b6133f48484848461379f565b613433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161342a90614e24565b60405180910390fd5b50505050565b60606000821415613481576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e1565b600082905060005b600082146134b357808061349c906155c1565b915050600a826134ac919061536b565b9150613489565b60008167ffffffffffffffff8111156134f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135275781602001600182028036833780820191505090505b5090505b600085146135da5760018261354091906153f6565b9150600a8561354f919061560a565b603061355b9190615315565b60f81b818381518110613597577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d3919061536b565b945061352b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136b157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806136c157506136c082613936565b5b9050919050565b6136d38383836139a0565b505050565b600061373a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ab49092919063ffffffff16565b905060008151111561379a578080602001905181019061375a91906144ae565b613799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379090615144565b60405180910390fd5b5b505050565b60006137c08473ffffffffffffffffffffffffffffffffffffffff16613acc565b15613929578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137e9610b89565b8786866040518563ffffffff1660e01b815260040161380b9493929190614d17565b602060405180830381600087803b15801561382557600080fd5b505af192505050801561385657506040513d601f19601f820116820180604052508101906138539190614500565b60015b6138d9573d8060008114613886576040519150601f19603f3d011682016040523d82523d6000602084013e61388b565b606091505b506000815114156138d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c890614e24565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061392e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139ab838383613adf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139ee576139e981613ae4565b613a2d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a2c57613a2b8382613b2d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a7057613a6b81613c9a565b613aaf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613aae57613aad8282613ddd565b5b5b505050565b6060613ac38484600085613e5c565b90509392505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b3a84611c09565b613b4491906153f6565b9050600060076000848152602001908152602001600020549050818114613c29576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613cae91906153f6565b9050600060096000848152602001908152602001600020549050600060088381548110613d04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613d4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613de883611c09565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e9890614f44565b60405180910390fd5b613eaa85613acc565b613ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee090615104565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613f129190614c78565b60006040518083038185875af1925050503d8060008114613f4f576040519150601f19603f3d011682016040523d82523d6000602084013e613f54565b606091505b5091509150613f64828286613f70565b92505050949350505050565b60608315613f8057829050613fd0565b600083511115613f935782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fc79190614dc2565b60405180910390fd5b9392505050565b828054613fe39061555e565b90600052602060002090601f016020900481019282614005576000855561404c565b82601f1061401e57805160ff191683800117855561404c565b8280016001018555821561404c579182015b8281111561404b578251825591602001919060010190614030565b5b509050614059919061405d565b5090565b5b8082111561407657600081600090555060010161405e565b5090565b600061408d61408884615224565b6151ff565b905080838252602082019050828560208602820111156140ac57600080fd5b60005b858110156140dc57816140c28882614162565b8452602084019350602083019250506001810190506140af565b5050509392505050565b60006140f96140f484615250565b6151ff565b90508281526020810184848401111561411157600080fd5b61411c84828561551c565b509392505050565b600061413761413284615281565b6151ff565b90508281526020810184848401111561414f57600080fd5b61415a84828561551c565b509392505050565b60008135905061417181615f26565b92915050565b60008135905061418681615f3d565b92915050565b600082601f83011261419d57600080fd5b81356141ad84826020860161407a565b91505092915050565b6000813590506141c581615f54565b92915050565b6000815190506141da81615f54565b92915050565b6000813590506141ef81615f6b565b92915050565b60008151905061420481615f6b565b92915050565b600082601f83011261421b57600080fd5b813561422b8482602086016140e6565b91505092915050565b60008135905061424381615f82565b92915050565b600082601f83011261425a57600080fd5b813561426a848260208601614124565b91505092915050565b60008135905061428281615f99565b92915050565b60008151905061429781615f99565b92915050565b6000602082840312156142af57600080fd5b60006142bd84828501614162565b91505092915050565b6000602082840312156142d857600080fd5b60006142e684828501614177565b91505092915050565b6000806040838503121561430257600080fd5b600061431085828601614162565b925050602061432185828601614162565b9150509250929050565b60008060006060848603121561434057600080fd5b600061434e86828701614162565b935050602061435f86828701614162565b925050604061437086828701614273565b9150509250925092565b6000806000806080858703121561439057600080fd5b600061439e87828801614162565b94505060206143af87828801614162565b93505060406143c087828801614273565b925050606085013567ffffffffffffffff8111156143dd57600080fd5b6143e98782880161420a565b91505092959194509250565b6000806040838503121561440857600080fd5b600061441685828601614162565b9250506020614427858286016141b6565b9150509250929050565b6000806040838503121561444457600080fd5b600061445285828601614162565b925050602061446385828601614273565b9150509250929050565b60006020828403121561447f57600080fd5b600082013567ffffffffffffffff81111561449957600080fd5b6144a58482850161418c565b91505092915050565b6000602082840312156144c057600080fd5b60006144ce848285016141cb565b91505092915050565b6000602082840312156144e957600080fd5b60006144f7848285016141e0565b91505092915050565b60006020828403121561451257600080fd5b6000614520848285016141f5565b91505092915050565b60006020828403121561453b57600080fd5b600061454984828501614234565b91505092915050565b6000806040838503121561456557600080fd5b600061457385828601614234565b925050602061458485828601614162565b9150509250929050565b600080604083850312156145a157600080fd5b600083013567ffffffffffffffff8111156145bb57600080fd5b6145c785828601614249565b92505060206145d885828601614273565b9150509250929050565b6000602082840312156145f457600080fd5b600061460284828501614273565b91505092915050565b60006020828403121561461d57600080fd5b600061462b84828501614288565b91505092915050565b61463d816154c2565b82525050565b61464c8161542a565b82525050565b61465b8161544e565b82525050565b600061466c826152c7565b61467681856152dd565b935061468681856020860161552b565b61468f816156f7565b840191505092915050565b60006146a5826152c7565b6146af81856152ee565b93506146bf81856020860161552b565b80840191505092915050565b6146d4816154d4565b82525050565b60006146e5826152d2565b6146ef81856152f9565b93506146ff81856020860161552b565b614708816156f7565b840191505092915050565b600061471e826152d2565b614728818561530a565b935061473881856020860161552b565b80840191505092915050565b600081546147518161555e565b61475b818661530a565b945060018216600081146147765760018114614787576147ba565b60ff198316865281860193506147ba565b614790856152b2565b60005b838110156147b257815481890152600182019150602081019050614793565b838801955050505b50505092915050565b60006147d06006836152f9565b91506147db82615708565b602082019050919050565b60006147f3602b836152f9565b91506147fe82615731565b604082019050919050565b60006148166032836152f9565b915061482182615780565b604082019050919050565b60006148396008836152f9565b9150614844826157cf565b602082019050919050565b600061485c6026836152f9565b9150614867826157f8565b604082019050919050565b600061487f601c836152f9565b915061488a82615847565b602082019050919050565b60006148a26026836152f9565b91506148ad82615870565b604082019050919050565b60006148c56024836152f9565b91506148d0826158bf565b604082019050919050565b60006148e86019836152f9565b91506148f38261590e565b602082019050919050565b600061490b603a836152f9565b915061491682615937565b604082019050919050565b600061492e601d836152f9565b915061493982615986565b602082019050919050565b60006149516026836152f9565b915061495c826159af565b604082019050919050565b6000614974602c836152f9565b915061497f826159fe565b604082019050919050565b6000614997602b836152f9565b91506149a282615a4d565b604082019050919050565b60006149ba6038836152f9565b91506149c582615a9c565b604082019050919050565b60006149dd602a836152f9565b91506149e882615aeb565b604082019050919050565b6000614a006029836152f9565b9150614a0b82615b3a565b604082019050919050565b6000614a236020836152f9565b9150614a2e82615b89565b602082019050919050565b6000614a46602c836152f9565b9150614a5182615bb2565b604082019050919050565b6000614a6960058361530a565b9150614a7482615c01565b600582019050919050565b6000614a8c6020836152f9565b9150614a9782615c2a565b602082019050919050565b6000614aaf6029836152f9565b9150614aba82615c53565b604082019050919050565b6000614ad26021836152f9565b9150614add82615ca2565b604082019050919050565b6000614af5600f836152f9565b9150614b0082615cf1565b602082019050919050565b6000614b18600a836152f9565b9150614b2382615d1a565b602082019050919050565b6000614b3b6000836152ee565b9150614b4682615d43565b600082019050919050565b6000614b5e6031836152f9565b9150614b6982615d46565b604082019050919050565b6000614b81601d836152f9565b9150614b8c82615d95565b602082019050919050565b6000614ba4602c836152f9565b9150614baf82615dbe565b604082019050919050565b6000614bc7602a836152f9565b9150614bd282615e0d565b604082019050919050565b6000614bea601f836152f9565b9150614bf582615e5c565b602082019050919050565b6000614c0d6005836152f9565b9150614c1882615e85565b602082019050919050565b6000614c306030836152f9565b9150614c3b82615eae565b604082019050919050565b6000614c536003836152f9565b9150614c5e82615efd565b602082019050919050565b614c72816154b8565b82525050565b6000614c84828461469a565b915081905092915050565b6000614c9b8285614744565b9150614ca78284614713565b9150614cb282614a5c565b91508190509392505050565b6000614cc982614b2e565b9150819050919050565b6000602082019050614ce86000830184614643565b92915050565b6000604082019050614d036000830185614634565b614d106020830184614c69565b9392505050565b6000608082019050614d2c6000830187614643565b614d396020830186614643565b614d466040830185614c69565b8181036060830152614d588184614661565b905095945050505050565b6000604082019050614d786000830185614643565b614d856020830184614c69565b9392505050565b6000602082019050614da16000830184614652565b92915050565b6000602082019050614dbc60008301846146cb565b92915050565b60006020820190508181036000830152614ddc81846146da565b905092915050565b60006020820190508181036000830152614dfd816147c3565b9050919050565b60006020820190508181036000830152614e1d816147e6565b9050919050565b60006020820190508181036000830152614e3d81614809565b9050919050565b60006020820190508181036000830152614e5d8161482c565b9050919050565b60006020820190508181036000830152614e7d8161484f565b9050919050565b60006020820190508181036000830152614e9d81614872565b9050919050565b60006020820190508181036000830152614ebd81614895565b9050919050565b60006020820190508181036000830152614edd816148b8565b9050919050565b60006020820190508181036000830152614efd816148db565b9050919050565b60006020820190508181036000830152614f1d816148fe565b9050919050565b60006020820190508181036000830152614f3d81614921565b9050919050565b60006020820190508181036000830152614f5d81614944565b9050919050565b60006020820190508181036000830152614f7d81614967565b9050919050565b60006020820190508181036000830152614f9d8161498a565b9050919050565b60006020820190508181036000830152614fbd816149ad565b9050919050565b60006020820190508181036000830152614fdd816149d0565b9050919050565b60006020820190508181036000830152614ffd816149f3565b9050919050565b6000602082019050818103600083015261501d81614a16565b9050919050565b6000602082019050818103600083015261503d81614a39565b9050919050565b6000602082019050818103600083015261505d81614a7f565b9050919050565b6000602082019050818103600083015261507d81614aa2565b9050919050565b6000602082019050818103600083015261509d81614ac5565b9050919050565b600060208201905081810360008301526150bd81614ae8565b9050919050565b600060208201905081810360008301526150dd81614b0b565b9050919050565b600060208201905081810360008301526150fd81614b51565b9050919050565b6000602082019050818103600083015261511d81614b74565b9050919050565b6000602082019050818103600083015261513d81614b97565b9050919050565b6000602082019050818103600083015261515d81614bba565b9050919050565b6000602082019050818103600083015261517d81614bdd565b9050919050565b6000602082019050818103600083015261519d81614c00565b9050919050565b600060208201905081810360008301526151bd81614c23565b9050919050565b600060208201905081810360008301526151dd81614c46565b9050919050565b60006020820190506151f96000830184614c69565b92915050565b600061520961521a565b90506152158282615590565b919050565b6000604051905090565b600067ffffffffffffffff82111561523f5761523e6156c8565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561526b5761526a6156c8565b5b615274826156f7565b9050602081019050919050565b600067ffffffffffffffff82111561529c5761529b6156c8565b5b6152a5826156f7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615320826154b8565b915061532b836154b8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153605761535f61563b565b5b828201905092915050565b6000615376826154b8565b9150615381836154b8565b9250826153915761539061566a565b5b828204905092915050565b60006153a7826154b8565b91506153b2836154b8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153eb576153ea61563b565b5b828202905092915050565b6000615401826154b8565b915061540c836154b8565b92508282101561541f5761541e61563b565b5b828203905092915050565b600061543582615498565b9050919050565b600061544782615498565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006154918261542a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006154cd826154f8565b9050919050565b60006154df826154e6565b9050919050565b60006154f182615498565b9050919050565b60006155038261550a565b9050919050565b600061551582615498565b9050919050565b82818337600083830152505050565b60005b8381101561554957808201518184015260208101905061552e565b83811115615558576000848401525b50505050565b6000600282049050600182168061557657607f821691505b6020821081141561558a57615589615699565b5b50919050565b615599826156f7565b810181811067ffffffffffffffff821117156155b8576155b76156c8565b5b80604052505050565b60006155cc826154b8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155ff576155fe61563b565b5b600182019050919050565b6000615615826154b8565b9150615620836154b8565b9250826156305761562f61566a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f77686974656c697374206c696d69740000000000000000000000000000000000600082015250565b7f2177686974656c69737400000000000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f3c636f7374000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f3e35300000000000000000000000000000000000000000000000000000000000600082015250565b615f2f8161542a565b8114615f3a57600080fd5b50565b615f468161543c565b8114615f5157600080fd5b50565b615f5d8161544e565b8114615f6857600080fd5b50565b615f748161545a565b8114615f7f57600080fd5b50565b615f8b81615486565b8114615f9657600080fd5b50565b615fa2816154b8565b8114615fad57600080fd5b5056fea26469706673582212208eb4e3a99a3c25895c10e01d935059d6256007f95970314331c2631ad81f0e1b64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000134d657461436f6c6c6172204f6666696369616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4d657461436f6c6c617200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f6d657461636f6c6c61722e73332e75732d656173742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000af98aaf4da1dcbbb03b44f1547d976bcad799c8d00000000000000000000000091ac9b0dfe3234473c4492127bb40e072958dbdd0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000000a
Deployed Bytecode
0x60806040526004361061028b5760003560e01c80635c975abb1161015a578063a22cb465116100c1578063d655c67f1161007a578063d655c67f14610a55578063d79779b214610a92578063e33b7de314610acf578063e985e9c514610afa578063f2fde38b14610b37578063f424d00d14610b60576102d2565b8063a22cb46514610947578063b88d4fde14610970578063c4ae316814610999578063c50497ae146109b0578063c87b56dd146109db578063ce7c2ac214610a18576102d2565b80638b83209b116101135780638b83209b146108325780638da5cb5b1461086f57806395d89b411461089a5780639852595c146108c55780639a864b6b14610902578063a0712d681461092b576102d2565b80635c975abb1461072057806362dc6e211461074b5780636352211e1461077657806370a08231146107b3578063715018a6146107f057806383a9e04914610807576102d2565b8063265aa621116101fe578063406072a9116101b7578063406072a9146105ee57806342842e0e1461062b57806342966c6814610654578063440b03751461067d57806348b75044146106ba5780634f6ccce7146106e3576102d2565b8063265aa621146104e057806329a5f81e1461051d5780632f745c591461054657806334393743146105835780633542aee21461059a5780633a98ef39146105c3576102d2565b80630b40cc99116102505780630b40cc99146103d057806311c06d93146103fb57806318160ddd14610426578063191655871461045157806323b872dd1461047a57806323dba4b8146104a3576102d2565b80629a9b7b146102d757806301ffc9a71461030257806306fdde031461033f578063081812fc1461036a578063095ea7b3146103a7576102d2565b366102d2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102b9610b89565b346040516102c8929190614d63565b60405180910390a1005b600080fd5b3480156102e357600080fd5b506102ec610b91565b6040516102f991906151e4565b60405180910390f35b34801561030e57600080fd5b50610329600480360381019061032491906144d7565b610b97565b6040516103369190614d8c565b60405180910390f35b34801561034b57600080fd5b50610354610ba9565b6040516103619190614dc2565b60405180910390f35b34801561037657600080fd5b50610391600480360381019061038c91906145e2565b610c3b565b60405161039e9190614cd3565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190614431565b610cc0565b005b3480156103dc57600080fd5b506103e5610dd8565b6040516103f291906151e4565b60405180910390f35b34801561040757600080fd5b50610410610de4565b60405161041d91906151e4565b60405180910390f35b34801561043257600080fd5b5061043b610dea565b60405161044891906151e4565b60405180910390f35b34801561045d57600080fd5b50610478600480360381019061047391906142c6565b610df7565b005b34801561048657600080fd5b506104a1600480360381019061049c919061432b565b610fa2565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061429d565b611002565b6040516104d791906151e4565b60405180910390f35b3480156104ec57600080fd5b50610507600480360381019061050291906145e2565b61101a565b6040516105149190614da7565b60405180910390f35b34801561052957600080fd5b50610544600480360381019061053f919061446d565b611059565b005b34801561055257600080fd5b5061056d60048036038101906105689190614431565b611298565b60405161057a91906151e4565b60405180910390f35b34801561058f57600080fd5b5061059861133d565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190614431565b6113e5565b005b3480156105cf57600080fd5b506105d8611543565b6040516105e591906151e4565b60405180910390f35b3480156105fa57600080fd5b5061061560048036038101906106109190614552565b61154d565b60405161062291906151e4565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d919061432b565b6115d4565b005b34801561066057600080fd5b5061067b600480360381019061067691906145e2565b6115f4565b005b34801561068957600080fd5b506106a4600480360381019061069f919061429d565b611650565b6040516106b19190614d8c565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190614552565b6117da565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906145e2565b611aa2565b60405161071791906151e4565b60405180910390f35b34801561072c57600080fd5b50610735611b39565b6040516107429190614d8c565b60405180910390f35b34801561075757600080fd5b50610760611b4c565b60405161076d91906151e4565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906145e2565b611b57565b6040516107aa9190614cd3565b60405180910390f35b3480156107bf57600080fd5b506107da60048036038101906107d5919061429d565b611c09565b6040516107e791906151e4565b60405180910390f35b3480156107fc57600080fd5b50610805611cc1565b005b34801561081357600080fd5b5061081c611d49565b6040516108299190614d8c565b60405180910390f35b34801561083e57600080fd5b50610859600480360381019061085491906145e2565b611d5c565b6040516108669190614cd3565b60405180910390f35b34801561087b57600080fd5b50610884611dca565b6040516108919190614cd3565b60405180910390f35b3480156108a657600080fd5b506108af611df4565b6040516108bc9190614dc2565b60405180910390f35b3480156108d157600080fd5b506108ec60048036038101906108e7919061429d565b611e86565b6040516108f991906151e4565b60405180910390f35b34801561090e57600080fd5b506109296004803603810190610924919061446d565b611ecf565b005b610945600480360381019061094091906145e2565b612011565b005b34801561095357600080fd5b5061096e600480360381019061096991906143f5565b6123ab565b005b34801561097c57600080fd5b506109976004803603810190610992919061437a565b6123c1565b005b3480156109a557600080fd5b506109ae612423565b005b3480156109bc57600080fd5b506109c56124cb565b6040516109d291906151e4565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd91906145e2565b6124d1565b604051610a0f9190614dc2565b60405180910390f35b348015610a2457600080fd5b50610a3f6004803603810190610a3a919061429d565b612505565b604051610a4c91906151e4565b60405180910390f35b348015610a6157600080fd5b50610a7c6004803603810190610a7791906145e2565b61254e565b604051610a899190614cd3565b60405180910390f35b348015610a9e57600080fd5b50610ab96004803603810190610ab49190614529565b61258d565b604051610ac691906151e4565b60405180910390f35b348015610adb57600080fd5b50610ae46125d6565b604051610af191906151e4565b60405180910390f35b348015610b0657600080fd5b50610b216004803603810190610b1c91906142ef565b6125e0565b604051610b2e9190614d8c565b60405180910390f35b348015610b4357600080fd5b50610b5e6004803603810190610b59919061429d565b612674565b005b348015610b6c57600080fd5b50610b876004803603810190610b82919061458e565b61276c565b005b600033905090565b60195481565b6000610ba28261280a565b9050919050565b606060008054610bb89061555e565b80601f0160208091040260200160405190810160405280929190818152602001828054610be49061555e565b8015610c315780601f10610c0657610100808354040283529160200191610c31565b820191906000526020600020905b815481529060010190602001808311610c1457829003601f168201915b5050505050905090565b6000610c4682612884565b610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c90615024565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ccb82611b57565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3390615084565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d5b610b89565b73ffffffffffffffffffffffffffffffffffffffff161480610d8a5750610d8981610d84610b89565b6125e0565b5b610dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc090614fa4565b60405180910390fd5b610dd383836128f0565b505050565b67011c37937e08000081565b601a5481565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7090614ea4565b60405180910390fd5b6000610e836125d6565b47610e8e9190615315565b90506000610ea58383610ea086611e86565b6129a9565b90506000811415610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee290614f84565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f3a9190615315565b9250508190555080600b6000828254610f539190615315565b92505081905550610f648382612a17565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f95929190614cee565b60405180910390a1505050565b610fb3610fad610b89565b82612b0b565b610ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe9906150e4565b60405180910390fd5b610ffd838383612be9565b505050565b60146020528060005260406000206000915090505481565b6015818154811061102a57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611061610b89565b73ffffffffffffffffffffffffffffffffffffffff1661107f611dca565b73ffffffffffffffffffffffffffffffffffffffff16146110d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cc90615044565b60405180910390fd5b60005b815181101561129457600160136000848481518110611120577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000601460008484815181106111b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550818181518110611237577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167fa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab0360405160405180910390a2808061128c906155c1565b9150506110d8565b5050565b60006112a383611c09565b82106112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e04565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611345610b89565b73ffffffffffffffffffffffffffffffffffffffff16611363611dca565b73ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090615044565b60405180910390fd5b601760009054906101000a900460ff1615601760006101000a81548160ff021916908315150217905550565b6002601154141561142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290615164565b60405180910390fd5b600260118190555061143b610b89565b73ffffffffffffffffffffffffffffffffffffffff16611459611dca565b73ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690615044565b60405180910390fd5b80603381106114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea906151c4565b60405180910390fd5b60005b828110156115355761150a84601a54612e45565b601a600081548092919061151d906155c1565b9190505550808061152d906155c1565b9150506114f6565b505060016011819055505050565b6000600a54905090565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6115ef838383604051806020016040528060008152506123c1565b505050565b6116056115ff610b89565b82612b0b565b611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b906151a4565b60405180910390fd5b61164d81613013565b50565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156116ad57600190506117d5565b60005b6015805490508110156117cf576000601582815481106116f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161175c9190614cd3565b60206040518083038186803b15801561177457600080fd5b505afa158015611788573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ac919061460b565b11156117bc5760019150506117d5565b80806117c7906155c1565b9150506116b0565b50600090505b919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161185c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185390614ea4565b60405180910390fd5b60006118678361258d565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118a09190614cd3565b60206040518083038186803b1580156118b857600080fd5b505afa1580156118cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f0919061460b565b6118fa9190615315565b90506000611912838361190d878761154d565b6129a9565b90506000811415611958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194f90614f84565b60405180910390fd5b80601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119e49190615315565b9250508190555080600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3a9190615315565b92505081905550611a4c848483613124565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611a94929190614d63565b60405180910390a250505050565b6000611aac610dea565b8210611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae490615124565b60405180910390fd5b60088281548110611b27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601760019054906101000a900460ff1681565b66b1a2bc2ec5000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790614fe4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7190614fc4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611cc9610b89565b73ffffffffffffffffffffffffffffffffffffffff16611ce7611dca565b73ffffffffffffffffffffffffffffffffffffffff1614611d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3490615044565b60405180910390fd5b611d4760006131aa565b565b601760009054906101000a900460ff1681565b6000600e8281548110611d98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611e039061555e565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2f9061555e565b8015611e7c5780601f10611e5157610100808354040283529160200191611e7c565b820191906000526020600020905b815481529060010190602001808311611e5f57829003601f168201915b5050505050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ed7610b89565b73ffffffffffffffffffffffffffffffffffffffff16611ef5611dca565b73ffffffffffffffffffffffffffffffffffffffff1614611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290615044565b60405180910390fd5b60005b815181101561200d576015828281518110611f92577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080612005906155c1565b915050611f4e565b5050565b60026011541415612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615164565b60405180910390fd5b600260118190555060185460195411156120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d90614e44565b60405180910390fd5b80603381106120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e1906151c4565b60405180910390fd5b601760019054906101000a900460ff161561213a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213190614de4565b60405180910390fd5b601760009054906101000a900460ff161561228c5761215f61215a610b89565b611650565b61219e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612195906150c4565b60405180910390fd5b8166b1a2bc2ec500006121b1919061539c565b3410156121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea90615184565b60405180910390fd5b60098260146000612202610b89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122479190615315565b10612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906150a4565b60405180910390fd5b6122e3565b8167011c37937e0800006122a0919061539c565b3410156122e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d990615184565b60405180910390fd5b5b60005b8281101561239e576123016122f9610b89565b601954612e45565b60196000815480929190612314906155c1565b9190505550601760009054906101000a900460ff161561238b576014600061233a610b89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190612385906155c1565b91905055505b8080612396906155c1565b9150506122e6565b5050600160118190555050565b6123bd6123b6610b89565b8383613270565b5050565b6123d26123cc610b89565b83612b0b565b612411576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612408906150e4565b60405180910390fd5b61241d848484846133dd565b50505050565b61242b610b89565b73ffffffffffffffffffffffffffffffffffffffff16612449611dca565b73ffffffffffffffffffffffffffffffffffffffff161461249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690615044565b60405180910390fd5b601760019054906101000a900460ff1615601760016101000a81548160ff021916908315150217905550565b60185481565b606060166124de83613439565b6040516020016124ef929190614c8f565b6040516020818303038152906040529050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b818154811061255e57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61267c610b89565b73ffffffffffffffffffffffffffffffffffffffff1661269a611dca565b73ffffffffffffffffffffffffffffffffffffffff16146126f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e790615044565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275790614e64565b60405180910390fd5b612769816131aa565b50565b612774610b89565b73ffffffffffffffffffffffffffffffffffffffff16612792611dca565b73ffffffffffffffffffffffffffffffffffffffff16146127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90615044565b60405180910390fd5b81601690805190602001906127fe929190613fd7565b50806018819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061287d575061287c826135e6565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296383611b57565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600a54600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856129fa919061539c565b612a04919061536b565b612a0e91906153f6565b90509392505050565b80471015612a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5190614f24565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612a8090614cbe565b60006040518083038185875af1925050503d8060008114612abd576040519150601f19603f3d011682016040523d82523d6000602084013e612ac2565b606091505b5050905080612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd90614f04565b60405180910390fd5b505050565b6000612b1682612884565b612b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4c90614f64565b60405180910390fd5b6000612b6083611b57565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bcf57508373ffffffffffffffffffffffffffffffffffffffff16612bb784610c3b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612be05750612bdf81856125e0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c0982611b57565b73ffffffffffffffffffffffffffffffffffffffff1614612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690615064565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc690614ec4565b60405180910390fd5b612cda8383836136c8565b612ce56000826128f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d3591906153f6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8c9190615315565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eac90615004565b60405180910390fd5b612ebe81612884565b15612efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef590614e84565b60405180910390fd5b612f0a600083836136c8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f5a9190615315565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061301e82611b57565b905061302c816000846136c8565b6130376000836128f0565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308791906153f6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6131a58363a9059cbb60e01b8484604051602401613143929190614d63565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506136d8565b505050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d690614ee4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133d09190614d8c565b60405180910390a3505050565b6133e8848484612be9565b6133f48484848461379f565b613433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161342a90614e24565b60405180910390fd5b50505050565b60606000821415613481576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e1565b600082905060005b600082146134b357808061349c906155c1565b915050600a826134ac919061536b565b9150613489565b60008167ffffffffffffffff8111156134f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135275781602001600182028036833780820191505090505b5090505b600085146135da5760018261354091906153f6565b9150600a8561354f919061560a565b603061355b9190615315565b60f81b818381518110613597577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d3919061536b565b945061352b565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806136b157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806136c157506136c082613936565b5b9050919050565b6136d38383836139a0565b505050565b600061373a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ab49092919063ffffffff16565b905060008151111561379a578080602001905181019061375a91906144ae565b613799576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379090615144565b60405180910390fd5b5b505050565b60006137c08473ffffffffffffffffffffffffffffffffffffffff16613acc565b15613929578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026137e9610b89565b8786866040518563ffffffff1660e01b815260040161380b9493929190614d17565b602060405180830381600087803b15801561382557600080fd5b505af192505050801561385657506040513d601f19601f820116820180604052508101906138539190614500565b60015b6138d9573d8060008114613886576040519150601f19603f3d011682016040523d82523d6000602084013e61388b565b606091505b506000815114156138d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c890614e24565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061392e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6139ab838383613adf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139ee576139e981613ae4565b613a2d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613a2c57613a2b8382613b2d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a7057613a6b81613c9a565b613aaf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613aae57613aad8282613ddd565b5b5b505050565b6060613ac38484600085613e5c565b90509392505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613b3a84611c09565b613b4491906153f6565b9050600060076000848152602001908152602001600020549050818114613c29576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613cae91906153f6565b9050600060096000848152602001908152602001600020549050600060088381548110613d04577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613d4c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613de883611c09565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e9890614f44565b60405180910390fd5b613eaa85613acc565b613ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee090615104565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613f129190614c78565b60006040518083038185875af1925050503d8060008114613f4f576040519150601f19603f3d011682016040523d82523d6000602084013e613f54565b606091505b5091509150613f64828286613f70565b92505050949350505050565b60608315613f8057829050613fd0565b600083511115613f935782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fc79190614dc2565b60405180910390fd5b9392505050565b828054613fe39061555e565b90600052602060002090601f016020900481019282614005576000855561404c565b82601f1061401e57805160ff191683800117855561404c565b8280016001018555821561404c579182015b8281111561404b578251825591602001919060010190614030565b5b509050614059919061405d565b5090565b5b8082111561407657600081600090555060010161405e565b5090565b600061408d61408884615224565b6151ff565b905080838252602082019050828560208602820111156140ac57600080fd5b60005b858110156140dc57816140c28882614162565b8452602084019350602083019250506001810190506140af565b5050509392505050565b60006140f96140f484615250565b6151ff565b90508281526020810184848401111561411157600080fd5b61411c84828561551c565b509392505050565b600061413761413284615281565b6151ff565b90508281526020810184848401111561414f57600080fd5b61415a84828561551c565b509392505050565b60008135905061417181615f26565b92915050565b60008135905061418681615f3d565b92915050565b600082601f83011261419d57600080fd5b81356141ad84826020860161407a565b91505092915050565b6000813590506141c581615f54565b92915050565b6000815190506141da81615f54565b92915050565b6000813590506141ef81615f6b565b92915050565b60008151905061420481615f6b565b92915050565b600082601f83011261421b57600080fd5b813561422b8482602086016140e6565b91505092915050565b60008135905061424381615f82565b92915050565b600082601f83011261425a57600080fd5b813561426a848260208601614124565b91505092915050565b60008135905061428281615f99565b92915050565b60008151905061429781615f99565b92915050565b6000602082840312156142af57600080fd5b60006142bd84828501614162565b91505092915050565b6000602082840312156142d857600080fd5b60006142e684828501614177565b91505092915050565b6000806040838503121561430257600080fd5b600061431085828601614162565b925050602061432185828601614162565b9150509250929050565b60008060006060848603121561434057600080fd5b600061434e86828701614162565b935050602061435f86828701614162565b925050604061437086828701614273565b9150509250925092565b6000806000806080858703121561439057600080fd5b600061439e87828801614162565b94505060206143af87828801614162565b93505060406143c087828801614273565b925050606085013567ffffffffffffffff8111156143dd57600080fd5b6143e98782880161420a565b91505092959194509250565b6000806040838503121561440857600080fd5b600061441685828601614162565b9250506020614427858286016141b6565b9150509250929050565b6000806040838503121561444457600080fd5b600061445285828601614162565b925050602061446385828601614273565b9150509250929050565b60006020828403121561447f57600080fd5b600082013567ffffffffffffffff81111561449957600080fd5b6144a58482850161418c565b91505092915050565b6000602082840312156144c057600080fd5b60006144ce848285016141cb565b91505092915050565b6000602082840312156144e957600080fd5b60006144f7848285016141e0565b91505092915050565b60006020828403121561451257600080fd5b6000614520848285016141f5565b91505092915050565b60006020828403121561453b57600080fd5b600061454984828501614234565b91505092915050565b6000806040838503121561456557600080fd5b600061457385828601614234565b925050602061458485828601614162565b9150509250929050565b600080604083850312156145a157600080fd5b600083013567ffffffffffffffff8111156145bb57600080fd5b6145c785828601614249565b92505060206145d885828601614273565b9150509250929050565b6000602082840312156145f457600080fd5b600061460284828501614273565b91505092915050565b60006020828403121561461d57600080fd5b600061462b84828501614288565b91505092915050565b61463d816154c2565b82525050565b61464c8161542a565b82525050565b61465b8161544e565b82525050565b600061466c826152c7565b61467681856152dd565b935061468681856020860161552b565b61468f816156f7565b840191505092915050565b60006146a5826152c7565b6146af81856152ee565b93506146bf81856020860161552b565b80840191505092915050565b6146d4816154d4565b82525050565b60006146e5826152d2565b6146ef81856152f9565b93506146ff81856020860161552b565b614708816156f7565b840191505092915050565b600061471e826152d2565b614728818561530a565b935061473881856020860161552b565b80840191505092915050565b600081546147518161555e565b61475b818661530a565b945060018216600081146147765760018114614787576147ba565b60ff198316865281860193506147ba565b614790856152b2565b60005b838110156147b257815481890152600182019150602081019050614793565b838801955050505b50505092915050565b60006147d06006836152f9565b91506147db82615708565b602082019050919050565b60006147f3602b836152f9565b91506147fe82615731565b604082019050919050565b60006148166032836152f9565b915061482182615780565b604082019050919050565b60006148396008836152f9565b9150614844826157cf565b602082019050919050565b600061485c6026836152f9565b9150614867826157f8565b604082019050919050565b600061487f601c836152f9565b915061488a82615847565b602082019050919050565b60006148a26026836152f9565b91506148ad82615870565b604082019050919050565b60006148c56024836152f9565b91506148d0826158bf565b604082019050919050565b60006148e86019836152f9565b91506148f38261590e565b602082019050919050565b600061490b603a836152f9565b915061491682615937565b604082019050919050565b600061492e601d836152f9565b915061493982615986565b602082019050919050565b60006149516026836152f9565b915061495c826159af565b604082019050919050565b6000614974602c836152f9565b915061497f826159fe565b604082019050919050565b6000614997602b836152f9565b91506149a282615a4d565b604082019050919050565b60006149ba6038836152f9565b91506149c582615a9c565b604082019050919050565b60006149dd602a836152f9565b91506149e882615aeb565b604082019050919050565b6000614a006029836152f9565b9150614a0b82615b3a565b604082019050919050565b6000614a236020836152f9565b9150614a2e82615b89565b602082019050919050565b6000614a46602c836152f9565b9150614a5182615bb2565b604082019050919050565b6000614a6960058361530a565b9150614a7482615c01565b600582019050919050565b6000614a8c6020836152f9565b9150614a9782615c2a565b602082019050919050565b6000614aaf6029836152f9565b9150614aba82615c53565b604082019050919050565b6000614ad26021836152f9565b9150614add82615ca2565b604082019050919050565b6000614af5600f836152f9565b9150614b0082615cf1565b602082019050919050565b6000614b18600a836152f9565b9150614b2382615d1a565b602082019050919050565b6000614b3b6000836152ee565b9150614b4682615d43565b600082019050919050565b6000614b5e6031836152f9565b9150614b6982615d46565b604082019050919050565b6000614b81601d836152f9565b9150614b8c82615d95565b602082019050919050565b6000614ba4602c836152f9565b9150614baf82615dbe565b604082019050919050565b6000614bc7602a836152f9565b9150614bd282615e0d565b604082019050919050565b6000614bea601f836152f9565b9150614bf582615e5c565b602082019050919050565b6000614c0d6005836152f9565b9150614c1882615e85565b602082019050919050565b6000614c306030836152f9565b9150614c3b82615eae565b604082019050919050565b6000614c536003836152f9565b9150614c5e82615efd565b602082019050919050565b614c72816154b8565b82525050565b6000614c84828461469a565b915081905092915050565b6000614c9b8285614744565b9150614ca78284614713565b9150614cb282614a5c565b91508190509392505050565b6000614cc982614b2e565b9150819050919050565b6000602082019050614ce86000830184614643565b92915050565b6000604082019050614d036000830185614634565b614d106020830184614c69565b9392505050565b6000608082019050614d2c6000830187614643565b614d396020830186614643565b614d466040830185614c69565b8181036060830152614d588184614661565b905095945050505050565b6000604082019050614d786000830185614643565b614d856020830184614c69565b9392505050565b6000602082019050614da16000830184614652565b92915050565b6000602082019050614dbc60008301846146cb565b92915050565b60006020820190508181036000830152614ddc81846146da565b905092915050565b60006020820190508181036000830152614dfd816147c3565b9050919050565b60006020820190508181036000830152614e1d816147e6565b9050919050565b60006020820190508181036000830152614e3d81614809565b9050919050565b60006020820190508181036000830152614e5d8161482c565b9050919050565b60006020820190508181036000830152614e7d8161484f565b9050919050565b60006020820190508181036000830152614e9d81614872565b9050919050565b60006020820190508181036000830152614ebd81614895565b9050919050565b60006020820190508181036000830152614edd816148b8565b9050919050565b60006020820190508181036000830152614efd816148db565b9050919050565b60006020820190508181036000830152614f1d816148fe565b9050919050565b60006020820190508181036000830152614f3d81614921565b9050919050565b60006020820190508181036000830152614f5d81614944565b9050919050565b60006020820190508181036000830152614f7d81614967565b9050919050565b60006020820190508181036000830152614f9d8161498a565b9050919050565b60006020820190508181036000830152614fbd816149ad565b9050919050565b60006020820190508181036000830152614fdd816149d0565b9050919050565b60006020820190508181036000830152614ffd816149f3565b9050919050565b6000602082019050818103600083015261501d81614a16565b9050919050565b6000602082019050818103600083015261503d81614a39565b9050919050565b6000602082019050818103600083015261505d81614a7f565b9050919050565b6000602082019050818103600083015261507d81614aa2565b9050919050565b6000602082019050818103600083015261509d81614ac5565b9050919050565b600060208201905081810360008301526150bd81614ae8565b9050919050565b600060208201905081810360008301526150dd81614b0b565b9050919050565b600060208201905081810360008301526150fd81614b51565b9050919050565b6000602082019050818103600083015261511d81614b74565b9050919050565b6000602082019050818103600083015261513d81614b97565b9050919050565b6000602082019050818103600083015261515d81614bba565b9050919050565b6000602082019050818103600083015261517d81614bdd565b9050919050565b6000602082019050818103600083015261519d81614c00565b9050919050565b600060208201905081810360008301526151bd81614c23565b9050919050565b600060208201905081810360008301526151dd81614c46565b9050919050565b60006020820190506151f96000830184614c69565b92915050565b600061520961521a565b90506152158282615590565b919050565b6000604051905090565b600067ffffffffffffffff82111561523f5761523e6156c8565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561526b5761526a6156c8565b5b615274826156f7565b9050602081019050919050565b600067ffffffffffffffff82111561529c5761529b6156c8565b5b6152a5826156f7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615320826154b8565b915061532b836154b8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153605761535f61563b565b5b828201905092915050565b6000615376826154b8565b9150615381836154b8565b9250826153915761539061566a565b5b828204905092915050565b60006153a7826154b8565b91506153b2836154b8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153eb576153ea61563b565b5b828202905092915050565b6000615401826154b8565b915061540c836154b8565b92508282101561541f5761541e61563b565b5b828203905092915050565b600061543582615498565b9050919050565b600061544782615498565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006154918261542a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006154cd826154f8565b9050919050565b60006154df826154e6565b9050919050565b60006154f182615498565b9050919050565b60006155038261550a565b9050919050565b600061551582615498565b9050919050565b82818337600083830152505050565b60005b8381101561554957808201518184015260208101905061552e565b83811115615558576000848401525b50505050565b6000600282049050600182168061557657607f821691505b6020821081141561558a57615589615699565b5b50919050565b615599826156f7565b810181811067ffffffffffffffff821117156155b8576155b76156c8565b5b80604052505050565b60006155cc826154b8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155ff576155fe61563b565b5b600182019050919050565b6000615615826154b8565b9150615620836154b8565b9250826156305761562f61566a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f77686974656c697374206c696d69740000000000000000000000000000000000600082015250565b7f2177686974656c69737400000000000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f3c636f7374000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f3e35300000000000000000000000000000000000000000000000000000000000600082015250565b615f2f8161542a565b8114615f3a57600080fd5b50565b615f468161543c565b8114615f5157600080fd5b50565b615f5d8161544e565b8114615f6857600080fd5b50565b615f748161545a565b8114615f7f57600080fd5b50565b615f8b81615486565b8114615f9657600080fd5b50565b615fa2816154b8565b8114615fad57600080fd5b5056fea26469706673582212208eb4e3a99a3c25895c10e01d935059d6256007f95970314331c2631ad81f0e1b64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000134d657461436f6c6c6172204f6666696369616c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4d657461436f6c6c617200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f6d657461636f6c6c61722e73332e75732d656173742d312e616d617a6f6e6177732e636f6d2f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000af98aaf4da1dcbbb03b44f1547d976bcad799c8d00000000000000000000000091ac9b0dfe3234473c4492127bb40e072958dbdd0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000000a
-----Decoded View---------------
Arg [0] : name (string): MetaCollar Official
Arg [1] : symbol (string): MetaCollar
Arg [2] : baseTokenURI (string): https://metacollar.s3.us-east-1.amazonaws.com/metadata/
Arg [3] : payees (address[]): 0xAF98AAf4da1dcbbb03B44f1547D976Bcad799c8d,0x91AC9B0DFe3234473c4492127BB40e072958Dbdd
Arg [4] : shares (uint256[]): 90,10
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 4d657461436f6c6c6172204f6666696369616c00000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 4d657461436f6c6c617200000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [10] : 68747470733a2f2f6d657461636f6c6c61722e73332e75732d656173742d312e
Arg [11] : 616d617a6f6e6177732e636f6d2f6d657461646174612f000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 000000000000000000000000af98aaf4da1dcbbb03b44f1547d976bcad799c8d
Arg [14] : 00000000000000000000000091ac9b0dfe3234473c4492127bb40e072958dbdd
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [16] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000a
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.