Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,381 N3D
Holders
1,941
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9 N3DLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Nouns3Dv2
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // author Name: Alex Yap // author-email: <[email protected]> // author-website: https://alexyap.dev pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./NounToken.sol"; interface INouns3dv1 { function ownerOf(uint256 tokenId) external view returns (address owner); } contract Nouns3Dv2 is ERC721Enumerable, ReentrancyGuard, Ownable { string public NOUNS3D_PROVENANCE = ""; string public baseTokenURI; uint256 public constant MAX_NOUNS3D = 7400; uint256 public namingNounPrice = 300 ether; bool public mintIsActive = false; mapping(uint256 => string) public nameN3D; mapping(address => uint256) public balanceN3D; INouns3dv1 public nouns3dv1Contract; NounToken public nounToken; event NameChanged(string name); constructor(string memory baseURI, address _nouns3dv1) ERC721("Nouns3D", "N3D") { setBaseURI(baseURI); nouns3dv1Contract = INouns3dv1(_nouns3dv1); } function _baseURI() internal view override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function setProvenanceHash(string memory provenanceHash) public onlyOwner { NOUNS3D_PROVENANCE = provenanceHash; } function setNouns3dv1(address _nouns3dv1) external onlyOwner { nouns3dv1Contract = INouns3dv1(_nouns3dv1); } function setNounToken(address _noun) external onlyOwner { nounToken = NounToken(_noun); } function setBalanceN3D(address wallet, uint256 _newBalance) external onlyOwner { balanceN3D[wallet] = _newBalance; } function setBurnRate(uint256 _namingPrice) external onlyOwner { namingNounPrice = _namingPrice; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0); payable(msg.sender).transfer(balance); } function flipMint() public onlyOwner { mintIsActive = !mintIsActive; } function mintAdmin(uint256[] calldata tokenIds, address _to) public payable onlyOwner { require(totalSupply() < MAX_NOUNS3D, "Max supply reached"); require(totalSupply() + tokenIds.length <= MAX_NOUNS3D, "Minting would exceed max supply of Nouns3D V2"); for(uint256 i = 0; i < tokenIds.length; i++) { require(tokenIds[i] < MAX_NOUNS3D, "Invalid token ID"); require(nouns3dv1Contract.ownerOf(tokenIds[i]) == _to, "Not the owner of this Nouns3D token"); require(!_exists(tokenIds[i]), "Tokens has already been minted"); if (totalSupply() < MAX_NOUNS3D) { _safeMint(_to, tokenIds[i]); balanceN3D[_to] += 1; } } //update reward on mint nounToken.updateRewardOnMint(_to, tokenIds.length); } function mint(uint256[] calldata tokenIds) public payable nonReentrant { require(mintIsActive, "Migration must be active in order to mint"); require(totalSupply() < MAX_NOUNS3D, "Max supply reached"); require(totalSupply() + tokenIds.length <= MAX_NOUNS3D, "Minting would exceed max supply of Nouns3D V2"); for(uint256 i = 0; i < tokenIds.length; i++) { require(tokenIds[i] < MAX_NOUNS3D, "Invalid token ID"); require(nouns3dv1Contract.ownerOf(tokenIds[i]) == msg.sender, "Not the owner of this Nouns3D token"); require(!_exists(tokenIds[i]), "Tokens has already been minted"); if (totalSupply() < MAX_NOUNS3D) { _safeMint(msg.sender, tokenIds[i]); balanceN3D[msg.sender] += 1; } } //update reward on mint nounToken.updateRewardOnMint(msg.sender, tokenIds.length); } function transferFrom(address from, address to, uint256 tokenId) public override nonReentrant { nounToken.updateReward(from, to, tokenId); balanceN3D[from] -= 1; balanceN3D[to] += 1; ERC721.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override nonReentrant { nounToken.updateReward(from, to, tokenId); balanceN3D[from] -= 1; balanceN3D[to] += 1; ERC721.safeTransferFrom(from, to, tokenId, _data); } function getReward() external { nounToken.updateReward(msg.sender, address(0), 0); nounToken.getReward(msg.sender); } function changeName(uint256 _tokenId, string memory _newName) public { require(ownerOf(_tokenId) == msg.sender); require(validateName(_newName) == true, "Invalid name"); nounToken.burn(msg.sender, namingNounPrice); nameN3D[_tokenId] = _newName; emit NameChanged(_newName); } function validateName(string memory str) internal pure returns (bool) { bytes memory b = bytes(str); if(b.length < 1) return false; if(b.length > 25) return false; if(b[0] == 0x20) return false; // Leading space if(b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for (uint256 i; i < b.length; i++) { bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if ( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) { return false; } lastChar = char; } return true; } }
// 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 (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 // author Name: Alex Yap // author-email: <[email protected]> // author-website: https://alexyap.dev pragma solidity ^0.8.0; interface INouns3d { function balanceN3D(address _user) external view returns(uint256); } // Part: OpenZeppelin/[email protected]/Address import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NounToken is ERC20, ReentrancyGuard, Ownable { //Start 1642204800 - Sat, January 15, 2022 08:00:00 AM //End 1799884800 - Thu, January 14, 2027 08:00:00 AM, 5 years, 157680000 uint256 constant public END = 1799884800; uint256 constant public BASE_RATE = 10 ether; uint256 constant public MINT_BONUS = 300 ether; // max supply uint256 public constant MAX_YIELD_SUPPLY = 135050000 ether; uint256 public constant MAX_COMMUNITY_FUND_SUPPLY = 100000000 ether; uint256 public constant MAX_PUBLIC_SALES_SUPPLY = 50000000 ether; uint256 public constant MAX_TEAM_RESERVE_SUPPLY = 30000000 ether; // minted amount uint256 public totalYieldSupply; uint256 public totalCommunityFundSupply; uint256 public totalPublicSalesSupply; uint256 public totalTeamReserveSupply; mapping(address => bool) councillors; mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; INouns3d public nouns3dContract; event CouncillorAdded(address councillor); event CouncillorRemoved(address councillor); event RewardPaid(address indexed user, uint256 reward); constructor(address _nouns3d) ERC20("NOUN", "NOUN") { nouns3dContract = INouns3d(_nouns3d); addCouncillor(_nouns3d); //update community fund supply to cover the mint bonus totalCommunityFundSupply += 2220000000000000000000000; } function setInterface(address _nouns3d) external onlyOwner { nouns3dContract = INouns3d(_nouns3d); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function isCouncillor(address _councillor) public view returns(bool) { return councillors[_councillor]; } function addCouncillor(address _councillor) public onlyOwner { require(_councillor != address(0), "Cannot add null address"); councillors[_councillor] = true; emit CouncillorAdded(_councillor); } function removeCouncillor(address _councillor) public onlyOwner { require(isCouncillor(_councillor), "Not a councillor"); delete councillors[_councillor]; emit CouncillorRemoved(_councillor); } // updated_amount = (balanceN3D(user) * base_rate * delta / 86400) + amount * initial rate function updateRewardOnMint(address _user, uint256 _amount) external { require(councillors[msg.sender], "Unauthorized"); uint256 time = min(block.timestamp, END); uint256 timerUser = lastUpdate[_user]; uint256 timerRemainder = 0; //update reward count is this is not their first mint if (timerUser > 0) { rewards[_user] = rewards[_user] + (nouns3dContract.balanceN3D(_user) * BASE_RATE * ((time - timerUser) / 86400)); timerRemainder = (time - timerUser) % 86400; } //award 300 NOUN per nft rewards[_user] += MINT_BONUS * _amount; //set new last updated lastUpdate[_user] = time - timerRemainder; } // called on transfers function updateReward(address _from, address _to, uint256 _tokenId) external { require(councillors[msg.sender], "Unauthorized"); if (_tokenId < 7400) { uint256 time = min(block.timestamp, END); uint256 timerFrom = lastUpdate[_from]; uint256 timerRemainderFrom = 0; if (timerFrom > 0) { rewards[_from] += nouns3dContract.balanceN3D(_from) * BASE_RATE * ((time - timerFrom) / 86400); timerRemainderFrom = (time - timerFrom) % 86400; } if (timerFrom != END) { lastUpdate[_from] = time - timerRemainderFrom; } if (_to != address(0)) { uint256 timerTo = lastUpdate[_to]; uint256 timerRemainderTo = 0; if (timerTo > 0) { rewards[_to] += nouns3dContract.balanceN3D(_to) * BASE_RATE * ((time - timerTo) / 86400); timerRemainderTo = (time - timerTo) % 86400; } if (timerTo != END) { lastUpdate[_to] = time - timerRemainderTo; } } } } function getReward(address _to) external nonReentrant{ require(councillors[msg.sender], "Unauthorized"); uint256 reward = rewards[_to]; if (reward > 0) { require( totalYieldSupply + reward <= MAX_YIELD_SUPPLY, "Maximum yield supply reached" ); rewards[_to] = 0; totalYieldSupply += reward; _mint(_to, reward); emit RewardPaid(_to, reward); } } function communityFundMint(address to, uint256 amount) external nonReentrant{ require(councillors[msg.sender], "Unauthorized"); require( totalCommunityFundSupply + amount <= MAX_COMMUNITY_FUND_SUPPLY, "Maximum community fund supply reached" ); totalCommunityFundSupply += amount; _mint(to, amount); } function publicSalesMint(address to, uint256 amount) external nonReentrant{ require(councillors[msg.sender], "Unauthorized"); require( totalPublicSalesSupply + amount <= MAX_PUBLIC_SALES_SUPPLY, "Maximum public sales supply reached" ); totalPublicSalesSupply += amount; _mint(to, amount); } function teamReserveMint(address to, uint256 amount) external nonReentrant{ require(councillors[msg.sender], "Unauthorized"); require( totalTeamReserveSupply + amount <= MAX_TEAM_RESERVE_SUPPLY, "Maximum team reserve supply reached" ); totalTeamReserveSupply += amount; _mint(to, amount); } function burn(address _from, uint256 _amount) external nonReentrant{ require(councillors[msg.sender], "Unauthorized"); _burn(_from, _amount); } function getTotalClaimable(address _user) external view returns(uint256) { uint256 time = min(block.timestamp, END); uint256 pending = nouns3dContract.balanceN3D(_user) * BASE_RATE * ((time - lastUpdate[_user]) / 86400); return rewards[_user] + pending; } }
// 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/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "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
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_nouns3dv1","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NOUNS3D","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOUNS3D_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceN3D","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"_to","type":"address"}],"name":"mintAdmin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nameN3D","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"namingNounPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nounToken","outputs":[{"internalType":"contract NounToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nouns3dv1Contract","outputs":[{"internalType":"contract INouns3dv1","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":"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":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"_newBalance","type":"uint256"}],"name":"setBalanceN3D","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_namingPrice","type":"uint256"}],"name":"setBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_noun","type":"address"}],"name":"setNounToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nouns3dv1","type":"address"}],"name":"setNouns3dv1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600c90805190602001906200002b9291906200034c565b50681043561a8829300000600e556000600f60006101000a81548160ff0219169083151502179055503480156200006157600080fd5b50604051620061e1380380620061e18339818101604052810190620000879190620005fe565b6040518060400160405280600781526020017f4e6f756e733344000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e3344000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010b9291906200034c565b508060019080519060200190620001249291906200034c565b5050506001600a819055506200014f62000143620001a960201b60201c565b620001b160201b60201c565b62000160826200027760201b60201c565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200074c565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000287620001a960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ad6200032260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000306576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002fd90620006c5565b60405180910390fd5b80600d90805190602001906200031e9291906200034c565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200035a9062000716565b90600052602060002090601f0160209004810192826200037e5760008555620003ca565b82601f106200039957805160ff1916838001178555620003ca565b82800160010185558215620003ca579182015b82811115620003c9578251825591602001919060010190620003ac565b5b509050620003d99190620003dd565b5090565b5b80821115620003f8576000816000905550600101620003de565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000465826200041a565b810181811067ffffffffffffffff821117156200048757620004866200042b565b5b80604052505050565b60006200049c620003fc565b9050620004aa82826200045a565b919050565b600067ffffffffffffffff821115620004cd57620004cc6200042b565b5b620004d8826200041a565b9050602081019050919050565b60005b8381101562000505578082015181840152602081019050620004e8565b8381111562000515576000848401525b50505050565b6000620005326200052c84620004af565b62000490565b90508281526020810184848401111562000551576200055062000415565b5b6200055e848285620004e5565b509392505050565b600082601f8301126200057e576200057d62000410565b5b8151620005908482602086016200051b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005c68262000599565b9050919050565b620005d881620005b9565b8114620005e457600080fd5b50565b600081519050620005f881620005cd565b92915050565b6000806040838503121562000618576200061762000406565b5b600083015167ffffffffffffffff8111156200063957620006386200040b565b5b620006478582860162000566565b92505060206200065a85828601620005e7565b9150509250929050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006ad60208362000664565b9150620006ba8262000675565b602082019050919050565b60006020820190508181036000830152620006e0816200069e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072f57607f821691505b60208210811415620007465762000745620006e7565b5b50919050565b615a85806200075c6000396000f3fe60806040526004361061023b5760003560e01c806370a082311161012e578063cd8e3208116100ab578063d789b68b1161006f578063d789b68b1461084e578063e1b9778914610879578063e985e9c5146108a2578063f2fde38b146108df578063f8e93ef9146109085761023b565b8063cd8e320814610769578063cf93c5f214610792578063d20478bc146107cf578063d2ed5c591461080c578063d547cfb7146108235761023b565b8063a22cb465116100f2578063a22cb46514610686578063a25cd487146106af578063b88d4fde146106da578063c39cbef114610703578063c87b56dd1461072c5761023b565b806370a08231146105b3578063715018a6146105f05780638da5cb5b14610607578063931c9d911461063257806395d89b411461065b5761023b565b80632e85f5b2116101bc578063471a429411610180578063471a4294146104c95780634f6ccce7146104f4578063546387fd1461053157806355f804b31461054d5780636352211e146105765761023b565b80632e85f5b21461040a5780632f745c59146104355780633ccfd60b146104725780633d18b9121461048957806342842e0e146104a05761023b565b806314c2ee481161020357806314c2ee481461033757806318160ddd14610362578063189d165e1461038d57806323b872dd146103b65780632839b8ff146103df5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e5578063109695231461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613fc8565b610924565b6040516102749190614010565b60405180910390f35b34801561028957600080fd5b5061029261099e565b60405161029f91906140c4565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061411c565b610a30565b6040516102dc919061418a565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906141d1565b610ab5565b005b34801561031a57600080fd5b5061033560048036038101906103309190614346565b610bcd565b005b34801561034357600080fd5b5061034c610c63565b60405161035991906143ee565b60405180910390f35b34801561036e57600080fd5b50610377610c89565b6040516103849190614418565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af919061411c565b610c96565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190614433565b610d1c565b005b3480156103eb57600080fd5b506103f4610ec1565b6040516104019190614418565b60405180910390f35b34801561041657600080fd5b5061041f610ec7565b60405161042c91906144a7565b60405180910390f35b34801561044157600080fd5b5061045c600480360381019061045791906141d1565b610eed565b6040516104699190614418565b60405180910390f35b34801561047e57600080fd5b50610487610f92565b005b34801561049557600080fd5b5061049e61106a565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190614433565b61118b565b005b3480156104d557600080fd5b506104de6111ab565b6040516104eb9190614010565b60405180910390f35b34801561050057600080fd5b5061051b6004803603810190610516919061411c565b6111be565b6040516105289190614418565b60405180910390f35b61054b60048036038101906105469190614522565b61122f565b005b34801561055957600080fd5b50610574600480360381019061056f9190614346565b611685565b005b34801561058257600080fd5b5061059d6004803603810190610598919061411c565b61171b565b6040516105aa919061418a565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190614582565b6117cd565b6040516105e79190614418565b60405180910390f35b3480156105fc57600080fd5b50610605611885565b005b34801561061357600080fd5b5061061c61190d565b604051610629919061418a565b60405180910390f35b34801561063e57600080fd5b50610659600480360381019061065491906141d1565b611937565b005b34801561066757600080fd5b506106706119fb565b60405161067d91906140c4565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a891906145db565b611a8d565b005b3480156106bb57600080fd5b506106c4611aa3565b6040516106d191906140c4565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc91906146bc565b611b31565b005b34801561070f57600080fd5b5061072a6004803603810190610725919061473f565b611cd8565b005b34801561073857600080fd5b50610753600480360381019061074e919061411c565b611e5b565b60405161076091906140c4565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614582565b611f02565b005b34801561079e57600080fd5b506107b960048036038101906107b49190614582565b611fc2565b6040516107c69190614418565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f1919061411c565b611fda565b60405161080391906140c4565b60405180910390f35b34801561081857600080fd5b5061082161207a565b005b34801561082f57600080fd5b50610838612122565b60405161084591906140c4565b60405180910390f35b34801561085a57600080fd5b506108636121b0565b6040516108709190614418565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190614582565b6121b6565b005b3480156108ae57600080fd5b506108c960048036038101906108c4919061479b565b612276565b6040516108d69190614010565b60405180910390f35b3480156108eb57600080fd5b5061090660048036038101906109019190614582565b61230a565b005b610922600480360381019061091d91906147db565b612402565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610997575061099682612880565b5b9050919050565b6060600080546109ad90614857565b80601f01602080910402602001604051908101604052809291908181526020018280546109d990614857565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b6000610a3b82612962565b610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a71906148fb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac08261171b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b289061498d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b506129ce565b73ffffffffffffffffffffffffffffffffffffffff161480610b7f5750610b7e81610b796129ce565b612276565b5b610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb590614a1f565b60405180910390fd5b610bc883836129d6565b505050565b610bd56129ce565b73ffffffffffffffffffffffffffffffffffffffff16610bf361190d565b73ffffffffffffffffffffffffffffffffffffffff1614610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090614a8b565b60405180910390fd5b80600c9080519060200190610c5f929190613eb9565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610c9e6129ce565b73ffffffffffffffffffffffffffffffffffffffff16610cbc61190d565b73ffffffffffffffffffffffffffffffffffffffff1614610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990614a8b565b60405180910390fd5b80600e8190555050565b6002600a541415610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990614af7565b60405180910390fd5b6002600a81905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8484846040518463ffffffff1660e01b8152600401610dc993929190614b17565b600060405180830381600087803b158015610de357600080fd5b505af1158015610df7573d6000803e3d6000fd5b505050506001601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4b9190614b7d565b925050819055506001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ea29190614bb1565b92505081905550610eb4838383612a8f565b6001600a81905550505050565b611ce881565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ef8836117cd565b8210610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614c79565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f9a6129ce565b73ffffffffffffffffffffffffffffffffffffffff16610fb861190d565b73ffffffffffffffffffffffffffffffffffffffff161461100e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100590614a8b565b60405180910390fd5b60004790506000811161102057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611066573d6000803e3d6000fd5b5050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa336000806040518463ffffffff1660e01b81526004016110ca93929190614cd4565b600060405180830381600087803b1580156110e457600080fd5b505af11580156110f8573d6000803e3d6000fd5b50505050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b8152600401611157919061418a565b600060405180830381600087803b15801561117157600080fd5b505af1158015611185573d6000803e3d6000fd5b50505050565b6111a683838360405180602001604052806000815250611b31565b505050565b600f60009054906101000a900460ff1681565b60006111c8610c89565b8210611209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120090614d7d565b60405180910390fd5b6008828154811061121d5761121c614d9d565b5b90600052602060002001549050919050565b6112376129ce565b73ffffffffffffffffffffffffffffffffffffffff1661125561190d565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614a8b565b60405180910390fd5b611ce86112b6610c89565b106112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90614e18565b60405180910390fd5b611ce883839050611305610c89565b61130f9190614bb1565b1115611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134790614eaa565b60405180910390fd5b60005b838390508110156115ed57611ce884848381811061137457611373614d9d565b5b90506020020135106113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290614f16565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86868581811061142357611422614d9d565b5b905060200201356040518263ffffffff1660e01b81526004016114469190614418565b60206040518083038186803b15801561145e57600080fd5b505afa158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190614f4b565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614fea565b60405180910390fd5b61150e84848381811061150257611501614d9d565b5b90506020020135612962565b1561154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590615056565b60405180910390fd5b611ce8611559610c89565b10156115da576115828285858481811061157657611575614d9d565b5b90506020020135612aef565b6001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d29190614bb1565b925050819055505b80806115e590615076565b915050611353565b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc240c0182858590506040518363ffffffff1660e01b815260040161164e9291906150bf565b600060405180830381600087803b15801561166857600080fd5b505af115801561167c573d6000803e3d6000fd5b50505050505050565b61168d6129ce565b73ffffffffffffffffffffffffffffffffffffffff166116ab61190d565b73ffffffffffffffffffffffffffffffffffffffff1614611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614a8b565b60405180910390fd5b80600d9080519060200190611717929190613eb9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb9061515a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611835906151ec565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61188d6129ce565b73ffffffffffffffffffffffffffffffffffffffff166118ab61190d565b73ffffffffffffffffffffffffffffffffffffffff1614611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614a8b565b60405180910390fd5b61190b6000612b0d565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61193f6129ce565b73ffffffffffffffffffffffffffffffffffffffff1661195d61190d565b73ffffffffffffffffffffffffffffffffffffffff16146119b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119aa90614a8b565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b606060018054611a0a90614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3690614857565b8015611a835780601f10611a5857610100808354040283529160200191611a83565b820191906000526020600020905b815481529060010190602001808311611a6657829003601f168201915b5050505050905090565b611a9f611a986129ce565b8383612bd3565b5050565b600c8054611ab090614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611adc90614857565b8015611b295780601f10611afe57610100808354040283529160200191611b29565b820191906000526020600020905b815481529060010190602001808311611b0c57829003601f168201915b505050505081565b6002600a541415611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614af7565b60405180910390fd5b6002600a81905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8585856040518463ffffffff1660e01b8152600401611bde93929190614b17565b600060405180830381600087803b158015611bf857600080fd5b505af1158015611c0c573d6000803e3d6000fd5b505050506001601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c609190614b7d565b925050819055506001601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cb79190614bb1565b92505081905550611cca84848484612d40565b6001600a8190555050505050565b3373ffffffffffffffffffffffffffffffffffffffff16611cf88361171b565b73ffffffffffffffffffffffffffffffffffffffff1614611d1857600080fd5b60011515611d2582612da2565b151514611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90615258565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33600e546040518363ffffffff1660e01b8152600401611dc69291906150bf565b600060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b5050505080601060008481526020019081526020016000209080519060200190611e1f929190613eb9565b507f4737457377f528cc8afd815f73ecb8b05df80d047dbffc41c17750a4033592bc81604051611e4f91906140c4565b60405180910390a15050565b6060611e6682612962565b611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c906152ea565b60405180910390fd5b6000611eaf6130d4565b90506000815111611ecf5760405180602001604052806000815250611efa565b80611ed984613166565b604051602001611eea929190615346565b6040516020818303038152906040525b915050919050565b611f0a6129ce565b73ffffffffffffffffffffffffffffffffffffffff16611f2861190d565b73ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614a8b565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60116020528060005260406000206000915090505481565b60106020528060005260406000206000915090508054611ff990614857565b80601f016020809104026020016040519081016040528092919081815260200182805461202590614857565b80156120725780601f1061204757610100808354040283529160200191612072565b820191906000526020600020905b81548152906001019060200180831161205557829003601f168201915b505050505081565b6120826129ce565b73ffffffffffffffffffffffffffffffffffffffff166120a061190d565b73ffffffffffffffffffffffffffffffffffffffff16146120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90614a8b565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600d805461212f90614857565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614857565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b505050505081565b600e5481565b6121be6129ce565b73ffffffffffffffffffffffffffffffffffffffff166121dc61190d565b73ffffffffffffffffffffffffffffffffffffffff1614612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614a8b565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123126129ce565b73ffffffffffffffffffffffffffffffffffffffff1661233061190d565b73ffffffffffffffffffffffffffffffffffffffff1614612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614a8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ed906153dc565b60405180910390fd5b6123ff81612b0d565b50565b6002600a541415612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614af7565b60405180910390fd5b6002600a81905550600f60009054906101000a900460ff1661249f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124969061546e565b60405180910390fd5b611ce86124aa610c89565b106124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614e18565b60405180910390fd5b611ce8828290506124f9610c89565b6125039190614bb1565b1115612544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253b90614eaa565b60405180910390fd5b60005b828290508110156127e157611ce883838381811061256857612567614d9d565b5b90506020020135106125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690614f16565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e85858581811061261757612616614d9d565b5b905060200201356040518263ffffffff1660e01b815260040161263a9190614418565b60206040518083038186803b15801561265257600080fd5b505afa158015612666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268a9190614f4b565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614fea565b60405180910390fd5b6127028383838181106126f6576126f5614d9d565b5b90506020020135612962565b15612742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273990615056565b60405180910390fd5b611ce861274d610c89565b10156127ce576127763384848481811061276a57612769614d9d565b5b90506020020135612aef565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127c69190614bb1565b925050819055505b80806127d990615076565b915050612547565b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc240c0133848490506040518363ffffffff1660e01b81526004016128429291906150bf565b600060405180830381600087803b15801561285c57600080fd5b505af1158015612870573d6000803e3d6000fd5b505050506001600a819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061294b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061295b575061295a826132c7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a498361171b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612aa0612a9a6129ce565b82613331565b612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690615500565b60405180910390fd5b612aea83838361340f565b505050565b612b0982826040518060200160405280600081525061366b565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c399061556c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d339190614010565b60405180910390a3505050565b612d51612d4b6129ce565b83613331565b612d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8790615500565b60405180910390fd5b612d9c848484846136c6565b50505050565b600080829050600181511015612dbc5760009150506130cf565b601981511115612dd05760009150506130cf565b602060f81b81600081518110612de957612de8614d9d565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612e265760009150506130cf565b602060f81b8160018351612e3a9190614b7d565b81518110612e4b57612e4a614d9d565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612e885760009150506130cf565b600081600081518110612e9e57612e9d614d9d565b5b602001015160f81c60f81b905060005b82518110156130c7576000838281518110612ecc57612ecb614d9d565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015612f335750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15612f455760009450505050506130cf565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015612fa15750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156130075750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156130055750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561306c5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561306a5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561309e5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156130b05760009450505050506130cf565b8092505080806130bf90615076565b915050612eae565b506001925050505b919050565b6060600d80546130e390614857565b80601f016020809104026020016040519081016040528092919081815260200182805461310f90614857565b801561315c5780601f106131315761010080835404028352916020019161315c565b820191906000526020600020905b81548152906001019060200180831161313f57829003601f168201915b5050505050905090565b606060008214156131ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132c2565b600082905060005b600082146131e05780806131c990615076565b915050600a826131d991906155bb565b91506131b6565b60008167ffffffffffffffff8111156131fc576131fb61421b565b5b6040519080825280601f01601f19166020018201604052801561322e5781602001600182028036833780820191505090505b5090505b600085146132bb576001826132479190614b7d565b9150600a8561325691906155ec565b60306132629190614bb1565b60f81b81838151811061327857613277614d9d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132b491906155bb565b9450613232565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061333c82612962565b61337b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133729061568f565b60405180910390fd5b60006133868361171b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133f557508373ffffffffffffffffffffffffffffffffffffffff166133dd84610a30565b73ffffffffffffffffffffffffffffffffffffffff16145b8061340657506134058185612276565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661342f8261171b565b73ffffffffffffffffffffffffffffffffffffffff1614613485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347c90615721565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ec906157b3565b60405180910390fd5b613500838383613722565b61350b6000826129d6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461355b9190614b7d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135b29190614bb1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6136758383613836565b6136826000848484613a04565b6136c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b890615845565b60405180910390fd5b505050565b6136d184848461340f565b6136dd84848484613a04565b61371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371390615845565b60405180910390fd5b50505050565b61372d838383613b9b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137705761376b81613ba0565b6137af565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137ae576137ad8382613be9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137f2576137ed81613d56565b613831565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138305761382f8282613e27565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389d906158b1565b60405180910390fd5b6138af81612962565b156138ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e69061591d565b60405180910390fd5b6138fb60008383613722565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461394b9190614bb1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613a258473ffffffffffffffffffffffffffffffffffffffff16613ea6565b15613b8e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a4e6129ce565b8786866040518563ffffffff1660e01b8152600401613a709493929190615992565b602060405180830381600087803b158015613a8a57600080fd5b505af1925050508015613abb57506040513d601f19601f82011682018060405250810190613ab891906159f3565b60015b613b3e573d8060008114613aeb576040519150601f19603f3d011682016040523d82523d6000602084013e613af0565b606091505b50600081511415613b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2d90615845565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b93565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613bf6846117cd565b613c009190614b7d565b9050600060076000848152602001908152602001600020549050818114613ce5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d6a9190614b7d565b9050600060096000848152602001908152602001600020549050600060088381548110613d9a57613d99614d9d565b5b906000526020600020015490508060088381548110613dbc57613dbb614d9d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e0b57613e0a615a20565b5b6001900381819060005260206000200160009055905550505050565b6000613e32836117cd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613ec590614857565b90600052602060002090601f016020900481019282613ee75760008555613f2e565b82601f10613f0057805160ff1916838001178555613f2e565b82800160010185558215613f2e579182015b82811115613f2d578251825591602001919060010190613f12565b5b509050613f3b9190613f3f565b5090565b5b80821115613f58576000816000905550600101613f40565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fa581613f70565b8114613fb057600080fd5b50565b600081359050613fc281613f9c565b92915050565b600060208284031215613fde57613fdd613f66565b5b6000613fec84828501613fb3565b91505092915050565b60008115159050919050565b61400a81613ff5565b82525050565b60006020820190506140256000830184614001565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561406557808201518184015260208101905061404a565b83811115614074576000848401525b50505050565b6000601f19601f8301169050919050565b60006140968261402b565b6140a08185614036565b93506140b0818560208601614047565b6140b98161407a565b840191505092915050565b600060208201905081810360008301526140de818461408b565b905092915050565b6000819050919050565b6140f9816140e6565b811461410457600080fd5b50565b600081359050614116816140f0565b92915050565b60006020828403121561413257614131613f66565b5b600061414084828501614107565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061417482614149565b9050919050565b61418481614169565b82525050565b600060208201905061419f600083018461417b565b92915050565b6141ae81614169565b81146141b957600080fd5b50565b6000813590506141cb816141a5565b92915050565b600080604083850312156141e8576141e7613f66565b5b60006141f6858286016141bc565b925050602061420785828601614107565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142538261407a565b810181811067ffffffffffffffff821117156142725761427161421b565b5b80604052505050565b6000614285613f5c565b9050614291828261424a565b919050565b600067ffffffffffffffff8211156142b1576142b061421b565b5b6142ba8261407a565b9050602081019050919050565b82818337600083830152505050565b60006142e96142e484614296565b61427b565b90508281526020810184848401111561430557614304614216565b5b6143108482856142c7565b509392505050565b600082601f83011261432d5761432c614211565b5b813561433d8482602086016142d6565b91505092915050565b60006020828403121561435c5761435b613f66565b5b600082013567ffffffffffffffff81111561437a57614379613f6b565b5b61438684828501614318565b91505092915050565b6000819050919050565b60006143b46143af6143aa84614149565b61438f565b614149565b9050919050565b60006143c682614399565b9050919050565b60006143d8826143bb565b9050919050565b6143e8816143cd565b82525050565b600060208201905061440360008301846143df565b92915050565b614412816140e6565b82525050565b600060208201905061442d6000830184614409565b92915050565b60008060006060848603121561444c5761444b613f66565b5b600061445a868287016141bc565b935050602061446b868287016141bc565b925050604061447c86828701614107565b9150509250925092565b6000614491826143bb565b9050919050565b6144a181614486565b82525050565b60006020820190506144bc6000830184614498565b92915050565b600080fd5b600080fd5b60008083601f8401126144e2576144e1614211565b5b8235905067ffffffffffffffff8111156144ff576144fe6144c2565b5b60208301915083602082028301111561451b5761451a6144c7565b5b9250929050565b60008060006040848603121561453b5761453a613f66565b5b600084013567ffffffffffffffff81111561455957614558613f6b565b5b614565868287016144cc565b93509350506020614578868287016141bc565b9150509250925092565b60006020828403121561459857614597613f66565b5b60006145a6848285016141bc565b91505092915050565b6145b881613ff5565b81146145c357600080fd5b50565b6000813590506145d5816145af565b92915050565b600080604083850312156145f2576145f1613f66565b5b6000614600858286016141bc565b9250506020614611858286016145c6565b9150509250929050565b600067ffffffffffffffff8211156146365761463561421b565b5b61463f8261407a565b9050602081019050919050565b600061465f61465a8461461b565b61427b565b90508281526020810184848401111561467b5761467a614216565b5b6146868482856142c7565b509392505050565b600082601f8301126146a3576146a2614211565b5b81356146b384826020860161464c565b91505092915050565b600080600080608085870312156146d6576146d5613f66565b5b60006146e4878288016141bc565b94505060206146f5878288016141bc565b935050604061470687828801614107565b925050606085013567ffffffffffffffff81111561472757614726613f6b565b5b6147338782880161468e565b91505092959194509250565b6000806040838503121561475657614755613f66565b5b600061476485828601614107565b925050602083013567ffffffffffffffff81111561478557614784613f6b565b5b61479185828601614318565b9150509250929050565b600080604083850312156147b2576147b1613f66565b5b60006147c0858286016141bc565b92505060206147d1858286016141bc565b9150509250929050565b600080602083850312156147f2576147f1613f66565b5b600083013567ffffffffffffffff8111156148105761480f613f6b565b5b61481c858286016144cc565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486f57607f821691505b6020821081141561488357614882614828565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148e5602c83614036565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614977602183614036565b91506149828261491b565b604082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a09603883614036565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a75602083614036565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614ae1601f83614036565b9150614aec82614aab565b602082019050919050565b60006020820190508181036000830152614b1081614ad4565b9050919050565b6000606082019050614b2c600083018661417b565b614b39602083018561417b565b614b466040830184614409565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b88826140e6565b9150614b93836140e6565b925082821015614ba657614ba5614b4e565b5b828203905092915050565b6000614bbc826140e6565b9150614bc7836140e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bfc57614bfb614b4e565b5b828201905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c63602b83614036565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b6000819050919050565b6000614cbe614cb9614cb484614c99565b61438f565b6140e6565b9050919050565b614cce81614ca3565b82525050565b6000606082019050614ce9600083018661417b565b614cf6602083018561417b565b614d036040830184614cc5565b949350505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d67602c83614036565b9150614d7282614d0b565b604082019050919050565b60006020820190508181036000830152614d9681614d5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614e02601283614036565b9150614e0d82614dcc565b602082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f66204e6f756e73334420563200000000000000000000000000000000000000602082015250565b6000614e94602d83614036565b9150614e9f82614e38565b604082019050919050565b60006020820190508181036000830152614ec381614e87565b9050919050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b6000614f00601083614036565b9150614f0b82614eca565b602082019050919050565b60006020820190508181036000830152614f2f81614ef3565b9050919050565b600081519050614f45816141a5565b92915050565b600060208284031215614f6157614f60613f66565b5b6000614f6f84828501614f36565b91505092915050565b7f4e6f7420746865206f776e6572206f662074686973204e6f756e73334420746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b6000614fd4602383614036565b9150614fdf82614f78565b604082019050919050565b6000602082019050818103600083015261500381614fc7565b9050919050565b7f546f6b656e732068617320616c7265616479206265656e206d696e7465640000600082015250565b6000615040601e83614036565b915061504b8261500a565b602082019050919050565b6000602082019050818103600083015261506f81615033565b9050919050565b6000615081826140e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150b4576150b3614b4e565b5b600182019050919050565b60006040820190506150d4600083018561417b565b6150e16020830184614409565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615144602983614036565b915061514f826150e8565b604082019050919050565b6000602082019050818103600083015261517381615137565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151d6602a83614036565b91506151e18261517a565b604082019050919050565b60006020820190508181036000830152615205816151c9565b9050919050565b7f496e76616c6964206e616d650000000000000000000000000000000000000000600082015250565b6000615242600c83614036565b915061524d8261520c565b602082019050919050565b6000602082019050818103600083015261527181615235565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152d4602f83614036565b91506152df82615278565b604082019050919050565b60006020820190508181036000830152615303816152c7565b9050919050565b600081905092915050565b60006153208261402b565b61532a818561530a565b935061533a818560208601614047565b80840191505092915050565b60006153528285615315565b915061535e8284615315565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153c6602683614036565b91506153d18261536a565b604082019050919050565b600060208201905081810360008301526153f5816153b9565b9050919050565b7f4d6967726174696f6e206d7573742062652061637469766520696e206f72646560008201527f7220746f206d696e740000000000000000000000000000000000000000000000602082015250565b6000615458602983614036565b9150615463826153fc565b604082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006154ea603183614036565b91506154f58261548e565b604082019050919050565b60006020820190508181036000830152615519816154dd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615556601983614036565b915061556182615520565b602082019050919050565b6000602082019050818103600083015261558581615549565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155c6826140e6565b91506155d1836140e6565b9250826155e1576155e061558c565b5b828204905092915050565b60006155f7826140e6565b9150615602836140e6565b9250826156125761561161558c565b5b828206905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615679602c83614036565b91506156848261561d565b604082019050919050565b600060208201905081810360008301526156a88161566c565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061570b602983614036565b9150615716826156af565b604082019050919050565b6000602082019050818103600083015261573a816156fe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061579d602483614036565b91506157a882615741565b604082019050919050565b600060208201905081810360008301526157cc81615790565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061582f603283614036565b915061583a826157d3565b604082019050919050565b6000602082019050818103600083015261585e81615822565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061589b602083614036565b91506158a682615865565b602082019050919050565b600060208201905081810360008301526158ca8161588e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615907601c83614036565b9150615912826158d1565b602082019050919050565b60006020820190508181036000830152615936816158fa565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159648261593d565b61596e8185615948565b935061597e818560208601614047565b6159878161407a565b840191505092915050565b60006080820190506159a7600083018761417b565b6159b4602083018661417b565b6159c16040830185614409565b81810360608301526159d38184615959565b905095945050505050565b6000815190506159ed81613f9c565b92915050565b600060208284031215615a0957615a08613f66565b5b6000615a17848285016159de565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204874b439aebd496ee0aab76f6d745422a4f72f4e703c1d461d2527f0be2c517664736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000028f3acc53cc541a5e159ddc7c73a29f96679d873000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c806370a082311161012e578063cd8e3208116100ab578063d789b68b1161006f578063d789b68b1461084e578063e1b9778914610879578063e985e9c5146108a2578063f2fde38b146108df578063f8e93ef9146109085761023b565b8063cd8e320814610769578063cf93c5f214610792578063d20478bc146107cf578063d2ed5c591461080c578063d547cfb7146108235761023b565b8063a22cb465116100f2578063a22cb46514610686578063a25cd487146106af578063b88d4fde146106da578063c39cbef114610703578063c87b56dd1461072c5761023b565b806370a08231146105b3578063715018a6146105f05780638da5cb5b14610607578063931c9d911461063257806395d89b411461065b5761023b565b80632e85f5b2116101bc578063471a429411610180578063471a4294146104c95780634f6ccce7146104f4578063546387fd1461053157806355f804b31461054d5780636352211e146105765761023b565b80632e85f5b21461040a5780632f745c59146104355780633ccfd60b146104725780633d18b9121461048957806342842e0e146104a05761023b565b806314c2ee481161020357806314c2ee481461033757806318160ddd14610362578063189d165e1461038d57806323b872dd146103b65780632839b8ff146103df5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e5578063109695231461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613fc8565b610924565b6040516102749190614010565b60405180910390f35b34801561028957600080fd5b5061029261099e565b60405161029f91906140c4565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca919061411c565b610a30565b6040516102dc919061418a565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906141d1565b610ab5565b005b34801561031a57600080fd5b5061033560048036038101906103309190614346565b610bcd565b005b34801561034357600080fd5b5061034c610c63565b60405161035991906143ee565b60405180910390f35b34801561036e57600080fd5b50610377610c89565b6040516103849190614418565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af919061411c565b610c96565b005b3480156103c257600080fd5b506103dd60048036038101906103d89190614433565b610d1c565b005b3480156103eb57600080fd5b506103f4610ec1565b6040516104019190614418565b60405180910390f35b34801561041657600080fd5b5061041f610ec7565b60405161042c91906144a7565b60405180910390f35b34801561044157600080fd5b5061045c600480360381019061045791906141d1565b610eed565b6040516104699190614418565b60405180910390f35b34801561047e57600080fd5b50610487610f92565b005b34801561049557600080fd5b5061049e61106a565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190614433565b61118b565b005b3480156104d557600080fd5b506104de6111ab565b6040516104eb9190614010565b60405180910390f35b34801561050057600080fd5b5061051b6004803603810190610516919061411c565b6111be565b6040516105289190614418565b60405180910390f35b61054b60048036038101906105469190614522565b61122f565b005b34801561055957600080fd5b50610574600480360381019061056f9190614346565b611685565b005b34801561058257600080fd5b5061059d6004803603810190610598919061411c565b61171b565b6040516105aa919061418a565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190614582565b6117cd565b6040516105e79190614418565b60405180910390f35b3480156105fc57600080fd5b50610605611885565b005b34801561061357600080fd5b5061061c61190d565b604051610629919061418a565b60405180910390f35b34801561063e57600080fd5b50610659600480360381019061065491906141d1565b611937565b005b34801561066757600080fd5b506106706119fb565b60405161067d91906140c4565b60405180910390f35b34801561069257600080fd5b506106ad60048036038101906106a891906145db565b611a8d565b005b3480156106bb57600080fd5b506106c4611aa3565b6040516106d191906140c4565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc91906146bc565b611b31565b005b34801561070f57600080fd5b5061072a6004803603810190610725919061473f565b611cd8565b005b34801561073857600080fd5b50610753600480360381019061074e919061411c565b611e5b565b60405161076091906140c4565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614582565b611f02565b005b34801561079e57600080fd5b506107b960048036038101906107b49190614582565b611fc2565b6040516107c69190614418565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f1919061411c565b611fda565b60405161080391906140c4565b60405180910390f35b34801561081857600080fd5b5061082161207a565b005b34801561082f57600080fd5b50610838612122565b60405161084591906140c4565b60405180910390f35b34801561085a57600080fd5b506108636121b0565b6040516108709190614418565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190614582565b6121b6565b005b3480156108ae57600080fd5b506108c960048036038101906108c4919061479b565b612276565b6040516108d69190614010565b60405180910390f35b3480156108eb57600080fd5b5061090660048036038101906109019190614582565b61230a565b005b610922600480360381019061091d91906147db565b612402565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610997575061099682612880565b5b9050919050565b6060600080546109ad90614857565b80601f01602080910402602001604051908101604052809291908181526020018280546109d990614857565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b6000610a3b82612962565b610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a71906148fb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac08261171b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b289061498d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b506129ce565b73ffffffffffffffffffffffffffffffffffffffff161480610b7f5750610b7e81610b796129ce565b612276565b5b610bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb590614a1f565b60405180910390fd5b610bc883836129d6565b505050565b610bd56129ce565b73ffffffffffffffffffffffffffffffffffffffff16610bf361190d565b73ffffffffffffffffffffffffffffffffffffffff1614610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090614a8b565b60405180910390fd5b80600c9080519060200190610c5f929190613eb9565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600880549050905090565b610c9e6129ce565b73ffffffffffffffffffffffffffffffffffffffff16610cbc61190d565b73ffffffffffffffffffffffffffffffffffffffff1614610d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0990614a8b565b60405180910390fd5b80600e8190555050565b6002600a541415610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990614af7565b60405180910390fd5b6002600a81905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8484846040518463ffffffff1660e01b8152600401610dc993929190614b17565b600060405180830381600087803b158015610de357600080fd5b505af1158015610df7573d6000803e3d6000fd5b505050506001601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e4b9190614b7d565b925050819055506001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ea29190614bb1565b92505081905550610eb4838383612a8f565b6001600a81905550505050565b611ce881565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610ef8836117cd565b8210610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3090614c79565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f9a6129ce565b73ffffffffffffffffffffffffffffffffffffffff16610fb861190d565b73ffffffffffffffffffffffffffffffffffffffff161461100e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100590614a8b565b60405180910390fd5b60004790506000811161102057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611066573d6000803e3d6000fd5b5050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa336000806040518463ffffffff1660e01b81526004016110ca93929190614cd4565b600060405180830381600087803b1580156110e457600080fd5b505af11580156110f8573d6000803e3d6000fd5b50505050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c00007b0336040518263ffffffff1660e01b8152600401611157919061418a565b600060405180830381600087803b15801561117157600080fd5b505af1158015611185573d6000803e3d6000fd5b50505050565b6111a683838360405180602001604052806000815250611b31565b505050565b600f60009054906101000a900460ff1681565b60006111c8610c89565b8210611209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120090614d7d565b60405180910390fd5b6008828154811061121d5761121c614d9d565b5b90600052602060002001549050919050565b6112376129ce565b73ffffffffffffffffffffffffffffffffffffffff1661125561190d565b73ffffffffffffffffffffffffffffffffffffffff16146112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290614a8b565b60405180910390fd5b611ce86112b6610c89565b106112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed90614e18565b60405180910390fd5b611ce883839050611305610c89565b61130f9190614bb1565b1115611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134790614eaa565b60405180910390fd5b60005b838390508110156115ed57611ce884848381811061137457611373614d9d565b5b90506020020135106113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b290614f16565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86868581811061142357611422614d9d565b5b905060200201356040518263ffffffff1660e01b81526004016114469190614418565b60206040518083038186803b15801561145e57600080fd5b505afa158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190614f4b565b73ffffffffffffffffffffffffffffffffffffffff16146114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390614fea565b60405180910390fd5b61150e84848381811061150257611501614d9d565b5b90506020020135612962565b1561154e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154590615056565b60405180910390fd5b611ce8611559610c89565b10156115da576115828285858481811061157657611575614d9d565b5b90506020020135612aef565b6001601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d29190614bb1565b925050819055505b80806115e590615076565b915050611353565b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc240c0182858590506040518363ffffffff1660e01b815260040161164e9291906150bf565b600060405180830381600087803b15801561166857600080fd5b505af115801561167c573d6000803e3d6000fd5b50505050505050565b61168d6129ce565b73ffffffffffffffffffffffffffffffffffffffff166116ab61190d565b73ffffffffffffffffffffffffffffffffffffffff1614611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614a8b565b60405180910390fd5b80600d9080519060200190611717929190613eb9565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb9061515a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611835906151ec565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61188d6129ce565b73ffffffffffffffffffffffffffffffffffffffff166118ab61190d565b73ffffffffffffffffffffffffffffffffffffffff1614611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614a8b565b60405180910390fd5b61190b6000612b0d565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61193f6129ce565b73ffffffffffffffffffffffffffffffffffffffff1661195d61190d565b73ffffffffffffffffffffffffffffffffffffffff16146119b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119aa90614a8b565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b606060018054611a0a90614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3690614857565b8015611a835780601f10611a5857610100808354040283529160200191611a83565b820191906000526020600020905b815481529060010190602001808311611a6657829003601f168201915b5050505050905090565b611a9f611a986129ce565b8383612bd3565b5050565b600c8054611ab090614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611adc90614857565b8015611b295780601f10611afe57610100808354040283529160200191611b29565b820191906000526020600020905b815481529060010190602001808311611b0c57829003601f168201915b505050505081565b6002600a541415611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614af7565b60405180910390fd5b6002600a81905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c8e8dfa8585856040518463ffffffff1660e01b8152600401611bde93929190614b17565b600060405180830381600087803b158015611bf857600080fd5b505af1158015611c0c573d6000803e3d6000fd5b505050506001601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c609190614b7d565b925050819055506001601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cb79190614bb1565b92505081905550611cca84848484612d40565b6001600a8190555050505050565b3373ffffffffffffffffffffffffffffffffffffffff16611cf88361171b565b73ffffffffffffffffffffffffffffffffffffffff1614611d1857600080fd5b60011515611d2582612da2565b151514611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90615258565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33600e546040518363ffffffff1660e01b8152600401611dc69291906150bf565b600060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b5050505080601060008481526020019081526020016000209080519060200190611e1f929190613eb9565b507f4737457377f528cc8afd815f73ecb8b05df80d047dbffc41c17750a4033592bc81604051611e4f91906140c4565b60405180910390a15050565b6060611e6682612962565b611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c906152ea565b60405180910390fd5b6000611eaf6130d4565b90506000815111611ecf5760405180602001604052806000815250611efa565b80611ed984613166565b604051602001611eea929190615346565b6040516020818303038152906040525b915050919050565b611f0a6129ce565b73ffffffffffffffffffffffffffffffffffffffff16611f2861190d565b73ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614a8b565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60116020528060005260406000206000915090505481565b60106020528060005260406000206000915090508054611ff990614857565b80601f016020809104026020016040519081016040528092919081815260200182805461202590614857565b80156120725780601f1061204757610100808354040283529160200191612072565b820191906000526020600020905b81548152906001019060200180831161205557829003601f168201915b505050505081565b6120826129ce565b73ffffffffffffffffffffffffffffffffffffffff166120a061190d565b73ffffffffffffffffffffffffffffffffffffffff16146120f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ed90614a8b565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b600d805461212f90614857565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614857565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b505050505081565b600e5481565b6121be6129ce565b73ffffffffffffffffffffffffffffffffffffffff166121dc61190d565b73ffffffffffffffffffffffffffffffffffffffff1614612232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222990614a8b565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123126129ce565b73ffffffffffffffffffffffffffffffffffffffff1661233061190d565b73ffffffffffffffffffffffffffffffffffffffff1614612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614a8b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ed906153dc565b60405180910390fd5b6123ff81612b0d565b50565b6002600a541415612448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243f90614af7565b60405180910390fd5b6002600a81905550600f60009054906101000a900460ff1661249f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124969061546e565b60405180910390fd5b611ce86124aa610c89565b106124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614e18565b60405180910390fd5b611ce8828290506124f9610c89565b6125039190614bb1565b1115612544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253b90614eaa565b60405180910390fd5b60005b828290508110156127e157611ce883838381811061256857612567614d9d565b5b90506020020135106125af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a690614f16565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e85858581811061261757612616614d9d565b5b905060200201356040518263ffffffff1660e01b815260040161263a9190614418565b60206040518083038186803b15801561265257600080fd5b505afa158015612666573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268a9190614f4b565b73ffffffffffffffffffffffffffffffffffffffff16146126e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d790614fea565b60405180910390fd5b6127028383838181106126f6576126f5614d9d565b5b90506020020135612962565b15612742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273990615056565b60405180910390fd5b611ce861274d610c89565b10156127ce576127763384848481811061276a57612769614d9d565b5b90506020020135612aef565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127c69190614bb1565b925050819055505b80806127d990615076565b915050612547565b50601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cc240c0133848490506040518363ffffffff1660e01b81526004016128429291906150bf565b600060405180830381600087803b15801561285c57600080fd5b505af1158015612870573d6000803e3d6000fd5b505050506001600a819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061294b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061295b575061295a826132c7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a498361171b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612aa0612a9a6129ce565b82613331565b612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690615500565b60405180910390fd5b612aea83838361340f565b505050565b612b0982826040518060200160405280600081525061366b565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c399061556c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d339190614010565b60405180910390a3505050565b612d51612d4b6129ce565b83613331565b612d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8790615500565b60405180910390fd5b612d9c848484846136c6565b50505050565b600080829050600181511015612dbc5760009150506130cf565b601981511115612dd05760009150506130cf565b602060f81b81600081518110612de957612de8614d9d565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612e265760009150506130cf565b602060f81b8160018351612e3a9190614b7d565b81518110612e4b57612e4a614d9d565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612e885760009150506130cf565b600081600081518110612e9e57612e9d614d9d565b5b602001015160f81c60f81b905060005b82518110156130c7576000838281518110612ecc57612ecb614d9d565b5b602001015160f81c60f81b9050602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015612f335750602060f81b837effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15612f455760009450505050506130cf565b603060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191610158015612fa15750603960f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b1580156130075750604160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156130055750605a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561306c5750606160f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161015801561306a5750607a60f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b155b801561309e5750602060f81b817effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156130b05760009450505050506130cf565b8092505080806130bf90615076565b915050612eae565b506001925050505b919050565b6060600d80546130e390614857565b80601f016020809104026020016040519081016040528092919081815260200182805461310f90614857565b801561315c5780601f106131315761010080835404028352916020019161315c565b820191906000526020600020905b81548152906001019060200180831161313f57829003601f168201915b5050505050905090565b606060008214156131ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132c2565b600082905060005b600082146131e05780806131c990615076565b915050600a826131d991906155bb565b91506131b6565b60008167ffffffffffffffff8111156131fc576131fb61421b565b5b6040519080825280601f01601f19166020018201604052801561322e5781602001600182028036833780820191505090505b5090505b600085146132bb576001826132479190614b7d565b9150600a8561325691906155ec565b60306132629190614bb1565b60f81b81838151811061327857613277614d9d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132b491906155bb565b9450613232565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600061333c82612962565b61337b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133729061568f565b60405180910390fd5b60006133868361171b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806133f557508373ffffffffffffffffffffffffffffffffffffffff166133dd84610a30565b73ffffffffffffffffffffffffffffffffffffffff16145b8061340657506134058185612276565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661342f8261171b565b73ffffffffffffffffffffffffffffffffffffffff1614613485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347c90615721565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ec906157b3565b60405180910390fd5b613500838383613722565b61350b6000826129d6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461355b9190614b7d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135b29190614bb1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6136758383613836565b6136826000848484613a04565b6136c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b890615845565b60405180910390fd5b505050565b6136d184848461340f565b6136dd84848484613a04565b61371c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371390615845565b60405180910390fd5b50505050565b61372d838383613b9b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137705761376b81613ba0565b6137af565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146137ae576137ad8382613be9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137f2576137ed81613d56565b613831565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138305761382f8282613e27565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161389d906158b1565b60405180910390fd5b6138af81612962565b156138ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e69061591d565b60405180910390fd5b6138fb60008383613722565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461394b9190614bb1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613a258473ffffffffffffffffffffffffffffffffffffffff16613ea6565b15613b8e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a4e6129ce565b8786866040518563ffffffff1660e01b8152600401613a709493929190615992565b602060405180830381600087803b158015613a8a57600080fd5b505af1925050508015613abb57506040513d601f19601f82011682018060405250810190613ab891906159f3565b60015b613b3e573d8060008114613aeb576040519150601f19603f3d011682016040523d82523d6000602084013e613af0565b606091505b50600081511415613b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2d90615845565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b93565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613bf6846117cd565b613c009190614b7d565b9050600060076000848152602001908152602001600020549050818114613ce5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d6a9190614b7d565b9050600060096000848152602001908152602001600020549050600060088381548110613d9a57613d99614d9d565b5b906000526020600020015490508060088381548110613dbc57613dbb614d9d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e0b57613e0a615a20565b5b6001900381819060005260206000200160009055905550505050565b6000613e32836117cd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613ec590614857565b90600052602060002090601f016020900481019282613ee75760008555613f2e565b82601f10613f0057805160ff1916838001178555613f2e565b82800160010185558215613f2e579182015b82811115613f2d578251825591602001919060010190613f12565b5b509050613f3b9190613f3f565b5090565b5b80821115613f58576000816000905550600101613f40565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fa581613f70565b8114613fb057600080fd5b50565b600081359050613fc281613f9c565b92915050565b600060208284031215613fde57613fdd613f66565b5b6000613fec84828501613fb3565b91505092915050565b60008115159050919050565b61400a81613ff5565b82525050565b60006020820190506140256000830184614001565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561406557808201518184015260208101905061404a565b83811115614074576000848401525b50505050565b6000601f19601f8301169050919050565b60006140968261402b565b6140a08185614036565b93506140b0818560208601614047565b6140b98161407a565b840191505092915050565b600060208201905081810360008301526140de818461408b565b905092915050565b6000819050919050565b6140f9816140e6565b811461410457600080fd5b50565b600081359050614116816140f0565b92915050565b60006020828403121561413257614131613f66565b5b600061414084828501614107565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061417482614149565b9050919050565b61418481614169565b82525050565b600060208201905061419f600083018461417b565b92915050565b6141ae81614169565b81146141b957600080fd5b50565b6000813590506141cb816141a5565b92915050565b600080604083850312156141e8576141e7613f66565b5b60006141f6858286016141bc565b925050602061420785828601614107565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142538261407a565b810181811067ffffffffffffffff821117156142725761427161421b565b5b80604052505050565b6000614285613f5c565b9050614291828261424a565b919050565b600067ffffffffffffffff8211156142b1576142b061421b565b5b6142ba8261407a565b9050602081019050919050565b82818337600083830152505050565b60006142e96142e484614296565b61427b565b90508281526020810184848401111561430557614304614216565b5b6143108482856142c7565b509392505050565b600082601f83011261432d5761432c614211565b5b813561433d8482602086016142d6565b91505092915050565b60006020828403121561435c5761435b613f66565b5b600082013567ffffffffffffffff81111561437a57614379613f6b565b5b61438684828501614318565b91505092915050565b6000819050919050565b60006143b46143af6143aa84614149565b61438f565b614149565b9050919050565b60006143c682614399565b9050919050565b60006143d8826143bb565b9050919050565b6143e8816143cd565b82525050565b600060208201905061440360008301846143df565b92915050565b614412816140e6565b82525050565b600060208201905061442d6000830184614409565b92915050565b60008060006060848603121561444c5761444b613f66565b5b600061445a868287016141bc565b935050602061446b868287016141bc565b925050604061447c86828701614107565b9150509250925092565b6000614491826143bb565b9050919050565b6144a181614486565b82525050565b60006020820190506144bc6000830184614498565b92915050565b600080fd5b600080fd5b60008083601f8401126144e2576144e1614211565b5b8235905067ffffffffffffffff8111156144ff576144fe6144c2565b5b60208301915083602082028301111561451b5761451a6144c7565b5b9250929050565b60008060006040848603121561453b5761453a613f66565b5b600084013567ffffffffffffffff81111561455957614558613f6b565b5b614565868287016144cc565b93509350506020614578868287016141bc565b9150509250925092565b60006020828403121561459857614597613f66565b5b60006145a6848285016141bc565b91505092915050565b6145b881613ff5565b81146145c357600080fd5b50565b6000813590506145d5816145af565b92915050565b600080604083850312156145f2576145f1613f66565b5b6000614600858286016141bc565b9250506020614611858286016145c6565b9150509250929050565b600067ffffffffffffffff8211156146365761463561421b565b5b61463f8261407a565b9050602081019050919050565b600061465f61465a8461461b565b61427b565b90508281526020810184848401111561467b5761467a614216565b5b6146868482856142c7565b509392505050565b600082601f8301126146a3576146a2614211565b5b81356146b384826020860161464c565b91505092915050565b600080600080608085870312156146d6576146d5613f66565b5b60006146e4878288016141bc565b94505060206146f5878288016141bc565b935050604061470687828801614107565b925050606085013567ffffffffffffffff81111561472757614726613f6b565b5b6147338782880161468e565b91505092959194509250565b6000806040838503121561475657614755613f66565b5b600061476485828601614107565b925050602083013567ffffffffffffffff81111561478557614784613f6b565b5b61479185828601614318565b9150509250929050565b600080604083850312156147b2576147b1613f66565b5b60006147c0858286016141bc565b92505060206147d1858286016141bc565b9150509250929050565b600080602083850312156147f2576147f1613f66565b5b600083013567ffffffffffffffff8111156148105761480f613f6b565b5b61481c858286016144cc565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486f57607f821691505b6020821081141561488357614882614828565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148e5602c83614036565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614977602183614036565b91506149828261491b565b604082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a09603883614036565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a75602083614036565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614ae1601f83614036565b9150614aec82614aab565b602082019050919050565b60006020820190508181036000830152614b1081614ad4565b9050919050565b6000606082019050614b2c600083018661417b565b614b39602083018561417b565b614b466040830184614409565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b88826140e6565b9150614b93836140e6565b925082821015614ba657614ba5614b4e565b5b828203905092915050565b6000614bbc826140e6565b9150614bc7836140e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bfc57614bfb614b4e565b5b828201905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c63602b83614036565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b6000819050919050565b6000614cbe614cb9614cb484614c99565b61438f565b6140e6565b9050919050565b614cce81614ca3565b82525050565b6000606082019050614ce9600083018661417b565b614cf6602083018561417b565b614d036040830184614cc5565b949350505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d67602c83614036565b9150614d7282614d0b565b604082019050919050565b60006020820190508181036000830152614d9681614d5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614e02601283614036565b9150614e0d82614dcc565b602082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f66204e6f756e73334420563200000000000000000000000000000000000000602082015250565b6000614e94602d83614036565b9150614e9f82614e38565b604082019050919050565b60006020820190508181036000830152614ec381614e87565b9050919050565b7f496e76616c696420746f6b656e20494400000000000000000000000000000000600082015250565b6000614f00601083614036565b9150614f0b82614eca565b602082019050919050565b60006020820190508181036000830152614f2f81614ef3565b9050919050565b600081519050614f45816141a5565b92915050565b600060208284031215614f6157614f60613f66565b5b6000614f6f84828501614f36565b91505092915050565b7f4e6f7420746865206f776e6572206f662074686973204e6f756e73334420746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b6000614fd4602383614036565b9150614fdf82614f78565b604082019050919050565b6000602082019050818103600083015261500381614fc7565b9050919050565b7f546f6b656e732068617320616c7265616479206265656e206d696e7465640000600082015250565b6000615040601e83614036565b915061504b8261500a565b602082019050919050565b6000602082019050818103600083015261506f81615033565b9050919050565b6000615081826140e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150b4576150b3614b4e565b5b600182019050919050565b60006040820190506150d4600083018561417b565b6150e16020830184614409565b9392505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615144602983614036565b915061514f826150e8565b604082019050919050565b6000602082019050818103600083015261517381615137565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151d6602a83614036565b91506151e18261517a565b604082019050919050565b60006020820190508181036000830152615205816151c9565b9050919050565b7f496e76616c6964206e616d650000000000000000000000000000000000000000600082015250565b6000615242600c83614036565b915061524d8261520c565b602082019050919050565b6000602082019050818103600083015261527181615235565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152d4602f83614036565b91506152df82615278565b604082019050919050565b60006020820190508181036000830152615303816152c7565b9050919050565b600081905092915050565b60006153208261402b565b61532a818561530a565b935061533a818560208601614047565b80840191505092915050565b60006153528285615315565b915061535e8284615315565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153c6602683614036565b91506153d18261536a565b604082019050919050565b600060208201905081810360008301526153f5816153b9565b9050919050565b7f4d6967726174696f6e206d7573742062652061637469766520696e206f72646560008201527f7220746f206d696e740000000000000000000000000000000000000000000000602082015250565b6000615458602983614036565b9150615463826153fc565b604082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006154ea603183614036565b91506154f58261548e565b604082019050919050565b60006020820190508181036000830152615519816154dd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615556601983614036565b915061556182615520565b602082019050919050565b6000602082019050818103600083015261558581615549565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155c6826140e6565b91506155d1836140e6565b9250826155e1576155e061558c565b5b828204905092915050565b60006155f7826140e6565b9150615602836140e6565b9250826156125761561161558c565b5b828206905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615679602c83614036565b91506156848261561d565b604082019050919050565b600060208201905081810360008301526156a88161566c565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061570b602983614036565b9150615716826156af565b604082019050919050565b6000602082019050818103600083015261573a816156fe565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061579d602483614036565b91506157a882615741565b604082019050919050565b600060208201905081810360008301526157cc81615790565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061582f603283614036565b915061583a826157d3565b604082019050919050565b6000602082019050818103600083015261585e81615822565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061589b602083614036565b91506158a682615865565b602082019050919050565b600060208201905081810360008301526158ca8161588e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615907601c83614036565b9150615912826158d1565b602082019050919050565b60006020820190508181036000830152615936816158fa565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159648261593d565b61596e8185615948565b935061597e818560208601614047565b6159878161407a565b840191505092915050565b60006080820190506159a7600083018761417b565b6159b4602083018661417b565b6159c16040830185614409565b81810360608301526159d38184615959565b905095945050505050565b6000815190506159ed81613f9c565b92915050565b600060208284031215615a0957615a08613f66565b5b6000615a17848285016159de565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212204874b439aebd496ee0aab76f6d745422a4f72f4e703c1d461d2527f0be2c517664736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000028f3acc53cc541a5e159ddc7c73a29f96679d873000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000
-----Decoded View---------------
Arg [0] : baseURI (string): https://api.nouns3d.com/token/
Arg [1] : _nouns3dv1 (address): 0x28F3aCc53cC541a5E159DdC7c73a29F96679d873
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000028f3acc53cc541a5e159ddc7c73a29f96679d873
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 68747470733a2f2f6170692e6e6f756e7333642e636f6d2f746f6b656e2f0000
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.